.loading-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:20px;font-size:24px;letter-spacing:-1px}.loading-screen span{font-size:12px;color:var(--muted);letter-spacing:0}
.auth-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-story{padding:12vh 8vw;background:var(--side);border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between}.wordmark{font-size:20px;letter-spacing:4px;font-weight:550}.auth-story h1{font-size:clamp(32px,4vw,62px);font-weight:450;letter-spacing:-2.5px;line-height:1.12;max-width:520px;margin:45px 0 22px}.auth-story p{font-size:14px;line-height:1.9;color:var(--muted);max-width:400px}.auth-story small{color:var(--faint);font-size:11px}.auth-panel{padding:50px;display:grid;place-items:center}.auth-form{width:100%;max-width:350px}.auth-form h2{font-size:26px;letter-spacing:-.9px;font-weight:500;margin-bottom:12px}.auth-form p{font-size:12px;color:var(--muted);line-height:1.8}.auth-form .primary{width:100%;justify-content:center;margin-top:25px;padding:13px}.auth-form input{width:100%;border:1px solid var(--line-strong);background:var(--input);border-radius:8px;padding:13px;color:var(--ink)}.form-error{font-size:12px;color:#c8857f;line-height:1.7;margin-top:15px;white-space:pre-wrap}.auth-foot{margin-top:25px;text-align:center;font-size:10px;color:var(--faint);line-height:1.9}
.project-shortcut{display:flex;align-items:center;gap:10px;width:100%;padding:12px 10px;border-radius:8px;color:var(--muted);text-align:left;font-size:12px}.project-shortcut.active{color:var(--ink);background:var(--selected)}.project-shortcut svg{width:16px}.project-shortcut:hover{background:var(--hover)}.sidebar .side-nav{margin-top:23px}.sidebar .side-action.active{background:var(--hover);color:var(--ink)}.sidebar-scroll{flex:1;min-height:0;overflow:auto}.sidebar-sub{font-size:11px;color:var(--muted);line-height:1.9;padding:10px}.sidebar .appearance{flex-shrink:0}.user-bottom{padding:15px 4px;display:flex;gap:9px;align-items:center}.user-bottom .icon-only{margin-left:auto}.brand-type{font-size:18px;font-weight:500;letter-spacing:-3px;padding-right:4px}.page-actions{display:flex;gap:8px;align-items:center}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.project-tile{padding:24px;border:1px solid var(--line);background:linear-gradient(145deg,var(--raised),var(--surface));border-radius:12px;text-align:left;box-shadow:var(--inset)}.project-tile:hover{border-color:var(--line-strong)}.project-tile h3{font-size:16px;font-weight:500;margin:20px 0 8px}.project-tile p{font-size:11px;color:var(--muted);line-height:1.8;min-height:40px}.project-tile .small{margin-top:17px}.project-tile svg{color:var(--muted)}.mini-eyebrow{font-size:9px;color:var(--faint);letter-spacing:1px;text-transform:uppercase}.empty-panel{border:1px dashed var(--line-strong);border-radius:12px;padding:35px;color:var(--muted);font-size:12px;line-height:1.9;text-align:center}.empty-panel .primary{margin-top:18px}.plain-link{font-size:11px;color:var(--muted);padding:5px;display:inline-flex;gap:7px;align-items:center}.plain-link:hover{color:var(--ink)}.plain-link svg{width:13px}.task-title{min-width:0;overflow-wrap:anywhere}.task .actions{margin-left:auto;display:flex;gap:9px;align-items:center}.task .actions .secondary{padding:7px 10px;white-space:nowrap}.task .small{margin-top:5px}.list-row{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:9px;padding:16px;margin-bottom:9px;background:var(--side)}.list-row .grow{flex:1;min-width:0}.list-row h3{font-size:13px;font-weight:500}.list-row p{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.8}.tokens .prefix{font-family:monospace;font-size:10px}.chat-layout{flex:1;display:flex;min-height:0}.chat-index{width:230px;min-width:190px;border-right:1px solid var(--line);padding:16px 10px;overflow:auto}.chat-index .secondary{width:100%;margin-bottom:15px}.chat-panel{flex:1;min-width:0;display:flex;flex-direction:column}.chat-panel .conversation{width:100%}.chat-panel .composer-zone{padding-top:15px}.chat-panel .composer-wrap textarea{min-height:58px}.chat-panel .empty-chat{padding-top:65px}.chat-panel .message.user{align-items:flex-start}.chat-panel .message.user .msg-head{flex-direction:row}.chat-panel .bubble{border-radius:4px 14px 14px 14px;max-width:95%;overflow-wrap:anywhere}.note-hint{font-size:10px;color:var(--muted);line-height:1.8}.token-output{width:100%;font-family:monospace;font-size:11px!important;word-break:break-all}.modal .doc-text{min-height:260px;max-height:50vh;font-family:monospace;font-size:12px;white-space:pre-wrap}.modal .project-description{min-height:80px}.modal .field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal code{font-size:11px;overflow-wrap:anywhere}.modal pre{max-width:100%;overflow:auto;white-space:pre-wrap;background:var(--input);padding:14px;border:1px solid var(--line);border-radius:8px;line-height:1.8}.modal select{appearance:auto}.scope-label{display:inline-flex;gap:5px;align-items:center;font-size:10px;color:var(--muted)}.scope-label svg{width:12px;height:12px}.file-table td{vertical-align:middle}.file-table .file-name{max-width:100%;overflow-wrap:anywhere}.upload-info{font-size:11px;color:var(--muted);line-height:1.9;margin-top:14px}.search-results .list-row{align-items:flex-start}.search-query{display:flex;gap:10px;margin-bottom:25px}.search-query input{min-width:0;flex:1;padding:12px;border-radius:8px;background:var(--input);border:1px solid var(--line-strong)}.instructions{font-size:12px;line-height:1.95;color:var(--muted)}.instructions li{padding-left:5px;margin-bottom:10px}.process-card{display:flex;flex-direction:column;gap:15px;border:1px solid var(--line);padding:22px;border-radius:12px;background:var(--surface)}.process-card h3{font-size:14px;font-weight:500}.process-card p{font-size:11px;line-height:1.9;color:var(--muted)}.large-status{font-size:11px;border:1px solid var(--line-strong);border-radius:6px;padding:7px 9px;display:inline-flex;width:fit-content;color:var(--muted)}.version-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.version-list a{font-size:10px;border:1px solid var(--line);border-radius:5px;padding:6px 9px;text-decoration:none}.mobile-only{display:none}.topbar .header-right{flex-shrink:0}.topbar .top-title{max-width:50vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app button:disabled{opacity:.5;cursor:wait}.sidebar-shade{display:none}
@media(max-width:1100px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-index{width:190px;min-width:160px}.task .actions{gap:5px}.task .actions .small{display:none}}
@media(max-width:720px){.auth-shell{grid-template-columns:1fr}.auth-story{padding:30px 28px;border-right:0;border-bottom:1px solid var(--line)}.auth-story h1{font-size:34px;letter-spacing:-1.5px;margin:35px 0 16px}.auth-story p,.auth-story small{display:none}.auth-panel{padding:35px 28px}.project-grid{grid-template-columns:1fr}.page-title-row{align-items:flex-start}.page-actions{flex-wrap:wrap;justify-content:flex-end}.chat-layout{display:block;overflow:auto}.chat-index{width:100%;min-width:0;max-height:165px;border-right:0;border-bottom:1px solid var(--line);display:flex;gap:5px;flex-wrap:wrap;padding:10px}.chat-index .secondary{width:auto;margin-bottom:0}.chat-index .chat-row{max-width:100%;margin:0}.chat-index .chat-open{padding:9px}.chat-panel{min-height:calc(100dvh - 240px)}.chat-panel .composer-zone{padding:10px}.chat-panel .conversation{padding:25px 18px}.mobile-only{display:inline-flex}.topbar{gap:5px}.topbar .header-right{gap:4px}.topbar .badge{display:none}.content-page{padding:28px 17px}.task{align-items:flex-start;gap:8px}.task .actions{flex-direction:column;align-items:flex-end}.task .actions .secondary{font-size:9px}.modal{padding:22px}.project-tile{padding:20px}.file-table th:nth-child(2),.file-table td:nth-child(2){display:none}.file-table th:nth-child(3),.file-table td:nth-child(3){display:table-cell}.file-table td{font-size:10px}.sidebar.mobile-open~.sidebar-shade{display:block;position:fixed;inset:0 0 0 294px;z-index:24;background:#0006}}
