:root{--ui-gap:16px;--ui-radius:16px;--ui-duration:150ms;--ui-ease:cubic-bezier(0.2,0.7,0.3,1)}a,button,input,select,textarea{transition:background-color var(--ui-duration),border-color var(--ui-duration),box-shadow var(--ui-duration),transform var(--ui-duration)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--night-rose,#ad4b7c);outline-offset:3px}@media (hover:hover){.primary:hover,.secondary:hover,button:not(:disabled):hover{transform:translateY(-1px)}}.collection-card,.upgrade-card{border:1px solid var(--night-line,#e9dfe7);border-radius:var(--ui-radius);margin-block:20px;background:var(--night-panel,#fffdfd)}.file-scope-nav{display:flex;flex-direction:column;gap:8px}.file-scope-nav a{padding:12px 16px;text-decoration:none}.mobile-file-scopes,.mobile-filter-toggle{display:none}.files-page .workspace{padding-top:30px}.files-page .title-row{margin-bottom:22px}.files-page .file-control-bar{margin-bottom:26px}.files-page .folder-toolbar{padding-top:12px;padding-bottom:12px}.files-page .file-section{margin-top:24px}.file-scope-nav button{min-height:44px;text-align:left}.file-scope-nav .nav-active{font-weight:650}.password-toggle{align-self:flex-end;font-size:13px}.profile-save-state{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.dirty-marker{font-size:13px;color:var(--night-rose-text,#934064)}.check-row{display:flex!important;flex-direction:row!important;align-items:center;gap:10px}.check-row input{width:auto!important}.template-editor{margin:0;padding:16px;border:1px solid var(--night-line,#e8e0e7);border-radius:12px}.template-editor label{display:grid;gap:6px;margin-block:8px}.usage-trend>div{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:10px;padding:8px 0;font-size:12px}.usage-trend meter{width:100%}.two-factor-secret code{display:block;font-size:16px;word-break:break-all;padding:16px;background:var(--night-bg,#f8f3f6);border:1px solid var(--night-line,#e8e0e7);border-radius:10px}.recovery-codes pre{white-space:pre-wrap;user-select:all}.recovery-codes{margin-top:20px;padding:18px;border:1px solid #ba874e;border-radius:12px}.admin-workspace{min-width:0}.admin-workspace table{display:block;overflow:auto;max-width:100%;border-collapse:collapse}.admin-workspace td,.admin-workspace th{padding:12px 16px;white-space:nowrap}.admin-tabs{flex-wrap:wrap;gap:8px}.collection-list,.health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.health-grid article{border:1px solid var(--night-line,#e8e0e7);border-radius:14px;padding:20px}.health-grid strong{display:block;font-size:22px;margin:8px 0}.health-grid small{color:var(--night-muted,#776e7c)}.collection-card h2{margin-top:0}.collection-card>header{display:flex;align-items:start;justify-content:space-between;gap:16px}.collection-card .muted{font-size:13px}.form-actions{display:flex;gap:10px;flex-wrap:wrap}.share-link-output{width:100%;font-size:12px;overflow-wrap:anywhere}.share-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--night-line,#e8e0e7)}@media (max-width:850px){.mobile-file-scopes{display:block;position:relative;margin-bottom:22px}.mobile-file-scopes .file-scope-nav{flex-direction:row;gap:6px;overflow-x:auto;padding-bottom:8px}.mobile-file-scopes .file-scope-nav>*{flex:none;padding:9px 12px;white-space:nowrap;border-radius:10px}.mobile-filter-toggle{display:inline-flex;min-height:44px;align-items:center;margin-top:8px}.files-page .folder-toolbar.mobile-collapsed{display:none}.files-page .workspace{padding-top:18px}.files-page .title-row h1{font-size:25px}.files-page .title-row{margin-bottom:16px}.files-page .file-control-bar{margin-bottom:20px}.files-page .file-section{margin-top:20px}.file-search-toolbar{gap:10px}.file-search-toolbar>label{font-size:13px}.title-row button{white-space:nowrap}}@media (max-width:650px){.files-page .file-list .file-row{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;padding:14px}.files-page .file-select{position:static;grid-column:1;grid-row:1;margin-top:10px;transform:none}.files-page .file-name{grid-column:2;grid-row:1;min-width:0;width:100%;gap:10px;padding-left:0}.files-page .file-name>div{min-width:0;width:100%}.files-page .document-icon{flex:0 0 32px;width:32px;height:40px}.files-page .file-name a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.files-page .file-meta{grid-column:2;grid-row:2;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px 12px;align-items:center;text-align:left;font-size:12px}.files-page .file-meta .file-uploader{flex:1 1 auto}.files-page .file-description:empty,.files-page .file-tags:empty{display:none}.files-page .file-name small{display:inline;margin-right:8px}.files-page .file-control-bar{padding:12px;margin-bottom:12px}.files-page .file-section{margin-top:12px}.files-page .file-section>.section-heading{margin-bottom:10px}.files-page .mobile-file-scopes{margin-bottom:14px}.files-page .file-meta b{font-weight:500}.files-page .file-meta time{white-space:nowrap}.files-page .file-actions{grid-column:1/-1;grid-row:3;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:10px}.files-page .file-actions>a,.files-page .file-actions>button{min-height:44px}.file-uploader a{max-width:160px}.profile-settings{padding-inline:16px}.profile-editor .profile-avatar{width:100px;height:100px}.upgrade-card{padding:18px}.usage-trend>div{grid-template-columns:80px 1fr}.usage-trend span{grid-column:2}.health-grid{grid-template-columns:1fr}.account-nav{gap:12px}.account-nav a{min-height:32px;display:inline-flex;align-items:center}}@media (prefers-reduced-motion:reduce){*,:after,:before{transition:none!important;animation:none!important;scroll-behavior:auto!important}}@media (max-width:850px){.desktop-recycle-shortcut{display:none}}.health-grid .upgrade-card>strong{display:block;font-size:1.65rem;margin:.6rem 0}.health-grid meter{width:100%}.table-scroll{overflow-x:auto}.table-scroll td code{display:block;max-width:34ch;overflow-wrap:anywhere;font-size:.75rem}.upgrade-card{min-width:0}.collection-card,.upgrade-card{padding:24px;margin-block:16px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 4px 20px #44303f05}.collection-card{text-align:left;cursor:pointer;margin-block:0;min-height:134px}.collection-card[aria-pressed=true]{border-color:var(--rose);box-shadow:0 0 0 2px var(--pink)}.collection-card strong{font-size:18px;overflow-wrap:anywhere}.collection-card p,.collection-card small{color:var(--muted-text)}.collection-list{margin-block:24px}.upgrade-card>summary{cursor:pointer;list-style-position:inside;font-weight:650}.upgrade-card[open]>summary{margin-bottom:20px}.upgrade-card h2{font-size:19px;margin-top:0}.upgrade-card .profile-form{max-width:720px}.two-factor-secret code{background:var(--panel);color:var(--body-text)}.share-entry small{display:block;color:var(--muted-text);margin-top:4px}.template-editor{min-width:0}.ai-preferences{gap:14px}.ai-preferences fieldset input,.ai-preferences fieldset textarea{width:100%}.file-scope-nav a{color:var(--body-text)}.file-scope-nav a:hover{background:var(--pink);border-radius:10px}@media (prefers-reduced-motion:no-preference){.collection-card:hover{transform:translateY(-2px);box-shadow:0 7px 22px #44303f12}.upgrade-card{animation:upgrade-enter .2s ease-out}@keyframes upgrade-enter{0%{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}}.account-menu-panel .nav-mobile-only{display:none}@media (max-width:650px){.account-nav .nav-home{flex-basis:auto;margin-right:auto}.account-nav>.nav-contact{display:none}.account-menu-panel .nav-mobile-only{display:flex}.account-nav{flex-wrap:nowrap}.account-nav>a{white-space:nowrap;font-size:13px}.account-nav .dm-count{margin-left:4px}.collection-card,.upgrade-card{padding:18px}}.not-found-page{margin:12vh auto;max-width:min(560px,calc(100% - 32px));text-align:center;padding:40px 24px}.markdown-body{line-height:1.85;overflow-wrap:anywhere}.markdown-body p{white-space:normal;margin:0 0 1em}.markdown-body h1,.markdown-body h2,.markdown-body h3{margin:1.3em 0 .65em;line-height:1.4}.markdown-body h1{font-size:1.5em}.markdown-body h2{font-size:1.3em}.markdown-body h3{font-size:1.1em}.markdown-body ol,.markdown-body ul{padding-left:1.6em;margin-block:1em}.markdown-body li{margin-block:.35em}.markdown-body blockquote{border-left:3px solid #b87a9c;margin:1em 0;padding:.35em 1em;color:var(--night-muted,#726877)}.markdown-table{max-width:100%;overflow:auto;margin:16px 0;border:1px solid var(--night-line,#ddd);border-radius:12px}.markdown-table table{width:100%;border-collapse:collapse}.markdown-table td,.markdown-table th{padding:10px 14px;border-bottom:1px solid var(--night-line,#ddd);text-align:left;min-width:100px}.markdown-table th{background:var(--night-bg,#f8f3f6)}.inline-code{font-family:Consolas,monospace;background:var(--night-code-inline,#f0e4ed);color:var(--night-text,#703957);padding:2px 5px;border-radius:5px}.reply-code{margin-block:20px}.reply-code pre{max-height:65vh;line-height:1.7}.reply-code code{white-space:pre}.reply-code header{position:sticky;top:0}.history-caption{font-size:11px;color:var(--night-muted,#7b7080);padding-inline:6px}.saved-row{position:relative}.saved-row .history-rename{font-size:11px;min-width:30px}.message-actions{display:flex;gap:10px;opacity:.72;margin-block:8px}.message-actions button{font-size:12px;padding:5px 9px}.message-actions:hover{opacity:1}.ai-stream-status{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--night-muted,#786577);padding:6px 0}.ai-stream-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#b75d87}.ai-template-strip{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;justify-content:center}.ai-template-strip button{border-radius:20px;padding:7px 12px;font-size:12px}.ai-preferences-dialog{max-width:700px}.ai-budget-notice{font-size:12px;margin:8px auto;max-width:760px;padding:10px 14px;border:1px solid #c99559;border-radius:12px}.ai-budget-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ai-budget-summary>div{border:1px solid var(--night-line,#ddd);padding:14px;border-radius:12px}.ai-budget-summary b{display:block;font-size:20px}.ai-request-state{font-size:12px;color:var(--night-muted,#807384)}[data-theme=dark] .inline-code{background:#3d303d;color:#edb9d5}[data-theme=dark] .collection-card,[data-theme=dark] .upgrade-card{background:#29232f}[data-theme=dark] .markdown-table th{background:#302936}@media (max-width:650px){.ai-budget-summary{grid-template-columns:1fr}.ai-bar{gap:10px;flex-wrap:wrap}.ai-bar small{display:inline!important;font-size:11px}.ai-transcript article{padding-inline:0}.markdown-body{font-size:15px}.markdown-table td,.markdown-table th{padding:8px 10px}.message-actions button{min-height:36px}}.ai-room .file-modal-backdrop:not(:has(.ai-drawer)){justify-content:center;padding:18px}.ai-room .ai-preferences-dialog{width:min(700px,100%);height:auto;max-height:88dvh;border-radius:20px}.ai-preferences.profile-form{padding:0;border:0;background:none;box-shadow:none}.ai-preferences h3{margin-top:16px}.ai-room .file-modal-backdrop:not(:has(.ai-drawer))>.file-modal{border-radius:20px;height:auto;max-height:88dvh}