.auth-page{background:var(--background);place-items:center;min-height:100dvh;padding:2rem;display:grid}.auth-card{flex-direction:column;gap:1.2rem;width:100%;max-width:370px;display:flex}.auth-card .brand-mark{width:42px;height:42px}.auth-card h1{letter-spacing:-.04em;font-size:1.7rem;font-weight:600;line-height:1.2}.auth-card p,.auth-card .auth-message{color:var(--muted-foreground);font-size:.9rem;line-height:1.6}.auth-card form{flex-direction:column;gap:.75rem;display:flex}.auth-card label{font-size:.85rem;font-weight:500}.auth-card input{border:1px solid var(--border);background:var(--background);border-radius:9px;outline:none;padding:.8rem 1rem}.auth-card input:focus{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 15%,transparent)}.auth-card .primary-action{background:var(--primary);color:#fff;cursor:pointer;border-radius:9px;padding:.8rem 1rem;font-weight:500}.auth-card button:disabled{opacity:.55;cursor:wait}.auth-card .auth-error{color:var(--destructive)}.auth-card small{color:var(--muted-foreground);font-size:.8rem}.auth-options{flex-wrap:wrap;justify-content:space-between;gap:1rem;display:flex}.auth-link-option{text-align:center;flex-basis:100%}.auth-card .text-button{color:var(--primary);cursor:pointer;font-size:.85rem}.project-picker{order:1}.project-picker select{border:1px solid var(--border);background:0 0;border-radius:7px;max-width:190px;padding:.35rem .5rem;font-size:.82rem}.app-header .brand{order:0}.app-header nav{order:2}.app-header>a,.app-header>form{order:4}@media (max-width:700px){.project-picker{max-width:130px}.app-header{flex-wrap:wrap}}.setup-card{max-width:600px}.setup-actions{justify-content:space-between;align-items:center;gap:24px;margin:24px 0;display:flex}.setup-actions .primary-action{width:auto;margin:0}.setup-actions a,.pair-code .text-button{align-items:center;gap:8px;display:inline-flex}.pair-code{background:var(--muted,#f4f2f7);text-align:center;border-radius:12px;margin:20px 0;padding:24px}.pair-code code{letter-spacing:.12em;font-size:1.6rem}.pair-code p{margin:8px 0 12px}.connection{border-top:1px solid #e7e5eb;justify-content:space-between;align-items:start;gap:20px;padding:20px 0;display:flex}.connection p{margin:5px 0}.connection small,.muted{color:#6c6776}.work-status{color:var(--muted-foreground);padding:12px 0;font-size:14px}.work-status p{margin:3px 0}.work-status strong{color:var(--foreground);font-weight:500}.work-status small{font-size:12px}.work-status a{color:var(--primary)}.delivery-page{max-width:760px}.delivery-page h1{letter-spacing:-.035em;margin:10px 0 26px;font-size:2rem}.delivery-page h2{margin:0 0 8px;font-size:1rem;font-weight:600}.delivery-page section{margin:24px 0}.delivery-page a,.delivery-link,.claim-preview a{color:var(--primary)}.delivery-kind{color:var(--muted-foreground);align-items:center;gap:16px;font-size:12px;display:flex}.delivery-parent,.claim-preview{color:var(--muted-foreground);margin:16px 0;font-size:13px}.delivery-link{text-align:left;padding:10px 0;font-size:14px;display:block}.delivery-review{border-top:1px solid var(--border);margin-top:20px;padding-top:16px;font-size:14px}.delivery-review p{white-space:pre-wrap;margin:6px 0}.delivery-feedback{gap:10px;margin-top:32px;display:grid}.delivery-feedback label{font-size:14px}.delivery-feedback textarea{field-sizing:content;resize:vertical;border:1px solid var(--border);outline-color:var(--primary);border-radius:10px;width:100%;min-height:90px;max-height:50dvh;padding:12px}.delivery-feedback>div{justify-content:space-between;align-items:center;display:flex}.delivery-feedback .primary-action{background:var(--primary);color:#fff;border-radius:7px;padding:7px 12px;font-size:13px}.delivery-feedback button:disabled{opacity:.5}.delivery-feedback [role=alert],.work-status [role=alert]{color:var(--destructive)}.auth-card select,.instruction-source select{border:1px solid var(--border);background:var(--background);border-radius:8px;padding:.65rem .8rem}.auth-card .primary-action{justify-content:center;align-items:center;gap:8px;display:flex}.agent-setup-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:var(--muted);border-radius:10px;padding:16px;font-size:.85rem;line-height:1.65}.auth-card .connection-scope{font-size:.8rem}.settings-page{max-width:950px;margin:0 auto;padding:32px 24px 64px}.settings-nav{justify-content:space-between;margin-bottom:32px;display:flex}.settings-page a,.settings-page .text-button{color:var(--primary);font-size:.85rem}.settings-page h1{letter-spacing:-.04em;margin-bottom:12px;font-size:1.7rem;font-weight:600}.settings-page p{color:var(--muted-foreground);margin:10px 0;font-size:.9rem;line-height:1.6}.settings-page form{margin-top:24px}.instruction-source{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;font-size:.85rem;display:flex}.settings-page textarea{resize:vertical;border:1px solid var(--border);background:var(--background);width:100%;min-height:55dvh;color:var(--foreground);outline-color:var(--primary);border-radius:10px;padding:20px;font:.88rem/1.65 ui-monospace,SFMono-Regular,monospace;display:block}.settings-page textarea:read-only{background:var(--muted)}.instruction-actions{background:var(--background);justify-content:flex-end;padding:14px 0;display:flex;position:sticky;bottom:0}.instruction-actions button{background:var(--primary);color:#fff;cursor:pointer;border-radius:7px;padding:8px 14px;font-size:.85rem}.settings-page button:disabled{opacity:.45;cursor:default}.settings-page .auth-error{color:var(--destructive)}.settings-page footer{justify-content:space-between;gap:20px;margin-top:20px;display:flex}
