*{box-sizing:border-box}body{margin:0;background:var(--sigsmith-color-bg);color:var(--sigsmith-color-text);font-family:var(--sigsmith-font-ui)}button,a,input,textarea{font:inherit}button{cursor:pointer}.app{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr);background:var(--sigsmith-color-bg)}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,rgba(16,185,129,.11),transparent 34%),var(--sigsmith-color-bg)}.auth-panel{width:min(460px,100%);display:grid;gap:22px;border:1px solid var(--sigsmith-color-border);border-radius:8px;background:var(--sigsmith-color-surface);padding:22px}.auth-panel.compact{width:min(360px,100%)}.auth-copy,.loading-line,.error-text,.empty-state span,.task-list span,.session-pill{color:var(--sigsmith-color-textMuted);font-size:13px;line-height:1.5}.auth-copy{margin:12px 0 0}.loading-line,.error-text,.task-list span,.session-pill{display:flex;align-items:center;gap:8px}.error-text{margin:0;color:var(--sigsmith-color-amber)}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.rail{min-height:100vh;display:flex;flex-direction:column;gap:16px;border-right:1px solid var(--sigsmith-color-border);background:var(--sigsmith-color-sidebar);padding:14px 10px}.brand-lockup{display:flex;align-items:center;gap:10px;padding:0 8px 14px;border-bottom:1px solid var(--sigsmith-color-border)}.brand-lockup div:last-child{display:grid;gap:2px}.brand-lockup span,.status-card span,.template-list span,.capability span,.metric span,.data-row span,.turnstile-row p,.lint-list span{color:var(--sigsmith-color-textMuted);font-size:12px;line-height:1.45}.brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;background:var(--sigsmith-color-brand);color:#06110d;font-weight:800;flex:0 0 auto}nav{display:grid;gap:5px}nav button,.central-button,.health-link,.toolbar button,.field-grid button,.simulator button,.template-list button{min-height:36px;display:inline-flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--sigsmith-color-textMuted);text-decoration:none;font-weight:700}nav button{justify-content:flex-start;padding:0 10px}nav button.active,nav button:hover{border-color:#10b9812e;background:#10b9811a;color:var(--sigsmith-color-brand)}.central-button{margin-top:auto;justify-content:center;background:var(--sigsmith-color-brand);color:#06110d;padding:0 10px}.central-button:disabled{opacity:.7;cursor:wait}.central-button.secondary{border-color:var(--sigsmith-color-border2);background:var(--sigsmith-color-surface2);color:var(--sigsmith-color-text)}.workspace{width:min(1480px,100%);margin:0 auto;padding:22px}.topbar,.turnstile-row,.panel header,.panel header div{display:flex;align-items:center}.topbar{justify-content:space-between;gap:16px;margin-bottom:16px}.eyebrow{margin:0 0 6px;color:var(--sigsmith-color-brand);font-family:var(--sigsmith-font-mono);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}h1,h2{margin:0;letter-spacing:0}h1{font-size:28px;line-height:1}h2{font-size:15px}.health-link{min-height:34px;border-color:var(--sigsmith-color-border2);color:var(--sigsmith-color-brand);padding:0 12px}.session-pill{min-height:34px;border:1px solid var(--sigsmith-color-border2);border-radius:7px;padding:0 12px;color:var(--sigsmith-color-brand)}.readiness-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.status-card,.panel,.capability,.metric{border:1px solid var(--sigsmith-color-border);border-radius:8px;background:var(--sigsmith-color-surface)}.status-card{min-height:104px;display:grid;gap:7px;padding:14px}.status-card div,.capability div{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:var(--sigsmith-color-brand);background:#10b9811a}.turnstile-row{justify-content:space-between;gap:14px;border:1px solid var(--sigsmith-color-border);border-radius:8px;background:var(--sigsmith-color-surface);padding:12px;margin-bottom:14px}.turnstile-box{min-height:54px;min-width:min(360px,100%);display:grid;place-items:center;border:1px dashed var(--sigsmith-color-border2);border-radius:7px;color:var(--sigsmith-color-textDim);font-size:12px}.turnstile-row p{max-width:520px;margin:0;text-align:right}.work-grid{display:grid;gap:12px}.author-grid{grid-template-columns:.95fr 1.1fr 1.2fr .95fr}.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{min-width:0;overflow:hidden}.panel header{min-height:44px;justify-content:space-between;border-bottom:1px solid var(--sigsmith-color-border);padding:0 14px}.panel header div{gap:8px;color:var(--sigsmith-color-brand)}.template-list,.simulator,.field-grid,.lint-list,.task-list,.empty-state{display:grid;gap:8px;padding:12px}.task-list span svg{color:var(--sigsmith-color-green);flex:0 0 auto}.empty-state{min-height:150px;align-content:center}.template-list button{min-height:58px;align-items:flex-start;justify-content:center;flex-direction:column;border-color:var(--sigsmith-color-border);background:var(--sigsmith-color-surface2);color:var(--sigsmith-color-text);padding:10px;text-align:left}.template-list button.selected{border-color:#10b9818c}.toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px 12px 0}.toolbar button,.field-grid button,.simulator button{justify-content:center;border-color:var(--sigsmith-color-border2);background:var(--sigsmith-color-surface2);color:var(--sigsmith-color-text);padding:0 10px}.signature-preview{min-height:168px;display:grid;align-content:center;gap:5px;margin:12px;border:1px solid var(--sigsmith-color-border2);border-radius:7px;background:#f8fafc;color:#111827;padding:18px}.signature-preview span{color:#4b5563}.signature-preview small{width:max-content;margin-top:10px;border-radius:999px;background:#d1fae5;color:#065f46;padding:4px 8px;font-weight:800}textarea{width:calc(100% - 24px);min-height:158px;resize:vertical;display:block;margin:12px;border:1px solid var(--sigsmith-color-border2);border-radius:7px;background:#070a12;color:var(--sigsmith-color-text);font-family:var(--sigsmith-font-mono);font-size:12px;line-height:1.5;padding:12px}.lint-list span{display:flex;align-items:center;gap:8px}.lint-list svg{color:var(--sigsmith-color-green);flex:0 0 auto}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid button{min-height:34px;font-size:12px}.data-table{overflow:auto}.data-head,.data-row{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));align-items:center;gap:12px;min-height:44px;padding:0 14px}.data-head{color:var(--sigsmith-color-textDim);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.data-row{border-top:1px solid var(--sigsmith-color-border)}.tenant-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:0;padding:14px}.tenant-summary dt{color:var(--sigsmith-color-textDim);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.tenant-summary dd{margin:4px 0 0;color:var(--sigsmith-color-text);font-size:14px;font-weight:700}.setup-wizard{display:grid;gap:14px;margin-bottom:16px;border:1px solid var(--sigsmith-color-border2);border-radius:10px;background:var(--sigsmith-color-surface);padding:18px}.setup-wizard-complete{display:flex;align-items:center;gap:10px;color:var(--sigsmith-color-text);font-size:13px}.setup-wizard-complete svg{flex:0 0 auto;color:var(--sigsmith-color-brand)}.setup-wizard-head h3{margin:2px 0 0;font-size:17px}.setup-wizard-steps{display:grid;gap:10px;margin:0;padding:0;list-style:none}.setup-wizard-steps>li{border:1px solid var(--sigsmith-color-border);border-radius:8px;padding:12px 14px}.setup-wizard-steps>li.done{opacity:.6}.setup-wizard-steps>li.active{border-color:#10b98173;background:#10b9810d}.setup-wizard-steps>li.upcoming{opacity:.5}.setup-wizard-step-head{display:flex;align-items:flex-start;gap:12px}.setup-wizard-step-head>div{display:grid;gap:2px}.setup-wizard-step-head strong{font-size:14px}.setup-wizard-step-head span{color:var(--sigsmith-color-textDim);font-size:12px}.setup-wizard-step-marker{display:grid;place-items:center;flex:0 0 auto;width:26px;height:26px;border-radius:999px;background:var(--sigsmith-color-surface2);color:var(--sigsmith-color-textDim);font-size:12px;font-weight:800}.setup-wizard-steps>li.done .setup-wizard-step-marker{background:#10b98126;color:var(--sigsmith-color-brand)}.setup-wizard-steps>li.active .setup-wizard-step-marker{background:var(--sigsmith-color-brand);color:#06110d}.setup-wizard-step-action{margin:10px 0 0 38px}.starter-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin-top:10px}.starter-card{display:grid;gap:6px;border:1px solid var(--sigsmith-color-border2);border-radius:8px;background:var(--sigsmith-color-surface2);padding:10px}.starter-card span{color:var(--sigsmith-color-textDim);font-size:12px}.starter-preview{max-height:110px;overflow:auto;border-radius:5px;background:#f8fafc;color:#111827;padding:8px}.simulator label{display:grid;gap:6px;color:var(--sigsmith-color-textMuted);font-size:12px;font-weight:700}input{min-height:36px;border:1px solid var(--sigsmith-color-border2);border-radius:7px;background:var(--sigsmith-color-surface2);color:var(--sigsmith-color-text);padding:0 10px}.capability{min-height:172px;display:grid;align-content:start;gap:12px;padding:16px}.analytics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric{position:relative;min-height:124px;display:grid;align-content:end;gap:10px;padding:16px}.metric strong{font-size:30px}.metric svg{position:absolute;top:16px;right:16px;color:var(--sigsmith-color-brand)}select{min-height:36px;border:1px solid var(--sigsmith-color-border2);border-radius:7px;background:var(--sigsmith-color-surface2);color:var(--sigsmith-color-text);padding:0 10px}.tenant-picker{margin:0 8px 4px}.impersonation-banner{display:flex;align-items:center;gap:10px;margin-bottom:16px;border:1px solid rgba(251,191,36,.35);border-radius:7px;background:#fbbf2414;color:var(--sigsmith-color-text);padding:10px 14px;font-size:13px}.impersonation-banner svg{flex:0 0 auto;color:var(--sigsmith-color-amber)}.impersonation-banner button{margin-left:auto;min-height:30px;border:1px solid var(--sigsmith-color-border2);border-radius:7px;background:var(--sigsmith-color-surface2);color:var(--sigsmith-color-text);padding:0 10px;font-weight:700}.workbench-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 16px;border-bottom:1px solid var(--sigsmith-color-border)}.workbench-tabs button{min-height:34px;border:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;color:var(--sigsmith-color-textMuted);padding:6px 4px;margin-right:20px;font-weight:700}.workbench-tabs button.active{color:var(--sigsmith-color-text);border-bottom-color:var(--sigsmith-color-brand)}.workbench-tabs button:hover{color:var(--sigsmith-color-text)}.action-row{display:flex;flex-wrap:wrap;gap:8px;padding:12px 12px 0}.action-row button{min-height:36px;border:1px solid var(--sigsmith-color-border2);border-radius:7px;background:var(--sigsmith-color-surface2);color:var(--sigsmith-color-text);padding:0 12px;font-weight:700;display:inline-flex;align-items:center;gap:8px}.ops-form{display:grid;gap:10px;padding:12px}.ops-form textarea{margin:0;width:100%}.inline-status{margin:0 12px;color:var(--sigsmith-color-textMuted);font-size:12px}.muted-small{color:var(--sigsmith-color-textDim);font-size:12px;line-height:1.4}.plaintext-row{display:grid;gap:6px;padding:0 12px}.plaintext-row label{display:flex;align-items:center;justify-content:space-between;color:var(--sigsmith-color-textDim);font-size:12px}.plaintext-row label button{min-height:26px;padding:0 8px;font-size:11px}.plaintext-row textarea{min-height:90px;font-family:JetBrains Mono,ui-monospace,monospace;font-size:12px}.signature-editor{display:grid;gap:0;margin:0 12px;border:1px solid var(--sigsmith-color-border2);border-radius:8px;overflow:hidden}.signature-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:8px;border-bottom:1px solid var(--sigsmith-color-border);background:var(--sigsmith-color-surface2)}.signature-editor-toolbar button,.signature-editor-toolbar select{min-height:30px;padding:0 8px;border-color:var(--sigsmith-color-border);background:var(--sigsmith-color-surface);color:var(--sigsmith-color-text);font-size:12px}.signature-editor-toolbar select{max-width:160px}.signature-editor-source-toggle{margin-left:auto}.signature-editor-color{display:inline-flex;align-items:center;gap:4px;padding:0 6px;border:1px solid var(--sigsmith-color-border);border-radius:6px;background:var(--sigsmith-color-surface);color:var(--sigsmith-color-text)}.signature-editor-color input[type=color]{width:22px;height:22px;padding:0;border:none;background:none}.signature-editor-link-prompt{display:flex;gap:6px;padding:8px;border-bottom:1px solid var(--sigsmith-color-border);background:var(--sigsmith-color-surface2)}.signature-editor-link-prompt input{flex:1}.signature-editor-canvas{min-height:220px;max-height:420px;overflow:auto;background:#f8fafc;color:#111827;padding:18px}.signature-editor-canvas *{max-width:100%}.signature-editor-source{min-height:220px;max-height:420px;border:none;border-radius:0;font-family:JetBrains Mono,ui-monospace,monospace;font-size:12px}.asset-upload{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px}.asset-upload input[type=file]{max-width:240px}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;padding:12px}.asset-grid article{min-width:0;display:grid;gap:6px;border:1px solid var(--sigsmith-color-border);border-radius:8px;padding:10px;background:var(--sigsmith-color-surface2)}.asset-grid img,.asset-font{width:100%;aspect-ratio:16 / 9;border-radius:6px;border:1px solid var(--sigsmith-color-border);background:#fff;object-fit:contain}.asset-font{display:grid;place-items:center;color:var(--sigsmith-color-bg);font-weight:800;font-size:28px}.starter-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 12px 12px}.starter-card{display:grid;gap:6px;border:1px solid var(--sigsmith-color-border2);border-radius:7px;background:var(--sigsmith-color-surface2);padding:10px}.starter-card span{color:var(--sigsmith-color-textMuted);font-size:12px}.starter-preview{max-height:120px;overflow:auto;border-radius:5px;background:#f8fafc;color:#111827;padding:8px}@media (max-width: 1180px){.author-grid,.readiness-grid,.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.three-col{grid-template-columns:1fr}}@media (max-width: 860px){.app{grid-template-columns:1fr}.rail{min-height:auto}.central-button{margin-top:0}.two-col,.author-grid,.readiness-grid,.analytics-grid{grid-template-columns:1fr}.turnstile-row,.topbar{align-items:stretch;flex-direction:column}.turnstile-row p{text-align:left}}
