@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#172338;background:#f7f9fc;font-synthesis:none;text-rendering:optimizeLegibility;--bg:#f7f9fc;--surface:#fff;--surface2:#f0f4f8;--ink:#172338;--muted:#66758b;--line:#dfe6ee;--brand:#147d86;--brand2:#0d6870;--accent:#dff3f2;--danger:#b53b46;--shadow:0 16px 40px rgba(24,43,68,.07)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,textarea,select{font:inherit}button{cursor:pointer}h1,h2,h3,h4{font-family:Manrope,sans-serif;letter-spacing:-.035em;margin:0}p{line-height:1.6}a{color:var(--brand)}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--brand);margin:0 0 12px}.lead{color:var(--muted);font-size:15px;margin:12px 0 26px}.tiny{font-size:10px}:root[data-theme=clinical-daylight]{--bg:#f7f9fc;--surface:#fff;--surface2:#f0f4f8;--ink:#172338;--muted:#66758b;--line:#dfe6ee;--brand:#147d86;--brand2:#0d6870;--accent:#dff3f2;--danger:#b53b46;--hero-overlay-rgb:13,104,112;--shadow:0 16px 40px rgba(24,43,68,.07)}:root[data-theme=er-redline]{--bg:#fbf7f7;--surface:#fff;--surface2:#f6eeee;--ink:#2b1820;--muted:#826873;--line:#ead9dc;--brand:#bd2638;--brand2:#981d2b;--accent:#f8e2e5;--danger:#9c2030;--hero-overlay-rgb:114,20,38;--shadow:0 16px 40px rgba(67,18,29,.08)}:root[data-theme=night-shift]{--bg:#0b1528;--surface:#13223a;--surface2:#1b2e4c;--ink:#edf4ff;--muted:#a9bad8;--line:#30496d;--brand:#6d8fe8;--brand2:#4d70c9;--accent:#243a61;--danger:#ff8797;--hero-overlay-rgb:8,20,42;--shadow:0 18px 44px rgba(0,0,0,.32)}:root[data-theme=code-red-night]{--bg:#130d12;--surface:#21151d;--surface2:#30202a;--ink:#fff0f3;--muted:#c4a7b2;--line:#573342;--brand:#ef4b5f;--brand2:#cb3047;--accent:#43232f;--danger:#ff8792;--hero-overlay-rgb:50,14,27;--shadow:0 18px 42px rgba(0,0,0,.34)}.screen-center{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--bg)}.screen-center>div{max-width:480px}.screen-center .loader{margin:0 auto 12px}.loader{width:27px;height:27px;border:3px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.panel{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:24px;box-shadow:var(--shadow)}.compact-panel{text-align:center;max-width:460px}.compact-panel h1{font-size:28px;margin:15px 0}.compact-panel p{color:var(--muted)}.brand{display:flex;align-items:center;gap:11px;color:inherit}.brand strong{display:block;font:800 17px Manrope}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.mark,.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--brand);color:#fff;font:800 18px Manrope;box-shadow:0 7px 15px color-mix(in srgb,var(--brand) 25%,transparent)}.mark span,.brand-mark span{font-size:10px;margin-left:2px}.brand-logo{width:46px;height:46px;object-fit:contain;border-radius:10px;background:var(--accent);border:1px solid var(--line);padding:3px}.brand-button{border:0;background:transparent;padding:0;text-align:left}.brand-button .brand-logo{width:39px;height:39px}.auth-layout{display:grid;grid-template-columns:1.05fr .95fr;min-height:100vh;background:var(--surface)}.welcome{background-color:#172338;color:#fff;background-size:cover;background-position:center;position:relative;overflow:hidden}.welcome .welcome-inner{position:relative;z-index:1;min-height:100vh;padding:48px 7vw;display:flex;flex-direction:column;justify-content:space-between}.welcome .brand{color:#fff}.welcome .brand small,.welcome>small{color:#ffffffbf}.welcome-copy{max-width:590px;margin:55px 0}.welcome-copy h1{font-size:clamp(34px,4.7vw,58px);line-height:1.08;margin:0 0 18px}.welcome-copy p{max-width:520px}.welcome-copy .hero-subtitle{font-size:18px;color:#ffffffe0}.welcome-copy .welcome-text{font-size:14px;color:#ffffffc7}.welcome-copy .tagline{color:#fff;font:800 18px Manrope;display:block;margin-top:26px}.auth-side{display:grid;place-items:center;padding:34px}.auth-card{width:min(430px,100%)}.auth-card h2{font-size:34px}.auth-card>p{margin:9px 0 22px}.auth-card label,.settings-form label,.prompt-form label{display:grid;gap:8px;font-size:12px;font-weight:700;margin:15px 0}.auth-card input,.settings-form input,.settings-form textarea,.settings-form select,.prompt-form textarea{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:12px 13px;outline:none}.auth-card input:focus,.prompt-form textarea:focus,.settings-form input:focus,.settings-form textarea:focus,.settings-form select:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 13%,transparent)}.auth-layout-centered .welcome-inner{align-items:center;text-align:center}.auth-layout-centered .welcome-copy{margin:auto}.auth-layout-banner .welcome-inner{min-height:82vh}.btn{border:0;border-radius:10px;padding:11px 17px;font-weight:700;transition:.18s}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.primary{background:var(--brand);color:#fff}.btn.primary:hover{background:var(--brand2)}.btn.secondary{background:var(--surface2);border:1px solid var(--line);color:var(--ink)}.btn.small{padding:8px 12px;font-size:11px}.btn.full{width:100%;margin-top:8px}.text-button,.text-link,.back{background:none;border:0;color:var(--brand);font-weight:700}.text-button.full{width:100%;padding:14px}.text-button:disabled{opacity:.5;cursor:not-allowed}.alert{padding:11px 14px;border-radius:10px;font-size:12px;margin:13px 0}.alert.error{background:#ffe9eb;color:#85212c}.alert.success{background:#e1f6ee;color:#17664c}.alert.warning{background:var(--surface2);color:var(--muted);border:1px solid var(--line);border-left:3px solid var(--danger)}.app-shell,.app{min-height:100vh;background:var(--bg)}.topbar{min-height:72px;display:flex;align-items:center;gap:25px;padding:0 26px;background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.topbar .brand strong{font-size:15px}.topbar .brand small{font-size:9px}.top-nav{display:flex;gap:6px;align-items:center}.top-nav button,.topbar nav button{border:0;background:transparent;color:var(--muted);padding:10px 12px;border-radius:9px;font-weight:700;font-size:12px}.top-nav button.active,.topbar nav button.active{background:var(--accent);color:var(--brand)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.theme-select,.settings-form select{background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:9px 11px;border-radius:9px;font-size:11px}.workspace{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 112px);max-width:1540px;margin:0 auto}.sidebar{background:var(--surface);border-right:1px solid var(--line);padding:25px 14px}.side-label{font-size:10px;color:var(--muted);font-weight:800;letter-spacing:.15em;padding:0 12px 13px}.side-link{width:100%;border:0;background:transparent;color:var(--muted);text-align:left;padding:11px 12px;border-radius:10px;display:flex;align-items:center;gap:10px;font-size:11px;font-weight:600;margin:2px 0}.side-link:hover,.side-link.selected{background:var(--accent);color:var(--brand)}.provider-tag,.provider-tag.gemini,.provider-tag.claude,.tool-title-row>span{font-size:9px;letter-spacing:.08em;border-radius:7px;padding:4px 7px;font-weight:800}.provider-tag.gemini,.gemini{background:#e5f2ff;color:#245d9a}.provider-tag.claude,.claude{background:#f7e9d8;color:#8a4d17}.side-warning,.sidebar-note{font-size:10px;color:var(--muted);line-height:1.6;padding:15px 12px;margin-top:24px;border-top:1px solid var(--line)}.owner-link{margin-top:15px;border-top:1px solid var(--line);padding-top:19px}.main-content,.main{padding:38px clamp(18px,4vw,55px);min-width:0}.view,.home-view,.tool-view,.owner-view{max-width:1120px;margin:0 auto}.view h1,.home-view h1,.tool-view h1,.owner-view h1{font-size:clamp(29px,3.6vw,42px);line-height:1.14}.home-view h1{font-size:clamp(30px,3.4vw,42px)}.hero-banner,.hero{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(120deg,var(--accent),var(--surface2));border:1px solid var(--line);border-radius:17px;padding:27px 32px;margin:27px 0 36px;background-size:cover;background-position:center;min-height:210px}.hero-banner h2,.hero h2{font-size:27px;margin:8px 0}.hero-banner p,.hero p{margin:0;color:var(--muted)}.pulse-mark,.hero-mark{width:78px;height:78px;border-radius:23px;background:var(--brand);color:#fff;display:grid;place-items:center;font:800 33px Manrope;box-shadow:0 12px 25px color-mix(in srgb,var(--brand) 22%,transparent)}.pulse-mark span,.hero-mark span{font-size:13px}.section-heading,.section-title{display:flex;align-items:center;justify-content:space-between;margin:21px 0}.section-heading h2,.section-title h2{font-size:20px}.section-heading p,.section-title p{margin:4px 0;color:var(--muted);font-size:12px}.feature-grid,.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.feature-card,.tile{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:14px;text-align:left;padding:19px;min-height:178px;box-shadow:var(--shadow);transition:.18s}.feature-card:hover,.tile:hover{transform:translateY(-3px);border-color:var(--brand)}.feature-card-top,.tile-top{display:flex;align-items:center;margin-bottom:16px}.feature-icon,.tile-top>span{width:33px;height:33px;border-radius:10px;background:var(--accent);color:var(--brand);display:grid;place-items:center;font-size:18px;font-weight:800}.feature-card h3,.tile h3{font-size:15px}.feature-card p,.tile p{font-size:11px;color:var(--muted);min-height:37px}.card-arrow,.tile>b{font-size:10px;color:var(--brand);font-weight:800}.app-footer,.app>footer{text-align:center;padding:17px;color:var(--muted);font-size:10px;border-top:1px solid var(--line)}.tool-view{max-width:920px}.tool-view.narrow{max-width:850px}.tool-title-row{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.tool-title-row .provider-tag{margin-left:0}.key-status,.inline-notice{padding:10px 13px;background:var(--surface2);border:1px solid var(--line);border-radius:9px;font-size:11px;margin:17px 0}.key-status small{display:block;margin-top:5px;color:var(--muted)}.prompt-form,.result-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:21px;margin-top:20px}.prompt-form textarea{resize:vertical;line-height:1.55}.prompt-actions,.form-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px}.prompt-actions small,.form-bottom small{font-size:10px;color:var(--muted)}.result-card{box-shadow:var(--shadow)}.result-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px}.result-head h2{font-size:19px}.result-head span{color:var(--brand);font-size:10px;font-weight:800}.result-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:DM Sans,sans-serif;font-size:13px;line-height:1.7}.result-card p,.result-card small{font-size:10px}.back{margin-bottom:18px}.settings-form{max-width:700px}.settings-form input,.settings-form textarea,.settings-form select{display:block}.settings-form textarea{resize:vertical}.key-status a{font-weight:700}.owner-view .panel{margin-top:20px}.owner-view .panel h2{font-size:18px}.count-pill,.count{background:var(--accent);color:var(--brand);font-size:10px;padding:6px 9px;border-radius:20px;font-weight:800}.approval-list{margin-top:13px}.approval-row,.approval{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;border-top:1px solid var(--line)}.approval-row b,.approval b{font-size:12px}.approval-row small,.approval small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.row-actions,.approval>div:last-child{display:flex;gap:8px}.empty-line{color:var(--muted);font-size:12px;padding:14px 0}.remove{margin-top:12px}.theme-settings-form select{display:block}.route-table p{font-size:12px;color:var(--muted)}.editor-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:22px}.editor-heading h2{font-size:24px}.editor-heading p{max-width:650px}.status-pill{display:inline-flex;align-items:center;border-radius:20px;padding:6px 10px;font-size:10px;font-weight:800;white-space:nowrap}.draft-pill{background:var(--accent);color:var(--brand)}.editor-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:27px;align-items:start}.editor-fields{min-width:0}.editor-section{padding:18px 0;border-top:1px solid var(--line)}.editor-section:first-child{border-top:0;padding-top:0}.editor-section h3,.preview-heading h3{font:800 15px Manrope;margin:0 0 13px}.editor-section label{display:grid;gap:7px;font-size:12px;font-weight:700;margin:13px 0}.editor-section input:not([type=range]),.editor-section textarea,.editor-section select{width:100%;background:var(--surface);border:1px solid var(--line);border-radius:9px;color:var(--ink);padding:10px 12px}.editor-section input[type=range]{width:100%;accent-color:var(--brand)}.editor-section output{float:right;color:var(--brand);font-variant-numeric:tabular-nums}.asset-control{padding:13px 0;border-top:1px solid var(--line)}.asset-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.asset-label a,.site-settings-panel a{font-size:11px;color:var(--brand)}.asset-row{display:flex;gap:12px;align-items:center;margin-top:10px}.asset-thumb,.asset-placeholder{width:68px;height:60px;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:var(--surface2);padding:5px}.asset-thumb.background{width:106px}.asset-thumb.favicon{width:54px;height:54px}.asset-placeholder{display:grid;place-items:center;font-size:10px;color:var(--muted);font-weight:800}.asset-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.file-button{display:inline-flex;align-items:center;cursor:pointer}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.field-hint{font-size:10px;color:var(--muted);line-height:1.55}.editor-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding-top:18px;border-top:1px solid var(--line)}.danger-text{color:var(--danger)!important}.preview-column{position:sticky;top:95px;min-width:0}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.preview-heading h3{margin:0}.preview-heading p{font-size:10px;color:var(--muted);margin:4px 0}.preview-switch,.preview-tab-switch{display:flex;gap:3px;background:var(--surface2);padding:3px;border-radius:9px}.preview-switch button,.preview-tab-switch button{border:0;background:transparent;color:var(--muted);font-size:10px;font-weight:700;padding:7px 9px;border-radius:7px}.preview-switch button.active,.preview-tab-switch button.active{background:var(--surface);color:var(--brand);box-shadow:0 1px 3px #0000001a}.preview-frame{margin:0 auto;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#f7f9fc;box-shadow:var(--shadow);transition:width .2s;max-width:100%}.preview-frame.desktop{width:100%}.preview-frame.mobile{width:315px;max-width:100%}.preview-browser{height:26px;background:#e8edf3;display:flex;align-items:center;gap:5px;padding:0 9px}.preview-browser>span{height:6px;width:6px;background:#bac6d2;border-radius:50%}.preview-browser small{margin-left:auto;color:#718093;font-size:8px}.preview-page{min-height:350px;background-color:#eaf0f7;background-size:cover;background-position:center;padding:22px;color:#172338;display:flex;flex-direction:column;gap:22px}.preview-page .brand{color:#172338}.preview-page .brand small{color:#536176}.preview-page .mark{width:31px;height:31px;font-size:15px}.preview-page .brand-logo{width:38px;height:38px}.preview-copy{max-width:440px;margin:auto 0}.preview-copy .eyebrow{font-size:8px}.preview-copy h2{font-size:clamp(20px,2.4vw,29px);line-height:1.08;margin:8px 0}.preview-copy h4{font-size:12px;margin:8px 0;color:#344258}.preview-copy p{font-size:10px;line-height:1.5;color:#46566b}.preview-copy .btn{font-size:9px;padding:7px 10px}.preview-copy>small{display:block;font-size:9px;color:#40566b;margin-top:8px}.preview-layout-centered{align-items:center;text-align:center}.preview-layout-centered .preview-copy{margin:auto}.preview-layout-centered .preview-copy .eyebrow{margin-left:auto;margin-right:auto}.preview-layout-banner{min-height:390px}.preview-tab-switch{justify-content:center;margin:12px 0 0}.site-settings-panel{margin-top:20px}.theme-settings-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.theme-settings-form label{min-width:220px}.result-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.result-actions .muted{font-size:10px}.saved-list{display:grid;gap:12px}.saved-item{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:17px}.saved-item-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.saved-item h3{font-size:16px}.saved-item small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.saved-actions{display:flex;align-items:center;gap:8px}.saved-content{border-top:1px solid var(--line);margin-top:13px;padding-top:13px;font-size:12px}.saved-content p{white-space:pre-wrap;color:var(--muted)}.saved-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 DM Sans,sans-serif;max-height:460px;overflow:auto;background:var(--surface2);padding:12px;border-radius:9px}.app-shell .hero-banner{background-size:cover;background-position:center;color:#fff;min-height:230px}.app-shell .hero-banner .eyebrow,.app-shell .hero-banner p{color:#ffffffe0}.app-shell .hero-banner h2{font-size:clamp(23px,3vw,34px);max-width:600px}.hero-layout-centered{justify-content:center;text-align:center}.hero-layout-centered .hero-copy-content{margin:auto}.hero-layout-banner{min-height:300px}.hero-logo{max-width:140px;max-height:120px;object-fit:contain}.app-shell .hero-banner:not([style*=background-image]){color:var(--ink)}.app-shell .hero-banner:not([style*=background-image]) .eyebrow,.app-shell .hero-banner:not([style*=background-image]) p{color:var(--muted)}@media(max-width:1000px){.editor-columns{grid-template-columns:1fr}.preview-column{position:static}.topbar{height:auto;min-height:72px;flex-wrap:wrap;padding:12px 18px}.top-actions{margin-left:auto}.workspace{grid-template-columns:1fr}.sidebar{display:flex;overflow:auto;gap:4px;padding:10px;border-right:0;border-bottom:1px solid var(--line)}.side-label,.side-warning,.sidebar-note,.owner-link{display:none}.side-link{width:auto;white-space:nowrap}.main-content,.main{padding:25px 18px}}@media(max-width:760px){.auth-layout{grid-template-columns:1fr}.welcome .welcome-inner{min-height:410px;padding:29px}.auth-side{padding:42px 24px}.auth-layout-centered .welcome-inner{min-height:410px}.welcome-copy h1{font-size:37px}.feature-grid,.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.top-nav{order:3;width:100%;overflow-x:auto}.top-actions{gap:6px}.top-actions .text-button{font-size:10px}.editor-heading{flex-direction:column}.editor-actions .btn{flex:1}.preview-frame.mobile{width:295px}.saved-item-head{align-items:flex-start;flex-direction:column}.feature-grid,.tiles{grid-template-columns:1fr}.approval-row,.prompt-actions{align-items:flex-start;flex-direction:column}.prompt-actions .btn{width:100%}.hero-banner{padding:20px}.hero-logo{max-width:75px}}.auth-layout-banner{grid-template-columns:1fr;grid-template-rows:minmax(380px,60vh) auto}.auth-layout-banner .welcome .welcome-inner{min-height:0;height:100%;max-width:1250px;margin:0 auto}.auth-layout-banner .welcome-copy{margin:auto 0}.auth-layout-banner .auth-side{padding:34px}@media(max-width:760px){.auth-layout-banner{grid-template-rows:minmax(350px,55vh) auto}.auth-layout-banner .welcome .welcome-inner{min-height:0;height:100%}}.consent-check{display:flex!important;align-items:flex-start;gap:10px;font-size:.9rem;line-height:1.5;color:var(--muted);margin:12px 0}.consent-check input{width:auto!important;margin-top:4px;flex:0 0 auto}.invite-preview{border:1px solid var(--line);border-radius:10px;padding:14px;margin:12px 0;background:var(--surface);color:var(--ink)}.invite-preview>div{margin-top:8px}.settings-form textarea{width:100%;min-height:110px;resize:vertical;border:1px solid var(--line);border-radius:9px;padding:10px;background:var(--surface);color:var(--ink);font:inherit}.settings-form hr{border:0;border-top:1px solid var(--line);margin:22px 0}.settings-form h3{margin-bottom:4px}.privacy-notice-link{border:0;background:transparent;color:var(--brand);padding:0;text-decoration:underline;text-underline-offset:2px;font-size:inherit;font-weight:700}.privacy-dialog-backdrop{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:clamp(12px,3vh,30px);background:#091322ad;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.privacy-dialog{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(940px,100%);height:min(88vh,920px);min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 26px 90px #00000052}.privacy-dialog-header,.privacy-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 20px;background:var(--surface)}.privacy-dialog-header{border-bottom:1px solid var(--line)}.privacy-dialog-header .eyebrow{margin:0 0 4px;font-size:9px}.privacy-dialog-header h2{font-size:20px}.privacy-dialog-meta{margin:4px 0 0;color:var(--muted);font-size:11px}.privacy-dialog-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);color:var(--ink);font-size:26px;line-height:1}.privacy-dialog-close:hover{background:var(--accent);color:var(--brand)}.privacy-dialog-content{min-height:0;background:#fff}.privacy-dialog-content iframe{display:block;width:100%;height:100%;border:0;background:#fff}.privacy-dialog-footer{border-top:1px solid var(--line);padding:11px 20px}.privacy-dialog-footer a{font-size:11px}@media(max-width:620px){.privacy-dialog-backdrop{padding:0}.privacy-dialog{width:100%;height:100%;max-height:100%;border:0;border-radius:0}.privacy-dialog-header,.privacy-dialog-footer{padding:13px 16px}.privacy-dialog-header h2{font-size:18px}.privacy-dialog-meta{font-size:10px}}img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}:root.basira-owner img{-webkit-touch-callout:default}@media(max-width:760px){.auth-layout{height:100dvh;min-height:0;overflow:hidden;grid-template-rows:104px minmax(0,1fr)}.welcome{min-height:0}.welcome .welcome-inner{min-height:0;height:100%;padding:10px 17px;flex-direction:row;align-items:center;justify-content:flex-start;gap:15px}.welcome-copy{display:block;min-width:0;margin:0}.welcome-copy .eyebrow,.welcome-copy .hero-subtitle,.welcome-copy .welcome-text,.welcome-copy .tagline,.welcome-inner>small{display:none}.welcome-copy h1{margin:0;font-size:clamp(15px,3.5vw,19px);line-height:1.2}.auth-side{min-height:0;overflow:hidden;place-items:start center;padding:14px 20px}.auth-card{width:min(430px,100%);max-height:100%;overflow:hidden}.auth-card h2{margin:3px 0;font-size:27px}.auth-card>p{margin:4px 0 10px}.auth-card label{gap:5px;margin:8px 0}.auth-card input{padding:10px 12px}.auth-card .consent-check{margin:8px 0}.auth-card .btn.full{margin-top:6px;padding:9px 14px}.auth-card .text-button.full{padding:9px}.app-shell-home{display:flex;flex-direction:column;width:100%;height:100dvh;min-height:0;overflow:hidden}.app-shell-home .topbar{position:relative;top:auto;flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "nav nav";gap:4px 8px;min-height:0;padding:7px 12px}.app-shell-home .brand-button{grid-area:brand;min-width:0}.app-shell-home .top-nav{grid-area:nav;display:flex;order:initial;width:100%;min-width:0;overflow-x:auto;gap:3px;padding-bottom:1px}.app-shell-home .top-nav button{flex:0 0 auto;padding:6px 9px;font-size:10px}.app-shell-home .top-actions{grid-area:actions;display:flex;margin:0;gap:4px}.app-shell-home .top-actions .theme-select,.app-shell-home .top-actions .text-button:not(:last-child){display:none}.app-shell-home .top-actions .text-button{padding:6px 8px;font-size:10px}.app-shell-home .workspace{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden}.app-shell-home .sidebar{display:none}.app-shell-home .main-content{flex:1 1 auto;min-height:0;overflow:hidden;padding:9px 12px}.app-shell-home .home-view{display:flex;flex-direction:column;gap:7px;width:100%;height:100%;min-height:0;overflow:hidden}.app-shell-home .home-view>.eyebrow,.app-shell-home .home-view>h1,.app-shell-home .home-view>.lead{display:none}.app-shell-home .home-view .hero-banner{flex:0 0 112px;min-height:0;height:112px;margin:0;padding:10px 12px;border-radius:12px}.app-shell-home .hero-banner h2{margin:4px 0;font-size:16px;line-height:1.2}.app-shell-home .hero-banner p{display:none}.app-shell-home .hero-banner .eyebrow{font-size:8px}.app-shell-home .hero-banner .hero-cta{padding:7px 10px;font-size:10px}.app-shell-home .hero-logo,.app-shell-home .pulse-mark{max-width:48px;max-height:48px;width:48px;height:48px;border-radius:13px;font-size:20px}.app-shell-home .section-heading{flex:0 0 auto;margin:0}.app-shell-home .section-heading h2{font-size:14px;margin:0}.app-shell-home .section-heading p{display:none}.app-shell-home .feature-grid{flex:1 1 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));min-height:0;gap:6px}.app-shell-home .feature-card{display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:0;height:100%;overflow:hidden;padding:7px 5px;border-radius:9px}.app-shell-home .feature-card-top{justify-content:space-between;gap:3px;margin-bottom:4px}.app-shell-home .feature-icon{flex:0 0 24px;width:24px;height:24px;font-size:13px}.app-shell-home .feature-card .provider-tag{padding:3px 4px;font-size:7px}.app-shell-home .feature-card h3{margin:auto 0;font-size:9px;line-height:1.2;overflow-wrap:anywhere}.app-shell-home .feature-card p,.app-shell-home .feature-card .card-arrow{display:none}.app-shell-home .home-view>.alert{flex:0 0 auto;max-height:34px;overflow:hidden;margin:0;padding:6px 8px;font-size:9px;line-height:1.2}.app-shell-home .app-footer{flex:0 0 auto;padding:6px 8px;font-size:9px}}@media(max-width:760px)and (max-height:620px){.app-shell-home .home-view .hero-banner{flex-basis:82px;height:82px;padding:7px 10px}.app-shell-home .hero-banner .hero-logo,.app-shell-home .hero-banner .pulse-mark{width:38px;height:38px}.app-shell-home .home-view>.alert,.app-shell-home .app-footer{display:none}.auth-layout{grid-template-rows:76px minmax(0,1fr)}.auth-side{padding-top:8px;padding-bottom:8px}.auth-card h2{font-size:23px}.auth-card label{margin:5px 0}.auth-card input{padding:8px 10px}}@media(min-width:761px)and (max-width:1100px),(hover:none)and (pointer:coarse)and (min-width:761px){.auth-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);width:100%;height:100dvh;min-height:0;overflow:hidden}.welcome{min-width:0;min-height:0}.welcome .welcome-inner{min-height:0;height:100%;padding:clamp(22px,3.5vw,38px)}.welcome-copy{margin:auto 0}.welcome-copy h1{font-size:clamp(28px,3.7vw,43px)}.welcome-copy .hero-subtitle{font-size:15px}.welcome-copy .welcome-text{font-size:12px}.welcome-copy .tagline{font-size:15px;margin-top:18px}.auth-side{min-width:0;min-height:0;overflow-y:auto;padding:clamp(20px,3.5vw,38px)}.auth-card{width:min(430px,100%)}.auth-card h2{font-size:30px}.auth-card>p{margin:7px 0 16px}.app-shell-home{display:flex;flex-direction:column;width:100%;height:100dvh;min-height:0;overflow:hidden}.app-shell-home .topbar{position:relative;top:auto;flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "nav nav";gap:5px 14px;min-height:0;padding:9px 18px 7px}.app-shell-home .brand-button{grid-area:brand;min-width:0}.app-shell-home .top-nav{grid-area:nav;display:flex;order:initial;width:100%;min-width:0;overflow-x:auto;gap:5px;padding-bottom:1px}.app-shell-home .top-nav button{flex:0 0 auto;padding:7px 11px;font-size:11px}.app-shell-home .top-actions{grid-area:actions;display:flex;align-items:center;margin:0;gap:7px}.app-shell-home .top-actions .theme-select{display:none}.app-shell-home .top-actions .text-button{padding:6px 7px;font-size:10px}.app-shell-home .workspace{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden}.app-shell-home .sidebar{display:none}.app-shell-home .main-content{flex:1 1 auto;min-height:0;overflow:hidden;padding:14px clamp(18px,3vw,34px)}.app-shell-home .home-view{display:flex;flex-direction:column;gap:10px;width:100%;height:100%;min-height:0;overflow:hidden}.app-shell-home .home-view>.eyebrow,.app-shell-home .home-view>h1,.app-shell-home .home-view>.lead{display:none}.app-shell-home .home-view .hero-banner{flex:0 0 clamp(125px,19vh,165px);min-height:0;height:clamp(125px,19vh,165px);margin:0;padding:16px 20px;border-radius:14px}.app-shell-home .hero-banner h2{margin:6px 0;font-size:clamp(20px,2.4vw,27px);line-height:1.2}.app-shell-home .hero-banner p{font-size:11px}.app-shell-home .hero-banner .eyebrow{font-size:9px}.app-shell-home .hero-banner .hero-cta{margin-top:8px;padding:8px 12px;font-size:11px}.app-shell-home .hero-logo,.app-shell-home .pulse-mark{width:64px;height:64px;max-width:64px;max-height:64px;border-radius:17px;font-size:26px}.app-shell-home .section-heading{flex:0 0 auto;margin:0}.app-shell-home .section-heading h2{margin:0;font-size:17px}.app-shell-home .section-heading p{display:none}.app-shell-home .feature-grid{flex:1 1 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));min-height:0;gap:9px}.app-shell-home .feature-card{display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:0;height:100%;overflow:hidden;padding:11px;border-radius:11px}.app-shell-home .feature-card-top{justify-content:space-between;gap:6px;margin-bottom:7px}.app-shell-home .feature-icon{flex:0 0 29px;width:29px;height:29px;font-size:15px}.app-shell-home .feature-card .provider-tag{padding:4px 5px;font-size:8px}.app-shell-home .feature-card h3{margin:auto 0 5px;font-size:clamp(11px,1.25vw,14px);line-height:1.25;overflow-wrap:anywhere}.app-shell-home .feature-card p{flex:0 1 auto;min-height:0;margin:0 0 5px;font-size:clamp(9px,1vw,11px);line-height:1.35;overflow:hidden}.app-shell-home .feature-card .card-arrow{font-size:9px}.app-shell-home .home-view>.alert{flex:0 0 auto;max-height:38px;overflow:hidden;margin:0;padding:7px 10px;font-size:10px;line-height:1.25}.app-shell-home .app-footer{flex:0 0 auto;padding:7px 10px;font-size:9px}}@media(min-width:761px)and (max-width:850px)and (orientation:portrait){.auth-layout{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr)}.welcome .welcome-inner{padding:20px 16px}.welcome-copy h1{font-size:27px}.welcome-copy .hero-subtitle,.welcome-copy .welcome-text{font-size:11px}.auth-side{padding:20px 16px}}@media(min-width:761px)and (max-width:1100px)and (max-height:700px){.app-shell-home .home-view .hero-banner{flex-basis:105px;height:105px;padding:10px 16px}.app-shell-home .hero-banner .hero-logo,.app-shell-home .hero-banner .pulse-mark{width:48px;height:48px}.app-shell-home .home-view>.alert,.app-shell-home .app-footer{display:none}.auth-side{padding-top:12px;padding-bottom:12px}.auth-card>p{margin-bottom:10px}.auth-card label{margin:8px 0}}@media(max-width:760px){.auth-layout{height:var(--basira-visual-height, 100dvh);max-height:var(--basira-visual-height, 100dvh)}.welcome .welcome-inner{padding-top:calc(10px + env(safe-area-inset-top,0px));padding-left:calc(17px + env(safe-area-inset-left,0px));padding-right:calc(17px + env(safe-area-inset-right,0px))}.auth-side{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}.auth-card{max-height:none;overflow:visible}.app-shell-home .topbar{padding-top:calc(7px + env(safe-area-inset-top,0px));padding-left:calc(12px + env(safe-area-inset-left,0px));padding-right:calc(12px + env(safe-area-inset-right,0px))}.app-shell-home .app-footer{padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}}@media(max-width:760px)and (orientation:landscape){.auth-layout{grid-template-rows:64px minmax(0,1fr)}.welcome .welcome-inner{gap:10px;padding-top:calc(5px + env(safe-area-inset-top,0px));padding-bottom:5px}.welcome .brand-logo,.welcome .brand-mark{width:32px;height:32px}.welcome-copy h1{font-size:14px}.auth-side{padding:7px 16px calc(7px + env(safe-area-inset-bottom,0px))}.auth-card h2{font-size:23px}.auth-card>p{margin:3px 0 7px}.auth-card label{margin:5px 0;gap:4px}.auth-card input{padding:7px 10px}.auth-card .consent-check{margin:5px 0;font-size:11px}.auth-card .btn.full{padding:7px 11px}.app-shell-home .topbar{grid-template-areas:"brand actions" "nav nav";gap:2px 8px;padding-bottom:4px}.app-shell-home .top-nav button{padding:4px 8px}.app-shell-home .main-content{padding-top:6px;padding-bottom:6px}.app-shell-home .home-view{gap:5px}.app-shell-home .home-view .hero-banner{flex-basis:76px;height:76px;padding:6px 10px}.app-shell-home .hero-banner h2{font-size:14px}.app-shell-home .home-view>.alert,.app-shell-home .app-footer{display:none}}@media(max-width:430px){.app-shell-home .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}.app-shell-home .feature-card{padding:8px 9px}.app-shell-home .feature-card h3{font-size:11px}.app-shell-home .feature-card .provider-tag{font-size:8px}}@media(min-width:761px)and (max-width:1100px)and (orientation:landscape){.auth-layout{height:var(--basira-visual-height, 100dvh);max-height:var(--basira-visual-height, 100dvh)}.auth-side{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.app-shell-home .topbar{padding-top:calc(9px + env(safe-area-inset-top,0px));padding-left:calc(18px + env(safe-area-inset-left,0px));padding-right:calc(18px + env(safe-area-inset-right,0px))}.app-shell-home .app-footer{padding-bottom:calc(7px + env(safe-area-inset-bottom,0px))}.app-shell-home .main-content{padding-left:calc(18px + env(safe-area-inset-left,0px));padding-right:calc(18px + env(safe-area-inset-right,0px))}}@media(min-width:761px)and (max-width:1100px){.auth-layout{height:var(--basira-visual-height, 100dvh);max-height:var(--basira-visual-height, 100dvh)}.auth-side{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}.auth-card{max-height:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(prefers-contrast:more){:root{--line: currentColor;--muted: color-mix(in srgb, var(--ink) 82%, transparent);--shadow: none}button,input,textarea,select,.panel,.feature-card,.result-card,.saved-item{border-width:2px}}@media(forced-colors:active){button,input,textarea,select,a,.panel,.feature-card{forced-color-adjust:auto}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid Highlight;outline-offset:3px}}:focus-visible{outline:3px solid var(--brand);outline-offset:2px}@media(horizontal-viewport-segments:2){.auth-layout{display:grid;grid-template-columns:env(viewport-segment-width 0 0) env(viewport-segment-width 1 0);column-gap:max(0px,calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0)));width:100vw;height:100dvh;min-height:0;overflow:hidden}.auth-layout .welcome{grid-column:1;grid-row:1}.auth-layout .auth-side{grid-column:2;grid-row:1;min-width:0;min-height:0;overflow-y:auto;padding:20px clamp(12px,2vw,28px)}.auth-layout .welcome .welcome-inner{padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:14px}.auth-layout .welcome-copy h1{font-size:clamp(22px,3vw,38px)}.app-shell-home .workspace{display:grid;grid-template-columns:env(viewport-segment-width 0 0) env(viewport-segment-width 1 0);column-gap:max(0px,calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0)));flex:1 1 auto;min-height:0;overflow:hidden}.app-shell-home .sidebar{grid-column:1;grid-row:1;display:flex;flex-direction:column;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;padding:16px 10px;border-right:0;border-bottom:0}.app-shell-home .side-label,.app-shell-home .sidebar-note{display:block}.app-shell-home .side-link{width:100%;min-width:0;white-space:normal;padding:9px 7px;font-size:10px}.app-shell-home .main-content{grid-column:2;grid-row:1;min-width:0;min-height:0;overflow:hidden;padding:12px}.app-shell-home .home-view{gap:7px}.app-shell-home .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}.app-shell-home .feature-card{padding:7px}.app-shell-home .feature-card h3{font-size:clamp(10px,1.2vw,13px)}}@media(vertical-viewport-segments:2){.auth-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:env(viewport-segment-height 0 0) env(viewport-segment-height 0 1);row-gap:max(0px,calc(env(viewport-segment-top 0 1) - env(viewport-segment-height 0 0)));height:100dvh;min-height:0;overflow:hidden}.auth-layout .welcome{grid-column:1;grid-row:1}.auth-layout .auth-side{grid-column:1;grid-row:2;min-height:0;overflow-y:auto;padding:10px 18px calc(12px + env(safe-area-inset-bottom,0px))}.auth-layout .welcome .welcome-inner{min-height:0;height:100%;padding:12px 18px}.app-shell-home{display:grid;grid-template-rows:env(viewport-segment-height 0 0) env(viewport-segment-height 0 1);row-gap:max(0px,calc(env(viewport-segment-top 0 1) - env(viewport-segment-height 0 0)));height:100dvh;min-height:0;overflow:hidden}.app-shell-home .topbar{grid-row:1;min-height:0;overflow:hidden}.app-shell-home .workspace{grid-row:2;min-height:0;overflow:hidden}.app-shell-home .app-footer{display:none}}@media(max-width:1100px){.app-shell:not(.app-shell-home) .topbar{padding-top:calc(12px + env(safe-area-inset-top,0px));padding-left:calc(18px + env(safe-area-inset-left,0px));padding-right:calc(18px + env(safe-area-inset-right,0px))}.app-shell:not(.app-shell-home) .main-content{padding-left:calc(18px + env(safe-area-inset-left,0px));padding-right:calc(18px + env(safe-area-inset-right,0px))}.app-shell:not(.app-shell-home) .app-footer{padding-bottom:calc(17px + env(safe-area-inset-bottom,0px))}.auth-layout .welcome .welcome-inner{padding-top:calc(20px + env(safe-area-inset-top,0px));padding-left:calc(20px + env(safe-area-inset-left,0px))}.auth-layout .auth-side{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}}@media(min-width:1600px){.app-shell .topbar{padding-left:max(26px,calc((100vw - 1540px)/2));padding-right:max(26px,calc((100vw - 1540px)/2))}.app-shell .main-content{padding-left:clamp(48px,4vw,88px);padding-right:clamp(48px,4vw,88px)}.app-shell .home-view{max-width:1200px}.app-shell .tool-view{max-width:1040px}.app-shell .owner-view{max-width:1220px}}:root[data-device=phone]{--basira-body-size: clamp(13px, 3.55vw, 15px);--basira-small-size: clamp(10px, 2.8vw, 12px);--basira-control-size: clamp(12px, 3.25vw, 14px);--basira-panel-padding: clamp(12px, 3.5vw, 17px)}:root[data-device=tablet]{--basira-body-size: clamp(14px, 1.6vw, 16px);--basira-small-size: clamp(11px, 1.2vw, 13px);--basira-control-size: clamp(13px, 1.4vw, 15px);--basira-panel-padding: clamp(16px, 2.2vw, 24px)}:root[data-device=desktop]{--basira-body-size: 14px;--basira-small-size: 11px;--basira-control-size: 13px;--basira-panel-padding: 21px}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content{font-size:var(--basira-body-size);padding:16px 12px}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content{font-size:var(--basira-body-size);padding:24px clamp(18px,3vw,32px)}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content h1{font-size:clamp(24px,6.3vw,32px);line-height:1.15}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content h1{font-size:clamp(28px,3.5vw,38px);line-height:1.15}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content h2{font-size:clamp(17px,4.5vw,22px);line-height:1.2}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content h2{font-size:clamp(19px,2.2vw,25px)}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content h3{font-size:clamp(14px,3.7vw,17px);line-height:1.25}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content h3{font-size:clamp(15px,1.6vw,19px)}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content p,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content li{font-size:var(--basira-body-size);line-height:1.5}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content p,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content li{font-size:var(--basira-body-size);line-height:1.55}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content small,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .tiny,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .eyebrow,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .muted{font-size:var(--basira-small-size)}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content small,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .tiny,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .eyebrow,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .muted{font-size:var(--basira-small-size)}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content button,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content input,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content select,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content textarea{font-size:var(--basira-control-size)}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content button,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content input,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content select,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content textarea{font-size:var(--basira-control-size)}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .btn{min-height:38px;padding:9px 12px}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .btn{min-height:42px;padding:10px 15px}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .panel,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .prompt-form,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .result-card,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .saved-item{padding:var(--basira-panel-padding);border-radius:12px}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .panel,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .prompt-form,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .result-card,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .saved-item{padding:var(--basira-panel-padding)}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .settings-form label,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .prompt-form label,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .auth-card label{font-size:var(--basira-small-size)}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .settings-form label,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .prompt-form label{font-size:var(--basira-small-size)}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .result-card pre,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .saved-content pre{font-size:clamp(12px,3.2vw,14px);line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .result-card pre,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .saved-content pre{font-size:clamp(13px,1.35vw,15px);line-height:1.6}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content img,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content img,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content video,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content video{max-width:100%;height:auto}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .feature-grid,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .feature-grid,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}:root[data-device=phone] .app-shell:not(.app-shell-home) .topbar,:root[data-device=tablet] .app-shell:not(.app-shell-home) .topbar{gap:7px;padding-bottom:8px}:root[data-device=phone] .app-shell:not(.app-shell-home) .top-nav,:root[data-device=tablet] .app-shell:not(.app-shell-home) .top-nav{width:100%;overflow-x:auto;flex-wrap:nowrap}:root[data-device=phone] .app-shell:not(.app-shell-home) .top-nav button,:root[data-device=tablet] .app-shell:not(.app-shell-home) .top-nav button{flex:0 0 auto;font-size:var(--basira-small-size);padding:7px 9px}:root[data-device=phone] .app-shell:not(.app-shell-home) .sidebar{gap:4px;padding:8px 10px}:root[data-device=phone] .app-shell:not(.app-shell-home) .side-link{flex:0 0 auto;font-size:var(--basira-small-size);padding:9px 10px}:root[data-device=tablet] .app-shell:not(.app-shell-home) .side-link{font-size:var(--basira-small-size)}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content,:root[data-device=tablet] .app-shell:not(.app-shell-home) .main-content{min-width:0;overflow-wrap:anywhere}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .approval-row,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .saved-item-head,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .prompt-actions{align-items:stretch;flex-direction:column}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .row-actions,:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content .saved-actions{flex-wrap:wrap}:root[data-device=phone] .app-shell:not(.app-shell-home) .main-content table{display:block;max-width:100%;overflow-x:auto}.preview-frame.tablet{width:620px;max-width:100%}.preview-frame.tablet .preview-page{min-height:390px;padding:28px}.preview-copy{width:fit-content;max-width:min(440px,100%)}.preview-copy>p,.preview-copy>h2,.preview-copy>h4,.preview-copy>small{overflow-wrap:anywhere}.homepage-editor .editor-section input[type=color]{width:58px;min-width:58px;height:38px;padding:3px;cursor:pointer}.homepage-editor .editor-section input:disabled{opacity:.45;cursor:not-allowed}.homepage-editor .editor-section .consent-check{display:flex;align-items:flex-start}.preview-page.preview-auth .brand{color:#fff}.preview-page.preview-auth .brand small{color:#ffffffc2}.preview-page.preview-auth .preview-copy .eyebrow{color:#bfe8e5}.preview-page.preview-workspace{color:#172338}.auth-layout:not(.auth-layout-banner){width:100%;max-width:100%;min-width:0;overflow-x:hidden}.auth-layout:not(.auth-layout-banner)>.welcome,.auth-layout:not(.auth-layout-banner)>.auth-side{min-width:0;max-width:100%}.auth-layout:not(.auth-layout-banner) .welcome .welcome-inner{width:100%;min-width:0;max-width:100%}.auth-layout:not(.auth-layout-banner) .welcome-copy{width:min(590px,100%);max-width:100%;min-width:0}.auth-layout:not(.auth-layout-banner) .welcome-copy h1,.auth-layout:not(.auth-layout-banner) .welcome-copy p{max-width:100%;overflow-wrap:break-word;text-wrap:balance}.auth-layout:not(.auth-layout-banner) .auth-side{min-width:0;width:100%}.auth-layout:not(.auth-layout-banner) .auth-card{width:min(430px,100%);min-width:0;max-width:100%}.auth-layout:not(.auth-layout-banner) .auth-card label,.auth-layout:not(.auth-layout-banner) .auth-card input{min-width:0;max-width:100%}@media(min-width:1101px){.auth-layout:not(.auth-layout-banner){grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}}@media(min-width:761px)and (max-width:1100px){.auth-layout:not(.auth-layout-banner){grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}}@media(max-width:760px){.auth-layout:not(.auth-layout-banner){grid-template-columns:minmax(0,1fr)}}.auth-layout.auth-panel-closed{display:block;position:relative;width:100%;height:auto;min-height:100vh;min-height:100svh;overflow-x:clip;background:#10243a}.auth-layout.auth-panel-closed>.welcome{width:100%;height:auto;min-height:100vh;min-height:100svh;background-size:cover;background-position:center}.auth-layout.auth-panel-closed .welcome .welcome-inner{width:100%;height:auto;min-height:100vh;min-height:100svh;max-width:1500px;margin:0 auto;padding:clamp(24px,5vw,76px);position:relative;display:flex;flex-direction:column;justify-content:space-between}.auth-layout.auth-panel-closed .welcome-copy{width:min(760px,100%);max-width:100%;margin:auto 0}.auth-layout.auth-panel-closed .welcome-copy h1{font-size:clamp(34px,5.3vw,72px);line-height:1.04;text-wrap:balance}.auth-layout.auth-panel-closed .welcome-copy .hero-subtitle{font-size:clamp(16px,2vw,23px)}.auth-layout.auth-panel-closed .welcome-copy .welcome-text{font-size:clamp(14px,1.6vw,19px);max-width:620px}.auth-layout.auth-panel-closed .welcome-copy .tagline{font-size:clamp(15px,1.8vw,21px)}.auth-layout.auth-panel-closed .welcome-inner>small{position:absolute;left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));transform:translate(-50%);width:calc(100% - 40px);text-align:center;color:#fffc;font-size:11px}.auth-layout.auth-panel-closed .public-contact-button{position:absolute;left:calc(50% + 82px);bottom:calc(58px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:3;min-width:116px;min-height:46px;padding:12px 20px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:#242033;color:#fff;font:800 14px Manrope,sans-serif;box-shadow:0 10px 28px #00000047;cursor:pointer}@media(max-width:420px){.auth-layout.auth-panel-closed .auth-launch-button{left:calc(50% - 70px);min-width:96px;padding-inline:16px}.auth-layout.auth-panel-closed .public-contact-button{left:calc(50% + 70px);min-width:104px;padding-inline:12px}}.auth-layout.auth-panel-closed .auth-launch-button{position:absolute;left:calc(50% - 82px);bottom:calc(58px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:3;min-width:104px;min-height:46px;padding:12px 25px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:#c3263d;color:#fff;font:800 14px Manrope,sans-serif;box-shadow:0 10px 28px #00000047;cursor:pointer;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.auth-layout.auth-panel-closed .auth-launch-button:hover{background:#a91e33;transform:translate(-50%) translateY(-2px);box-shadow:0 14px 34px #00000057}.auth-layout.auth-panel-closed .auth-launch-button:focus-visible{outline:3px solid #fff;outline-offset:4px}.auth-layout.auth-panel-closed>.auth-side{display:none}.auth-layout.auth-panel-open>.auth-side{display:grid;position:fixed;inset:0;z-index:2000;width:100%;height:100%;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;place-items:center;padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));background:#08111ead;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:basira-auth-backdrop-in .18s ease-out both}.auth-layout.auth-panel-open .auth-dialog-card{position:relative;width:min(460px,100%);min-width:0;max-width:100%;max-height:calc(100% - 4px);overflow-y:auto;overscroll-behavior:contain;padding:34px clamp(22px,4vw,38px) 26px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);box-shadow:0 28px 90px #00000057;animation:basira-auth-dialog-in .22s cubic-bezier(.2,.8,.2,1) both}.auth-dialog-card h2{font-size:clamp(27px,3vw,34px);line-height:1.15;padding-right:35px}.auth-dialog-card .auth-dialog-close{position:absolute;top:13px;right:13px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface2);color:var(--ink);font-size:24px;line-height:1;cursor:pointer}.auth-dialog-card .auth-dialog-close:hover{background:var(--accent);color:var(--brand)}.auth-dialog-card .auth-dialog-close:focus-visible{outline:3px solid var(--brand);outline-offset:3px}.auth-dialog-card .alert{overflow-wrap:anywhere}@keyframes basira-auth-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes basira-auth-dialog-in{0%{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:760px){.auth-layout.auth-panel-closed .welcome .welcome-inner{padding:calc(24px + env(safe-area-inset-top,0px)) calc(20px + env(safe-area-inset-right,0px)) calc(100px + env(safe-area-inset-bottom,0px)) calc(20px + env(safe-area-inset-left,0px))}.auth-layout.auth-panel-closed .welcome-copy{display:block;margin:auto 0}.auth-layout.auth-panel-closed .welcome-copy .eyebrow,.auth-layout.auth-panel-closed .welcome-copy .hero-subtitle,.auth-layout.auth-panel-closed .welcome-copy .welcome-text,.auth-layout.auth-panel-closed .welcome-copy .tagline{display:block}.auth-layout.auth-panel-closed .welcome-copy .eyebrow{font-size:9px}.auth-layout.auth-panel-closed .welcome-copy h1{font-size:clamp(30px,8vw,43px)}.auth-layout.auth-panel-closed .welcome-copy .hero-subtitle{font-size:15px}.auth-layout.auth-panel-closed .welcome-copy .welcome-text{font-size:13px}.auth-layout.auth-panel-closed .welcome-copy .tagline{font-size:15px;margin-top:15px}.auth-layout.auth-panel-closed .auth-launch-button{bottom:calc(58px + env(safe-area-inset-bottom,0px));min-height:44px;min-width:100px}.auth-layout.auth-panel-open>.auth-side{place-items:center;padding:max(10px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(10px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))}.auth-layout.auth-panel-open .auth-dialog-card{width:min(460px,100%);max-height:100%;padding:30px 21px 22px;border-radius:17px}}@media(max-width:760px)and (max-height:560px){.auth-layout.auth-panel-closed .welcome .welcome-inner{padding-bottom:86px}.auth-layout.auth-panel-closed .welcome-copy h1{font-size:clamp(25px,5.5vw,34px)}.auth-layout.auth-panel-open>.auth-side{place-items:start center}}@media(prefers-reduced-motion:reduce){.auth-layout.auth-panel-closed .auth-launch-button,.auth-layout.auth-panel-open>.auth-side,.auth-layout.auth-panel-open .auth-dialog-card{animation:none;transition:none}}.auth-layout.auth-panel-open>.auth-side{top:var(--basira-visual-top, 0px);left:var(--basira-visual-left, 0px);right:auto;bottom:auto;width:var(--basira-visual-width, 100vw);height:var(--basira-visual-height, 100dvh);max-height:var(--basira-visual-height, 100dvh);overflow:hidden;overscroll-behavior:none}.auth-layout.auth-panel-open .auth-dialog-card{min-height:0;max-height:calc(var(--basira-visual-height, 100dvh) - 32px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;margin:auto}@media(max-width:1366px)and (hover:none)and (pointer:coarse){.auth-layout.auth-panel-open .auth-dialog-card input{font-size:16px;line-height:1.35;min-height:46px}.auth-layout.auth-panel-open .auth-dialog-card{max-height:calc(var(--basira-visual-height, 100dvh) - 20px)}.auth-layout.auth-panel-open>.auth-side{padding-top:max(10px,env(safe-area-inset-top,0px));padding-bottom:max(10px,env(safe-area-inset-bottom,0px));padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px));backdrop-filter:none;-webkit-backdrop-filter:none}:root[data-keyboard-open=true] .auth-layout.auth-panel-open>.auth-side{place-items:start center}:root[data-keyboard-open=true] .auth-layout.auth-panel-open .auth-dialog-card{margin-top:0;margin-bottom:auto;max-height:calc(var(--basira-visual-height, 100dvh) - 20px)}}@media(max-width:1366px)and (hover:none)and (pointer:coarse){:root[data-auth-input-focused=true] .auth-layout.auth-panel-open>.auth-side,:root[data-keyboard-open=true] .auth-layout.auth-panel-open>.auth-side{place-items:start center;padding-top:max(8px,env(safe-area-inset-top,0px));padding-bottom:8px;transition:none!important}:root[data-auth-input-focused=true] .auth-layout.auth-panel-open .auth-dialog-card,:root[data-keyboard-open=true] .auth-layout.auth-panel-open .auth-dialog-card{margin-top:0;margin-bottom:auto;max-height:calc(var(--basira-visual-height, 100dvh) - 16px);transition:none!important}}.owner-accordion,.owner-subaccordion{display:block;margin:14px 0;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:var(--shadow)}.owner-accordion-summary,.owner-subaccordion>summary{display:flex;align-items:center;gap:14px;min-height:76px;padding:15px 19px;list-style:none;cursor:pointer;-webkit-user-select:none;user-select:none}.owner-accordion-summary::-webkit-details-marker,.owner-subaccordion>summary::-webkit-details-marker,.editor-accordion>summary::-webkit-details-marker,.text-style-card>summary::-webkit-details-marker{display:none}.owner-accordion-summary::marker,.owner-subaccordion>summary::marker,.editor-accordion>summary::marker,.text-style-card>summary::marker{content:""}.owner-accordion-summary:hover,.owner-subaccordion>summary:hover{background:var(--surface2)}.owner-accordion[open]>.owner-accordion-summary,.owner-subaccordion[open]>summary{border-bottom:1px solid var(--line);background:var(--surface2)}.owner-accordion-copy{display:grid;flex:1 1 auto;min-width:0;gap:3px}.owner-accordion-copy strong{color:var(--ink);font-size:15px;line-height:1.3}.owner-accordion-eyebrow{color:var(--brand);font-size:9px;font-weight:800;letter-spacing:.12em}.owner-accordion-description{color:var(--muted);font-size:11px;line-height:1.4}.owner-accordion-badge{flex:0 0 auto;border:1px solid var(--line);border-radius:99px;padding:5px 9px;color:var(--brand);background:var(--accent);font-size:10px;font-weight:800}.owner-accordion-chevron,.text-style-chevron{flex:0 0 auto;color:var(--muted);font-size:21px;line-height:1;transition:transform .18s ease}.owner-accordion[open]>summary .owner-accordion-chevron,.owner-subaccordion[open]>summary .owner-accordion-chevron,.editor-accordion[open]>summary:after,.text-style-card[open]>summary .text-style-chevron{transform:rotate(180deg)}.owner-accordion-content{padding:16px 18px 19px}.owner-accordion-content>.owner-subaccordion:first-child{margin-top:0}.owner-accordion-content>.owner-subaccordion:last-child{margin-bottom:0}.owner-subaccordion{margin:10px 0;border-radius:12px;box-shadow:none;background:var(--surface)}.owner-subaccordion>summary{min-height:64px;padding:12px 15px}.owner-subaccordion .owner-accordion-copy strong{font-size:13px}.owner-subaccordion .owner-accordion-content{padding:14px 16px}.owner-tools{display:grid;gap:9px}.owner-form{max-width:760px}.owner-record-list{display:grid;gap:10px}.owner-record-list .saved-item{margin:0}.editor-accordion{display:block;margin:13px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}.editor-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:13px 15px;color:var(--ink);font-size:13px;font-weight:800;list-style:none;cursor:pointer}.editor-accordion>summary:after{content:"⌄";color:var(--muted);font-size:19px;line-height:1;transition:transform .18s ease}.editor-accordion>summary:hover{background:var(--surface2)}.editor-accordion[open]>summary{background:var(--surface2);border-bottom:1px solid var(--line)}.editor-accordion-content{display:grid;gap:10px;padding:14px}.text-style-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface)}.text-style-card>summary{display:flex;align-items:center;gap:10px;min-height:49px;padding:10px 12px;list-style:none;cursor:pointer}.text-style-card>summary:hover,.text-style-card[open]>summary{background:var(--surface2)}.text-style-card[open]>summary{border-bottom:1px solid var(--line)}.text-style-card>summary strong{flex:0 0 auto;color:var(--ink);font-size:12px}.text-style-summary-preview{flex:1 1 auto;min-width:0;color:var(--muted);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-style-chevron{font-size:17px}.text-style-card-body{display:grid;gap:12px;padding:13px}.text-style-card-body>label,.text-style-inline-controls label{display:grid;gap:6px;min-width:0;color:var(--ink);font-size:11px;font-weight:700}.text-style-card-body input:not([type=range]):not([type=checkbox]),.text-style-card-body textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:9px 10px;background:var(--surface);color:var(--ink);font:inherit}.text-style-card-body input[type=color]{width:58px!important;min-height:36px;padding:3px!important;cursor:pointer}.text-style-inline-controls{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);gap:12px;align-items:end}.text-style-inline-controls input[type=range]{width:100%;accent-color:var(--brand)}.text-style-inline-controls output{color:var(--brand);font-size:10px;font-variant-numeric:tabular-nums}.text-background-editor{display:grid;gap:11px;padding:12px;border:1px dashed var(--line);border-radius:9px;background:var(--surface2)}.text-background-editor>.consent-check{margin:0;font-size:11px}.text-background-editor input:disabled{opacity:.45;cursor:not-allowed}.homepage-editor .editor-actions{margin-top:16px}@media(max-width:760px){.owner-accordion-summary,.owner-subaccordion>summary{gap:9px;padding-left:12px;padding-right:12px}.owner-accordion-description{font-size:10px}.owner-accordion-content{padding:10px}.text-style-inline-controls{grid-template-columns:minmax(0,1fr)}.editor-accordion-content{padding:9px}}.preview-page.preview-auth-form{min-height:390px;gap:14px;padding:18px;color:#172338;background:#f6f7fb!important}.preview-page.preview-auth-form .brand,.preview-page.preview-auth-form .brand strong{color:#172338}.preview-page.preview-auth-form .brand small{color:#64748b}.preview-auth-stage{display:grid;flex:1 1 auto;place-items:center;width:100%}.preview-auth-card{width:min(100%,360px);padding:20px;border:1px solid #e6e8ee;border-radius:13px;background:#fff;box-shadow:0 8px 24px #13233814;color:#172338}.preview-auth-mode-switch{display:flex;gap:4px;padding:3px;margin-bottom:17px;border-radius:8px;background:#f1f3f7}.preview-auth-mode-switch button{flex:1 1 50%;border:0;border-radius:6px;padding:7px 9px;background:transparent;color:#667085;font-size:10px;font-weight:700}.preview-auth-mode-switch button.active{background:#fff;color:#c3263d;box-shadow:0 1px 4px #1423371f}.preview-auth-card>.eyebrow{margin:0 0 7px}.preview-auth-card>h2{margin:0 0 6px;line-height:1.15}.preview-auth-description{margin:0 0 15px;line-height:1.5}.preview-auth-card>label:not(.preview-auth-check){display:grid;gap:5px;margin:11px 0;color:#172338;font-size:10px;font-weight:700}.preview-input-placeholder{height:31px;border:1px solid #e2e5eb;border-radius:7px;background:#fff}.preview-auth-check{display:flex;align-items:center;gap:7px;margin:9px 0 13px;color:#667085;font-size:9px}.preview-auth-check>span{width:12px;height:12px;border:1px solid #aab2c0;border-radius:3px}.preview-auth-submit{display:block;width:100%;margin-top:7px;padding:8px 10px!important;font-size:10px!important}.preview-page.preview-auth-form .preview-auth-submit.btn.secondary{border:1px solid #e8dadd;background:#f8f0f1;color:#172338}.preview-tools-section{width:100%;margin-top:2px;padding:12px;border:1px solid rgba(130,145,165,.25);border-radius:10px;background:#ffffffeb;color:#172338}.preview-tools-section h3{margin:0 0 4px;font-size:13px}.preview-tools-section p{margin:0 0 10px;line-height:1.4}.preview-tools-placeholder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.preview-tools-placeholder-grid span{display:grid;min-height:42px;place-items:center;padding:6px;border:1px solid #e6e8ee;border-radius:7px;background:#fff;color:#536176;font-size:8px;font-weight:700;text-align:center}@media(max-width:620px){.preview-tools-placeholder-grid{grid-template-columns:1fr}}.theme-switcher{display:inline-flex;align-items:center;gap:3px;max-width:100%;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--surface2);white-space:nowrap}.theme-switcher button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;padding:8px 11px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:10px;font-weight:700;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.theme-switcher button:hover{color:var(--ink)}.theme-switcher button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #0000001f}.theme-switcher button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.theme-icon{display:inline-grid;place-items:center;width:22px;height:22px;flex:0 0 22px;color:var(--brand)}.theme-icon svg{display:block;width:21px;height:21px}.theme-icon.clinical-daylight{color:#147d86}.theme-icon.er-redline{color:#bd2638}.theme-icon.night-shift{color:#6d8fe8}.theme-icon.code-red-night{color:#ef4b5f}.theme-field{display:grid;gap:7px;min-width:min(100%,340px);color:var(--ink);font-size:12px;font-weight:700}.theme-field .theme-switcher{width:fit-content;max-width:100%}@media(max-width:620px){.theme-switcher button .theme-label{display:inline-block}.theme-switcher button{gap:4px;padding:7px 8px;font-size:9px}.theme-field .theme-switcher{width:100%}.theme-field .theme-switcher button{flex:1 1 0}}.auth-profile-fields{margin:20px 0 14px;padding:16px 0 2px;border-top:1px solid var(--line)}.auth-profile-fields h3{margin:0 0 5px;font-size:17px}.auth-profile-fields>p{margin:0 0 12px;font-size:11px}.member-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;width:100%}.member-profile-fields label{display:grid;min-width:0;gap:6px;margin:9px 0;font-size:12px;font-weight:700}.member-profile-fields input,.member-profile-fields select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px}.member-profile-fields input:focus,.member-profile-fields select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 13%,transparent)}.member-profile-screen{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto}.member-profile-screen>.brand{margin-bottom:22px}.member-profile-screen>.eyebrow{margin-bottom:7px}.member-profile-screen>h1{font-size:clamp(25px,3vw,34px)}.member-profile-screen>p.muted{margin:8px 0 16px}.member-profile-form .member-profile-fields{margin-bottom:12px}.member-profile-form .btn{width:100%}.member-profile-screen>.text-button{margin-top:8px}.member-analysis{min-width:0}.member-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.member-stat{display:grid;gap:8px;min-width:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.member-stat span{color:var(--muted);font-size:11px}.member-stat strong{font:800 25px Manrope;color:var(--ink)}.member-breakdown-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 22px}.member-breakdown{min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.member-breakdown h3,.member-directory-heading h3{margin:0 0 10px;font:800 14px Manrope}.member-breakdown-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:7px 0;border-top:1px solid var(--line);font-size:11px}.member-breakdown-row b{flex:0 0 auto;font-variant-numeric:tabular-nums}.member-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0 10px}.member-directory-heading h3{margin-bottom:3px}.member-directory-heading p{margin:0;font-size:11px}.member-search{display:grid;gap:6px;margin:12px 0;color:var(--muted);font-size:11px;font-weight:700}.member-search input{width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink)}.member-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.member-directory-table{width:100%;min-width:850px;border-collapse:collapse;text-align:left}.member-directory-table th,.member-directory-table td{padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top;font-size:11px}.member-directory-table th{position:sticky;top:0;background:var(--surface2);color:var(--muted);font-size:10px;font-weight:800;white-space:nowrap}.member-directory-table td strong{font-size:11px;overflow-wrap:anywhere}.member-directory-table tr:last-child td{border-bottom:0}.member-access-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--surface2);color:var(--muted);font-size:10px;font-weight:800;text-transform:capitalize}.member-access-status.approved{background:#e4f5ec;color:#17664c}.member-access-status.rejected{background:#ffe9eb;color:#85212c}.member-empty-cell{text-align:center;color:var(--muted)}@media(max-width:760px){.member-profile-fields,.member-breakdown-grid{grid-template-columns:1fr}.member-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-stat{padding:12px}.member-stat strong{font-size:22px}.member-directory-heading{align-items:flex-start;flex-direction:column}}.preview-profile-form{align-items:center;background:#f6f7fb!important;color:#172338}.preview-profile-card{width:min(430px,100%);margin:auto;padding:20px;border:1px solid #dfe6ee;border-radius:13px;background:#fff;color:#172338;box-shadow:0 8px 24px #182b4414}.preview-profile-card h2{font-size:18px;margin-bottom:7px}.preview-profile-card>p{margin:0 0 13px;font-size:9px;line-height:1.45;color:#66758b}.preview-profile-fields{display:grid;gap:8px}.preview-profile-fields label{display:grid;gap:4px;margin:0;font-size:9px;font-weight:700}.preview-profile-fields .preview-input-placeholder,.preview-select-placeholder{display:flex;align-items:center;min-height:29px;width:100%;padding:6px 8px;border:1px solid #dfe6ee;border-radius:7px;background:#fff;color:#8a96a8;font-size:8px;font-weight:400}.preview-profile-option-list{display:flex;flex-wrap:wrap;gap:4px;margin:1px 0 3px}.preview-profile-option-list span{padding:4px 6px;border-radius:6px;background:#f0f4f8;color:#526075;font-size:7px}.preview-profile-card .preview-auth-submit{width:100%;margin-top:12px}.profile-privacy-ack{margin:12px 0}.profile-privacy-ack .consent-check{display:flex;align-items:flex-start;gap:9px;margin:0 0 6px;font-size:11px;font-weight:500;line-height:1.5}.profile-privacy-ack .consent-check input{width:auto;flex:0 0 auto;margin-top:3px}.profile-privacy-ack>.privacy-notice-link{padding:0;font-size:11px}.preview-profile-privacy{margin:9px 0 0;color:#66758b;font-size:7px;line-height:1.4}.brand{gap:12px}.brand-copy{display:grid;gap:4px;min-width:0}.brand .brand-wordmark{display:block;width:fit-content;color:var(--ink);font:800 20px/1 Manrope,sans-serif;letter-spacing:-.065em}.brand-wordmark-accent{display:inline-block;margin-left:1px;color:var(--brand);font-size:1.25em;line-height:.6;transform:translateY(1px)}.brand .brand-subtitle{display:block;margin-top:0;color:var(--muted);font-size:9px;font-weight:600;letter-spacing:.025em}.brand-emblem{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;overflow:hidden;border:1px solid color-mix(in srgb,var(--brand) 48%,transparent);border-radius:14px 14px 14px 5px;background:linear-gradient(145deg,var(--brand),var(--brand2));color:#fff;box-shadow:0 7px 17px color-mix(in srgb,var(--brand) 24%,transparent)}.brand-emblem-letter{position:relative;z-index:1;margin-top:-3px;font:800 26px/.95 Manrope,sans-serif;letter-spacing:-.09em;text-shadow:0 1px 2px rgba(0,0,0,.12)}.brand-emblem svg{position:absolute;z-index:2;right:5px;bottom:5px;width:31px;height:16px;overflow:visible}.brand-emblem svg path{fill:none;stroke:#fffffff2;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.welcome .brand .brand-wordmark{color:#fff}.welcome .brand-subtitle{color:#ffffffc7}.topbar .brand .brand-wordmark{font-size:16px}.preview-page .brand .brand-wordmark{font-size:17px}.preview-page .brand .brand-subtitle{color:var(--muted)}.preview-page .brand-emblem{width:38px;height:38px;flex-basis:38px;border-radius:12px 12px 12px 4px}.preview-page .brand-emblem-letter{font-size:23px}.preview-page .brand-emblem svg{right:4px;bottom:4px;width:27px;height:14px}.text-copy-editor{display:grid;gap:7px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:11px;font-weight:700}.text-copy-editor input,.text-copy-editor textarea{display:block;width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px 11px;background:var(--surface);color:var(--ink);font:500 12px/1.5 DM Sans,sans-serif}.text-copy-editor input:focus,.text-copy-editor textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 13%,transparent)}.text-copy-editor textarea{resize:vertical}.preview-copy h4{color:var(--ink)}.preview-copy p{color:var(--muted)}.preview-copy>small{color:var(--muted)}.owner-drive-manager,.owner-activity-analytics{display:grid;gap:16px}.owner-drive-manager>.muted,.analytics-toolbar>.muted,.activity-members-heading .muted{max-width:780px;margin:0;font-size:11px}.owner-drive-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface2)}.owner-drive-form label{margin:0}.owner-drive-form label:nth-child(3){grid-column:1 / -1}.owner-drive-form>button{justify-self:start}.owner-drive-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.owner-drive-group{min-width:0;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.owner-drive-group-heading,.activity-members-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.owner-drive-group-heading h3,.activity-analytics-card h3,.activity-members-heading h3{font:800 14px Manrope,sans-serif}.owner-drive-group>.muted{font-size:10px;margin:4px 0}.owner-drive-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.owner-drive-row>div{display:grid;gap:5px;min-width:0}.owner-drive-row strong{color:var(--ink);font-size:11px}.owner-drive-row a{max-width:100%;color:var(--muted);font-size:9px;overflow-wrap:anywhere}.owner-drive-row .text-button{flex:0 0 auto;font-size:10px}.tool-drive-resources{display:grid;gap:12px;margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.tool-drive-resources h2{font-size:15px;margin:0}.tool-drive-resources .eyebrow{margin-bottom:5px}.tool-drive-resources .muted{margin:4px 0 0;font-size:10px}.tool-drive-resource-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tool-drive-resource-list a{display:flex;align-items:center;gap:10px;min-width:0;padding:11px;border:1px solid var(--line);border-radius:9px;background:var(--surface2);color:var(--ink);text-decoration:none}.tool-drive-resource-list a:hover{border-color:var(--brand);background:var(--accent)}.drive-file-mark{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:var(--accent);color:var(--brand);font-weight:800}.tool-drive-resource-list a>span:last-child{display:grid;gap:3px;min-width:0}.tool-drive-resource-list strong{font-size:11px;overflow-wrap:anywhere}.tool-drive-resource-list small{color:var(--muted);font-size:9px}.analytics-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}.analytics-toolbar label{display:grid;gap:6px;min-width:170px;color:var(--ink);font-size:11px;font-weight:700}.analytics-toolbar select,.owner-drive-form select{width:100%;min-height:38px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink)}.activity-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.activity-stat{display:grid;gap:8px;min-width:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.activity-stat span{color:var(--muted);font-size:10px;font-weight:700}.activity-stat strong{color:var(--ink);font:800 clamp(19px,2.1vw,26px)/1 Manrope,sans-serif;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.activity-analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.activity-analytics-card{min-width:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.activity-analytics-card h3{margin-bottom:12px}.activity-analytics-card>.muted{color:var(--muted);font-size:11px}.activity-tool-row,.activity-daily-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:10px}.activity-tool-row:first-child,.activity-daily-row:first-child{border-top:0}.activity-tool-row>div{display:grid;gap:4px;min-width:0}.activity-tool-row strong,.activity-tool-row>b{color:var(--ink);font-size:11px}.activity-tool-row small{color:var(--muted);font-size:9px}.activity-daily-row span:first-child{min-width:65px;color:var(--ink);font-weight:700}.activity-daily-row span:not(:first-child){color:var(--muted);text-align:right}.activity-members-heading{margin:8px 0 0}.activity-members-heading p{margin:4px 0 0}.activity-member-table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.activity-member-table{width:100%;border-collapse:collapse;min-width:850px;font-size:10px}.activity-member-table th,.activity-member-table td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.activity-member-table th{position:sticky;top:0;color:var(--muted);background:var(--surface2);font-size:9px;letter-spacing:.04em;text-transform:uppercase}.activity-member-table td{color:var(--ink)}.activity-member-table td:first-child{min-width:180px}.activity-member-table td:first-child strong,.activity-member-table td:first-child small{display:block;overflow-wrap:anywhere}.activity-member-table td:first-child small{margin-top:4px;color:var(--muted);font-size:9px}.image-edit-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:18px;background:#050c18b8;overflow-y:auto}.image-edit-dialog{display:grid;gap:15px;width:min(780px,100%);max-height:min(94vh,900px);overflow-y:auto;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);box-shadow:0 24px 80px #0000004d}.image-edit-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.image-edit-header h2{font-size:21px}.image-edit-header p:last-child{margin:5px 0 0;font-size:11px}.image-edit-preview{display:grid;place-items:center;min-height:180px;max-height:430px;overflow:hidden;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface2)}.image-edit-preview canvas{display:block;width:auto;max-width:100%;max-height:400px;object-fit:contain;background:#fff;box-shadow:0 3px 18px #00000026;cursor:grab;touch-action:none}.image-edit-preview canvas:active{cursor:grabbing}.image-edit-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px}.image-edit-controls label{display:grid;gap:7px;color:var(--ink);font-size:11px;font-weight:700}.image-edit-controls select{width:100%;min-height:38px;border:1px solid var(--line);border-radius:9px;padding:9px;background:var(--surface);color:var(--ink)}.image-edit-controls input[type=range]{width:100%;accent-color:var(--brand)}.image-edit-controls output{float:right;color:var(--brand);font-variant-numeric:tabular-nums}.image-edit-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:4px;border-top:1px solid var(--line)}.image-edit-actions .spacer{flex:1 1 auto}@media(max-width:760px){.owner-drive-form,.owner-drive-groups,.activity-analytics-grid,.tool-drive-resource-list{grid-template-columns:1fr}.owner-drive-form label:nth-child(3){grid-column:auto}.activity-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-edit-backdrop{padding:8px}.image-edit-dialog{max-height:96vh;padding:14px}.image-edit-controls{grid-template-columns:1fr}.image-edit-actions .spacer{display:none}.image-edit-actions>button{flex:1 1 calc(50% - 8px)}}:root[data-theme=night-shift]{--bg: #0b1528;--surface: #13223a;--surface2: #1b2e4c;--ink: #edf4ff;--muted: #a9bad8;--line: #30496d;--brand: #6d8fe8;--brand2: #4d70c9;--accent: #243a61;--danger: #ff8797;--shadow: 0 18px 44px rgba(0,0,0,.32)}.theme-label{display:inline-block;white-space:nowrap;font-size:inherit;line-height:1}.theme-switcher button .theme-label:before,.theme-switcher button .theme-label:after{content:none!important;display:none!important}.theme-label-full,.theme-label-compact{display:none!important}.welcome{background-color:var(--surface);color:var(--ink)}.welcome .brand,.welcome .brand .brand-wordmark{color:var(--ink)}.welcome .brand-subtitle,.welcome .brand small,.welcome>small{color:var(--muted)}.welcome-copy .hero-subtitle,.welcome-copy .welcome-text{color:var(--muted)}.welcome-copy .tagline{color:var(--brand)}.welcome.welcome-with-background,.welcome.welcome-with-background .brand,.welcome.welcome-with-background .brand .brand-wordmark{color:#fff}.welcome.welcome-with-background .brand-subtitle,.welcome.welcome-with-background .brand small,.welcome.welcome-with-background>small,.welcome.welcome-with-background .hero-subtitle,.welcome.welcome-with-background .welcome-text{color:#ffffffd1}.welcome.welcome-with-background .tagline{color:#fff}.preview-page{color:var(--ink);background-color:var(--surface)}.preview-page .brand,.preview-page .brand strong{color:var(--ink)}.preview-page .brand small,.preview-page .brand .brand-subtitle{color:var(--muted)}.preview-page.preview-auth .brand,.preview-page.preview-auth .brand strong,.preview-page.preview-auth-form .brand,.preview-page.preview-auth-form .brand strong{color:var(--ink)}.preview-page.preview-auth .brand small,.preview-page.preview-auth-form .brand small{color:var(--muted)}.preview-page.preview-auth .preview-copy .eyebrow{color:var(--brand)}.preview-page.preview-workspace{color:var(--ink)}.preview-page.preview-auth-form{color:var(--ink);background:var(--surface)!important}.preview-page.preview-auth-form .preview-auth-card{border-color:var(--line);background:var(--surface);color:var(--ink)}.preview-page.preview-auth-form .preview-auth-description,.preview-page.preview-auth-form label{color:var(--muted)}.text-copy-editor-field{display:grid;gap:7px}.text-copy-editor>.text-style-card{margin-top:2px;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--surface2)}.text-style-card>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;color:var(--muted);font-size:10px;font-weight:800;cursor:pointer;list-style:none}.text-style-card[open]>summary{border-bottom:1px solid var(--line);color:var(--brand)}.text-style-card .text-style-inline-controls{padding:12px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.text-style-card .text-style-inline-controls input[type=color],.text-background-editor input[type=color]{width:58px!important;min-width:58px;min-height:36px;padding:3px!important;cursor:pointer}.text-style-card .text-style-inline-controls input[type=number]{width:100%;min-width:0}.text-style-card>.text-button{margin:0 12px 12px;font-size:10px}.text-style-card>.text-background-editor{margin:0 12px 12px}.text-style-card>.text-background-editor .text-style-inline-controls{padding:0;border:0;background:transparent}@media(max-width:620px){.top-actions .theme-label{display:inline;font-size:9px}.top-actions .theme-switcher{gap:3px;max-width:100%}.top-actions .theme-switcher button{gap:4px;padding:7px}.text-style-card .text-style-inline-controls{grid-template-columns:minmax(0,1fr)}}.welcome:not(.welcome-with-background) .welcome-copy .hero-subtitle{color:var(--muted)}.welcome:not(.welcome-with-background) .welcome-copy .welcome-text{color:var(--muted)}.welcome:not(.welcome-with-background) .welcome-copy .tagline{color:var(--brand)}:root[data-theme] .auth-layout,:root[data-theme] .auth-side,:root[data-theme] .app-shell,:root[data-theme] .topbar,:root[data-theme] .sidebar{background-color:var(--bg);color:var(--ink)}:root[data-theme] .topbar,:root[data-theme] .sidebar,:root[data-theme] .auth-side{border-color:var(--line)}:root[data-theme] .welcome:not(.welcome-with-background){background-color:var(--surface);color:var(--ink)}:root[data-theme] .welcome:not(.welcome-with-background) .brand,:root[data-theme] .welcome:not(.welcome-with-background) .brand-wordmark{color:var(--ink)}:root[data-theme] .welcome:not(.welcome-with-background) .brand-subtitle,:root[data-theme] .welcome:not(.welcome-with-background) .welcome-copy .hero-subtitle,:root[data-theme] .welcome:not(.welcome-with-background) .welcome-copy .welcome-text{color:var(--muted)}
