:root{--bg:#f5f7fb;--paper:#fff;--soft:#edf2fa;--ink:#152742;--muted:#64758d;--line:#dae2ed;--accent:#285de8;--accent-soft:#eaf0ff;--on-accent:#fff;--nav:#11243b;--nav-ink:#e5edf8;--nav-muted:#91a7c2;--nav-line:#304767;--nav-active:#284061;--cover:#eaf0ff;--shadow:#15274208;--green:var(--accent);--green-dark:var(--accent);--studio-radius-control:9px;--studio-radius-card:14px;--studio-card-padding:22px;--studio-page-gap:20px;--studio-stack-gap:14px;--studio-focus-border:#8492a8;--studio-success:#147b59;--studio-success-soft:#e9f6ef;--studio-warning:#92600a;--studio-warning-soft:#fff5df;--studio-danger:#c0374a;--studio-danger-soft:#fff0f2;--studio-danger-fill:#c0374a;--studio-space-1:4px;--studio-space-2:8px;--studio-space-3:12px;--studio-space-4:16px;--studio-space-6:24px;--studio-space-8:32px}html[data-theme=dark]{color-scheme:dark;--bg:#0e1828;--paper:#17253a;--soft:#1d2e46;--ink:#edf2fa;--muted:#a3b3cb;--line:#314258;--accent:#91b3ff;--accent-soft:#263f65;--on-accent:#10213a;--nav:#0a1423;--nav-ink:#e5edf8;--nav-muted:#91a7c2;--nav-line:#273754;--nav-active:#1b304c;--cover:#263f65;--shadow:#0002;--studio-focus-border:#718198;--studio-success:#74d2b0;--studio-success-soft:#173b34;--studio-warning:#f1ca79;--studio-warning-soft:#413623;--studio-danger:#ff9aa7;--studio-danger-soft:#482935}*{box-sizing:border-box}html{scroll-padding-top:88px}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.5 Segoe UI,Tahoma,Arial,sans-serif;-webkit-font-smoothing:antialiased}[data-studio-cursor=default]{cursor:default}[data-studio-cursor=pointer]{cursor:pointer}[data-studio-cursor=text]{cursor:text}[data-studio-cursor=grab]{cursor:grab}[data-studio-cursor=grabbing]{cursor:grabbing}[data-studio-cursor=column-resize]{cursor:col-resize}[data-studio-cursor=row-resize]{cursor:row-resize}[data-studio-cursor=unavailable]{cursor:not-allowed}[data-studio-cursor=progress]{cursor:progress}[data-studio-cursor=crosshair]{cursor:crosshair}[data-studio-cursor=zoom-in]{cursor:zoom-in}[data-studio-cursor=zoom-out]{cursor:zoom-out}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:transparent;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}[contenteditable],a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}[tabindex]:focus-visible,a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}[contenteditable]:focus,input:focus,select:focus,textarea:focus{outline:none;border-color:var(--studio-focus-border);box-shadow:none}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--studio-danger)}input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.command-results a:focus-visible,.recent-item:focus-visible,.sidebar-scroll a:focus-visible{outline-offset:-2px}input,select,textarea{min-width:0;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--paper);padding:10px 12px}input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1px;line-height:1.22;overflow-wrap:anywhere}h1,h2{font-weight:600}h2{font-size:15px}svg{flex:0 0 auto;vertical-align:middle}html[dir=rtl] .lucide-arrow-right,html[dir=rtl] .lucide-chevron-right,html[dir=rtl] .lucide-panel-left-close,html[dir=rtl] .lucide-panel-left-open{transform:scaleX(-1)}.muted{color:var(--muted);font-weight:400}.studio-card{min-width:0;padding:0;border:1px solid var(--line);border-radius:var(--studio-radius-card);background:var(--paper);box-shadow:0 8px 24px var(--shadow)}.studio-card-body,.studio-card-padded{padding:var(--studio-card-padding)}.studio-card-header{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:18px var(--studio-card-padding);border-block-end:1px solid var(--line)}.studio-options,.studio-stack{display:flex;flex-direction:column;gap:var(--studio-stack-gap);min-width:0}.studio-result-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0}.tool-workspace{--studio-control-gutter:var(--studio-space-3)}.tool-workspace ul[role=alert]{padding-inline:var(--studio-control-gutter);list-style-position:inside;overflow-wrap:anywhere}.focus-tool:has(.studio-control-slot){row-gap:var(--studio-control-gutter)}.focus-tool:has(.studio-control-slot)>:is(.message,.conversion-notes,.processing-status,.draft-banner){margin-block:0}.focus-tool:has(.studio-control-slot) :where([data-focus-layout],[data-pilot-image-workspace])>p,.focus-tool:has(.studio-control-slot)>p{margin-inline:var(--studio-control-gutter)}.focus-tool .studio-control-slot{margin-inline:var(--studio-control-gutter);inline-size:auto}.focus-tool [data-file-drop].studio-control-slot{inline-size:calc(100% - var(--studio-control-gutter) - var(--studio-control-gutter))}@media(max-width:600px){.tool-workspace{--studio-control-gutter:var(--studio-space-2)}}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;padding:10px 14px;border:1px solid transparent;border-radius:var(--studio-radius-control);font-size:12px;font-weight:500;white-space:normal}.button.primary{background:var(--accent);color:var(--on-accent)}.button.primary:hover:not(:disabled){filter:brightness(.94)}.button.secondary{border-color:var(--line);background:var(--paper)}.button.danger{color:#fff;background:#b93e4d}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;border-radius:7px;color:var(--muted);flex-shrink:0}.icon-button:hover:not(:disabled),.text-button:hover:not(:disabled){background:var(--soft);color:var(--ink)}.text-button{display:inline-flex;align-items:center;gap:6px;color:var(--accent);padding:6px;border-radius:5px;font-size:12px}.skip-link{position:fixed;inset-block-start:-80px;inset-inline-start:16px;padding:12px 18px;background:var(--paper);border:1px solid var(--line);border-radius:8px;z-index:100}.skip-link:focus{inset-block-start:12px}.app-layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100dvh}.sidebar{background:var(--nav);color:var(--nav-ink);border-inline-end:1px solid var(--nav-line);position:relative;align-self:stretch;min-width:0;z-index:30}.sidebar-inner{position:sticky;inset-block-start:0;height:100dvh;display:flex;flex-direction:column;padding:27px 15px 18px;gap:26px}.sidebar-brand-row{justify-content:space-between;gap:3px;flex-shrink:0}.brand,.sidebar-brand-row{display:flex;align-items:center}.brand{gap:10px;min-width:0;min-height:44px;font-size:18px;font-weight:600;letter-spacing:-.5px}.brand small{display:block;margin-top:2px;color:var(--nav-muted);font-size:10px;font-weight:400;letter-spacing:0}.sidebar .icon-button{color:var(--nav-muted);width:28px;height:28px;padding:4px}.sidebar .icon-button:hover{background:var(--nav-active);color:var(--nav-ink)}.drawer-close{display:none}.primary-nav{display:grid;gap:5px;flex-shrink:0}.nav-item{display:flex;gap:11px;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:9px;align-items:center;font-size:13px}.nav-item.active,.nav-item:hover,.side-project:hover,.side-recent:hover{background:var(--nav-active)}.nav-item.active{border-color:color-mix(in srgb,var(--nav-muted) 30%,transparent);color:var(--nav-ink)}.nav-count{margin-inline-start:auto;font-size:10px;color:var(--nav-muted)}.sidebar-scroll{display:flex;flex-direction:column;gap:26px;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--nav-line) transparent}.sidebar-section{flex-shrink:0;display:grid;gap:4px}.nav-section-label{display:flex;align-items:center;justify-content:space-between;padding:0 10px 6px;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--nav-muted)}.nav-section-label a{display:flex;padding:4px;border-radius:5px}.side-project{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:7px;font-size:12px}.side-project>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-dot{width:7px;height:7px;border-radius:2px;background:var(--accent);margin:4px;flex-shrink:0}.side-empty{display:flex;gap:5px;color:var(--nav-muted);font-size:11px;line-height:1.7;padding:7px 10px}.side-recent{display:flex;align-items:flex-start;gap:10px;padding:9px 10px;border-radius:7px}.side-recent>span:last-child{min-width:0}.side-recent strong{display:block;font-size:11px;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.side-recent small{display:block;margin-top:3px;color:var(--nav-muted);font-size:10px}.recent-dot{width:5px;height:5px;border:1px solid var(--nav-muted);border-radius:50%;margin-top:6px;flex-shrink:0}.sidebar-footer{margin-top:auto;padding-top:15px;border-top:1px solid var(--nav-line);flex-shrink:0}.user-menu-anchor{position:relative}.user-profile{display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:7px;width:100%;text-align:start}.user-profile:hover{background:var(--nav-active)}.avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;flex-shrink:0;background:var(--cover);color:var(--ink);font-size:12px;font-weight:600}.user-info{min-width:0;flex:1 1}.user-info strong{font-size:12px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-info small{display:block;margin-top:2px}.privacy-label,.user-info small{color:var(--nav-muted);font-size:10px}.privacy-label{display:flex;align-items:center;gap:6px;padding:11px 10px 0}.rail-expand{display:none}.user-menu{position:absolute;inset-inline-end:0;inset-block-start:calc(100% + 10px);width:248px;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:10px;border-radius:10px;box-shadow:0 10px 35px var(--shadow);z-index:35}.user-menu>a,.user-menu>button{display:flex;align-items:center;gap:8px;width:100%;padding:11px 9px;border-radius:6px;font-size:12px;text-align:start}.user-menu>a:hover,.user-menu>button:hover{background:var(--soft)}.user-menu small{display:block;font-size:10px;color:var(--muted);padding:5px 9px;overflow-wrap:anywhere}.side-account .user-menu{inset-inline-start:0;inset-inline-end:auto;inset-block-start:auto;inset-block-end:calc(100% + 12px)}.inline-error{font-size:11px;color:var(--studio-danger);padding:6px}.workspace-main{min-width:0;min-height:100dvh}.workspace-topbar{position:sticky;inset-block-start:0;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:65px;padding:10px 30px;border-bottom:1px solid var(--line);background:var(--bg)}.workspace-topbar:has([role=menu]){z-index:35}.topbar-actions,.topbar-left{display:flex;align-items:center;gap:10px}.topbar-breadcrumb{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px}.topbar-breadcrumb strong{color:var(--ink);font-weight:400}.topbar-private{gap:5px;font-size:10px}.topbar-private,.workspace-search-button{display:flex;align-items:center;color:var(--muted)}.workspace-search-button{gap:8px;padding:7px 10px;border-radius:7px;font-size:11px}.workspace-search-button:hover{background:var(--soft)}.workspace-search-button kbd{font:9px Segoe UI,sans-serif;border:1px solid var(--line);border-radius:4px;padding:1px 5px}.top-user{width:33px;height:33px;padding:1px}.mobile-bottom-nav,.mobile-brand,.nav-scrim{display:none}.topbar-left{min-width:0}.topbar-actions{flex-shrink:0}@media (max-width:760px),(pointer:coarse){.workspace-topbar .icon-button,.workspace-topbar .workspace-search-button{min-width:44px;min-height:44px;width:44px;height:44px}}@media (max-width:416px){.workspace-topbar .mobile-brand{display:none}}@media (max-width:760px){.breadcrumb>a,.history-result>a,.page-footer>a,.section-heading>a{display:inline-flex;align-items:center;min-width:44px;min-height:44px}.history-result>a{max-width:100%}}.main-content{min-width:0;margin:0}.page-wrap{max-width:1290px;margin-inline:auto;padding:37px 52px 35px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:26px}.heading-actions,.page-heading>.button{margin-top:21px}.heading-actions{display:flex;align-items:center;gap:8px}.eyebrow{display:block;text-transform:uppercase;color:var(--muted);font-size:10px;letter-spacing:1.6px;margin-bottom:11px}.status-dot{display:inline-block;height:5px;width:5px;border-radius:50%;background:var(--accent);margin-inline-start:7px;vertical-align:middle}.page-description{color:var(--muted);font-size:12px;margin-top:10px;line-height:1.7}.page-footer{gap:15px;padding-top:27px;margin-top:32px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.page-footer,.section-heading{display:flex;justify-content:space-between}.section-heading{align-items:center;gap:12px;margin-bottom:14px}.section-heading>span{color:var(--muted);font-size:10px}.section-heading>a{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.market-intro{max-width:630px;margin-bottom:26px}.market-intro h1{font-size:40px;font-weight:500;letter-spacing:-1.4px;line-height:1.18}.market-intro>p:last-child{color:var(--muted);font-size:12px;margin-top:14px}.filter-tabs{display:flex;align-items:center;gap:8px;margin-bottom:17px}.filter-tabs button{display:flex;align-items:center;gap:7px;padding:8px 13px;border-radius:24px;font-size:12px;color:var(--muted)}.filter-tabs button span{font-size:10px;opacity:.8}.filter-tabs button.selected{background:var(--accent-soft);color:var(--accent)}.search-input{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:0 14px;color:var(--muted);background:var(--paper);min-width:0}.search-input input{border:0;background:transparent;padding:12px 0;width:100%;font-size:12px;color:var(--ink)}.search-input:focus-within{border-color:var(--studio-focus-border);outline:none}.search-input input:focus{outline:none}.library-search{border-radius:13px;padding-block:3px;margin-bottom:13px}.category-filters{display:flex;gap:5px;margin-bottom:25px;flex-wrap:wrap}.category-filters button{color:var(--muted);border:1px solid transparent;padding:5px 9px;font-size:10px;border-radius:6px}.category-filters button.selected{color:var(--ink);border-color:var(--line);background:var(--paper)}.launcher-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));gap:14px}.launcher-tile{display:flex;flex-direction:column;align-items:center;gap:13px;padding:7px 2px 15px;min-width:0}.library-card-top{display:flex;justify-content:space-between;align-items:center}.tool-icon{display:grid;place-items:center;width:40px;height:40px;background:var(--accent-soft);color:var(--accent);border-radius:10px;flex-shrink:0}.launcher-tile .library-card-top{position:relative}.launcher-tile .tool-icon{width:68px;height:68px;border-radius:21px;background:var(--paper);border:1px solid var(--line);box-shadow:0 6px 16px #00000008}.favorite-button{display:grid;place-items:center;color:var(--muted);padding:6px;border-radius:7px}.favorite-button.is-favorite{color:var(--accent)}.launcher-tile .favorite-button{position:absolute;inset-inline-end:-13px;inset-block-start:-9px;background:var(--bg);border-radius:50%}.launcher-tile .library-card-title{font-size:11px;font-weight:400;text-align:center;max-width:100%;overflow-wrap:anywhere}.market-recent-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:27px;margin-top:26px}.market-recent-grid .section-heading{min-height:34px}.history-table,.recent-list{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}.recent-item{display:flex;align-items:center;gap:13px;padding:13px 15px;min-height:72px}.recent-item+.recent-item{border-top:1px solid var(--line)}.recent-item:hover{background:var(--soft)}.mini-file-icon{display:grid;place-items:center;width:34px;height:36px;border-radius:8px;background:var(--soft);color:var(--accent);flex-shrink:0}.recent-title{flex:1 1;min-width:0}.recent-title strong{display:block;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-title small{display:block;margin-top:3px}.recent-item time,.recent-title small{font-size:10px;color:var(--muted)}.recent-projects{display:grid;gap:9px}.project-card{display:flex;align-items:center;gap:11px;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--paper);min-width:0}.project-card:hover{border-color:var(--accent)}.project-cover{width:44px;height:44px;background:var(--cover);border-radius:9px;color:var(--accent);display:grid;place-items:center;font:500 22px Georgia,serif;flex-shrink:0}.project-card-copy{min-width:0;flex:1 1}.project-card-copy strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.project-card-copy small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.project-search{max-width:400px;margin-bottom:23px}.library-section{margin-top:32px}.market-filters{display:grid;gap:16px;margin-block-end:24px}.market-filters .filter-tabs,.market-filters .library-search{margin-block-end:0}.library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.library-card{display:flex;flex-direction:column;gap:14px;padding:var(--studio-card-padding);border:1px solid var(--line);background:var(--paper);border-radius:var(--studio-radius-card);box-shadow:0 8px 24px var(--shadow);min-width:0}.library-card-title{font-size:12px;font-weight:600}.library-card>p{font-size:10px;line-height:1.7;color:var(--muted)}.library-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:7px;border-top:1px solid var(--line);margin-top:auto;padding-top:9px;color:var(--muted);font-size:10px}.library-card-bottom>a{display:flex;gap:5px;align-items:center}.empty-inline{border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:18px;display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.empty-work{min-height:159px;align-items:flex-start}.empty-work strong{color:var(--ink);font-size:12px;font-weight:500}.empty-work p{font-size:11px;line-height:1.8;margin-top:6px}.empty-work .button{margin-top:15px}.empty-state{border:1px dashed var(--line);background:var(--paper);border-radius:12px;text-align:center;padding:42px 20px;color:var(--muted)}.empty-state h3{color:var(--ink);margin-top:13px;font-size:14px;font-weight:500}.empty-state p{font-size:12px;margin-top:7px}.empty-state .button{margin-top:20px}.empty-state.small{padding:30px 18px}.breadcrumb{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;margin-bottom:23px}.breadcrumb>span{overflow-wrap:anywhere}.project-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:15px;border-bottom:1px solid var(--line);margin-bottom:26px}.project-tabs>a,.project-tabs>button{padding:11px 4px;border-bottom:2px solid transparent;font-size:11px;color:var(--muted)}.project-tabs .selected{color:var(--accent);border-color:var(--accent)}.project-tabs span{font-size:10px;padding-inline-start:4px}.project-work-grid{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:22px}.project-primary{min-width:0}.task-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.task-column{background:var(--soft);border-radius:10px;padding:11px;min-height:270px;min-width:0}.task-column-heading{display:flex;align-items:center;gap:7px;padding:3px;margin-bottom:12px}.task-column-heading h3{font-size:11px;font-weight:500}.task-column-heading>span:last-child{margin-inline-start:auto;color:var(--muted);font-size:10px}.task-status-dot{width:6px;height:6px;border-radius:50%;background:var(--muted)}.status-in-progress .task-status-dot{background:var(--accent)}.status-done .task-status-dot{background:var(--ink)}.task-card{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:12px 10px;margin-bottom:10px}.task-card-heading{display:flex;align-items:flex-start;gap:8px}.task-card-heading strong{flex:1 1;min-width:0;font-size:11px;font-weight:400;line-height:1.7;overflow-wrap:anywhere}.task-check{display:grid;place-items:center;width:17px;height:17px;border:1px solid var(--muted);border-radius:50%;padding:0;margin-top:3px;flex-shrink:0}.task-card.is-done .task-check{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.task-card.is-done strong{text-decoration:line-through;color:var(--muted)}.task-edit{width:23px;height:23px;padding:4px}.task-tool{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px;margin-top:10px}.task-tool>svg:last-child{margin-inline-start:auto}.task-card>select{font-size:10px;padding:5px 7px;margin-top:10px;width:100%;color:var(--muted);background:var(--bg);border-radius:5px}.add-column-task{display:flex;align-items:center;gap:6px;padding:6px 3px;color:var(--muted);font-size:10px}.project-tools-panel{border-inline-start:1px solid var(--line);padding-inline-start:20px}.project-tools-panel h2{font-size:12px}.project-tool{display:flex;align-items:center;gap:9px;padding:10px 0;font-size:11px}.project-tool>span:nth-child(2){flex:1 1;min-width:0}.project-tool small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.project-tools-panel>.button{width:100%;margin-top:12px}.project-notes,.project-results{margin-top:29px}.project-notes{min-width:0;scroll-margin-top:80px}.project-workspace .heading-actions{flex-wrap:wrap;max-width:100%}.project-notes .section-heading{flex-wrap:wrap;gap:12px}.project-notes .section-heading h2{display:flex;align-items:center;gap:9px}.project-note-count{font-size:11px;color:var(--muted)}.project-notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-note-card{display:grid;gap:10px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.project-note-card:hover{border-color:var(--accent)}.project-note-heading{display:flex;gap:9px;align-items:center;min-width:0}.project-note-heading svg{flex-shrink:0;color:var(--accent)}.project-note-heading strong{font-size:13px;overflow-wrap:anywhere}.project-note-preview{color:var(--muted);font-size:12px;line-height:1.7;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.project-note-card small,.project-notes-hint{color:var(--muted);font-size:11px;line-height:1.8}.project-notes-error{display:grid;gap:10px;justify-items:start}@media(max-width:760px){.project-notes .button,.project-workspace .heading-actions .button,.project-workspace .project-tabs>a,.project-workspace .project-tabs>button{min-width:44px;min-height:44px}.project-workspace .heading-actions .icon-button{min-width:44px;min-height:44px;width:44px;height:44px}.project-workspace .project-tabs{gap:8px}.project-notes-grid{grid-template-columns:minmax(0,1fr)}}.history-section{min-width:0}.history-filters{display:flex;align-items:flex-end;gap:12px;margin-bottom:22px}.history-filters .search-input{flex:1 1;min-width:220px}.history-filters select{max-width:220px;font-size:12px}.history-row{display:flex;align-items:center;gap:13px;padding:17px}.history-row+.history-row{border-top:1px solid var(--line)}.history-result{min-width:0;flex:1 1}.history-result strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.history-result small{display:block;color:var(--muted);font-size:10px;margin-top:4px;overflow-wrap:anywhere}.history-actions{display:flex;align-items:center;gap:3px;flex-shrink:0}.history-actions .icon-button{width:30px;height:30px;padding:7px}.history-actions .text-button{font-size:11px}.compact-history{margin-top:30px}.project-results .compact-history{margin-top:0}.preferences-surface{max-width:790px;background:var(--paper);border:1px solid var(--line);border-radius:var(--studio-radius-card);padding:var(--studio-card-padding);margin-bottom:var(--studio-page-gap);scroll-margin-top:90px}.preferences-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.preferences-heading>span{font-size:10px;border-radius:5px;background:var(--soft);color:var(--muted);padding:4px 7px}.preferences-intro{font-size:12px;color:var(--muted);margin:12px 0 20px;line-height:1.8}.preference-row{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 0;border-bottom:1px solid var(--line)}.preference-row>label{flex:1 1}.preference-row strong{display:block;font-size:12px;font-weight:500}.preference-row small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.preference-row small:empty{display:none}.preference-row select{width:190px;max-width:100%;font-size:12px}.preferences-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;padding:18px 0 0}.preference-row:last-child{border-bottom:0;padding-bottom:0}.preferences-heading.subsection{margin-top:26px;padding-top:8px}.preferences-heading h2{display:flex;align-items:center;gap:9px}.save-confirmation{font-size:11px;display:flex;align-items:center;gap:5px;color:var(--accent)}.account-summary{padding-bottom:22px}.account-summary p{color:var(--muted);font-size:12px;margin-top:14px}.account-summary>span{color:var(--muted);font-size:11px}.studio-dialog{width:490px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow:auto;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:15px;padding:25px;box-shadow:0 20px 90px #0003}.studio-dialog::backdrop{background:#05091a88;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.dialog-heading h2{font-size:20px;letter-spacing:-.5px}.dialog-description{color:var(--muted);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.form-field{display:grid;gap:8px;margin:20px 0;font-size:12px}.form-field input,.form-field select,.form-field textarea{width:100%}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:25px}.dialog-actions,.tool-choice{display:flex;align-items:center}.tool-choice{gap:12px;border:1px solid var(--line);padding:17px;border-radius:9px;margin-top:20px;font-size:12px}.project-selectors{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.project-selectors label{display:flex;align-items:center;gap:9px;font-size:11px}.project-selectors select{font-size:11px;max-width:220px}.studio-dialog .project-selectors{display:grid;gap:16px;margin-top:20px}.studio-dialog .project-selectors label{display:grid;gap:8px}.studio-dialog .project-selectors select{max-width:100%;width:100%;font-size:12px}.shared-tool-context{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:14px 17px;background:var(--soft);border:1px solid var(--line);border-radius:10px;margin-bottom:23px}.tool-direction{display:flex;align-items:center;gap:9px;font-size:11px}.tool-direction select{font-size:11px;max-width:175px}.command-search input{font-size:14px}.command-results{max-height:440px;overflow:auto;margin-top:18px}.command-results h3{font-size:10px;text-transform:uppercase;color:var(--muted);letter-spacing:1px;padding:10px 8px}.command-results a{display:flex;align-items:center;gap:10px;padding:12px 10px;border-radius:8px;font-size:12px}.command-results a>span{flex:1 1;min-width:0;overflow-wrap:anywhere}.command-results a:hover{background:var(--soft)}.command-empty{color:var(--muted);text-align:center;padding:25px;font-size:12px}.workspace-notice{position:fixed;inset-inline-end:22px;inset-block-end:22px;background:var(--accent);color:var(--on-accent);padding:12px 17px;border-radius:10px;box-shadow:0 4px 22px var(--shadow);z-index:60;max-width:calc(100vw - 44px)}.message,.workspace-notice{display:flex;align-items:center;gap:7px;font-size:12px}.message{margin:16px 0;padding:12px 14px;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}.message.success{background:var(--accent-soft);color:var(--accent)}.message.error{color:#a52e40;background:#fff0f1;border-color:#e9aeb6}html[data-theme=dark] .message.error{color:#ffa9b5;background:#391d2a;border-color:#794055}.studio-app[data-sidebar=rail]{grid-template-columns:76px minmax(0,1fr)}.studio-app[data-sidebar=rail] .sidebar-inner{padding-inline:12px}.studio-app[data-sidebar=rail] .side-label,.studio-app[data-sidebar=rail] .sidebar-collapse,.studio-app[data-sidebar=rail] .sidebar-scroll{display:none}.studio-app[data-sidebar=rail] .sidebar-brand-row{justify-content:center}.studio-app[data-sidebar=rail] .nav-item,.studio-app[data-sidebar=rail] .user-profile{justify-content:center;padding-inline:5px}.studio-app[data-sidebar=rail] .rail-expand{display:flex;width:100%;margin-top:11px}.studio-app[data-sidebar=hidden]{grid-template-columns:minmax(0,1fr)}.studio-app[data-sidebar=hidden] .sidebar{display:none}.tool-heading-icon{display:grid;place-items:center;width:50px;height:50px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--accent)}.conversion-privacy{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin-bottom:20px}.converter-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--studio-page-gap)}.editor-panel{min-width:0;border:1px solid var(--line);border-radius:var(--studio-radius-card);background:var(--paper);box-shadow:0 8px 24px var(--shadow);overflow:hidden;display:flex;flex-direction:column}.panel-heading{display:flex;flex-wrap:wrap;align-items:center;gap:11px;padding:18px var(--studio-card-padding);border-bottom:1px solid var(--line);min-height:78px}.panel-heading h2{font-size:13px}.panel-heading p{color:var(--muted);font-size:10px;margin-top:3px}.panel-heading>button,.result-state{margin-inline-start:auto}.step-number{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:50%;color:var(--accent);background:var(--soft);font-size:10px;flex-shrink:0}.result-state{display:flex;align-items:center;gap:3px;font-size:10px;color:var(--muted)}.result-state.saved{color:var(--accent)}.upload-zone{margin:17px 20px 0;border:1px dashed var(--line);border-radius:8px;background:var(--bg)}.upload-zone.dragging{border-color:var(--accent);background:var(--soft)}.upload-trigger{display:flex;align-items:center;justify-content:center;gap:12px;padding:18px 10px;width:100%;color:var(--accent);text-align:start}.upload-trigger strong{display:block;font-size:12px;color:var(--ink);font-weight:500}.upload-trigger small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.paste-divider{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--muted);margin:15px 20px}.paste-divider>span{height:1px;background:var(--line);flex:1 1}.rich-editor{padding:14px;margin:0 var(--studio-card-padding);min-height:260px;max-height:420px;overflow:auto;background:var(--paper);border:1px solid var(--line);border-radius:6px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.rich-editor:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.rich-editor[contenteditable=false]{opacity:.7}.source-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 20px 15px}.source-bottom>span{max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:10px}.convert-controls{margin-top:auto;padding:15px 20px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;gap:12px}.convert-controls>.button{width:100%}.checkbox-label{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.output-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--line)}.output-tabs{display:flex;gap:3px;border-radius:6px;background:var(--soft);padding:3px}.output-tabs button{padding:5px 10px;border-radius:4px;color:var(--muted);font-size:10px}.output-tabs button.selected{color:var(--accent);background:var(--paper)}.output-actions{display:flex;gap:3px}.markdown-editor{display:block;flex:1 1;resize:vertical;width:100%;min-height:352px;border:0;border-radius:0;padding:var(--studio-card-padding);background:var(--paper);color:var(--ink);font:14px/1.75 Consolas,monospace}.markdown-editor:focus-visible{outline-offset:-3px}.markdown-preview{flex:1 1;padding:20px;min-height:352px;max-height:570px;overflow:auto;font-size:12px;overflow-wrap:anywhere}.markdown-editor-preview{display:flex;flex-direction:column;flex:1 1;min-height:0}.markdown-panes{display:grid;grid-template-columns:minmax(0,1fr);flex:1 1;min-width:0;min-height:0}.markdown-panes[data-view=split]{grid-template-columns:repeat(2,minmax(0,1fr))}.markdown-panes[data-view=markdown]>.markdown-preview-pane,.markdown-panes[data-view=preview]>.markdown-editor{display:none}.markdown-preview-pane{min-width:0;max-height:570px;overflow:auto}.markdown-panes[data-view=split]>.markdown-preview-pane{border-inline-start:1px solid var(--line)}.markdown-preview-pane>.markdown-preview{min-height:100%;max-height:none}.output-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:5px}.scroll-sync-toggle{flex-shrink:0}.scroll-sync-toggle[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.live-conversion-hint{font-size:11px;color:var(--muted);line-height:1.7}.result-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:12px;flex:1 1;min-height:352px;color:var(--muted);padding:25px}.markdown-symbol{border:1px solid var(--line);color:var(--accent);border-radius:8px;padding:5px 12px;font-size:25px;font-weight:600}.markdown-symbol>span{font-size:17px}.result-empty h3{color:var(--ink);font-weight:500;font-size:14px}.result-empty p{font-size:11px;line-height:1.8}.result-empty-note{gap:5px}.result-empty-note,.result-meta{display:flex;align-items:center;font-size:10px}.result-meta{gap:15px;color:var(--muted);padding:10px 20px}.result-meta,.save-controls{border-top:1px solid var(--line)}.save-controls{display:flex;align-items:flex-end;gap:10px;padding:15px 20px}.result-title{display:grid;gap:6px;flex:1 1;min-width:0}.result-title>span{color:var(--muted);font-size:10px}.result-title>input{width:100%;font-size:12px}.conversion-notes{border:1px solid var(--line);background:var(--soft);border-radius:9px;padding:18px;font-size:12px;margin-top:20px}.conversion-notes p{color:var(--muted);margin-top:8px}.prose h1,.prose h2,.prose h3,.prose h4{font:600 1.3em/1.5 Segoe UI,Tahoma,sans-serif;letter-spacing:0;margin:.8em 0 .4em}.prose p{margin:.6em 0}.prose ol,.prose ul{padding-inline-start:1.8em}.prose a{color:var(--accent);text-decoration:underline}.prose table{border-collapse:collapse;display:block;max-width:100%;overflow:auto;margin:1em 0}.prose td,.prose th{border:1px solid var(--line);padding:7px 10px;min-width:70px}.prose th{text-align:start}.prose pre,.prose th{background:var(--soft)}.prose pre{overflow:auto;border-radius:7px;padding:12px}.prose code{font-family:Consolas,monospace}.prose blockquote{border-inline-start:3px solid var(--accent);margin:12px 0;padding-inline-start:15px;color:var(--muted)}.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}.spinning{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;min-height:100dvh}.login-story{background:var(--nav);color:var(--nav-ink);padding:40px 48px;display:flex;flex-direction:column;justify-content:space-between}.login-story-content{padding:70px 0}.login-story .eyebrow{color:var(--nav-muted)}.login-story h1{font-size:47px;letter-spacing:-1.8px;color:var(--nav-ink)}.login-story-content>p:not(.eyebrow){font-size:13px;line-height:1.9;color:var(--nav-muted);margin-top:24px}.login-demo-card{display:flex;align-items:center;gap:14px;max-width:390px;border:1px solid var(--nav-line);background:var(--nav-active);border-radius:10px;padding:20px;margin-top:40px}.login-demo-card small{display:block;font-size:9px;margin-bottom:5px}.login-demo-card strong{display:block;font-size:13px;font-weight:500}.login-demo-card p{font-size:10px;margin-top:5px}.login-demo-card>svg{margin-inline-start:auto}.login-story-footer{display:flex;align-items:center;gap:8px;color:var(--nav-muted);font-size:11px}.login-panel{position:relative;display:flex;align-items:center;justify-content:center;padding:40px}.login-card{width:100%;max-width:360px}.login-lock{display:grid;place-items:center;width:61px;height:61px;background:var(--accent-soft);color:var(--accent);border:1px solid var(--line);border-radius:17px;margin-bottom:28px}.login-card h2{font-size:30px;line-height:1.25;font-weight:500;letter-spacing:-.8px}.login-description{color:var(--muted);font-size:12px;line-height:1.9;margin-top:15px}.google-button{display:flex;align-items:center;gap:13px;width:100%;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:15px 17px;margin-top:29px;font-size:12px}.google-button>svg:last-child{margin-inline-start:auto;color:var(--muted)}.login-private{display:flex;align-items:flex-start;gap:8px;border-top:1px solid var(--line);padding-top:21px;margin-top:26px}.login-private,.setup-note{color:var(--muted);font-size:11px;line-height:1.8}.setup-note{margin-top:13px}.preview-link{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--accent);font-size:12px;margin-top:20px}.login-bottom{position:absolute;inset-block-end:30px;color:var(--muted);font-size:10px}.standalone-message{padding:80px 24px;max-width:580px;margin:auto}.standalone-message>p:not(.eyebrow){color:var(--muted);margin:18px 0 24px}@media (max-width:1250px){.page-wrap{padding-inline:32px}.workspace-topbar{padding-inline:24px}.topbar-private,.workspace-search-button>kbd,.workspace-search-button>span{display:none}.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-work-grid{grid-template-columns:minmax(0,1fr)}.project-tools-panel{padding-inline-start:0;border-inline-start:0;border-top:1px solid var(--line);padding-top:20px}.project-tool{display:inline-flex;width:48%}.project-tools-panel>.button{width:auto;display:flex}.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1000px){.market-recent-grid{gap:27px}.converter-grid,.market-recent-grid{grid-template-columns:1fr}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-board{gap:8px}.task-column{padding:8px}.login-story{padding:35px}.login-story h1{font-size:39px}}@media (max-width:760px){.app-layout{display:block}.sidebar,.studio-app[data-sidebar=hidden] .sidebar{display:block;position:fixed;inset-block:0;inset-inline-start:0;width:280px;max-width:calc(100vw - 42px);height:100dvh;visibility:hidden;transform:translateX(-100%);z-index:50}html[dir=rtl] .sidebar{transform:translateX(100%)}.sidebar.sidebar-open,.studio-app[data-sidebar=hidden] .sidebar.sidebar-open,html[dir=rtl] .sidebar.sidebar-open{visibility:visible;transform:translateX(0)}.sidebar-inner,.studio-app[data-sidebar=rail] .sidebar-inner{position:static;height:100%;padding:24px 15px 18px;gap:22px}.studio-app[data-sidebar=rail] .side-label{display:revert}.studio-app[data-sidebar=rail] .sidebar-scroll{display:flex}.studio-app[data-sidebar=rail] .sidebar-brand-row{justify-content:space-between}.studio-app[data-sidebar=rail] .nav-item,.studio-app[data-sidebar=rail] .user-profile{justify-content:flex-start;padding-inline:11px}.studio-app[data-sidebar] .rail-expand,.studio-app[data-sidebar] .sidebar-collapse{display:none}.drawer-close{display:flex}.nav-scrim{display:block;position:fixed;inset:0;z-index:40;background:#05091a88;width:100%;height:100%}.workspace-topbar{min-height:65px;padding:11px 14px}.topbar-actions,.topbar-left{gap:4px}.topbar-breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-weight:600;font-size:17px;letter-spacing:-.5px}.workspace-search-button{width:34px;height:34px;justify-content:center;padding:7px}.page-wrap{padding:26px 20px 28px}.main-content{padding-bottom:76px}.mobile-bottom-nav{display:flex;align-items:center;gap:3px;position:fixed;inset-inline:0;inset-block-end:0;border-top:1px solid var(--line);padding:8px 9px max(11px,env(safe-area-inset-bottom));background:var(--paper);z-index:24}.mobile-bottom-nav>a{display:grid;justify-items:center;gap:5px;text-align:center;flex:1 1;font-size:10px;padding:8px 4px;border-radius:7px}.mobile-bottom-nav>a.active{color:var(--accent);background:var(--accent-soft)}.workspace-notice{inset-block-end:90px;font-size:12px}.market-intro{max-width:390px;margin-bottom:23px}.market-intro h1{font-size:32px;letter-spacing:-1px}.page-heading{display:grid;gap:15px}h1{font-size:29px}.heading-actions,.page-heading>.button{margin:0;justify-self:start}.filter-tabs{gap:3px}.filter-tabs button{padding:8px 10px;font-size:12px}.search-input input{font-size:16px}.launcher-grid{gap:15px 9px}.launcher-tile .tool-icon{width:61px;height:61px;border-radius:18px}.launcher-tile .library-card-title{font-size:11px}.market-recent-grid{margin-top:25px}.recent-item time{display:none}.recent-title small{font-size:11px}.projects-grid{grid-template-columns:1fr}.project-card-copy strong{font-size:13px}.project-card-copy small{font-size:11px}.library-card{padding:var(--studio-card-padding)}.library-card-title{font-size:13px}.library-card>p{font-size:11px}.task-board{grid-template-columns:1fr;gap:17px}.task-column{min-height:0;padding:12px}.task-card{padding:15px}.task-card-heading strong{font-size:13px}.task-column-heading h3{font-size:12px}.task-card>select{width:auto;min-width:145px;font-size:13px;padding:8px 10px}.task-tool{font-size:12px}.add-column-task{font-size:12px;padding-block:9px}.project-tabs{gap:9px;flex-wrap:wrap}.project-tool{width:100%;font-size:12px}.project-tool small{font-size:10px}.history-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.history-filters .search-input{grid-column:1/-1;min-width:0}.history-filters select{width:100%;max-width:100%;font-size:13px}.history-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;padding:15px}.history-actions{grid-column:2;justify-self:end;gap:8px}.history-result small{font-size:11px}.history-actions .text-button{font-size:12px}.preferences-surface{padding:var(--studio-card-padding)}.preferences-heading h2{font-size:14px}.preference-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.preference-row strong{font-size:13px}.preference-row small{font-size:11px}.preference-row select{width:100%;font-size:16px}.preference-row:has(input[type=checkbox]){display:flex}.preferences-actions{flex-wrap:wrap}.account-summary{padding-bottom:20px}.studio-dialog{padding:22px}.studio-dialog input,.studio-dialog select,.studio-dialog textarea{font-size:16px}.shared-tool-context{display:grid;gap:15px}.project-selectors{display:grid;gap:13px}.project-selectors label,.tool-direction{display:grid;gap:7px}.project-selectors select,.tool-direction select{max-width:100%;width:100%;font-size:16px}.conversion-privacy{align-items:flex-start;line-height:1.7}.conversion-privacy svg{margin-top:3px}.tool-heading-icon{display:none}.source-bottom>span{font-size:9px}.source-bottom .text-button{font-size:11px}.save-controls{flex-wrap:wrap}.result-title{flex-basis:100%}.login-layout{grid-template-columns:1fr}.login-story{padding:24px;min-height:320px}.login-story-content{padding:30px 0 0}.login-story h1{font-size:34px}.login-story-content>p:not(.eyebrow){margin-top:16px}.login-demo-card,.login-story-footer{display:none}.login-panel{padding:40px 24px 70px}}@media (max-width:360px){.page-wrap{padding-inline:14px}.library-grid{grid-template-columns:1fr}.filter-tabs button{padding-inline:8px}.mobile-brand{font-size:15px}.topbar-actions{gap:1px}}@media (pointer:coarse){.button,.text-button{min-height:42px}.icon-button{width:40px;height:40px}input,select,textarea{font-size:16px;min-height:44px}.task-check{width:22px;height:22px;position:relative}.task-check:after{content:"";position:absolute;width:40px;height:40px}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.saved-result-toolbar,.tool-utility-bar,.tool-utility-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tool-utility-bar{justify-content:space-between;margin:0 0 18px;padding:10px 0;border-block:1px solid var(--line)}.project-selectors.project-toolbar{display:flex;flex-wrap:nowrap;gap:0;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.project-toolbar-button{padding:7px 10px;white-space:nowrap;min-height:44px}.project-toolbar-button[data-assigned=true]{background:var(--accent-soft)}.project-create-button{border-inline-start:1px solid var(--line);border-start-start-radius:0;border-end-start-radius:0;color:var(--accent)}.project-current-context{display:grid;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.project-current-context p{display:grid;gap:4px;font-size:12px}.project-current-context p>span{color:var(--muted)}.project-current-context strong{overflow-wrap:anywhere}.project-current-context .project-linked-task{display:grid;gap:7px;font-size:12px}.project-current-context select{width:100%}.source-input-options{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:0 24px 18px}.tool-save-hint{font-size:11px;color:var(--muted);padding:14px 24px;line-height:1.7}.duration-reset{margin-block:8px 12px}.card-shortcuts{display:flex;gap:4px}.format-tags{display:flex;flex-wrap:wrap;align-items:center;gap:5px;color:var(--muted);margin:12px 0;font-size:9px}.format-tags>span{background:var(--soft);border-radius:4px;padding:3px 5px}.library-selects{display:flex;flex-wrap:wrap;gap:12px;width:100%}.library-selects label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.library-selects select{padding:7px 10px;font-size:12px}.pin-order{display:flex;flex-wrap:nowrap;justify-content:center;gap:2px;max-width:100%;margin-top:auto;padding-top:7px}.pin-order .icon-button{width:27px;height:27px}.launcher-tile>small{display:block;font-size:10px;color:var(--muted);margin-top:3px;max-width:100%;text-align:center;overflow-wrap:anywhere}.recent-tools-section{margin:28px 0}.recent-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.recent-tools>a{display:flex;align-items:center;gap:9px;min-width:0;min-height:44px;padding:12px 14px;background:var(--paper);border:1px solid var(--line);border-radius:8px;font-size:12px}.recent-tools>a>svg{flex-shrink:0}.recent-tools>a>span{flex:1 1;min-width:0;overflow-wrap:anywhere}.recent-tools-toggle{min-height:44px;flex-shrink:0}@media(max-width:1000px){.recent-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.recent-tools{grid-template-columns:minmax(0,1fr)}}.draft-banner,.personal-suggestion,.preset-active{display:flex;gap:10px;align-items:center;padding:14px 18px;border:1px solid var(--line);border-radius:9px;background:var(--accent-soft);font-size:12px;margin:15px 0;flex-wrap:wrap}.personal-suggestion>span{flex:1 1;min-width:180px}.market-recent-grid.without-projects{grid-template-columns:1fr}.browse-all{margin-top:18px}.shared-result-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0;padding:16px var(--studio-card-padding)}.shared-result-actions-compact{padding:0;gap:6px;margin-inline-start:auto}.shared-result-actions-compact .button{padding-inline:10px}.next-steps{border:1px solid var(--line);border-radius:12px;background:var(--accent-soft);padding:24px;margin:24px 0;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}.next-steps .eyebrow{margin:0 0 8px}.next-steps h2{font-size:18px}.next-steps p:not(.eyebrow){color:var(--muted);font-size:12px;margin-top:7px}.next-step-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.processing-status{display:flex;gap:9px;color:var(--muted);margin:15px 0}.history-filters{flex-wrap:wrap}.history-filters select{max-width:190px}.history-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.history-date{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:10px;color:var(--muted)}.history-date input{width:100%;font-size:12px;padding:8px}.history-preview{font-size:11px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:620px;margin-top:6px}.history-search-status{color:var(--muted);font-size:12px;padding:10px 0}.saved-result-toolbar{justify-content:space-between;margin-bottom:20px}.saved-result-toolbar .shared-result-actions{padding:0}.saved-result-surface{padding:28px;border:1px solid var(--line);background:var(--paper);border-radius:12px;min-width:0}.saved-result-surface>.markdown-preview{min-height:120px}.number-result{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;padding:25px}.number-result strong{font-size:48px;color:var(--accent)}.number-result>p{flex-basis:100%;color:var(--muted)}.text-result{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;margin:0}.result-table-scroll{overflow-x:auto}.result-table{border-collapse:collapse;width:100%;font-size:13px}.result-table td,.result-table th{border:1px solid var(--line);padding:10px 13px;text-align:start}.result-table th{background:var(--soft)}.result-files{display:grid;gap:15px}.result-files article{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.result-files img{display:block;max-width:100%;max-height:450px;flex-basis:100%;object-fit:contain}.transcript-result p{display:flex;gap:18px;margin-block:12px}.transcript-result time{color:var(--muted);font-size:12px;min-width:55px}.result-lineage{margin:18px 0;font-size:12px;color:var(--muted)}.result-lineage a{color:var(--accent)}.result-details{margin-top:20px;font-size:12px;background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:16px 20px}.result-details summary{cursor:pointer;font-weight:600}.result-details>summary,.speech-previous-audio>summary,.speech-result-details>summary{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;list-style:none;border-radius:8px}.result-details>summary::-webkit-details-marker,.speech-previous-audio>summary::-webkit-details-marker,.speech-result-details>summary::-webkit-details-marker{display:none}.result-details>summary:after,.speech-previous-audio>summary:after,.speech-result-details>summary:after{content:"";width:7px;height:7px;border-inline-end:1.5px solid currentColor;border-block-end:1.5px solid currentColor;transform:rotate(45deg);margin-inline-start:auto;flex-shrink:0;transition:transform .16s ease}.result-details[open]>summary:after,.speech-previous-audio[open]>summary:after,.speech-result-details[open]>summary:after{transform:rotate(225deg)}.result-details>summary:hover,.speech-previous-audio>summary:hover,.speech-result-details>summary:hover{background:var(--soft)}.pending-output-recovery,.result-recovery-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:10px 12px;margin-block:12px;font-size:12px;color:var(--muted)}.pending-output-recovery>p,.pending-output-recovery>span,.result-recovery-status>span{min-width:0;overflow-wrap:anywhere;flex:1 1 160px}.pending-output-recovery :is(button,a),.result-recovery-status :is(button,a){min-height:44px;min-width:44px}@media(prefers-reduced-motion:reduce){.result-details>summary:after,.speech-previous-audio>summary:after,.speech-result-details>summary:after{transition:none}}.result-details dl{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:12px}.result-details dl>div{display:contents}.result-details dt{color:var(--muted)}.result-details dd{margin:0;overflow-wrap:anywhere}.preferences-heading.subsection{padding-top:24px;margin-top:24px;border-top:0}.preference-row>input:not([type=checkbox]){width:220px}.preset-row>a{display:flex;flex-direction:column;gap:4px}.preset-row>a:hover strong{color:var(--accent)}.preset-row small{color:var(--muted);font-size:11px}.layout-calculator .calculator-grid,.layout-converter .converter-grid,.layout-editor .editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.layout-visual .visual-canvas{min-height:400px;overflow:auto}@media (max-width:760px){.tool-utility-bar{gap:4px;padding-block:6px}.tool-utility-links{gap:4px;width:100%}.tool-utility-bar .text-button{min-height:44px}.tool-utility-bar .icon-button{width:44px;height:44px}.tool-utility-actions .utility-preset{width:44px;justify-content:center}.tool-utility-actions .utility-preset .utility-label{display:none}.tool-utility-actions .project-toolbar-button{padding-inline:7px}.tool-utility-actions .project-toolbar-button>svg{display:none}.source-input-options{padding-inline:18px;gap:10px}.source-input-options .tool-direction{display:flex;flex-wrap:wrap}.source-input-options .tool-direction select{width:auto;max-width:100%}.tool-save-hint{padding:14px 18px}.tool-utility-bar .text-button{font-size:11px}.tool-workspace{padding-top:18px}.tool-workspace .breadcrumb{margin-bottom:14px}.tool-workspace .page-heading{margin-bottom:18px}.tool-workspace .eyebrow{margin-bottom:6px}.layout-calculator .calculator-grid,.layout-converter .converter-grid,.layout-editor .editor-grid{grid-template-columns:1fr}.library-selects{display:grid;grid-template-columns:1fr 1fr;gap:10px}.library-selects label{display:grid;gap:5px;min-width:0}.library-selects select{max-width:100%;font-size:16px}.history-filters select{max-width:100%}.history-filters>select:last-of-type{grid-column:1/-1}.history-date-range{grid-column:1/-1;gap:10px}.history-preview{max-width:100%}.next-steps{padding:18px;gap:16px}.next-step-actions{width:100%}.next-step-actions .button{flex:1 1}.shared-result-actions{padding:15px;gap:7px}.shared-result-actions .button{flex:1 1}.saved-result-surface{padding:18px}.saved-result-toolbar{gap:15px}.saved-result-toolbar .shared-result-actions{width:100%}.preference-row>input:not([type=checkbox]){width:100%;font-size:16px}.preset-row{display:flex}.number-result{padding:10px}.number-result strong{font-size:38px}.mobile-brand{white-space:nowrap;font-size:15px}}@media (max-width:360px){.library-selects{grid-template-columns:1fr}.tool-utility-actions .project-toolbar-button{padding-inline:4px;min-width:44px}}@media (pointer:coarse){.tool-utility-bar .icon-button{width:44px;height:44px}.tool-utility-bar .text-button{min-height:44px}}@media (max-width:760px),(pointer:coarse){.library-card-top{flex-wrap:wrap;gap:8px}.library-card-top>.tool-icon{flex-shrink:0}.card-shortcuts{margin-inline-start:auto;max-width:100%;flex-wrap:wrap;justify-content:flex-end}.card-shortcuts .favorite-button{min-width:44px;min-height:44px}summary{min-height:44px}}@media(max-width:600px){.library-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px),(pointer:coarse){.studio-app .section-heading>a,.studio-app :is(.button,.text-button,.favorite-button,.icon-button),.studio-app button,.studio-dialog :is(.button,.text-button,.icon-button){min-height:44px;min-width:44px}.studio-dialog .icon-button{width:44px;height:44px}.studio-dialog{max-height:calc(100dvh - 24px);overflow-y:auto}.pin-order .icon-button,.studio-app .card-shortcuts .favorite-button{min-width:44px;min-height:44px}.pin-order .icon-button{width:44px;height:44px}}.open-with-menu{margin-block:20px;padding:16px;border:1px solid var(--line);border-radius:14px}.open-with-menu h2{font-size:14px}.open-with-menu>p{color:var(--muted);font-size:11px;line-height:1.7;margin:8px 0 16px}.handoff-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.handoff-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:start;gap:12px;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--soft);min-width:0;min-height:116px}.handoff-card>svg{flex-shrink:0;color:var(--accent)}.handoff-card strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.handoff-card>svg:last-child{align-self:flex-end}.handoff-card:hover{border-color:var(--accent);background:var(--accent-soft)}.settings-save-feedback{min-height:18px;color:var(--accent);font-size:11px;margin-top:16px}.settings-tool-search{margin:22px 0}.settings-section-links{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px;max-width:790px}.settings-section-links a{font-size:12px;color:var(--accent);padding:9px 12px;background:var(--accent-soft);border-radius:7px}.settings-section-links a:hover{outline:1px solid var(--accent)}.inline-tool-settings{padding:26px 0;border-top:1px solid var(--line)}.inline-tool-settings:last-child{padding-bottom:0}.inline-tool-settings h3{display:flex;gap:10px;align-items:center;font-size:15px;color:var(--accent);margin-bottom:20px}.inline-tool-settings .tool-settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.project-choice-list{display:grid;gap:8px;margin-top:18px;max-height:45dvh;overflow:auto}.project-choice{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:8px;padding:14px;text-align:start;font-size:13px}.project-choice:hover,.project-choice[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.project-assignment,.project-choice span{overflow-wrap:anywhere}.project-assignment{max-width:100%;min-width:0;white-space:normal}.project-assignment>svg{flex-shrink:0}.project-empty-hint{color:var(--muted);font-size:12px;margin:20px 0}.member-add-form{display:flex;align-items:flex-end;gap:14px;margin:24px 0}.member-add-form .form-field{flex:1 1;min-width:0;margin:0}.member-add-form>.button{min-height:44px}.member-row>div{min-width:0}.member-row strong{overflow-wrap:anywhere}.member-owner-badge{background:var(--accent-soft);color:var(--accent);padding:6px 9px;border-radius:6px;font-size:10px;white-space:nowrap}.member-provider-note{margin:20px 0 0}.timezone-change{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;margin-top:18px;overflow-wrap:anywhere}@media(max-width:760px){.handoff-cards{gap:8px}.handoff-card{padding:12px 9px;gap:10px;min-height:122px}.handoff-card strong{font-size:11px}.inline-tool-settings .tool-settings-fields{grid-template-columns:1fr}.member-add-form{flex-direction:column;align-items:stretch}.member-row{gap:14px}.member-owner-badge{justify-self:start}}@media (min-width:761px) and (max-width:1000px){.layout-converter .converter-grid,.layout-editor .editor-grid{grid-template-columns:1fr}}.time-panel{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:var(--studio-radius-card);box-shadow:0 8px 24px var(--shadow)}.time-form{padding:var(--studio-card-padding)}.duration-fields>label,.time-start-field>label{font-size:12px;font-weight:600}.time-start-field>label{display:block;margin-bottom:9px}.time-input-shell{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.time-input-shell:has(input:focus){border-color:var(--studio-focus-border);outline:none}.time-input-shell>input{flex:1 1;min-width:0;width:100%;border:0;border-radius:8px 0 0 8px;padding:13px 14px;background:transparent;font-size:17px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.time-input-shell>input:focus{outline:none}.time-picker-trigger{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;color:var(--accent);border-inline-start:1px solid var(--line);border-radius:0 8px 8px 0;font-size:12px}.time-picker-trigger:focus-visible{outline-offset:-3px}.time-picker-trigger:hover{background:var(--soft)}.field-error,.time-input-hint{font-size:11px;line-height:1.7;margin:9px 0 0;overflow-wrap:anywhere}.time-input-hint{color:var(--muted)}.field-error{color:#a52e40}html[data-theme=dark] .field-error{color:#ffa9b5}.time-now{margin-top:10px;flex-wrap:wrap;padding-inline:0}.time-now>span{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.duration-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 12px}.duration-heading h3{font-size:13px;margin:0}.duration-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.duration-fields>label{display:grid;gap:8px;min-width:0}.duration-fields input,.duration-fields select{width:100%;min-width:0;font-size:17px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.duration-shortcuts{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.duration-shortcuts>button{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid var(--line);border-radius:7px;font-size:12px}.duration-shortcuts>button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.duration-shortcuts small{font-size:10px}.time-calculate{width:100%;margin-top:24px}.time-answer{padding:var(--studio-card-padding)}.time-day{display:inline-block;font-size:11px;font-weight:600;padding:5px 9px;color:var(--accent);background:var(--accent-soft);border-radius:5px}.time-answer>strong{display:block;font-size:clamp(34px,4vw,54px);line-height:1.3;letter-spacing:-1.5px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;margin:14px 0 3px;overflow-wrap:anywhere}.time-alternate{display:block;font-size:13px;color:var(--muted)}.time-answer dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px;margin:26px 0 0}.time-answer dt{font-size:11px;color:var(--muted);margin-bottom:7px}.time-answer dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}.time-result-empty{min-height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:var(--studio-card-padding);color:var(--muted)}.time-result-empty>svg{color:var(--accent);margin-bottom:18px}.time-result-empty h3{margin:0 0 10px;color:var(--ink);font-size:17px}.time-result-empty p{margin:0 0 8px;font-size:12px;line-height:1.6}.time-result-empty>span{font-size:11px;line-height:1.6}.time-saved-link{margin:0 20px 18px}.time-arithmetic-note{margin:16px 0;font-size:11px;line-height:1.7;color:var(--muted)}[dir=rtl] .time-input-shell>input{border-radius:0 8px 8px 0}[dir=rtl] .time-picker-trigger{border-radius:8px 0 0 8px}@media (max-width:760px){.time-answer,.time-form{padding:var(--studio-card-padding)}.duration-fields input,.duration-fields select,.time-input-shell>input{font-size:16px}.time-picker-trigger{padding-inline:11px}.time-result-empty{min-height:190px;padding:var(--studio-card-padding)}.time-answer>strong{font-size:42px}}.studio-wheel{margin:20px 0 12px}.studio-wheel[aria-disabled=true]{opacity:.5}.studio-wheel-labels{display:flex;gap:0;color:var(--muted);font-size:11px;margin-bottom:8px}.studio-wheel-labels>span{flex:1 1;min-width:0;text-align:center;overflow-wrap:anywhere}.studio-wheel-column{flex:1 1;min-width:0}.studio-wheel-columns{border-radius:12px;background:var(--soft)}.studio-wheel-columns:before{content:"";position:absolute;top:50%;inset-inline:6px;height:38px;transform:translateY(-50%);background:var(--accent-soft);border:1px solid var(--line);border-radius:8px;pointer-events:none}.studio-wheel [data-rwp-option]{color:var(--muted);font-size:19px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.studio-wheel [data-rwp-highlight-wrapper]{inset-inline:6px;width:calc(100% - 12px)}.studio-wheel [data-rwp-highlight-item],.studio-wheel [data-rwp-option]{line-height:1;text-align:center;letter-spacing:0}.studio-wheel [data-rwp-highlight-item]{color:var(--ink);font-size:23px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.studio-wheel [data-rwp-highlight-wrapper][data-rwp-focused]{border-radius:8px;box-shadow:inset 0 0 0 2px var(--accent)}.wheel-value-preview{margin:22px 0 0;text-align:center;color:var(--ink);font-size:28px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.wheel-help{margin:14px 0 0;color:var(--muted);font-size:11px;line-height:1.6;text-align:center}.wheel-help.secondary{margin-top:7px}.wheel-clock-format{display:flex;justify-content:center;gap:4px;margin-top:22px}.wheel-clock-format>button{padding:7px 13px;font-size:12px;border:1px solid var(--line);border-radius:7px}.wheel-clock-format>button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.tool-settings-form .duration-heading{margin-top:20px}.inline-tool-settings .duration-heading{margin-top:0}.inline-tool-settings .tool-setting-toggle{min-height:44px;margin:10px 0}.inline-tool-settings .form-field{margin:10px 0}.inline-tool-settings .tool-settings-fields .form-field>span{min-height:18px}.tool-settings-form .form-field{margin:15px 0}.tool-settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.tool-settings-group{border:0;padding:0;margin:0 0 18px;min-width:0}.tool-settings-group>legend{padding:0;margin-bottom:10px;font-size:13px;font-weight:600}.tool-settings-group .tool-setting-toggle{min-height:44px}.tool-settings-fields .form-field>span{display:flex;align-items:flex-end;min-height:30px}.tool-setting-toggle{display:flex;align-items:center;gap:10px;font-size:12px;margin:18px 0}.tool-setting-toggle input{flex-shrink:0}.tool-default-clock{margin-top:18px}.setting-hint{color:var(--muted);font-size:11px;line-height:1.6;margin:12px 0}.tool-settings-reset{margin-top:20px}.tool-settings-form .dialog-actions{margin-top:16px}.tool-settings-dialog .dialog-actions{position:sticky;bottom:-25px;margin-inline:-25px;margin-bottom:-25px;padding:14px 25px;background:var(--paper);border-top:1px solid var(--line);z-index:1}.time-alternate-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.clock-format-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 8px;border:1px solid var(--line);border-radius:7px;color:var(--accent);font-size:11px}.clock-format-toggle:hover{background:var(--accent-soft)}@media (pointer:coarse){.clock-format-toggle{min-height:40px}}@media (max-width:420px){.tool-settings-fields{grid-template-columns:1fr}.tool-settings-fields .form-field>span{min-height:0}}@media (max-width:760px){.tool-settings-dialog .dialog-actions{bottom:-22px;margin-inline:-22px;margin-bottom:-22px;padding:14px 22px}}@media (max-width:760px),(pointer:coarse){.tool-settings-form select{min-height:44px;font-size:16px}.tool-settings-dialog .button,.tool-settings-dialog .text-button{min-height:44px;min-width:44px}.tool-settings-dialog .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;flex-shrink:0}.tool-settings-dialog .tool-setting-toggle,.tool-settings-dialog input:not([type=checkbox]),.tool-settings-dialog select{min-height:44px}}@media (max-width:360px){.studio-wheel [data-rwp-highlight-item]{font-size:20px}.studio-wheel [data-rwp-option]{font-size:17px}}.expression-entry{padding:24px}.expression-entry>label{display:block;font-size:12px;font-weight:600;margin-bottom:10px}.expression-entry textarea{display:block;width:100%;min-width:0;resize:vertical;min-height:94px;padding:16px;background:var(--paper);border:1px solid var(--line);border-radius:10px;color:var(--ink);font-family:inherit;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:23px;line-height:1.5}.expression-hint{margin:10px 0 18px;color:var(--muted);font-size:11px;line-height:1.6}.expression-quick{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.expression-quick .button{padding:7px 10px;min-height:34px;font-size:12px}.expression-quick .text-button{margin-inline-end:auto}.expression-keypad{margin-top:20px}.expression-mobile-result{display:none}.expression-edit-keys,.expression-number-keys,.expression-unit-keys{display:grid;gap:8px}.expression-unit-keys{grid-template-columns:repeat(9,minmax(0,1fr));margin-bottom:10px}.expression-edit-keys,.expression-number-keys{grid-template-columns:repeat(4,minmax(0,1fr))}.expression-edit-keys{margin-top:8px}.expression-keypad button{min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-size:18px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.expression-keypad button:hover{border-color:var(--accent);background:var(--accent-soft)}.expression-keypad .operator-key,.expression-unit-keys button{background:var(--accent-soft);color:var(--accent)}.expression-edit-keys button,.expression-unit-keys button{font-size:12px}.expression-result{align-self:stretch}.expression-result .time-answer{padding-block:40px}.expression-result .time-answer>strong{font-size:clamp(28px,3.4vw,52px);overflow-wrap:anywhere}.expression-result .shared-result-actions{flex-wrap:wrap}.expression-equation{margin:24px 0 0;padding:12px 14px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.expression-syntax{margin:26px 0;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.expression-syntax h2{margin:0 0 10px;font-size:15px}.expression-syntax p{font-size:12px;color:var(--muted);line-height:1.8;margin:6px 0}.expression-examples{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.expression-examples button{font-size:12px;padding:9px 12px}@media (max-width:760px){.expression-entry,.expression-syntax{padding:18px}.expression-result .time-answer>strong{font-size:38px}.expression-quick .text-button{flex-basis:100%}}@media (max-width:920px){.expression-mobile-result{display:block;margin-bottom:18px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--accent-soft);color:var(--muted);font-size:11px}.expression-mobile-result>strong{display:block;font-size:27px;line-height:1.4;margin-top:4px;color:var(--ink);overflow-wrap:anywhere}}@media (max-width:360px){.expression-entry textarea{font-size:20px}.expression-edit-keys,.expression-number-keys,.expression-unit-keys{gap:6px}.expression-result .time-answer>strong{font-size:32px}}.calendar-date-field>label{display:block;font-size:13px;font-weight:600;margin-bottom:10px}.calendar-date-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:9px;background:var(--paper);min-width:0}.calendar-date-control:focus-within{outline:none;border-color:var(--studio-focus-border)}.calendar-date-control input{min-width:0;width:100%;border:0;background:transparent;color:var(--ink);padding:14px;font-family:inherit;font-size:17px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;border-radius:9px}.calendar-date-control input:focus-visible{outline:none}.calendar-date-control .text-button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.calendar-date-control .text-button{flex-shrink:0;padding:14px;border-inline-start:1px solid var(--line)}.calendar-date-field .setting-hint{margin:9px 0 0;line-height:1.7}.calendar-picker-dialog{width:min(390px,calc(100vw - 32px))}.calendar-picker-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0}.calendar-picker-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px}.calendar-picker-controls label{font-size:12px;color:var(--muted);min-width:0}.calendar-picker-controls input,.calendar-picker-controls select{display:block;width:100%;margin-top:8px;min-height:40px;padding:8px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--paper)}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));gap:4px;margin:20px 0;overflow-x:auto;overscroll-behavior-inline:contain;scroll-padding:4px}.calendar-weekday{font-size:10px;color:var(--muted);text-align:center;padding:8px 0}.calendar-grid button{min-height:40px;border:1px solid transparent;border-radius:7px;background:var(--paper);color:var(--ink);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.calendar-grid button:hover{border-color:var(--accent)}.calendar-grid button[aria-pressed=true]{background:var(--accent);color:#fff}.expression-reference{padding:0 var(--studio-card-padding) var(--studio-card-padding)}.studio-options .expression-reference{padding:0}.expression-reference>.setting-hint{line-height:1.7}.expression-date{margin-top:12px;color:var(--accent);font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.time-calculation-answer>strong{color:var(--ink)}.expression-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:20px 0}.expression-rule-grid h3{font-size:13px;margin:0 0 8px}.expression-rule-grid .button{margin-top:12px;font-size:12px;padding:8px 12px;white-space:normal;text-align:start}.date-converter-panel{max-width:760px;margin-inline:auto}.date-converter-body{padding:var(--studio-card-padding)}.date-calendar-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.date-calendar-tabs button{flex:1 1;white-space:normal}.date-input-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:16px 0 24px}.date-input-shortcuts>span{margin-inline-start:auto;color:var(--muted);font-size:11px}.date-live-result{padding:var(--studio-card-padding);border:1px solid var(--line);border-radius:var(--studio-radius-card);background:var(--accent-soft);margin-bottom:20px}.date-result-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.date-live-result>strong{display:block;font-size:clamp(30px,4vw,44px);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;margin:18px 0 8px;overflow-wrap:anywhere}.date-live-result>p{color:var(--muted);font-size:13px;line-height:1.8}.date-live-result dl{display:flex;gap:30px;margin:20px 0 0}.date-live-result dt{font-size:11px;color:var(--muted)}.date-live-result dd{margin:8px 0 0;font-weight:600}.date-converter-body>.shared-result-actions{padding:0;margin:0 0 20px;flex-wrap:wrap}.date-converter-body>.setting-hint{line-height:1.8;margin-top:16px}@media (max-width:920px){.expression-mobile-result{padding:0}.expression-mobile-result .time-answer{padding:16px}.expression-mobile-result .time-answer>strong{font-size:34px;letter-spacing:-.5px}.expression-mobile-result .expression-equation{margin-top:16px}}@media (max-width:760px){.expression-unit-keys{grid-template-columns:repeat(5,minmax(0,1fr))}.expression-reference{padding:0 18px 18px}.expression-rule-grid{grid-template-columns:minmax(0,1fr);gap:22px}.date-converter-body,.date-live-result{padding:18px}}.studio-app[data-focus=true]{grid-template-columns:minmax(0,1fr)}.studio-app[data-focus=true] .mobile-bottom-nav,.studio-app[data-focus=true] .workspace-topbar,.studio-app[data-focus=true]>.nav-scrim,.studio-app[data-focus=true]>.sidebar{display:none}.studio-app[data-focus=true] .main-content{padding-bottom:0}.studio-app[data-focus=true] .workspace-notice{inset-block-end:20px}.tool-workspace.focus-tool{display:flex;flex-direction:column;width:100%;max-width:none;margin:0;padding:0;height:var(--studio-focus-height,100dvh);min-height:0;overflow:auto}.focus-tool .compact-history,.focus-tool .expression-hint,.focus-tool .expression-reference>.setting-hint,.focus-tool .expression-syntax,.focus-tool .focus-extra,.focus-tool .next-steps,.focus-tool .open-with-menu,.focus-tool .preset-active,.focus-tool .time-arithmetic-note,.focus-tool .tool-save-hint,.focus-tool .tool-utility-actions .utility-preset,.focus-tool .utility-history,.focus-tool .utility-pin,.focus-tool-title,.focus-tool>.breadcrumb,.focus-tool>.page-footer,.focus-tool>.page-heading{display:none}.focus-tool .focus-tool-title{display:block;flex:1 1 160px;min-width:0;margin:0;font-size:14px;font-weight:600;line-height:1.4;letter-spacing:0;overflow-wrap:anywhere}.focus-tool>.tool-utility-bar{flex-shrink:0;margin:0;padding:4px 12px;gap:4px 12px;border-top:0;background:var(--paper);position:sticky;inset-block-start:var(--studio-focus-sticky-offset,0);z-index:25}.focus-tool .tool-utility-links{gap:4px;width:auto}.focus-tool .tool-utility-actions{margin-inline-start:auto}.focus-tool>.conversion-privacy{flex-shrink:0;margin:0;padding:4px 12px;font-size:11px;line-height:1.5}.focus-tool .tool-utility-bar .icon-button{width:44px;height:44px}.focus-tool .tool-utility-bar .text-button{min-height:44px}.focus-mode-button{white-space:nowrap}.focus-mode-button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.focus-pane-controls{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}.focus-pane-button{min-width:44px;min-height:44px;padding:6px 10px;font-size:12px;color:var(--muted)}.focus-pane-button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.focus-pane-button:focus-visible{outline-offset:-3px}.focus-tool>.calculator-grid,.focus-tool>.converter-grid{flex:1 1;min-height:0;padding:0;gap:0;grid-template-columns:repeat(2,minmax(0,1fr))}.focus-tool .editor-panel,.focus-tool .time-panel{min-height:0;overflow:auto}.focus-tool .date-converter-panel,.focus-tool .date-live-result,.focus-tool .editor-panel,.focus-tool .time-panel,.tool-workspace.focus-tool [data-focus-surface]{border-radius:0;box-shadow:none}.focus-tool>[data-focus-layout]{flex:1 1;min-width:0;min-height:0}.focus-tool [data-focus-grow]{min-width:0;min-height:0}.focus-tool .panel-heading{min-height:46px;padding:10px 16px;flex-shrink:0}.focus-tool .panel-heading p,.focus-tool .step-number,.focus-tool[data-tool=time-math] [data-focus-pane=input]>.panel-heading{display:none}.focus-tool .rich-editor{flex:1 1;min-height:160px;max-height:none;margin:12px;font-size:14px}.focus-tool .upload-zone{margin:12px 12px 0}.focus-tool .upload-trigger{min-height:44px;padding:10px}.focus-tool .paste-divider,.focus-tool .source-bottom>span,.focus-tool .source-input-options>.muted,.focus-tool .upload-trigger small{display:none}.focus-tool .source-bottom{padding:0 12px 8px}.focus-tool .source-input-options{padding:4px 12px 12px}.focus-tool .convert-controls{padding:12px;flex-shrink:0;background:var(--paper)}.focus-tool .markdown-editor-preview{flex:1 1;min-height:160px}.focus-tool .markdown-panes>.markdown-editor{min-height:160px;height:100%;resize:none;font-size:14px}.focus-tool .markdown-preview{font-size:14px}.focus-tool .markdown-panes{overflow:hidden}.focus-tool .markdown-preview-pane{overflow:auto;max-height:none}.focus-tool .output-tabs button{min-height:36px}.focus-tool .save-controls{padding:10px 16px}.focus-tool .shared-result-actions:not(.shared-result-actions-compact){position:sticky;inset-block-end:0;background:var(--paper);border-top:1px solid var(--line);z-index:1}.focus-tool .expression-entry,.focus-tool .time-form{padding:18px}.focus-tool .expression-result .time-answer,.focus-tool .time-answer{padding:20px}.focus-tool .time-result-empty{min-height:160px;padding:20px}.focus-tool .time-result-empty h3{display:none}.focus-tool .result-empty{min-height:160px}.focus-tool .date-converter-panel{flex:1 1;min-height:0;width:100%;max-width:none;margin:0;overflow:auto}.focus-tool .date-converter-body{width:100%;max-width:960px;margin-inline:auto}.focus-tool>.conversion-notes,.focus-tool>.draft-banner,.focus-tool>.message,.focus-tool>.processing-status{flex-shrink:0;max-height:25dvh;overflow:auto;margin:8px 12px}.focus-tool[data-focus-pane=input]>.calculator-grid>[data-focus-pane=result],.focus-tool[data-focus-pane=input]>.converter-grid>[data-focus-pane=result],.focus-tool[data-focus-pane=input]>[data-focus-pane=result],.focus-tool[data-focus-pane=result]:has(>[data-focus-pane=result])>[data-focus-pane=input],.focus-tool[data-focus-pane=result]>.calculator-grid>[data-focus-pane=input],.focus-tool[data-focus-pane=result]>.converter-grid>[data-focus-pane=input]{display:none}.focus-tool[data-focus-pane=input]>.calculator-grid,.focus-tool[data-focus-pane=input]>.converter-grid,.focus-tool[data-focus-pane=result]>.calculator-grid,.focus-tool[data-focus-pane=result]>.converter-grid{grid-template-columns:minmax(0,1fr)}.focus-tool[data-focus-pane=input] .expression-mobile-result{display:block}@media(max-width:1100px){.markdown-panes[data-view=split]{grid-template-columns:minmax(0,1fr)}.markdown-panes[data-view=split]>.markdown-preview-pane{border-inline-start:0;border-top:1px solid var(--line);min-height:180px}}@media(max-width:760px){.tool-workspace.focus-tool{height:auto;min-height:var(--studio-focus-height,100dvh);overflow:visible}.focus-tool>.tool-utility-bar{padding:var(--studio-space-1) var(--studio-space-2);gap:var(--studio-space-1)}.focus-tool .focus-tool-title{flex-basis:100%;font-size:13px}.focus-tool .focus-library-link{width:44px;min-width:44px;min-height:44px;padding:8px}.focus-tool .focus-library-link>span{display:none}.focus-tool [data-tool-new-run]{width:44px;min-width:44px;height:44px;padding:8px;gap:0;font-size:0}.focus-tool .tool-utility-actions,.focus-tool .tool-utility-links{gap:var(--studio-space-1)}.focus-tool .project-toolbar-button{padding-inline:4px;min-width:44px}.focus-pane-button{font-size:11px;padding-inline:6px}.focus-pane-both{display:none}.focus-tool>.calculator-grid,.focus-tool>.converter-grid{display:grid;grid-template-columns:minmax(0,1fr);padding:0;gap:0}.focus-tool[data-focus-pane=auto]>.calculator-grid>[data-focus-pane=result],.focus-tool[data-focus-pane=auto]>.converter-grid>[data-focus-pane=result],.focus-tool[data-focus-pane=auto]>[data-focus-pane=result]{display:none}.focus-tool .editor-panel,.focus-tool .time-panel{overflow:visible}.focus-tool .rich-editor{min-height:220px;max-height:60dvh;overflow:auto}.focus-tool .markdown-panes{overflow:visible}.focus-tool .markdown-panes>.markdown-editor{min-height:45dvh;resize:vertical}.focus-tool .markdown-preview-pane{overflow:auto;max-height:55dvh}.focus-tool .markdown-panes[data-view=split]>.markdown-preview-pane{min-height:40dvh}.focus-tool .output-tabs button{min-height:44px}.focus-tool .date-converter-panel{margin:0;overflow:visible}.focus-tool .expression-mobile-result .time-answer{padding:14px}.focus-tool .expression-reference{padding:0 18px 18px}}@media(max-height:620px){.tool-workspace.focus-tool{height:auto;min-height:var(--studio-focus-height,100dvh);overflow:visible}.focus-tool>.calculator-grid,.focus-tool>.converter-grid{flex:none}.focus-tool .editor-panel,.focus-tool .time-panel{overflow:visible}.focus-tool .rich-editor{flex:auto;min-height:180px;max-height:60dvh;overflow:auto}.focus-tool .markdown-editor-preview{flex:auto;min-height:220px}}@media(max-width:760px){.output-toolbar{gap:6px;padding-inline:10px}.output-toolbar .scroll-sync-toggle{width:44px;height:44px}.shared-result-actions .button{min-height:44px}.output-tabs button{min-height:44px;min-width:44px;padding-inline:6px}.markdown-panes[data-view=split]>.markdown-preview-pane{max-height:55dvh}}.notebook-workspace{display:flex;flex-direction:column;gap:12px;height:calc(100dvh - 90px);min-height:550px;min-width:0;width:100%;max-width:none;padding:12px 18px;margin:0}.notebook-workspace[data-focused=true]{height:calc(100dvh - 20px);padding:10px}.notebook-toolbar,.notebook-toolbar-actions,.notebook-toolbar-primary{display:flex;align-items:center;gap:8px;min-width:0}.notebook-toolbar{justify-content:space-between;flex-wrap:wrap;flex-shrink:0}.notebook-toolbar-actions,.notebook-toolbar-primary{flex-wrap:wrap}.notebook-toolbar-primary>h1,.notebook-toolbar-primary>h2{font-size:18px;letter-spacing:-.3px;line-height:1.4}.notebook-toolbar-actions{justify-content:flex-end}.notebook-editor-toolbar button[aria-pressed=true],.notebook-toolbar .icon-button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.notebook-toolbar .project-selectors{margin:0}.notebook-layout{flex:1 1;display:grid;grid-template-columns:240px minmax(0,1fr);gap:12px;min-width:0;min-height:440px}.notebook-workspace[data-notes-visible=false] .notebook-layout{grid-template-columns:minmax(0,1fr)}.notebook-sidebar{display:flex;flex-direction:column;gap:12px;padding:14px 10px;border:1px solid var(--line);border-radius:12px;background:var(--paper);min-width:0;min-height:0;overflow:hidden}.notebook-sidebar[hidden]{display:none}.notebook-sidebar .search-input{padding-inline:10px}.notebook-sidebar .search-input input{min-height:42px;padding-inline:0;font-size:12px}.notebook-sidebar select{width:100%;max-width:100%;font-size:12px;min-height:38px}.notebook-filter-row{display:flex;flex-wrap:wrap;gap:6px}.notebook-filter-row button{min-height:34px;padding:7px 10px;font-size:11px;border-radius:7px}.notebook-filter-row button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.notebook-note-list,.notebook-notelist{display:flex;flex-direction:column;gap:6px;min-height:0;overflow:auto;padding:3px;scrollbar-width:thin}.notebook-list-item{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0;text-align:start;padding:12px 10px;border:1px solid transparent;border-radius:9px;background:var(--paper)}.notebook-list-item:hover{background:var(--soft)}.notebook-list-item.active,.notebook-list-item[aria-pressed=true]{color:var(--ink);background:var(--accent-soft);border-color:var(--line)}.notebook-list-item:focus-visible{outline-offset:-2px}.notebook-list-item strong{display:block;width:100%;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notebook-list-item>p,.notebook-list-item>span,.notebook-note-preview{color:var(--muted);font-size:11px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.notebook-note-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;color:var(--muted);font-size:10px;overflow-wrap:anywhere}.notebook-writing{display:flex;flex-direction:column;min-width:0;min-height:220px;overflow:hidden;border:1px solid var(--line);border-radius:var(--studio-radius-card);background:var(--paper);box-shadow:0 8px 24px var(--shadow)}.notebook-tabs{display:flex;align-items:stretch;gap:4px;padding:6px 8px;min-width:0;flex-shrink:0;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:thin;background:var(--bg)}.notebook-tab{display:flex;align-items:center;flex:0 0 auto;max-width:220px;min-width:0;border:1px solid transparent;border-radius:8px;padding:0;color:var(--muted)}.notebook-tab.active,.notebook-tab:has([aria-selected=true]),.notebook-tab[aria-current=true]{color:var(--ink);border-color:var(--line);background:var(--paper)}.notebook-tab>button:first-child{display:block;flex:1 1;min-width:0;min-height:36px;padding:8px 10px;text-align:start}.notebook-tab>button:first-child,.notebook-tab>button:first-child>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.notebook-tab>.icon-button,.notebook-tab>button:last-child:not(:first-child){flex-shrink:0;width:32px;min-width:32px;height:36px;padding:6px;display:grid;place-items:center;border-radius:6px}.notebook-tab button:focus-visible{outline-offset:-2px}.notebook-document-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px var(--studio-card-padding) 10px;min-width:0;flex-shrink:0}.notebook-document-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.notebook-document-actions .icon-button{width:34px;height:34px;flex-shrink:0}.notebook-title{border:1px solid transparent;padding:6px 8px;margin-inline-start:-8px;font-size:20px;font-weight:600;min-width:0;width:100%;background:transparent}.notebook-title:hover{border-color:var(--line)}.notebook-title::placeholder{color:var(--muted);opacity:1}.notebook-status{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;flex-shrink:0;overflow-wrap:anywhere}.notebook-status.error,.notebook-status[data-state=conflict],.notebook-status[data-state=error],.notebook-status[data-status=conflict],.notebook-status[data-status=failed]{color:#b93e4d}html[data-theme=dark] .notebook-status.error,html[data-theme=dark] .notebook-status[data-state=conflict],html[data-theme=dark] .notebook-status[data-state=error],html[data-theme=dark] .notebook-status[data-status=conflict],html[data-theme=dark] .notebook-status[data-status=failed]{color:#ffa9b5}.notebook-editor-toolbar{justify-content:space-between;gap:6px 12px;padding:6px 12px 10px;border-bottom:1px solid var(--line);flex-shrink:0}.notebook-editor-toolbar,.notebook-editor-toolbar>div{display:flex;align-items:center;flex-wrap:wrap;min-width:0}.notebook-editor-toolbar>div{gap:4px}.notebook-editor-toolbar .icon-button{width:34px;height:34px}.notebook-editor-toolbar .output-tabs{display:flex;gap:2px;padding:0;border:1px solid var(--line);border-radius:7px;overflow:hidden}.notebook-editor-toolbar .output-tabs button{min-height:34px;padding:6px 9px;font-size:11px}.notebook-editor-host{min-height:220px}.notebook-editor-host,.notebook-source-host{display:flex;flex:1 1;min-width:0;overflow:hidden}.notebook-source-host{min-height:0}.notebook-editor-host:is([data-editor=visual],[data-editor=blocks])>.notebook-source-host{display:none}.notebook-editor-panes{display:grid;grid-template-columns:minmax(0,1fr);flex:1 1;width:100%;height:100%;min-height:0;min-width:0;overflow:hidden}.notebook-editor-panes[data-view=split]{grid-template-columns:repeat(2,minmax(0,1fr))}.notebook-codemirror{overflow:hidden;container-type:inline-size;container-name:notebook-source}.notebook-codemirror,.notebook-codemirror>.cm-editor{min-height:0;min-width:0;height:100%}.notebook-codemirror .cm-scroller{min-height:0;min-width:0;max-width:100%}.notebook-codemirror .cm-panels{flex:0 0 auto;min-height:0;max-height:clamp(120px,45%,340px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}.notebook-preview-pane{min-height:0;min-width:0;height:100%;padding:16px;overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere}.notebook-editor-panes[data-view=split]>.notebook-preview-pane{border-inline-start:1px solid var(--line)}.notebook-editor-panes[data-view=edit]>.notebook-preview-pane,.notebook-editor-panes[data-view=preview]>.notebook-codemirror{display:none}.notebook-preview-pane>.markdown-preview{width:100%;min-height:100%;max-height:none;padding:0;overflow:visible;font-size:inherit;line-height:1.75}.notebook-preview-pane .markdown-preview>:first-child{margin-top:0}.notebook-preview-pane .markdown-preview pre{max-width:100%;overflow:auto}.notebook-preview-pane .markdown-preview table{display:block;max-width:100%;overflow:auto}.notebook-text-preview{margin:0;font-size:inherit;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace;line-height:1.75;overflow-wrap:anywhere}.notebook-codemirror .cm-search{--search-control-size:36px;display:grid;grid-template-columns:repeat(3,max-content) minmax(0,1fr) repeat(3,max-content) var(--search-control-size);align-items:center;gap:8px;padding:12px!important;font-family:inherit;font-size:12px;line-height:1.5}.notebook-codemirror .cm-search>button,.notebook-codemirror .cm-search>input,.notebook-codemirror .cm-search>label{margin:0!important;min-width:0;font:inherit!important}.notebook-codemirror .cm-search>br{display:none}.notebook-codemirror .cm-search>.cm-textfield{width:100%;min-height:var(--search-control-size);padding:7px 10px;box-sizing:border-box}.notebook-codemirror .cm-search>.cm-button{min-height:var(--search-control-size);padding:7px 12px;white-space:normal}.notebook-codemirror .cm-search>input[name=search]{grid-area:1/1/auto/5}.notebook-codemirror .cm-search>button[name=next]{grid-area:1/5}.notebook-codemirror .cm-search>button[name=prev]{grid-area:1/6}.notebook-codemirror .cm-search>button[name=select]{grid-area:1/7}.notebook-codemirror .cm-search>label{display:flex;align-items:center;gap:8px;min-height:var(--search-control-size);white-space:normal;color:var(--muted);cursor:pointer}.notebook-codemirror .cm-search>label:first-of-type{grid-area:2/1}.notebook-codemirror .cm-search>label:nth-of-type(2){grid-area:2/2}.notebook-codemirror .cm-search>label:nth-of-type(3){grid-area:2/3}.notebook-codemirror .cm-search input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;padding:0;margin:0!important;accent-color:var(--accent)}.notebook-codemirror .cm-search>input[name=replace]{grid-area:3/1/auto/5}.notebook-codemirror .cm-search>button[name=replace]{grid-area:3/5}.notebook-codemirror .cm-search>button[name=replaceAll]{grid-area:3/6/auto/8}.notebook-codemirror .cm-search>[name=close]{grid-area:1/8;position:static!important;inset:auto!important;width:var(--search-control-size);height:var(--search-control-size);padding:0!important;display:grid;place-items:center;font-size:20px!important;color:var(--muted);border-radius:6px}.notebook-codemirror .cm-search>[name=close]:hover{color:var(--ink);background:var(--soft)}.notebook-codemirror .cm-search :is(input,button):focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@container notebook-source (max-width:620px){.notebook-codemirror .cm-search{grid-template-columns:repeat(6,minmax(0,1fr))}.notebook-codemirror .cm-search>input[name=search]{grid-area:1/1/auto/-1;width:auto;margin-inline-end:calc(var(--search-control-size) + 8px)!important}.notebook-codemirror .cm-search>[name=close]{grid-area:1/1/auto/-1;justify-self:end}.notebook-codemirror .cm-search>button[name=next]{grid-area:2/1/auto/3}.notebook-codemirror .cm-search>button[name=prev]{grid-area:2/3/auto/5}.notebook-codemirror .cm-search>button[name=select]{grid-area:2/5/auto/7}.notebook-codemirror .cm-search>label:first-of-type{grid-area:3/1/auto/4}.notebook-codemirror .cm-search>label:nth-of-type(2){grid-area:3/4/auto/7}.notebook-codemirror .cm-search>label:nth-of-type(3){grid-area:4/1/auto/-1}.notebook-codemirror .cm-search>input[name=replace]{grid-area:5/1/auto/-1}.notebook-codemirror .cm-search>button[name=replace]{grid-area:6/1/auto/4}.notebook-codemirror .cm-search>button[name=replaceAll]{grid-area:6/4/auto/7}}@container notebook-source (min-width:460px) and (max-width:620px){.notebook-codemirror .cm-search>label:first-of-type{grid-area:3/1/auto/3}.notebook-codemirror .cm-search>label:nth-of-type(2){grid-area:3/3/auto/5}.notebook-codemirror .cm-search>label:nth-of-type(3){grid-area:3/5/auto/7}.notebook-codemirror .cm-search>input[name=replace]{grid-row:4}.notebook-codemirror .cm-search>button[name=replaceAll],.notebook-codemirror .cm-search>button[name=replace]{grid-row:5}}.notebook-footer{gap:4px 14px;padding:8px 14px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.notebook-banner,.notebook-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;flex-shrink:0}.notebook-banner{gap:8px 16px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:var(--accent-soft);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.notebook-banner.error,.notebook-banner[data-kind=error]{color:#a3293c;background:#fff1f3;border-color:#efccd3}html[data-theme=dark] .notebook-banner.error,html[data-theme=dark] .notebook-banner[data-kind=error]{color:#ffd2da;background:#351d30;border-color:#633345}.notebook-banner p{flex:1 1 200px}.notebook-banner .button{white-space:normal}.notebook-workspace[data-focused=true] .notebook-layout{grid-template-columns:minmax(0,1fr)}.notebook-workspace[data-focused=true] .notebook-app-label,.notebook-workspace[data-focused=true] .notebook-sidebar{display:none}.notebook-workspace .empty-state{padding:24px 14px}.notebook-dialog-list{display:flex;flex-direction:column;gap:8px;min-width:0;max-height:52dvh;padding:3px;margin-block:16px;overflow:auto}.notebook-dialog-list>button{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:9px;text-align:start;white-space:normal}.notebook-dialog-list>button:hover{background:var(--soft)}.notebook-dialog-list>button:focus-visible{outline-offset:-2px}.notebook-dialog-list small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.notebook-revision-body{white-space:pre-wrap;overflow-wrap:anywhere;max-height:40dvh;overflow:auto;margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:8px;font:12px/1.7 Cascadia Code,Consolas,monospace;background:var(--bg)}.notebook-organize{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:16px 0}.notebook-organize label{display:grid;gap:8px;min-width:0;font-size:12px}.notebook-organize input,.notebook-organize select{width:100%;min-width:0}.notebook-confirm{justify-content:flex-end;gap:8px;margin-top:20px}.notebook-confirm,.notebook-handoff-actions{display:flex;align-items:center;flex-wrap:wrap}.notebook-handoff-actions{gap:8px 14px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.notebook-mobile-only{display:none}.notebook-app-label{display:inline-flex;align-items:center;gap:7px;font-size:16px;font-weight:600}.notebook-list-toggle{display:none}.notebook-notes-toggle{display:inline-flex}html[dir=rtl] .notebook-notes-toggle svg{transform:scaleX(-1)}.notebook-workspace[data-focused=true] .notebook-notes-toggle{display:none}.notebook-workspace[data-focused=true] .notebook-list-toggle{display:inline-flex}.notebook-sidebar-content{display:flex;flex-direction:column;gap:12px;flex:1 1;min-height:0;min-width:0}.notebook-list-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;font-size:12px}.notebook-list-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.notebook-note-list{flex:1 1}.notebook-list-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:10px;border-top:1px solid var(--line);flex-shrink:0}.notebook-editor-tools select{min-height:34px;padding:6px 8px;font-size:11px;max-width:150px}.notebook-editor-toolbar>.notebook-editor-tools{flex-wrap:nowrap;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin}.notebook-editor-tools>*{flex-shrink:0}.notebook-editor-toolbar>.notebook-editor-view-tools{flex-wrap:nowrap;flex-shrink:0;gap:8px}.notebook-font-size-control{display:flex;align-items:center;flex-wrap:nowrap;flex-shrink:0;gap:0;border:1px solid var(--line);border-radius:7px}.notebook-font-size-value{display:flex;align-items:center;justify-content:center;gap:3px;min-width:42px;padding-inline:4px;text-align:center;font-size:11px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.notebook-editor-toolbar .notebook-font-size-control .icon-button{width:30px;height:32px}.notebook-direction-controls,.notebook-writing-controls{display:flex;align-items:center;gap:2px;flex-shrink:0}.notebook-writing-controls{gap:8px}.notebook-format-toggle{min-height:34px;padding:6px 8px;gap:5px;font-size:11px}.notebook-direction-controls{padding-inline-start:6px;border-inline-start:1px solid var(--line)}.notebook-view-controls{display:flex;align-items:center;gap:4px;flex-shrink:0}.notebook-view-controls .text-button{min-height:34px;justify-content:center;padding:6px 8px;gap:6px}.notebook-view-controls .icon-button{flex:0 0 auto}.notebook-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1 1;gap:16px;padding:30px 20px;min-height:220px;text-align:center}.notebook-empty>svg{color:var(--accent)}.notebook-empty h1{font-size:24px}.notebook-empty p{color:var(--muted);font-size:12px;line-height:1.7}.notebook-list-dialog .notebook-sidebar-content{max-height:65dvh}.notebook-management-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line);min-width:0}.notebook-management-row>span{flex:1 1;min-width:0;overflow-wrap:anywhere}.notebook-organize .checkbox-label{display:flex;align-items:center;gap:8px}.notebook-organize .checkbox-label input{width:18px;height:18px}.notebook-dialog-list .button{justify-content:flex-start;overflow-wrap:anywhere}.notebook-dialog-list:has(>.dialog-actions){max-height:none;overflow:visible}.notebook-dialog-list>.dialog-actions{margin-top:0;justify-content:flex-start;flex-wrap:wrap}.notebook-history-dialog{width:650px}@media(max-width:1024px){.notebook-workspace{padding-inline:12px}.notebook-layout{grid-template-columns:minmax(0,1fr);gap:10px}.notebook-sidebar{display:none}.notebook-list-toggle{display:inline-flex}.notebook-notes-toggle{display:none}}@media(max-width:760px){.studio-app:has(.notebook-workspace) .main-content{padding-bottom:0}.studio-app:has(.notebook-workspace) .mobile-bottom-nav{display:none}.notebook-workspace{height:calc(100dvh - 76px);min-height:560px;padding:6px 8px;gap:8px}.notebook-workspace[data-focused=true]{height:calc(100dvh - 20px);padding:6px}.notebook-workspace:has(.notebook-editor-host[data-editor=visual]){height:auto;min-height:calc(100dvh - 76px)}.notebook-workspace[data-focused=true]:has(.notebook-editor-host[data-editor=visual]){min-height:calc(100dvh - 20px)}.notebook-layout:has(.notebook-editor-host[data-editor=visual]){min-height:580px}.notebook-editor-host[data-editor=visual]{min-height:320px}.notebook-mobile-only{display:inline-flex}.notebook-desktop-only{display:none}.notebook-layout{grid-template-columns:minmax(0,1fr);gap:0}.notebook-sidebar{display:none}.notebook-toolbar{gap:4px}.notebook-toolbar-actions,.notebook-toolbar-primary{gap:2px}.notebook-toolbar-primary>h1,.notebook-toolbar-primary>h2{font-size:16px}.notebook-app-label{display:none}.notebook-list-toggle,.notebook-workspace[data-focused=true] .notebook-list-toggle{display:inline-flex}.notebook-desktop-action{display:none}.notebook-confirm .button,.notebook-list-dialog button,.notebook-organize input,.notebook-organize select,.notebook-workspace .button,.notebook-workspace .icon-button,.notebook-workspace .text-button{min-height:44px}.notebook-list-dialog .icon-button,.notebook-workspace .favorite-button,.notebook-workspace .icon-button{min-width:44px;width:44px;height:44px}.notebook-toolbar .text-button{padding-inline:5px;font-size:11px}.notebook-toolbar .project-create-button{padding:8px}.notebook-writing{border-radius:var(--studio-radius-card)}.notebook-tabs{padding:4px;gap:3px}.notebook-tab{max-width:210px}.notebook-tab>button:first-child{min-height:44px;padding-inline:8px}.notebook-tab>.icon-button,.notebook-tab>button:last-child:not(:first-child){min-width:44px;width:44px;height:44px}.notebook-document-heading{padding:10px var(--studio-card-padding) 8px;gap:4px;flex-wrap:wrap}.notebook-title{font-size:17px;padding:7px;min-height:44px}.notebook-document-heading>.notebook-title{flex:1 1 100%}.notebook-document-actions{margin-inline-start:auto;gap:4px}.notebook-status{font-size:10px}.notebook-editor-toolbar{padding:4px 6px;gap:2px 4px}.notebook-editor-toolbar>div{gap:0}.notebook-editor-toolbar>.notebook-editor-tools{flex:1 1;min-width:0}.notebook-editor-toolbar>.notebook-editor-view-tools{flex:1 1 100%;flex-wrap:wrap;justify-content:space-between;gap:4px}.notebook-font-size-control{gap:0}.notebook-font-size-value{min-width:36px}.notebook-document-actions .icon-button,.notebook-editor-toolbar .notebook-font-size-control .icon-button{min-width:44px;width:44px;height:44px}.notebook-editor-tools select{min-height:44px;max-width:120px;font-size:11px;padding-inline:6px}.notebook-format-toggle{min-height:44px;min-width:44px}.notebook-view-controls .text-button{min-height:44px;min-width:44px;padding-inline:8px}.notebook-editor-toolbar .output-tabs button{min-width:44px;min-height:44px;padding-inline:6px}.notebook-editor-panes[data-view=split]{grid-template-columns:minmax(0,1fr)}.notebook-editor-panes[data-view=split]>.notebook-preview-pane{display:none}.notebook-preview-pane{padding:12px}.notebook-codemirror .cm-line{padding-inline:12px!important}.notebook-codemirror .cm-search{--search-control-size:44px}.notebook-footer{padding:6px 10px;font-size:10px}.notebook-banner{padding:10px;max-height:35dvh;overflow:auto}.notebook-list-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);padding:16px}.notebook-list-dialog .notebook-sidebar{display:flex;max-height:calc(100dvh - 140px);padding:0;border:0}.notebook-list-dialog .notebook-sidebar-content{max-height:calc(100dvh - 160px)}.notebook-list-dialog .notebook-list-filters select{min-height:44px;font-size:12px}.notebook-list-dialog .search-input input,.notebook-list-dialog select{min-height:44px}.notebook-dialog-list{max-height:50dvh}.notebook-handoff-actions .text-button{min-height:44px;padding:8px}body:has(.notebook-workspace) .studio-dialog .button,body:has(.notebook-workspace) .studio-dialog .text-button{min-height:44px;min-width:44px}body:has(.notebook-workspace) .studio-dialog .icon-button{min-height:44px;height:44px;min-width:44px;width:44px}body:has(.notebook-workspace) .studio-dialog input:not([type=checkbox]),body:has(.notebook-workspace) .studio-dialog select,body:has(.notebook-workspace) .studio-dialog textarea{min-height:44px}body:has(.notebook-workspace) .studio-dialog label:has(input[type=checkbox]){min-height:44px}}@media(max-height:550px){.notebook-workspace,.notebook-workspace[data-focused=true]{min-height:560px}.notebook-status{line-height:1.4}.notebook-banner{max-height:30dvh;overflow:auto}}.notebook-append-summary{display:flex;flex-direction:column;gap:5px;min-width:0;text-align:start}.notebook-append-summary small{color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.notebook-visual-editor{display:flex;flex-direction:column;flex:1 1;width:100%;height:100%;min-height:0;min-width:0;overflow:hidden;background:var(--paper)}.notebook-editor-panes[hidden],.notebook-visual-editor[hidden]{display:none!important}.notebook-visual-toolbar{display:flex;align-items:center;align-content:flex-start;flex-wrap:wrap;gap:4px;flex-shrink:0;min-width:0;max-width:100%;padding:6px 10px;border-bottom:1px solid var(--line);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;white-space:normal;background:var(--paper)}.notebook-visual-toolbar .icon-button{flex:0 0 auto;min-width:34px;width:34px;height:34px}.notebook-visual-toolbar button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.notebook-visual-toolbar button:focus-visible,.notebook-visual-toolbar select:focus-visible{outline-offset:-2px}.notebook-visual-toolbar select{flex:0 0 auto;min-height:34px;max-width:155px;padding:6px 8px;font-size:12px}.notebook-visual-toolbar-separator{align-self:center;flex:0 0 1px;width:1px;height:24px;margin-inline:3px;background:var(--line)}.notebook-table-controls{display:flex;align-items:center;flex-wrap:wrap;flex:0 0 auto;gap:4px;max-width:100%}.notebook-table-action-icon{display:inline-flex;position:relative}.notebook-table-action-badge{position:absolute;inset-inline-end:-4px;bottom:-3px;border-radius:2px;background:var(--paper)}.notebook-visual-toolbar button:hover .notebook-table-action-badge,.notebook-visual-toolbar button[aria-pressed=true] .notebook-table-action-badge{background:var(--accent-soft)}.notebook-visual-content{flex:1 1;height:100%;min-height:0;min-width:0;max-width:100%;overflow:auto;overscroll-behavior:contain;color:var(--ink)}.notebook-visual-content>.notebook-visual-mount{display:flex;flex-direction:column;width:100%;min-height:100%}.notebook-visual-content:focus-within{outline:none;border-color:var(--studio-focus-border)}.notebook-visual-content .ProseMirror{position:relative;flex:1 0 auto;width:100%;min-height:100%;max-width:none;padding:24px 32px 48px;color:var(--ink);font-family:Segoe UI,Tahoma,Arial,sans-serif;font-size:inherit;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap;text-align:start;outline:none}.notebook-visual-content :is(.ProseMirror-hideselection,[data-notebook-block-selection=hidden]) ::selection,.notebook-visual-content :is(.ProseMirror-hideselection,[data-notebook-block-selection=hidden])::selection{background:transparent}.notebook-visual-content :is(.ProseMirror-hideselection,[data-notebook-block-selection=hidden]) ::-moz-selection,.notebook-visual-content :is(.ProseMirror-hideselection,[data-notebook-block-selection=hidden])::-moz-selection{background:transparent}.notebook-visual-content :is(.ProseMirror-hideselection,[data-notebook-block-selection=hidden]),.notebook-visual-content :is(.ProseMirror-hideselection,[data-notebook-block-selection=hidden]) *{caret-color:transparent}.notebook-visual-content .ProseMirror img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important;width:0!important;height:0!important}.notebook-visual-content .ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute;width:0;height:0;margin:0}.notebook-visual-content .ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid var(--ink);animation:notebook-gapcursor-blink 1.1s steps(2,start) infinite}.notebook-visual-content .ProseMirror-focused .ProseMirror-gapcursor{display:block}@keyframes notebook-gapcursor-blink{to{visibility:hidden}}.notebook-visual-content .ProseMirror:focus-visible{outline:none}.notebook-visual-content .ProseMirror p{margin:0 0 .85em}.notebook-visual-content .ProseMirror h1,.notebook-visual-content .ProseMirror h2,.notebook-visual-content .ProseMirror h3,.notebook-visual-content .ProseMirror h4,.notebook-visual-content .ProseMirror h5,.notebook-visual-content .ProseMirror h6{line-height:1.4;letter-spacing:normal;margin:1em 0 .45em;font-weight:600;color:var(--ink)}.notebook-visual-content .ProseMirror h1{font-size:1.9em}.notebook-visual-content .ProseMirror h2{font-size:1.55em}.notebook-visual-content .ProseMirror h3{font-size:1.3em}.notebook-visual-content .ProseMirror h4{font-size:1.15em}.notebook-visual-content .ProseMirror h5,.notebook-visual-content .ProseMirror h6{font-size:1em}.notebook-visual-content .ProseMirror>:first-child{margin-top:0}.notebook-visual-content .ProseMirror ol,.notebook-visual-content .ProseMirror ul{padding-inline-start:1.6em;margin:.6em 0 1em}.notebook-visual-content .ProseMirror li>p{margin-bottom:.25em}:is(.notebook-visual-document,.notebook-preview-pane .markdown-preview) ul:not([data-type=taskList]){list-style-type:disc}:is(.notebook-visual-document,.notebook-preview-pane .markdown-preview) ul ul:not([data-type=taskList]){list-style-type:circle}:is(.notebook-visual-document,.notebook-preview-pane .markdown-preview) ul ul ul:not([data-type=taskList]){list-style-type:square}:is(.notebook-visual-document,.notebook-preview-pane .markdown-preview) ul ul ul ul:not([data-type=taskList]){list-style-type:"–  "}.notebook-visual-content .ProseMirror li :is(ul,ol){margin-block:.35em}.notebook-visual-content .ProseMirror blockquote{margin:1em 0;padding:4px 16px;border-inline-start:3px solid var(--accent);color:var(--muted);background:var(--soft);border-radius:5px}.notebook-visual-content .ProseMirror blockquote>p:last-child{margin-bottom:0}.notebook-visual-content .ProseMirror code{padding:2px 5px;border-radius:4px;background:var(--soft);font:.9em/1.7 Cascadia Code,SFMono-Regular,Consolas,monospace}.notebook-visual-content .ProseMirror pre{max-width:100%;overflow-x:auto;margin:1em 0;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--soft);font:.9em/1.7 Cascadia Code,SFMono-Regular,Consolas,monospace;direction:ltr;text-align:start;white-space:pre}.notebook-visual-content .ProseMirror pre code{display:block;padding:0;font:inherit;background:transparent}.notebook-visual-content .notebook-markdown-source-block{width:100%;max-width:100%;margin-block:1em;border:1px solid var(--line);border-radius:8px;background:var(--soft);overflow:hidden}.notebook-visual-content .notebook-markdown-source-label{display:block;padding:7px 12px;border-bottom:1px solid var(--line);color:var(--muted);font:11px/1.6 Segoe UI,Tahoma,Arial,sans-serif;-webkit-user-select:none;user-select:none}.notebook-visual-content .ProseMirror .notebook-markdown-source-block pre{min-height:44px;margin:0;border:0;border-radius:0;padding:12px;background:transparent;white-space:pre-wrap;overflow-wrap:anywhere;direction:inherit}.notebook-visual-content .ProseMirror .notebook-markdown-source-block code{min-height:1.75em;white-space:pre-wrap;overflow-wrap:anywhere;unicode-bidi:plaintext}.notebook-visual-content .ProseMirror a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.notebook-visual-content .ProseMirror img{display:block;max-width:100%;height:auto;margin-block:12px}.notebook-visual-content .ProseMirror hr{margin:1.4em 0;border:0;border-top:1px solid var(--line)}.notebook-visual-content .ProseMirror .tableWrapper{max-width:100%;margin:1em 0;overflow-x:auto}.notebook-visual-content .ProseMirror table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0}.notebook-visual-content .ProseMirror td,.notebook-visual-content .ProseMirror th{position:relative;min-width:70px;padding:8px 10px;border:1px solid var(--line);vertical-align:top;text-align:start;overflow-wrap:anywhere}.notebook-visual-content .ProseMirror th{font-weight:600;background:var(--soft)}.notebook-visual-content .ProseMirror td>p:last-child,.notebook-visual-content .ProseMirror th>p:last-child{margin-bottom:0}.notebook-visual-content .ProseMirror .selectedCell{background:var(--accent-soft)}.notebook-visual-content .ProseMirror ul[data-type=taskList]{list-style:none;padding-inline-start:0}.notebook-visual-content .ProseMirror li:is([data-type=taskItem],[data-checked]){display:flex;flex-flow:row nowrap;align-items:flex-start;gap:10px;margin-block:6px}.notebook-visual-content .ProseMirror li:is([data-type=taskItem],[data-checked])>label{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:28px;min-height:1.75em;margin:0;padding:0}.notebook-visual-content .ProseMirror li:is([data-type=taskItem],[data-checked])>label input{flex:0 0 auto;width:18px;height:18px;min-height:0;margin:0;padding:0}.notebook-visual-content .ProseMirror li:is([data-type=taskItem],[data-checked])>div{display:block;flex:1 1;min-width:0}.notebook-visual-content .ProseMirror li:is([data-type=taskItem],[data-checked])>div>p:first-child{min-height:1.75em}.notebook-visual-editor[data-content-direction=auto] .notebook-visual-document li:is([data-type=taskItem],[data-checked]):has(>div>:first-child:dir(rtl)){direction:rtl}.notebook-visual-editor[data-content-direction=auto] .notebook-visual-document li:is([data-type=taskItem],[data-checked]):has(>div>:first-child:dir(ltr)){direction:ltr}.notebook-visual-editor[data-content-direction=auto] .notebook-visual-document :is(ul,ol):has(>li:first-child>p:first-child:dir(rtl)),.notebook-visual-editor[data-content-direction=auto] .notebook-visual-document li:has(>p:first-child:dir(rtl)){direction:rtl}.notebook-visual-editor[data-content-direction=auto] .notebook-visual-document :is(ul,ol):has(>li:first-child>p:first-child:dir(ltr)),.notebook-visual-editor[data-content-direction=auto] .notebook-visual-document li:has(>p:first-child:dir(ltr)){direction:ltr}.notebook-visual-editor[data-content-direction=auto] .notebook-visual-document :is(p,h1,h2,h3,h4,h5,h6,blockquote){unicode-bidi:plaintext}.notebook-visual-editor[data-content-direction=rtl] .notebook-visual-document,.notebook-visual-editor[data-content-direction=rtl] .notebook-visual-document [dir]{direction:rtl;unicode-bidi:normal;text-align:start}.notebook-visual-editor[data-content-direction=ltr] .notebook-visual-document,.notebook-visual-editor[data-content-direction=ltr] .notebook-visual-document [dir]{direction:ltr;unicode-bidi:normal;text-align:start}.notebook-visual-link-form{display:grid;gap:16px;min-width:0}.notebook-visual-link-form label,.notebook-visual-url-field{display:grid;gap:8px;min-width:0;font-size:12px}.notebook-visual-link-form input{width:100%;min-width:0}.notebook-visual-link-form .dialog-actions{margin-top:8px}.notebook-extra-form{display:grid;gap:12px;min-width:0}.notebook-extra-form label{display:grid;gap:7px;min-width:0;font-size:12px}.notebook-extra-form input,.notebook-extra-form textarea{width:100%;min-width:0}.notebook-extra-form textarea{resize:vertical;max-height:35dvh;min-height:100px;font:13px/1.6 Consolas,monospace}.notebook-extra-draft-preview{min-height:44px;max-height:25dvh;padding:12px;overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--soft)}.notebook-extra-draft-preview img{max-width:100%;height:auto}.notebook-extra-draft-preview .katex-display{margin:0}.notebook-spelling-panel{display:flex;flex-direction:column;gap:16px;min-width:0}.notebook-spelling-tools{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;min-width:0}.notebook-spelling-tools>label{display:grid;gap:7px;flex:1 1 130px;min-width:0;font-size:12px}.notebook-spelling-tools input,.notebook-spelling-tools select{width:100%;min-width:0}.notebook-spelling-issues{display:flex;flex-direction:column;gap:12px;max-height:45dvh;min-width:0;padding:3px;overflow:auto;overscroll-behavior:contain}.notebook-spelling-word{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--paper)}.notebook-spelling-word strong,.notebook-spelling-word>span{font-size:15px;overflow-wrap:anywhere;min-width:0}.notebook-spelling-word small{display:block;color:var(--muted);font-size:11px;line-height:1.6}.notebook-spelling-suggestions{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.notebook-spelling-suggestions>strong{flex-basis:100%;overflow-wrap:anywhere}.notebook-spelling-suggestions>.dialog-actions{flex-wrap:wrap;justify-content:flex-start;gap:8px;margin-top:2px;max-width:100%}.notebook-spelling-suggestions button{white-space:normal;overflow-wrap:anywhere}.notebook-dictionary-entry{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.notebook-dictionary-entry>span{flex:1 1;min-width:0;overflow-wrap:anywhere}.notebook-dictionary-entry input{flex:1 1 140px;min-width:0}.notebook-dictionary-entry button{flex:0 0 auto}.notebook-shortcuts{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;line-height:1.7}.notebook-shortcuts td,.notebook-shortcuts th{padding:12px 8px;border-bottom:1px solid var(--line);text-align:start;vertical-align:top;overflow-wrap:anywhere}.notebook-shortcuts th{width:40%;font-weight:500}.notebook-shortcuts kbd{display:inline-block;max-width:100%;margin-block:2px;padding:2px 5px;border:1px solid var(--line);border-radius:4px;background:var(--soft);font:10px/1.7 Cascadia Code,Consolas,monospace;direction:ltr;unicode-bidi:isolate;white-space:normal;overflow-wrap:anywhere}@media(max-width:760px){.notebook-visual-toolbar{padding:4px 6px;gap:2px;max-height:100px}.notebook-visual-toolbar .icon-button{min-width:44px;width:44px;height:44px;min-height:44px}.notebook-visual-toolbar select{min-height:44px;max-width:135px}.notebook-visual-content .ProseMirror{padding:18px 14px 36px}.notebook-visual-content .ProseMirror td,.notebook-visual-content .ProseMirror th{padding:7px}.notebook-visual-content .ProseMirror li:is([data-type=taskItem],[data-checked]){gap:6px}.notebook-visual-content .ProseMirror li:is([data-type=taskItem],[data-checked])>label{width:44px;min-width:44px;min-height:44px;margin-block-start:-6px}.notebook-spelling-tools{gap:8px}.notebook-spelling-word{padding:10px}.notebook-spelling-suggestions button{min-height:44px;min-width:44px}}.notebook-note-kind-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:680px;margin:16px auto;text-align:start}.notebook-note-kind-option{display:flex;align-items:flex-start;gap:12px;min-height:100px;min-width:0;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);text-align:start;cursor:pointer}.notebook-note-kind-option:hover{border-color:var(--accent);background:var(--accent-soft)}.notebook-note-kind-option:disabled{cursor:wait;opacity:.6}.notebook-note-kind-option>span{min-width:0}.notebook-note-kind-option strong{display:block;font-size:15px}.notebook-note-kind-icon{flex:0 0 auto;color:var(--accent)}.notebook-note-kind-description{display:block;margin-top:8px;color:var(--muted);line-height:1.65;font-size:12px;overflow-wrap:anywhere}.notebook-card-note-types{display:flex;flex-direction:column;gap:8px;width:100%;margin-block:2px 14px}.notebook-card-note-type{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--ink);font-size:12px}.notebook-card-note-type:hover{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}@media(max-width:760px){.notebook-layout:has(.notebook-editor-host[data-editor=blocks]){min-height:580px}.notebook-editor-host[data-editor=blocks]{min-height:320px}.notebook-note-kind-picker{grid-template-columns:minmax(0,1fr);gap:10px;margin-block:12px}.notebook-note-kind-option{padding:16px;min-height:88px}}.saved-result-page[data-tool=calculator] .tool-utility-links .text-button{min-height:44px}@media(max-width:760px),(pointer:coarse){.studio-app .page-footer>a,.studio-app[data-sidebar] button,.studio-dialog[open] button{min-width:44px;min-height:44px}.studio-app .page-footer>a{display:inline-flex;align-items:center}.studio-app .expression-unit-keys{grid-template-columns:repeat(auto-fit,minmax(44px,1fr))}.studio-app input:not([type=checkbox],[type=radio],[type=hidden],[type=file]),.studio-app select,.studio-app textarea,.studio-dialog[open] input:not([type=checkbox],[type=radio],[type=hidden],[type=file]),.studio-dialog[open] select,.studio-dialog[open] textarea{min-height:44px}.studio-app .preference-row>label[for]{display:flex;flex-direction:column;justify-content:center;min-height:44px}}@media(max-width:760px){:root{--studio-card-padding:16px;--studio-page-gap:16px}.shared-result-actions-compact{flex-basis:100%;margin-inline-start:0;padding:0}.shared-result-actions-compact .button{flex:0 1 auto}.studio-card-header{padding:14px var(--studio-card-padding)}}@media(max-width:760px) and (max-height:360px){.studio-app .mobile-bottom-nav,.studio-app .workspace-topbar,.studio-app [data-project-context]{position:static}.studio-app .main-content{padding-bottom:20px}}