.initial-loading { padding: 48px; color: var(--muted); }
.initial-loading, .loading-panel { text-align: center; }
.loading-panel { padding: 72px 20px; color: var(--muted); }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.activity-description { margin-bottom: 24px; }
.development-strip { padding: 6px 36px; background: #faf5eb; color: #795526; font-size: 12px; border-bottom: 1px solid #eadcc8; }
.topbar .logout { font-size: 12px; margin-left: 5px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; border: 0; padding: 6px 0; background: transparent; color: var(--brand-action); font: inherit; font-size: 14px; cursor: pointer; border-radius: 4px; }
.text-button svg { width: 16px; height: 16px; }
.text-button:hover, .tool-detail-link:hover { color: #84132b; text-decoration: underline; text-underline-offset: 4px; }
.tool-detail-link { color: var(--muted); font-size: 13px; min-height: 36px; display: flex; align-items: center; }
.eyebrow { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.muted { color: var(--muted); line-height: 1.8; }
.surface { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); min-width: 0; }
.surface h2 { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.surface h3 { font-size: 15px; }
.surface p { font-size: 14px; line-height: 1.85; color: var(--muted); }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: var(--radius-control); font: inherit; font-size: 14px; font-weight: 600; line-height: 22px; cursor: pointer; transition: background-color var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast); }
.primary-button { background: var(--brand-action); color: white; }
.primary-button:hover { background: #aa1626; box-shadow: 0 4px 10px rgb(166 24 43 / 12%); }
.primary-button svg, .secondary-button svg { width: 17px; height: 17px; }
.secondary-button { background: white; color: var(--ink); border-color: var(--border); }
.secondary-button:hover { background: var(--surface-muted); border-color: #b7bcc5; }
button:disabled, .unavailable { color: var(--muted); background: #eef0f3; border-color: var(--border); box-shadow: none; cursor: not-allowed; }
button:disabled:hover, .unavailable:hover { color: var(--muted); background: #eef0f3; box-shadow: none; }
.full-width { width: 100%; margin-top: 12px; }
.empty-panel { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 12px; padding: 34px 20px; border: 1px dashed #e1d9db; border-radius: var(--radius-card); background: rgb(255 255 255 / 60%); text-align: center; }
.empty-panel h2, .empty-panel h3 { margin: 4px 0; font-size: 16px; font-weight: 600; }
.empty-panel p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.activity-panel { margin-top: 12px; padding: 0 22px; background: white; border: 1px solid var(--border); border-radius: var(--radius-card); }
.activity-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 100px 100px; align-items: center; gap: 15px; min-height: 76px; padding: 12px 0; }
.activity-row + .activity-row { border-top: 1px solid #f0eded; }
.activity-row strong { display: block; font-size: 14px; font-weight: 500; }
.activity-row small { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }
.activity-row time { font-size: 12px; color: var(--muted); text-align: right; }
.source-label { color: var(--muted); padding: 4px 8px; background: var(--surface-muted); border-radius: 4px; font-size: 12px; justify-self: start; }
.back-link { display: inline-flex; align-items: center; min-height: 36px; margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.back-link:hover { color: var(--brand-action); }
.tool-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tool-page-identity { display: flex; align-items: center; gap: 18px; }
.large-tool-icon { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; color: var(--brand-action); background: var(--brand-soft); }
.large-tool-icon svg { width: 26px; height: 26px; }
.tool-page-heading h1 { font-size: 27px; }
.tool-page-heading p { margin: 8px 0 0; font-size: 14px; }
.large-badge { padding: 5px 10px; font-size: 12px; }
.workspace-tabs { display: flex; align-items: center; gap: 26px; margin: 28px 0 24px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.workspace-tabs a { position: relative; display: block; flex-shrink: 0; padding: 12px 0; color: var(--muted); border-bottom: 2px solid transparent; font-size: 14px; }
.workspace-tabs a:hover { color: var(--brand-action); }
.workspace-tabs a.current { color: var(--brand-action); border-bottom-color: var(--brand-action); font-weight: 600; }
.tool-workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.workspace-notes { display: grid; gap: 20px; }
.workspace-notes .surface { padding: 0 0 24px; border: 0; border-radius: 0; border-bottom: 1px solid var(--border); box-shadow: none; background: transparent; }
.workspace-notes h2 { font-size: 16px; }
.workspace-notes p { font-size: 14px; }
.form-surface { padding: 30px; }
form label:not(.checkbox-label) { display: block; margin: 20px 0 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
input:not([type=checkbox]), select, textarea { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #b9bec7; border-radius: var(--radius-control); padding: 11px 13px; background: white; color: var(--ink); font: inherit; font-size: 14px; transition: border-color var(--motion-fast), box-shadow var(--motion-fast); }
input:hover, select:hover, textarea:hover { border-color: #c9a9b2; }
input:focus, select:focus, textarea:focus { border-color: #bf8191; }
select { appearance: auto; }
select:focus-visible { outline: 2px solid var(--brand-action); outline-offset: 3px; }
textarea { display: block; resize: vertical; line-height: 1.7; }
.search-box input { min-height: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
.field-hint { color: var(--muted); font-size: 13px !important; margin: 8px 0 0; overflow-wrap: anywhere; }
.form-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.inline-notice { margin: 24px 0; padding: 16px 18px; border-left: 3px solid #b7bcc5; border-radius: 0; color: var(--muted); background: var(--surface-muted); font-size: 14px; line-height: 1.8; }
.inline-notice p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.inline-notice.compact { margin: 24px 0; padding: 12px 16px; font-size: 14px; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-message { min-height: 18px; margin: 12px 0 0 !important; font-size: 14px !important; color: var(--complete) !important; }
.error, .form-message.error { color: #b91b30 !important; }
.checkbox-label { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; min-height: 36px; }
input[type=checkbox] { accent-color: var(--brand-action); width: 17px; height: 17px; cursor: pointer; }
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 24px; }
.steps li { display: flex; align-items: start; gap: 12px; }
.steps li>span { display: grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; color: #9d3e55; border: 1px solid #ecd4db; border-radius: 50%; background: #fcf3f5; font-size: 12px; }
.steps strong { font-size: 14px; font-weight: 500; }
.steps p { margin: 5px 0 0; font-size: 14px !important; }
.external-intro { padding: 32px; background: var(--surface); }
.external-intro h2 { font-size: 28px; line-height: 1.65; margin: 16px 0; }
.external-intro p { max-width: 460px; margin-bottom: 24px; }
.destination { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.connection-row { display: flex; align-items: center; gap: 12px; margin: 18px 0 8px; font-size: 13px; color: var(--muted); }
.prose { max-width: 900px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 24px 0; }
.metric { display: grid; gap: 10px; padding: 22px; }
.metric>span { font-size: 12px; color: var(--muted); }
.metric strong { font-size: 28px; font-weight: 600; line-height: 1.2; }
.metric small { font-size: 12px; color: var(--muted); }
.toast { position: fixed; z-index: 100; bottom: 26px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 40px); padding: 12px 20px; color: white; background: #4c2632; border: 1px solid #71404e; border-radius: 10px; box-shadow: 0 8px 24px #33132220; font-size: 13px; }
.signed-out { background: #faf8f6; }
.login-layout { min-height: 100dvh; display: grid; grid-template-columns: minmax(0,1fr) minmax(350px,0.95fr); }
.login-brand { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: clamp(50px,7vw,130px); background: radial-gradient(ellipse at 20% 10%,#6a2636,transparent 70%),linear-gradient(150deg,#48151f,#2e0d16); color: white; overflow: hidden; }
.login-brand>img:first-child { border: 3px solid white; background: white; margin-bottom: 35px; }
.login-brand .eyebrow { color: #dcb8c3; }
.login-brand h1 { display: block; font-size: clamp(34px,3.2vw,56px); line-height: 1.65; margin: 22px 0; }
.login-brand p { color: #ddc4cc; font-size: 14px; line-height: 2; }
.login-art { position: absolute; z-index: -1; width: 430px; right: -125px; bottom: -100px; opacity: .8; }
.login-form { align-self: center; width: min(100%,440px); padding: 48px; margin: auto; }
.login-form h2 { font-size: 29px; margin: 12px 0 18px; }
.login-form>.muted { font-size: 14px; margin-bottom: 32px; }
.login-form .inline-notice { font-size: 14px; }
.login-footnote { display: flex; align-items: center; gap: 8px; margin-top: 34px; font-size: 12px; color: var(--muted); }
.tiny-dot { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: #b88b99; }
@media(min-width:1600px) { .tool-workspace-grid { grid-template-columns: minmax(0,1fr) 340px; } .form-surface { padding: 36px; } }
@media(max-width:1200px) { .tool-workspace-grid { grid-template-columns: minmax(0,1fr) 255px; gap: 18px; } .surface { padding: 22px; } }
@media(max-width:1000px) { .tool-workspace-grid { grid-template-columns: 1fr; } .workspace-notes { grid-template-columns: repeat(2,minmax(0,1fr)); } .tool-page-heading { align-items: flex-start; } .tool-page-heading h1 { font-size: 23px; } .large-tool-icon { width: 44px; height: 44px; border-radius: 6px; } .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .tool-page-identity { gap: 12px; } }
@media(max-width:720px) { .development-strip { padding: 6px 16px; font-size: 12px; } .tool-page-heading { flex-wrap: wrap; gap: 16px; } .tool-page-heading .primary-button { margin-left: 68px; } .workspace-tabs { margin-top: 24px; gap: 24px; } .activity-panel { padding: 0 15px; } .activity-row { grid-template-columns: 30px minmax(0,1fr) 84px; gap: 10px; } .activity-row .source-label { display: none; } .workspace-notes { gap: 14px; } .login-layout { grid-template-columns: 1fr; } .login-brand { padding: 35px 28px; min-height: 260px; } .login-brand>img:first-child { width: 48px; margin-bottom: 18px; } .login-brand h1 { font-size: 28px; margin: 14px 0 0; } .login-brand h1 br { display: none; } .login-brand p { display: none; } .login-form { padding: 34px 26px 50px; } }
@media(max-width:480px) { .workspace-notes { grid-template-columns: 1fr; } .form-pair { grid-template-columns: 1fr; } .tool-page-heading h1 { font-size: 22px; } .tool-page-identity .muted { max-width: 220px; } .form-surface { padding: 22px 18px; } .surface { padding: 20px; } .metrics-grid { gap: 10px; } .metric { padding: 18px; } .metric strong { font-size: 24px; } .tool-page-heading .primary-button { margin-left: 0; width: 100%; } .external-intro h2 { font-size: 24px; } .login-footnote { font-size: 12px; } .topbar .employee { gap: 6px; } }
@media(max-width:720px) { input:not([type=checkbox]), select, textarea { font-size: 16px; } .search-box input { font-size: 16px; } .tool-page-identity { align-items: flex-start; min-width: 0; } .tool-page-identity > div { min-width: 0; } .back-link { min-height: 44px; } .text-button { min-height: 44px; } }
.trial-login-fields label { display:block; margin:18px 0 8px; font-weight:600; }
.trial-login-fields input { width:100%; min-height:46px; border:1px solid #cdd1d8; border-radius:6px; padding:10px 12px; font:inherit; }
.trial-login-fields input:focus { outline:2px solid #bf2a37; outline-offset:2px; }
.trial-login-fields button { margin-top:20px; }
.trial-login-error:empty { display:none; }
