/* Focused Cost Tracker shell. Existing workflow and financial controls retain their IDs. */
:root{--ct-ink:#141923;--ct-muted:#606875;--ct-line:#dfe2e7;--ct-green:#087b59;--ct-green-soft:#e7f6ee;--ct-surface:#fff;--ct-soft:#f5f6f8;--primary:#141923;--primary-hover:#242c38;--accent:#087b59}
[hidden]{display:none!important}body{margin:0;background:var(--ct-soft);color:var(--ct-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{font-weight:600}button:not(.icon-button){min-height:44px}button.primary{background:var(--ct-ink);border-color:var(--ct-ink);color:white;border-radius:10px;padding:12px 21px;box-shadow:none}button.primary:hover:not(:disabled){background:#28313e;border-color:#28313e}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #087b59;outline-offset:3px}.secondary{color:var(--ct-muted)}
#app:not([hidden]){display:grid;grid-template-columns:224px minmax(0,1fr);grid-template-rows:84px minmax(calc(100dvh - 84px),auto);min-height:100dvh}.ct-sidebar{grid-column:1;grid-row:1/-1;background:#0c0e0e;color:#f5f7f6;padding:24px 16px;display:flex;flex-direction:column;gap:28px;position:sticky;top:0;height:100dvh;box-sizing:border-box}.ct-wordmark{color:white;display:flex;align-items:center;gap:11px;font-size:20px;font-weight:700;text-decoration:none;padding:0 8px 27px;border-bottom:1px solid #2a2d2c;letter-spacing:-.5px}.ct-wordmark .app-mark{background:none;color:#7cbfa3;width:30px;height:32px;box-shadow:none}.ct-wordmark .app-mark svg{width:27px;height:27px}.workspace-nav{display:grid;gap:7px;padding:0;border:0;background:none}.workspace-nav button{display:flex;align-items:center;gap:13px;padding:13px 15px;border:0;background:transparent;color:#bec5c2;border-radius:9px;text-align:left;font-size:14px;min-height:49px;white-space:nowrap}.workspace-nav button svg{width:20px;height:20px;flex:0 0 20px}.workspace-nav button[aria-pressed=true]{background:#34866a;color:white;box-shadow:none}.workspace-nav button:hover{color:white;background:#1c2421}.workspace-nav button[aria-pressed=true]:hover{background:#34866a}.workspace-nav .nav-count{margin-left:auto;background:#ffffff16;color:white;font-size:11px;min-width:20px;text-align:center}.ct-sidebar-foot{margin-top:auto;padding:16px 8px 0;color:#c2cbc7;font-size:12px;text-decoration:none}.ct-sidebar-foot span{float:right}.app-header{grid-column:2;grid-row:1;padding:18px 36px;min-height:84px;box-sizing:border-box;background:var(--ct-soft);border:0;box-shadow:none;gap:16px}.app-header>#ct-section-label{font-size:16px}.header-actions{gap:10px;flex:1}.header-actions .workflow-health{order:-1;margin:0 auto 0 0;font-size:12px}.account-button{gap:9px;font-size:13px;background:none;border:0}.account-button .avatar{background:#e7ece9;color:#466756;width:30px;height:30px}.header-actions #logout{font-size:12px;padding:8px 10px;min-height:40px}.ct-canvas{grid-column:2;grid-row:2;min-width:0;border-radius:32px 32px 0 0;background:white;display:flex;flex-direction:column}.ct-page-heading{padding:35px 40px 0;max-width:1240px;width:100%;box-sizing:border-box;margin:0 auto}.ct-page-heading h1{font-size:28px;line-height:1.2;letter-spacing:-1px;margin:0;font-weight:750}.ct-page-heading p{margin:9px 0 0;font-size:14px;color:var(--ct-muted)}.workspace-main{padding:32px 40px 30px;max-width:1240px;width:100%;box-sizing:border-box;margin:0 auto}.ct-workspace-foot{margin:auto 0 0;padding:10px 40px 20px;text-align:right;font-size:11px;color:var(--ct-muted)}.page-heading{align-items:center;gap:20px;margin:0 0 25px}.page-heading h2{font-size:23px;font-weight:700;letter-spacing:-.7px;line-height:1.25;margin:0}.page-heading p{font-size:12px;color:var(--ct-muted);margin-top:7px}.page-heading>button{font-size:12px;padding:9px 13px;background:white;border:1px solid var(--ct-line);border-radius:9px}.ct-panel{padding:30px 32px;border:1px solid var(--ct-line);border-radius:17px;background:white}.ct-panel+.ct-panel{margin-top:24px}.ct-panel-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid var(--ct-line);padding-top:24px;margin-top:28px}.ct-panel-actions>.secondary{font-size:12px}.ct-panel-actions>div{display:flex;gap:12px;flex-wrap:wrap}.ct-panel-actions svg{width:17px;height:17px}.ct-saved-invoices{display:flex;align-items:center;justify-content:space-between;gap:24px}.ct-saved-invoices h2{font-size:21px;margin:0}.ct-saved-invoices p{font-size:12px;margin:8px 0 0}.ct-saved-invoices button{flex:0 0 auto;font-size:13px}.ct-saved-invoices button svg{width:16px;height:16px}
input:not([type=checkbox]):not([type=radio]),select,textarea{border:1px solid var(--ct-line);border-radius:9px;background-color:white;color:var(--ct-ink);min-height:46px;padding:11px 13px;box-shadow:none}select{appearance:none!important;padding-right:44px!important;background-image:linear-gradient(45deg,transparent 50%,#606875 50%),linear-gradient(135deg,#606875 50%,transparent 50%);background-position:calc(100% - 21px) 50%,calc(100% - 16px) 50%;background-size:5px 5px;background-repeat:no-repeat}input[type=checkbox],input[type=radio]{accent-color:var(--ct-green);width:18px;height:18px;flex:0 0 18px;cursor:pointer}label{gap:7px;font-size:13px;font-weight:600}.invoice-quick-month{max-width:260px;margin:0 0 18px;display:grid;gap:8px}.invoice-quick-month input{font-size:14px;min-height:50px}.ct-scope{font-size:12px;color:var(--ct-muted);margin:0 0 24px}.ct-invoice-totals{display:flex;gap:40px;flex-wrap:wrap;margin:20px 0 28px}.ct-invoice-totals span{display:block;font-size:12px;color:var(--ct-muted)}.ct-invoice-totals strong{display:block;font-size:27px;letter-spacing:-.7px;margin-top:6px;font-variant-numeric:tabular-nums}.ct-invoice-warning{padding:15px 18px;background:#fff9ec;color:#805d23;border-radius:9px;margin:0 0 24px;font-size:13px}.ct-invoice-preview-list{display:grid;gap:0}.ct-invoice-preview-row{display:flex;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--ct-line);font-size:13px}.ct-invoice-preview-row:last-child{border:0}.ct-invoice-preview-row>div{min-width:0;overflow-wrap:anywhere}.ct-invoice-preview-row strong{display:block}.ct-invoice-preview-row small{color:var(--ct-muted);display:block;margin-top:4px}.ct-invoice-preview-row>strong{flex:0 0 auto;font-variant-numeric:tabular-nums}#invoice-quick-result{font-size:13px;color:var(--ct-green);margin:18px 0 0;overflow-wrap:anywhere}#invoice-quick-result:empty{display:none}.invoice-quick-tools{margin:0 0 0 auto;position:relative;flex:0 0 auto}.invoice-quick-tools>summary{padding:11px 15px;min-height:44px;display:flex;align-items:center;gap:20px;font-size:12px;border:1px solid var(--ct-line);border-radius:9px;background:white}.invoice-quick-tools>div{position:absolute;right:0;left:auto;top:calc(100% + 8px);z-index:10;min-width:260px;max-width:calc(100vw - 60px);padding:8px;box-shadow:0 8px 26px #14192314;background:white;border:1px solid var(--ct-line);border-radius:11px}.invoice-quick-tools>div button{width:100%;font-size:12px;min-height:44px;border:0;border-radius:6px;background:white;padding:10px 12px;text-align:left;white-space:normal}.invoice-quick-tools>div button:hover{background:var(--ct-soft)}
.ct-canvas details>summary,.ct-writer-review details>summary{list-style:none;cursor:pointer;font-weight:600}.ct-canvas details>summary::-webkit-details-marker,.ct-writer-review details>summary::-webkit-details-marker{display:none}.ct-canvas details>summary::after,.ct-writer-review details>summary::after{content:"";display:inline-block;flex:0 0 6px;width:6px;height:6px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg);margin-left:auto;margin-right:3px;transition:transform .15s}.ct-canvas details[open]>summary::after,.ct-writer-review details[open]>summary::after{transform:rotate(225deg)}#ct-invoice-preview details{border-top:1px solid var(--ct-line);margin-top:0}#ct-invoice-preview details>summary{display:flex;align-items:center;gap:16px;padding:17px 7px;font-size:13px}#ct-invoice-preview details>p{font-size:12px;padding:0 7px;color:var(--ct-muted)}.ct-canvas ul,.ct-canvas ol{padding-left:23px}.ct-canvas li+li{margin-top:7px}.filter-card{border:1px solid var(--ct-line);box-shadow:none;border-radius:12px;padding:18px 20px;background:white}.filters{gap:16px}.filters>label{min-width:110px}.filters>.search{flex:2;min-width:180px}.filters :is(input,select){font-size:13px;padding-block:10px;min-height:44px}.filters .search-control>[data-icon]{top:12px}.ux-more>summary{min-height:44px;border:1px solid var(--ct-line);border-radius:9px;display:flex;align-items:center;gap:15px;font-size:12px;padding:10px 14px}.ux-more-fields{gap:16px}.ux-work-views{gap:8px;margin-bottom:24px;flex-wrap:wrap;overflow:visible}.ux-work-views button{border:1px solid var(--ct-line);padding:11px 15px;border-radius:9px;display:flex;gap:10px;align-items:center;font-size:12px;background:white}.ux-work-views button[aria-pressed=true]{border-color:var(--ct-green);background:var(--ct-green-soft);color:var(--ct-green)}.ux-work-views .nav-count{background:var(--ct-soft);color:inherit;padding:2px 6px;border-radius:5px;font-size:10px}.table-tools{margin:15px 0;gap:12px;flex-wrap:wrap}.table-tools button{font-size:12px}.ledger{border:1px solid var(--ct-line);border-radius:12px;box-shadow:none;overflow:hidden}.table-scroll{max-height:none;overflow:auto}.ledger-table th{background:#fafbfb;color:var(--ct-muted);font-size:12px;padding:12px 16px}.ledger-table th button{font-size:12px;min-height:32px!important}.ledger-table td{padding:17px 16px;border-color:var(--ct-line);font-size:13px;vertical-align:middle}.ledger-table tr[data-selected=true]{background:var(--ct-green-soft)}.ledger-table .page-link{font-weight:650;color:var(--ct-ink)}.ledger-table .url-domain{font-size:11px;margin-top:5px}.ledger-table .brand-name{font-weight:600}.ledger-table .country-label,.ledger-table .website-label{font-size:11px}.row-action-list{gap:7px;flex-wrap:wrap}.writer-open,.writer-copy-source{font-size:12px;min-height:40px!important;padding:9px 12px;border-radius:8px}.writer-open{background:#141923;color:white;border:1px solid #141923}.writer-copy-source{background:white;border:1px solid var(--ct-line);color:var(--ct-green)}.writer-copy-source svg{width:15px;height:15px}.order-reference{margin-top:7px}.order-reference summary{display:flex;align-items:center;gap:9px;font-size:10px;width:fit-content}.order-reference summary::after{width:4px!important;height:4px!important;margin-left:2px!important}.order-reference p{font-size:11px;line-height:1.6;padding:8px 0 0!important;border:0!important;box-shadow:none!important;background:none!important}.table-footer{gap:16px;flex-wrap:wrap;padding:14px 16px;font-size:12px}.table-footer>div{gap:10px;flex-wrap:wrap}.table-footer select{min-height:40px}.ledger .actions{padding:13px 16px}.summary{gap:14px;margin-bottom:24px}.summary>div{border:1px solid var(--ct-line);box-shadow:none;border-radius:11px;background:white;padding:18px}.summary strong{font-size:25px}.summary .summary-amount{background:white}.summary small{font-size:11px}.ux-activity-tabs{display:flex;gap:8px;flex-wrap:wrap}.ux-activity-tabs button[aria-pressed=true]{background:var(--ct-green-soft);color:var(--ct-green);border-color:var(--ct-green)}
body[data-ct-section=ledger] .ux-work-views,body[data-ct-section=activity] .ux-work-views{display:none}body[data-ct-section=activity] :is(.summary,.ledger-note,.ledger .actions){display:none!important}body[data-ct-section=activity] .ledger-table{min-width:0;table-layout:fixed}body[data-ct-section=activity] .ledger-table :is(th,td):is(:nth-child(1),:nth-child(5),:nth-child(6),:nth-child(7),:nth-child(8)){display:none}body[data-ct-section=activity] .ledger-table :is(th,td):nth-child(2){width:42%}body[data-ct-section=activity] .ledger-table :is(th,td):nth-child(3){width:20%}body[data-ct-section=activity] .ledger-table :is(th,td):nth-child(4){width:18%}body[data-ct-section=activity] .ledger-table .row-actions{width:20%}.ct-canvas .work-review-badge,.ct-canvas .billing-badge{border-radius:6px;font-size:11px}.work-review-badge[data-state=approved]{background:var(--ct-green-soft);color:var(--ct-green)}
.ct-journey{padding:24px 32px 26px}.ct-journey ol{max-width:650px;margin:0 auto;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.ct-journey li{position:relative;text-align:center;min-width:0;font-size:12px;color:var(--ct-muted)}.ct-journey li:not(:last-child)::after{content:"";position:absolute;top:21px;left:calc(50% + 34px);right:calc(-50% + 34px);height:2px;background:var(--ct-line)}.ct-journey button,.ct-journey-label{display:flex;flex-direction:column;align-items:center;gap:10px;border:0;background:transparent;font-size:12px;font-weight:500;color:inherit;padding:0;width:100%}.ct-journey button>span,.ct-journey-label>span{display:grid;place-items:center;background:#e9ebee;color:var(--ct-muted);border-radius:50%;width:44px;height:44px;font-size:15px}.ct-journey [aria-current=step]{color:var(--ct-ink)}.ct-journey [aria-current=step] :is(button,.ct-journey-label)>span{background:var(--ct-green);color:white}.ct-journey li[data-complete=true] button>span{background:var(--ct-green-soft);color:var(--ct-green)}
#writer-dialog,#invoice-dialog{position:fixed;inset:84px 0 0 224px;margin:0;width:calc(100vw - 224px);height:calc(100dvh - 84px);max-width:none;max-height:none;border:0;border-radius:32px 32px 0 0;background:white;box-shadow:none}#writer-dialog::backdrop,#invoice-dialog::backdrop{background:#0d17220f}#writer-dialog>.modal-header,#invoice-dialog .modal-header{padding:26px 36px 18px;gap:20px;border-bottom:0;flex:0 0 auto}#writer-dialog .modal-header h2,#invoice-dialog .modal-header h2{font-size:24px;line-height:1.25;letter-spacing:-.6px}#writer-dialog .modal-header a{font-size:12px;overflow-wrap:anywhere;color:var(--ct-muted)}#writer-dialog .modal-header p{font-size:12px;margin:7px 0 3px}#writer-dialog .modal-header .icon-button{width:40px;height:40px;flex:0 0 40px;border:1px solid var(--ct-line);border-radius:9px}.writer-context-bar{padding:0 36px 12px;gap:12px;border:0;background:white;flex-wrap:wrap}.writer-context-bar button{font-size:12px}.writer-context-bar .writer-status{font-size:12px}.ct-writer-copy{display:flex;justify-content:flex-end;gap:10px;padding:0 36px 12px;flex-wrap:wrap}.ct-writer-copy button{font-size:12px;min-height:40px}.writer-message{margin:0 36px 16px;padding:12px 14px;font-size:13px;line-height:1.5;flex:0 0 auto;border:1px solid var(--ct-line);border-radius:9px;background:#f8fafc;color:var(--ct-muted);white-space:pre-wrap;overflow-wrap:anywhere}.writer-message:empty{display:none}.writer-body{min-height:0;flex:1;padding:0 36px 24px;gap:22px;overflow:hidden}.writer-document{border:1px solid var(--ct-line);border-radius:13px;overflow:auto;min-width:0;background:white}.writer-paper{padding:24px;overflow:visible}.writer-sidebar{width:340px;border:1px solid var(--ct-line);border-radius:13px;overflow:auto;flex:0 0 340px}.writer-tabs{min-height:44px;background:white}.writer-tabs button{font-size:12px;padding:12px 16px;color:var(--ct-muted)}.writer-tabs [aria-selected=true]{color:var(--ct-green);border-color:var(--ct-green)}.writer-draft-heading h3{font-size:17px;margin:0}.writer-tools button[aria-pressed=true]{color:var(--ct-green);background:var(--ct-green-soft);border-color:var(--ct-green)}.rich-editor-shell{border-radius:10px}.writer-mode-tools{background:#fafbfb}.writer-article{line-height:1.75;font-size:15px;overflow-wrap:anywhere}.writer-article :is(ul,ol){padding-left:26px}.writer-article li+li{margin-top:6px}.writer-article table{max-width:100%}.writer-footer{padding:16px 36px;border-top:1px solid var(--ct-line);background:white;gap:16px;flex:0 0 auto;justify-content:space-between}.writer-footer>div:last-child{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.writer-footer #writer-saved{font-size:12px;text-align:left;margin:0}.writer-footer #writer-device-saved{font-size:10px;margin-top:3px}.writer-footer button{font-size:13px}.ct-writer-review{padding:18px 36px 32px;max-width:880px;width:100%;margin:0 auto;box-sizing:border-box;overflow:auto;flex:1}.ct-writer-review h2{font-size:25px;letter-spacing:-.6px;margin:0 0 10px}.ct-writer-review details{border:1px solid var(--ct-line);border-radius:11px;margin-top:25px}.ct-writer-review summary{display:flex;align-items:center;padding:17px 20px;gap:20px}.ct-writer-review article{padding:0 24px 20px}.ct-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:12px;margin:24px 0 6px;min-height:32px;padding:4px 0;cursor:pointer;line-height:1.6}.ct-confirm>input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0}.ct-confirm>span{min-width:0}.ct-confirm-note{margin:0 0 0 30px;color:var(--ct-muted);font-size:12px;line-height:1.6}.ct-writer-review>.secondary{font-size:13px}#writer-dialog:not([data-writer-stage=review]) #writer-submit{display:none}#writer-dialog[data-writer-stage=review] :is(.writer-body,.writer-context-bar,.ct-writer-copy,#writer-review-next,#writer-save){display:none}#writer-dialog[data-writer-stage=review] #writer-review-panel{display:block!important}#writer-dialog .writer-billing-note{font-size:12px}
#invoice-dialog .modal-form{height:100%;max-height:none;display:flex;flex-direction:column}#invoice-dialog .modal-body{padding:0 36px 28px;overflow:auto;flex:1}#invoice-dialog .modal-footer{padding:18px 36px;flex:0 0 auto;background:white;border-top:1px solid var(--ct-line)}.invoice-tabs{gap:8px;border-bottom:0;margin-bottom:24px;flex-wrap:wrap}.invoice-tabs button{border:1px solid var(--ct-line);border-radius:8px;padding:10px 14px;background:white;font-size:12px}.invoice-tabs button[aria-current=true]{background:var(--ct-green-soft);color:var(--ct-green);border-color:var(--ct-green)}.invoice-period{gap:18px;align-items:end;flex-wrap:wrap}.invoice-period>label{gap:8px}.invoice-period button{min-height:46px}.invoice-table th,.invoice-table td{padding:15px 14px;font-size:12px}.invoice-table th{color:var(--ct-muted);background:#fafbfb}.invoice-table small{font-size:11px;line-height:1.6;margin-top:4px}.invoice-summary{gap:18px;margin:22px 0}.invoice-summary section{border:1px solid var(--ct-line);border-radius:11px;padding:20px;background:white}.invoice-summary section h3{font-size:15px;margin-top:0}.invoice-summary p{font-size:13px}.invoice-warning{border-radius:9px;padding:16px 18px;font-size:13px}.invoice-dialog ul{padding-left:23px}.invoice-dialog li+li{margin-top:7px}#ct-copy-dialog{max-width:780px;width:calc(100vw - 40px)}#ct-copy-dialog textarea{width:100%;font:12px/1.6 ui-monospace,monospace;white-space:pre-wrap}#ct-copy-rich{border:1px solid var(--ct-line);border-radius:10px;padding:24px;max-height:50dvh;overflow:auto}.standard-dialog{border-radius:16px;border:1px solid var(--ct-line)}.standard-dialog .modal-header{padding:24px 28px}.standard-dialog .modal-body{padding:20px 28px}.standard-dialog .modal-footer{padding:18px 28px}.auth-card{border-radius:20px;box-shadow:0 20px 80px #1118270a;border-color:var(--ct-line)}.auth-card .eyebrow{color:var(--ct-green)}
@media(min-width:1600px){#app:not([hidden]){grid-template-columns:250px minmax(0,1fr)}.ct-sidebar{padding-inline:20px}#writer-dialog,#invoice-dialog{left:250px;width:calc(100vw - 250px)}}
@media(max-width:1100px){#app:not([hidden]){grid-template-columns:190px minmax(0,1fr)}.ct-sidebar{padding:24px 12px}.ct-wordmark{font-size:18px;gap:9px;padding-inline:4px}.workspace-nav button{padding-inline:12px;gap:10px;font-size:13px}.app-header{padding-inline:28px}.ct-page-heading{padding:30px 28px 0}.workspace-main{padding:26px 28px}.ct-panel{padding:26px}.filters{flex-wrap:wrap}.filters>.search{flex:1 1 220px}.header-actions{gap:5px}.header-actions .workflow-health{font-size:11px;margin-right:5px}#writer-dialog,#invoice-dialog{left:190px;width:calc(100vw - 190px)}.writer-body{padding-inline:24px}.writer-sidebar{flex-basis:290px;width:290px}#writer-dialog:has(.writer-sidebar:not([hidden])) .writer-body{flex-direction:column}.writer-sidebar:not([hidden]){flex-basis:38%;width:100%}.writer-document{flex:1}.ct-writer-copy{padding-inline:24px}.writer-context-bar{padding-inline:24px}.writer-footer{padding-inline:24px}.invoice-table{min-width:0}}
@media(max-width:800px){#app:not([hidden]){grid-template-columns:minmax(0,1fr);grid-template-rows:auto 72px minmax(calc(100dvh - 72px),auto)}.ct-sidebar{grid-column:1;grid-row:1;height:auto;position:static;gap:0;padding:0 20px 16px}.ct-wordmark{min-height:66px;border:0;padding:0;font-size:21px}.workspace-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.workspace-nav button{justify-content:center;gap:8px;padding:12px 6px;font-size:12px;white-space:normal}.workspace-nav .nav-count{display:none}.ct-sidebar-foot{display:none}.app-header{grid-column:1;grid-row:2;min-height:72px;padding:14px 24px}.ct-canvas{grid-column:1;grid-row:3;border-radius:24px 24px 0 0}.ct-page-heading{padding:28px 24px 0}.workspace-main{padding:26px 24px}.ct-page-heading h1{font-size:27px}.ct-workspace-foot{padding-inline:24px}.header-actions .workflow-health{margin-left:auto}.header-actions .account-button{font-size:12px}.workflow-health>summary{font-size:11px}.header-actions #logout{padding-inline:7px}#writer-dialog,#invoice-dialog{inset:0;width:100vw;height:100dvh;border-radius:0}.ct-journey{padding:22px 20px}.ct-journey ol{max-width:560px}.writer-message{margin-inline:24px}#writer-dialog>.modal-header,#invoice-dialog .modal-header{padding:22px 24px 14px}#invoice-dialog .modal-body{padding:0 24px 24px}#invoice-dialog .modal-footer{padding:16px 24px}.ct-writer-review{padding-inline:24px}}
@media(max-width:600px){.ct-sidebar{padding:0 14px 14px}.workspace-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-nav button{flex-direction:column;font-size:11px;gap:7px;padding:10px 4px;min-height:60px}.app-header{padding:12px 18px}.app-header>#ct-section-label{font-size:14px}.header-actions .account-button #writer-owner{display:none}.header-actions .account-button{padding:5px}.header-actions #logout{display:block;min-height:36px;font-size:11px}.header-actions .workflow-health{order:0;margin:0}.workflow-health>summary{max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ct-page-heading{padding:24px 18px 0}.ct-page-heading h1{font-size:25px}.ct-page-heading p{font-size:13px}.workspace-main{padding:24px 16px}.ct-panel{padding:22px 18px;border-radius:13px}.ct-panel .page-heading{flex-direction:row;align-items:start;flex-wrap:wrap;gap:16px}.page-heading h2{font-size:21px}.invoice-quick-month{max-width:none}.invoice-quick-tools{margin-left:auto}.ct-panel-actions{gap:15px;margin-top:22px;padding-top:20px}.ct-panel-actions>div{width:100%;flex-direction:column}.ct-panel-actions button{width:100%}.ct-saved-invoices{flex-direction:column;align-items:stretch;gap:20px}.ct-saved-invoices button{width:100%}.ct-invoice-totals{gap:20px 32px}.ct-invoice-totals strong{font-size:24px}.ct-invoice-warning{font-size:12px}.ct-invoice-preview-row{flex-wrap:wrap;gap:10px}.ct-invoice-preview-row>div{flex:1 1 170px}.ct-invoice-preview-row>strong{margin-left:auto}.ct-canvas input:not([type=checkbox]):not([type=radio]),.ct-canvas select,.ct-canvas textarea{font-size:16px}.filter-card{padding:16px}.filters{gap:14px}.filters>label{flex:1 1 120px}.filters>.search{flex-basis:100%}.filters>.ux-more{flex:1}.ux-more summary{justify-content:space-between}.ux-more-fields{grid-template-columns:minmax(0,1fr)}.ux-work-views{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ux-work-views button{padding:9px 4px;font-size:11px;flex-direction:column;gap:5px}.table-tools{margin:12px 0}.table-tools p{font-size:11px}.ledger{overflow:visible}.table-scroll{overflow:visible;max-height:none}.ledger-table,.ledger-table tbody,.ledger-table tr,.ledger-table td{display:block!important;width:100%!important;max-width:none!important;min-width:0!important}.ledger-table thead{display:none}.ledger-table tbody tr{position:relative;padding:18px 14px;border-bottom:1px solid var(--ct-line)}.ledger-table td{padding:4px 0;border:0!important}.ledger-table .page-link{font-size:14px;max-width:none}.ledger-table .selection-cell{margin-bottom:8px}.ledger-table .row-actions{padding-top:10px;background:none}.ledger-table td.numeric{text-align:left}.ledger-table td:nth-child(5)::before{content:"Invoice date · ";color:var(--ct-muted);font-size:11px}.ledger-table td:nth-child(6)::before{content:"Billable words · ";color:var(--ct-muted);font-size:11px}.ledger-table td:nth-child(7)::before{content:"Rate / word · ";color:var(--ct-muted);font-size:11px}.ledger-table td:nth-child(8)::before{content:"Invoice amount · ";color:var(--ct-muted);font-size:11px}.ledger-table .row-action-list{display:flex;align-items:stretch;gap:8px}.ledger-table .writer-open{flex:1}.ledger-table .writer-copy-source{flex:1}.ledger-table td.row-actions{position:static!important}.table-footer{align-items:start;padding:14px}.table-footer>div{gap:7px}.table-footer button{padding:8px;font-size:11px}.table-footer select{font-size:14px}.table-footer .page-size-label{font-size:11px}body[data-ct-section=activity] .ledger-table :is(th,td):is(:nth-child(1),:nth-child(5),:nth-child(6),:nth-child(7),:nth-child(8)){display:none!important}body[data-ct-section=work] .ledger-table :is(th,td):is(:nth-child(1),:nth-child(5),:nth-child(6),:nth-child(7),:nth-child(8)){display:none!important}.summary{grid-template-columns:1fr 1fr;gap:10px}.summary>div{padding:14px}.summary strong{font-size:22px}.ct-workspace-foot{text-align:left;padding:6px 18px 18px}.ct-journey{padding:18px 12px}.ct-journey li,.ct-journey button,.ct-journey-label{font-size:10px;gap:8px}.ct-journey button>span,.ct-journey-label>span{width:36px;height:36px;font-size:13px}.ct-journey li:not(:last-child)::after{top:17px;left:calc(50% + 26px);right:calc(-50% + 26px)}#writer-dialog>.modal-header,#invoice-dialog .modal-header{padding:18px 18px 12px}#writer-dialog .modal-header h2,#invoice-dialog .modal-header h2{font-size:21px}.writer-context-bar{padding:0 18px 10px;gap:7px}.writer-context-bar button{font-size:11px;padding:8px 10px;min-height:36px}.ct-writer-copy{padding:0 18px 12px;gap:8px}.ct-writer-copy button{flex:1;padding:8px;font-size:11px}.writer-body{padding:0 14px 16px;gap:14px;flex-direction:column}.writer-paper{padding:16px}.writer-tabs button{padding:11px;font-size:11px}.writer-sidebar{flex:0 0 40%;width:100%;height:auto}.writer-message{margin-inline:14px;margin-bottom:14px}.writer-footer{padding:12px 16px;gap:9px;flex-wrap:wrap;align-items:stretch}.writer-footer>div:first-child{width:100%}.writer-footer>div:last-child{width:100%;justify-content:flex-end;gap:8px}.writer-footer button{font-size:12px;padding:10px 12px;min-height:42px}.ct-writer-review{padding:18px}.ct-writer-review h2{font-size:23px}.ct-writer-review article{padding:0 16px 18px}.ct-confirm{font-size:13px}.invoice-tabs{gap:6px}.invoice-tabs button{flex:1 1 130px;font-size:11px;padding:9px}.invoice-period>label{flex:1 1 110px}.invoice-period>button{width:100%}.invoice-summary{grid-template-columns:minmax(0,1fr)}.invoice-table{display:block;width:100%}.invoice-table thead{display:none}.invoice-table tbody{display:grid}.invoice-table tr{display:flex;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--ct-line);padding:16px 0}.invoice-table td{display:block;border:0!important;padding:3px 0;min-width:0;overflow-wrap:anywhere}.invoice-table td:has(small){flex:1 1 100%;word-break:break-word}.invoice-table td.amount{margin-left:auto}.invoice-table td.check{flex:0 0 20px}.invoice-table td.date{font-size:11px;color:var(--ct-muted)}#invoice-dialog .modal-body{padding:0 18px 24px}#invoice-dialog .modal-footer{padding:14px 18px;gap:10px}.standard-dialog .modal-header{padding:20px}.standard-dialog .modal-body{padding:16px 20px}.standard-dialog .modal-footer{padding:14px 20px}.standard-dialog input,.standard-dialog select,.standard-dialog textarea{font-size:16px}.standard-dialog{max-width:calc(100vw - 24px)}.invoice-dialog .manual-fields{display:grid;grid-template-columns:minmax(0,1fr)}#ct-copy-dialog{width:calc(100vw - 24px)}#ct-copy-rich{padding:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
#adjust-form[data-focused-step=review] .modal-body>section:not(#ct-adjust-review),#adjust-form[data-focused-step=review] .modal-body>label{display:none}#ct-adjust-review h3{font-size:21px;margin:0 0 20px}#ct-adjust-values{display:grid;gap:0;margin:0}#ct-adjust-values>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:20px;padding:15px 0;border-bottom:1px solid var(--ct-line);font-size:13px}#ct-adjust-values dt{color:var(--ct-muted)}#ct-adjust-values dd{margin:0;font-weight:600;overflow-wrap:anywhere}#ct-adjust-values>div:last-child dd{max-height:140px;overflow:auto}#ct-invoice-preview[aria-busy=true]{opacity:.6}#writer-dialog .writer-footer #writer-device-saved{max-width:320px}#writer-dialog .ct-journey [data-writer-step="1"] button{color:var(--ct-green)}
@media(max-width:600px){#ct-adjust-values>div{grid-template-columns:minmax(0,1fr);gap:6px}}
.workspace-nav button{justify-content:flex-start}.search-control input{padding-left:38px!important}.ux-work-views [data-order-view=attention]{display:none}body[data-ct-section=work] .ct-page-heading{padding-top:28px}body[data-ct-section=work] .workspace-main{padding-top:20px}body[data-ct-section=work] .page-heading{margin-bottom:12px}body[data-ct-section=work] #workspace-description{display:none}body[data-ct-section=work] .ux-work-views{margin-bottom:16px}body[data-ct-section=work] .filter-card{padding:12px 16px}body[data-ct-section=work] .filters>label{font-size:12px;gap:4px}body[data-ct-section=work] .table-tools{margin:9px 0;min-height:32px}body[data-ct-section=work] .table-tools button{min-height:32px;padding-block:6px}body[data-ct-section=work] .ledger-table th{padding:8px 12px}body[data-ct-section=work] .ledger-table td{padding:9px 12px}body[data-ct-section=work] .order-reference{margin-top:0}body[data-ct-section=work] .ledger-table :is(th,td):nth-child(2){width:40%}body[data-ct-section=work] .ledger-table :is(th,td):nth-child(3){width:20%}body[data-ct-section=work] .ledger-table :is(th,td):nth-child(4){width:18%}body[data-ct-section=work] .ledger-table :is(th,td):nth-child(9){width:22%}body[data-ct-section=work] .writer-copy-source{width:40px;min-width:40px;padding:9px;font-size:0}body[data-ct-section=work] .writer-copy-source svg{width:16px;height:16px}body[data-ct-section=work] .row-action-list{flex-wrap:nowrap;justify-content:flex-end}body[data-ct-section=work] .writer-open{padding-inline:10px;font-size:11px}body[data-ct-section=work] .ledger-table .url-domain{margin-top:2px}
@media(max-width:800px){.workspace-nav button{justify-content:center}}
@media(max-width:600px){body[data-ct-section=work] .ledger-table td{padding:4px 0}body[data-ct-section=work] .writer-copy-source{width:auto;font-size:12px}body[data-ct-section=work] .writer-open{font-size:12px}body[data-ct-section=work] .row-action-list{flex-wrap:wrap;justify-content:stretch}body[data-ct-section=work] .ledger-table :is(th,td):nth-child(2),body[data-ct-section=work] .ledger-table :is(th,td):nth-child(3),body[data-ct-section=work] .ledger-table :is(th,td):nth-child(4),body[data-ct-section=work] .ledger-table :is(th,td):nth-child(9){width:100%}}
#writer-dialog[data-writer-stage=sent] :is(.writer-body,.writer-context-bar,.ct-writer-copy,#writer-review-next,#writer-save,#writer-submit){display:none}#writer-dialog[data-writer-stage=sent] #writer-review-panel{display:block!important}
body[data-ct-section=work] .row-action-list{flex-direction:row;align-items:center}body[data-ct-section=work] .page-heading>button{min-height:32px;padding-block:6px}body[data-ct-section=work] .ux-work-views{margin-bottom:12px}body[data-ct-section=work] .filter-card{padding-block:10px}body[data-ct-section=work] .filters input:not([type=checkbox]):not([type=radio]),body[data-ct-section=work] .filters select{min-height:42px;padding-block:9px}body[data-ct-section=work] .ledger-table th{padding-block:6px}body[data-ct-section=work] .ledger-table th button{min-height:28px!important}
.invoice-quick-tools>div button{justify-content:flex-start}#ct-page-title:focus{outline:none}
#adjust-preview small{display:none}#ct-adjust-values dd{white-space:pre-line}
#writer-dialog::backdrop,#invoice-dialog::backdrop{backdrop-filter:none}#writer-message[data-tone=success]{background:var(--ct-green-soft);color:#235f49;border-color:#b5d7c8}#writer-message[data-tone=warning]{background:#fff8eb;color:#854d0e;border-color:#f4d8a0}#writer-message[data-tone=error]{background:#fff1f2;color:#9f1239;border-color:#fecdd3}
/* Daily work stays in the foreground; explanations remain available on demand. */
.ct-list-heading{justify-content:flex-end;margin-bottom:16px}.ct-list-heading>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ct-invoice-history-link{display:flex;align-items:center;gap:16px;padding:22px 2px}.ct-invoice-history-link button{border:0;background:none;padding:8px 0;color:var(--ct-green);font-size:13px;display:flex;align-items:center;gap:10px}.ct-invoice-history-link button svg{width:16px;height:16px}.ct-invoice-history-link>.secondary{font-size:12px}
#ct-more-filter-count{background:var(--ct-green-soft);color:var(--ct-green);padding:1px 6px;border-radius:5px;font-size:11px}
body[data-ct-section=ledger] .summary{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-ct-section=ledger] .summary>div:nth-child(2){display:none}.summary #total-pln,.summary #exchange-rate{display:none}
.ledger .actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.ct-selection-hint{font-size:12px;color:var(--ct-muted);margin-right:auto}.ledger .actions[data-has-selection=false] :is(#selected-count,#clear-selection,.financial-actions){display:none}.ledger .actions[data-has-selection=true] .ct-selection-hint{display:none}.ledger .selection-actions{gap:10px}.ledger .financial-actions{margin-left:auto}
.ledger-guide{margin-top:20px;color:var(--ct-muted);font-size:12px}.ledger-guide>summary{display:flex;align-items:center;gap:12px;width:fit-content;min-height:40px}.ledger-guide>p{max-width:740px;margin:8px 0;line-height:1.7}.ledger-guide>p:empty{display:none}.ledger-table .order-reference p{white-space:pre-line}
body[data-ct-section=work] .ledger-guide,body[data-ct-section=activity] .ledger-guide{display:none}.ct-canvas{padding-bottom:24px}
#budget-setup-tasks{background:#fff9ec;border:1px solid #f0e0bf;box-shadow:none;color:var(--ct-ink);padding:18px 22px;border-radius:12px;margin-bottom:22px}#budget-setup-tasks h3{font-size:14px;margin:0 0 10px}#budget-setup-tasks ul{list-style:none;padding:0;margin:0}#budget-setup-tasks li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;margin:0;border:0}#budget-setup-tasks li+li{border-top:1px solid #f0e0bf}#budget-setup-tasks li>div:first-child{display:grid;gap:3px}#budget-setup-tasks li>div:last-child{display:flex;gap:16px;flex-wrap:wrap}#budget-setup-tasks li strong{font-size:13px}#budget-setup-tasks li span{font-size:12px;color:#79591e}#budget-setup-tasks a{font-size:12px;font-weight:600;color:var(--ct-green);text-decoration:none;min-height:40px;display:inline-flex;align-items:center}
@media(max-width:600px){.ct-invoice-history-link{flex-direction:column;align-items:flex-start;gap:0}.ct-list-heading{margin-bottom:10px}.ledger .actions{gap:10px}.ct-selection-hint{flex-basis:100%}.ledger .financial-actions{margin:0;gap:8px;flex-wrap:wrap}.ledger .selection-actions{flex-wrap:wrap}.ledger-guide{margin-top:12px}body[data-ct-section=ledger] .summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}body[data-ct-section=ledger] .summary>div{padding:12px 8px}body[data-ct-section=ledger] .summary strong{font-size:18px}body[data-ct-section=ledger] .summary small{display:none}#budget-setup-tasks li{align-items:flex-start;flex-direction:column;gap:4px}#budget-setup-tasks li>div:last-child{gap:20px}}
.ct-page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.ct-page-heading>div{min-width:0}.ct-page-heading>#refresh{flex:0 0 auto;font-size:12px;padding:8px 12px;min-height:38px}body:is([data-ct-section=invoices],[data-ct-section=budgets]) #refresh{display:none}.workspace-nav #ct-activity-count{display:none}body[data-ct-section=work] .workspace-main{padding-top:24px}body[data-ct-section=work]:is([data-ct-queue=todo],[data-ct-queue=changes],[data-ct-queue=awaiting],[data-ct-queue=approved]) .ledger-table :is(th,td):nth-child(4){display:none!important}body[data-ct-section=work] .order-reference[data-has-note=false]{display:none}body[data-ct-section=work]:is([data-ct-queue=todo],[data-ct-queue=changes],[data-ct-queue=awaiting],[data-ct-queue=approved]) .ledger-table :is(th,td):nth-child(2){width:48%}body[data-ct-section=work]:is([data-ct-queue=todo],[data-ct-queue=changes],[data-ct-queue=awaiting],[data-ct-queue=approved]) .ledger-table :is(th,td):nth-child(3){width:25%}body[data-ct-section=work]:is([data-ct-queue=todo],[data-ct-queue=changes],[data-ct-queue=awaiting],[data-ct-queue=approved]) .ledger-table :is(th,td):nth-child(9){width:27%}
.filters{flex-wrap:wrap}.filters>label{flex:1 1 155px;min-width:155px}.filters>.search{flex:2 1 220px}.filters>.ux-more{flex:0 0 auto}.filters select{width:100%}.ledger .actions[data-has-selection=false]{display:flex}.order-reference p{position:static;min-width:0;max-width:none}.ct-budget-movements{margin-top:16px;border-top:1px solid var(--ct-line)}.ct-budget-movements>summary{display:flex;gap:14px;align-items:center;padding:16px 0;font-size:13px}.ct-budget-movement-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px;padding:14px 0;border-top:1px solid var(--ct-line);font-size:12px}.ct-budget-movement-row a{overflow-wrap:anywhere;color:var(--ct-ink);font-weight:600}.ct-budget-movement-row>span{grid-column:1/-1;color:var(--ct-muted)}.ct-budget-movement-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
@media(max-width:600px){.filters>label{flex:1 1 130px;min-width:130px}.filters>.search{flex-basis:100%}.filters>.ux-more{flex:1}.ct-page-heading{gap:12px}.ct-page-heading>#refresh{font-size:11px;padding:8px}body[data-ct-section=work] .workspace-main{padding-top:18px}body[data-ct-section=work] .ledger-table :is(th,td):nth-child(2),body[data-ct-section=work] .ledger-table :is(th,td):nth-child(3),body[data-ct-section=work] .ledger-table :is(th,td):nth-child(9){width:100%}}
body[data-ct-section=ledger] .ledger .actions:has(#selected-count[data-selected=false]){display:flex}body[data-ct-section=ledger] .summary{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-ct-section=ledger] .summary>div:first-child{display:none}

.invoice-quick-month input{width:100%}

/* Extra fields have their own row; opening them never changes the toolbar. */
.filter-card>.filters{display:grid;grid-template-columns:minmax(150px,1fr) minmax(170px,1fr) minmax(220px,2fr) 148px;align-items:end;gap:16px}
.filter-card>.filters>label{min-width:0}.filter-card .search-control{width:100%;min-width:0}
.ct-more-filters{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 13px;border:1px solid var(--ct-line);border-radius:9px;background:white;font-size:12px;color:var(--ct-muted);white-space:nowrap}
.ct-more-filters[aria-expanded=true]{background:var(--ct-green-soft);border-color:#b5d7c8;color:var(--ct-green)}
.ct-filter-chevron{width:6px;height:6px;flex:0 0 6px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg);margin-left:4px;margin-bottom:3px}
.ct-more-filters[aria-expanded=true] .ct-filter-chevron{transform:rotate(225deg);margin-bottom:-3px}
#ct-more-filter-count{min-width:18px;text-align:center;line-height:20px;padding:0 4px}
.filter-card>.ux-more-fields{position:static;min-width:0;width:100%;margin-top:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:18px 0 0;border:0;border-top:1px solid var(--ct-line);border-radius:0;background:white;box-shadow:none}
body[data-ct-section=work] .row-action-list :is(.writer-open,.writer-copy-source){height:40px;min-height:40px;box-sizing:border-box}
body[data-ct-section=work] .writer-copy-source{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-width:40px;gap:0;padding:0;line-height:1}
body[data-ct-section=work] .writer-copy-source svg{display:block;margin:0;flex:0 0 16px}
@media(max-width:1150px){.filter-card>.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-card>.filters>.search{grid-column:1;min-width:0}.ct-more-filters{align-self:end;justify-self:end;width:148px}.filter-card>.ux-more-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.filter-card>.filters{gap:14px}.filter-card>.filters>.search{grid-column:1/-1}.ct-more-filters{grid-column:1/-1;justify-self:stretch;width:100%;min-height:44px}.filter-card>.ux-more-fields{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:16px;padding-top:16px}body[data-ct-section=work] .row-action-list :is(.writer-open,.writer-copy-source){height:44px;min-height:44px}body[data-ct-section=work] .writer-copy-source{flex:1 1 auto;width:auto;gap:8px;padding:10px 12px;font-size:12px}}
@media(max-width:360px){.filter-card>.filters{grid-template-columns:minmax(0,1fr)}}
 .filter-card .search-control>[data-icon]{top:50%;transform:translateY(-50%)}

.filter-card button.ct-more-filters{min-height:44px}

/* Sign-in uses the same quiet rail and white canvas as the workspace. */
#auth.ct-auth-shell{display:grid;grid-template-columns:224px minmax(0,1fr);width:100%;max-width:none;min-height:100dvh;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#0c100e;box-sizing:border-box}
.ct-auth-rail{display:flex;flex-direction:column;justify-content:space-between;padding:32px 24px;gap:32px;color:#fff;min-width:0}.ct-auth-wordmark{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:700;letter-spacing:-.6px;white-space:nowrap}#auth .ct-auth-wordmark .app-mark{display:flex;align-items:center;justify-content:center;width:28px;height:32px;margin:0;color:#83c6ad;background:none;flex:0 0 28px}#auth .ct-auth-wordmark .app-mark svg{width:26px;height:28px}.ct-auth-rail>p{margin:0;color:#abb6af;font-size:11px;line-height:1.6}
.ct-auth-main{display:grid;place-items:center;min-width:0;min-height:calc(100dvh - 32px);margin:16px 16px 16px 0;padding:56px 40px;border-radius:28px;background:white}.ct-auth-content{width:100%;max-width:400px;min-width:0}#auth h1{font-size:34px;font-weight:700;letter-spacing:-1.1px;line-height:1.2;margin:0}#auth-description{font-size:14px;line-height:1.6;color:var(--ct-muted);margin:12px 0 0}#auth-form{display:flex;flex-direction:column;gap:20px;margin:32px 0 0}#auth-form label,.ct-auth-field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:var(--ct-ink)}#auth-form input{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:52px;padding:12px 14px;font-size:15px;line-height:1.5;border:1px solid var(--ct-line);border-radius:9px;background:#fff}#auth-form input:hover{border-color:#b5bdc7}#auth-form input:focus-visible{border-color:var(--ct-green);outline:3px solid #cce9dd;outline-offset:1px}
.ct-auth-password{position:relative;min-width:0}#auth-form .ct-auth-password input{padding-right:78px}#auth-password-toggle{position:absolute;right:4px;top:4px;bottom:4px;display:flex;align-items:center;justify-content:center;min-width:64px;min-height:44px;padding:6px 10px;border:0;border-radius:6px;box-shadow:none;background:transparent;color:var(--ct-muted);font-size:12px;font-weight:600}#auth-password-toggle:hover,#auth-password-toggle[aria-pressed=true]{background:var(--ct-green-soft);color:var(--ct-green)}#auth-password-toggle:focus-visible{outline-offset:-2px}#auth-submit{width:100%;min-height:52px;margin:8px 0 0;font-size:14px;font-weight:600;justify-content:center}#auth-error{padding:12px 14px;border:1px solid #fecdd3;border-radius:9px;background:#fff1f2;color:#9f1239;font-size:13px;line-height:1.6;overflow-wrap:anywhere;margin:0}#auth-error:empty{display:none}
@media(min-width:1600px){#auth.ct-auth-shell{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:800px){#auth.ct-auth-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}.ct-auth-rail{padding:24px;min-height:88px;box-sizing:border-box}.ct-auth-rail>p{display:none}.ct-auth-main{min-height:calc(100dvh - 76px);margin:-12px 0 0;padding:48px 28px;border-radius:24px 24px 0 0}.ct-auth-wordmark{font-size:21px}}
@media(max-width:480px){.ct-auth-main{align-items:start;padding:48px 24px 40px}#auth h1{font-size:30px}#auth-form input{font-size:16px}.ct-auth-rail{padding-inline:24px}#auth-form{margin-top:28px}}
@media(max-height:600px) and (min-width:801px){.ct-auth-main{padding-block:32px}}
