@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300..700&display=swap');
:root{font-family:Geist,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#121416;background:#fcfcfc;font-synthesis:none;--muted:#72767e;--line:#e6e7ea;--soft:#f4f5f6;--ink:#121416}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid #6b81a2}h1,h2,h3,p{margin:0}button{display:inline-flex;align-items:center;justify-content:center;gap:8px}svg{width:18px;height:18px;flex-shrink:0}button svg{pointer-events:none}.loading{padding:80px;text-align:center;color:var(--muted)}
.shell{padding:0 40px 32px;max-width:1800px;margin:auto}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:550;letter-spacing:-.6px}.monogram{width:35px;height:35px;border-radius:11px;background:var(--ink);color:white;display:grid;place-items:center;font-size:14px;letter-spacing:-.8px}.team{display:flex;align-items:center;gap:14px;font-size:13px;color:var(--muted)}.team-divider{width:1px;height:20px;background:var(--line)}.avatar{width:30px;height:30px;border-radius:50%;background:#eceef1;display:grid;place-items:center;font-size:12px;color:#434851}.heading{padding:42px 0 32px;display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);margin-bottom:13px}h1{font-size:40px;font-weight:450;letter-spacing:-1.9px;line-height:1.15}.subtitle{font-size:14px;color:var(--muted);line-height:1.6;margin-top:12px}.primary,.secondary,.quiet{border-radius:100px;border:1px solid transparent;padding:11px 18px;font-size:13px;font-weight:500;min-height:40px;white-space:nowrap}.primary{background:var(--ink);color:white}.primary:hover{background:#3a3c40}.secondary{background:white;border-color:var(--line);color:var(--ink)}.secondary:hover{background:var(--soft)}.quiet{padding:8px 10px;color:var(--muted);background:transparent}.quiet:hover{background:var(--soft);color:var(--ink)}.icon{border:0;background:var(--soft);width:34px;height:34px;border-radius:50%;color:#606670;padding:0;flex-shrink:0}.icon:hover{background:#e8e9ec}.stats{display:flex;gap:34px;padding-bottom:29px;font-size:13px;color:var(--muted)}.stats strong{font-size:23px;font-weight:450;color:var(--ink);margin-right:8px;letter-spacing:-.8px}.toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:25px}.tabs{display:flex;gap:3px;border-radius:100px;background:#eff0f2;padding:4px}.tabs button{border:0;border-radius:100px;padding:8px 14px;background:transparent;color:var(--muted);font-size:13px;gap:7px}.tabs button.active{background:white;color:var(--ink);box-shadow:0 1px 3px #0000000c}.tabs svg{width:15px;height:15px}.filters{display:flex;align-items:center;gap:10px}.search{position:relative}.search svg{position:absolute;left:12px;top:11px;color:#8b9098;width:16px}.search input{padding:10px 12px 10px 37px;border:1px solid var(--line);border-radius:100px;background:white;width:230px;font-size:13px}.filter-select{border:1px solid var(--line);border-radius:100px;background-color:white;font-size:13px;padding:10px 30px 10px 13px;color:#5c616a;max-width:175px}.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(300px,1fr);gap:16px;overflow-x:auto;padding-bottom:24px;min-height:400px;scrollbar-width:thin;align-items:start}.column{min-height:330px;background:#f5f6f7;border:1px solid #eff0f2;border-radius:17px;padding:12px;transition:background .15s}.column.dragover{background:#e9eef8;outline:1px solid #9db1d4}.column-head{display:flex;align-items:center;gap:8px;padding:5px 3px 17px;font-size:13px;font-weight:500}.count{margin-left:auto;color:#959aa3;font-weight:400}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#a0a5ae;flex-shrink:0}.dot.s1{background:#a190ba}.dot.s2{background:#7093c7}.dot.s3{background:#c59f67}.dot.s4{background:#639781}.dot.s5{background:#9b9c9f}.dot.s6{background:#b18b8b}.cards{display:grid;gap:10px;min-height:190px;align-content:start}.trader-card{display:block;width:100%;text-align:left;color:var(--ink);-webkit-appearance:none;appearance:none;border:1px solid #e4e6ea;background:#fff;border-radius:12px;padding:16px;box-shadow:0 2px 3px #00000002;cursor:grab}.trader-card:hover{border-color:#b9c1cd;box-shadow:0 3px 10px #00000005}.trader-card h3{font-size:15px;font-weight:550;letter-spacing:-.3px}.trader-card .contact{font-size:12px;color:#8b9098;margin-top:6px;min-height:16px}.chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:14px}.chip{font-size:10px;color:#737b86;background:#f2f4f6;padding:4px 7px;border-radius:5px}.next{font-size:12px;color:#646b75;line-height:1.5;margin-top:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-foot{display:flex;gap:10px;align-items:center;border-top:1px solid #f0f1f3;padding-top:12px;margin-top:15px;font-size:11px;color:#8b929d}.card-foot span{display:inline-flex;align-items:center;gap:4px}.card-foot svg{width:13px;height:13px}.card-foot .date{margin-left:auto}.overdue{color:#aa6b45!important}.feedback-dot{color:#6b83a6!important}.empty-column{padding:30px 9px;color:#afb4bd;font-size:12px;text-align:center;border:1px dashed #e2e4e8;border-radius:10px}.empty{padding:60px 20px;text-align:center;color:var(--muted);font-size:14px}.empty p{line-height:1.7;margin-bottom:18px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{font-weight:450;color:#878d96;text-align:left;background:#f8f9fa;padding:14px 17px;border-bottom:1px solid var(--line)}td{padding:19px 17px;border-bottom:1px solid #f0f1f3;color:#69717d}tr:last-child td{border-bottom:0}tbody tr{cursor:pointer}tbody tr:hover{background:#fafbfc}td.name{font-weight:550;color:var(--ink);font-size:13px}td.next-cell{min-width:220px;max-width:320px;white-space:normal;line-height:1.5}.status{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#626974;background:#f3f5f7;border-radius:100px;padding:6px 9px}.footer{display:flex;justify-content:space-between;gap:20px;margin-top:20px;font-size:11px;color:#a1a5ac}.footer button{font-size:11px;padding:0;min-height:0}.badge{display:inline-flex;gap:6px;align-items:center;font-size:11px;border-radius:6px;background:#f3f4f6;color:#7a818a;padding:5px 8px}
dialog{border:1px solid var(--line);border-radius:24px;color:var(--ink);padding:0;background:#fff;box-shadow:0 30px 100px #10182426;max-height:calc(100dvh - 40px)}dialog::backdrop{background:#242b3b58;backdrop-filter:blur(4px)}.card-dialog{width:min(1040px,calc(100vw - 56px));max-width:none}.dialog-head{display:flex;justify-content:space-between;align-items:start;padding:28px 30px 24px;border-bottom:1px solid var(--line);gap:20px}.dialog-head h2{font-size:27px;font-weight:500;letter-spacing:-1px;line-height:1.2}.dialog-head p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.5}.dialog-head .actions{display:flex;gap:9px;align-items:center}.detail-layout{display:grid;grid-template-columns:280px 1fr}.profile{padding:28px 27px;background:#fafbfc;border-right:1px solid var(--line)}.field-pair{margin-bottom:25px}.field-pair dt{font-size:11px;color:#969ca6;margin-bottom:8px}.field-pair dd{margin:0;font-size:13px;color:#565e69;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.profile .secondary{width:100%;font-size:12px;margin-top:10px}.timeline{padding:28px 30px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:12px}.section-title h3{font-size:15px;font-weight:550}.communication{border-bottom:1px solid var(--line);padding-bottom:29px;margin-bottom:28px}.communication:last-child{border-bottom:0;margin-bottom:0}.comm-head{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;margin-bottom:18px}.comm-head time{font-weight:550;color:#4b5462}.comm-head span{color:#969da7}.prose{font-size:13px;color:#68717e;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.prose-label{font-size:11px;color:#9da3ac;margin:14px 0 5px}.attachments{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0}.attachment{width:75px;height:100px;padding:0;border:1px solid #e5e8ed;border-radius:9px;background:#f2f4f7;overflow:hidden;position:relative}.attachment img{width:100%;height:100%;object-fit:cover}.attachment:hover{border-color:#66768b}.feedback{border:1px solid #dfe7ef;border-radius:13px;background:#f6f9fc;padding:17px;margin-top:18px}.feedback-head{display:flex;align-items:center;gap:8px;font-size:11px;color:#72879f;margin-bottom:10px;flex-wrap:wrap}.feedback-head time{margin-left:auto;font-size:10px;color:#98a3b1}.feedback .prose{color:#52657b;font-size:13px}.history{margin-top:12px}.history summary{font-size:11px;color:#9ba2ac;cursor:pointer;padding:7px 0}.history .feedback{background:#fbfbfc;border-color:#eceef1;margin-top:9px}.history .prose{color:#8e96a1}.history .feedback-head{color:#9ba1ab}.add-feedback{margin-top:14px;display:flex;gap:8px;flex-wrap:wrap}.add-feedback textarea{min-height:68px;font-size:12px;padding:10px 12px;flex:1 0 100%;background:#fff}.add-feedback input{width:112px;font-size:11px;padding:8px 10px}.add-feedback button{margin-left:auto;font-size:11px;min-height:33px;padding:7px 13px}.times-list{margin-top:15px}.times-list summary{font-size:11px;color:#9aa2ad;cursor:pointer}.times-list ul{font-size:11px;line-height:1.9;color:#7c8795;padding-left:17px}.form-dialog{width:min(720px,calc(100vw - 40px));max-width:none}.form-body{padding:26px 30px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.span-2{grid-column:1/-1}label{display:block;font-size:12px;color:#6b7380;line-height:1.5}label input,label select,label textarea{margin-top:8px}input,textarea,select{width:100%;border:1px solid #e0e3e8;border-radius:10px;background:#fafbfc;padding:11px 12px;color:#343b46;font-size:13px;min-width:0}input:focus,textarea:focus,select:focus{outline:1px solid #9aa8bb;background-color:#fff}input::placeholder,textarea::placeholder{color:#b0b6bf}textarea{min-height:85px;resize:vertical;line-height:1.6}.check{display:flex;align-items:center;gap:8px;margin-top:9px;font-size:11px}.check input{width:14px;height:14px;margin:0}.form-divider{height:1px;background:var(--line);margin:26px 0}.form-title{font-size:14px;font-weight:550;margin-bottom:18px}.dropzone{display:flex;align-items:center;justify-content:center;gap:12px;border:1px dashed #cbd1d9;border-radius:13px;min-height:95px;background:#fafbfc;padding:20px;text-align:center;cursor:pointer;width:100%;color:#717d8c;font-size:12px;line-height:1.6}.dropzone strong{display:block;color:#4f5b69;font-weight:500}.dropzone.dragover{background:#edf3fb}.dropzone svg{width:24px;height:24px}.upload-list{display:grid;gap:8px;margin-top:12px}.upload-row{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:10px;padding:9px;font-size:11px}.upload-row img{width:35px;height:46px;object-fit:cover;border-radius:5px}.upload-row .file-info{flex:1;min-width:0;overflow-wrap:anywhere}.upload-row small{color:#9aa3b0;display:block;margin-top:4px}.upload-row button{font-size:10px;min-height:28px;padding:5px 8px}.ocr-box{margin-top:16px;background:#f7f9fc;border:1px solid #e0e6ef;border-radius:12px;padding:16px}.ocr-box h4{font-size:12px;margin:0 0 8px;color:#5e728d}.hint{font-size:11px;color:#8d97a6;line-height:1.6}.ocr-controls{display:flex;gap:8px;align-items:center;margin-top:13px}.ocr-controls input{font-size:11px;width:150px}.ocr-controls button{font-size:10px;padding:7px 10px;min-height:32px}.ocr-list{max-height:240px;overflow:auto;margin-top:12px}.ocr-row{display:grid;grid-template-columns:16px 1fr 125px 85px;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid #e9edf3;font-size:10px;color:#8895a6}.ocr-row input{padding:6px;font-size:10px;min-height:28px}.ocr-row input[type=checkbox]{width:13px}.ocr-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-actions{display:flex;justify-content:flex-end;gap:9px;align-items:center;padding:20px 30px;border-top:1px solid var(--line);background:#fff;position:sticky;bottom:0;z-index:2}.error{font-size:12px;color:#b24b54;margin:15px 0;line-height:1.6}.form-actions .hint{margin-right:auto}.preview-dialog{width:min(900px,calc(100vw - 30px));max-width:none;padding:20px}.preview-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.preview-head span{font-size:12px;color:#858d97;overflow-wrap:anywhere}.preview-dialog img{display:block;max-width:100%;height:auto;max-height:calc(100dvh - 150px);margin:auto;object-fit:contain}.login{min-height:100dvh;display:grid;place-items:center;padding:30px}.login-card{width:360px;max-width:100%;text-align:center}.login-card .monogram{width:54px;height:54px;margin:0 auto 26px;border-radius:17px;font-size:20px}.login h1{font-size:32px;letter-spacing:-1.5px}.login form{margin-top:32px;text-align:left}.login button{width:100%;margin-top:16px}.login .hint{text-align:center;margin-top:20px}.login label{font-size:12px}.login input{padding:14px;border-radius:13px}#toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%) translateY(100px);background:#252a32;color:#fff;padding:12px 20px;border-radius:100px;font-size:12px;box-shadow:0 7px 30px #0002;z-index:100;transition:transform .2s;max-width:90vw;text-align:center}#toast.visible{transform:translateX(-50%) translateY(0)}
@media(min-width:1600px){.board{grid-auto-columns:minmax(300px,1fr)}}
@media(max-width:850px){.shell{padding:0 22px 24px}.team .zone,.team-divider{display:none}.topbar{height:75px}.heading{padding:31px 0 25px}h1{font-size:33px}.stats{gap:20px;flex-wrap:wrap}.stats strong{font-size:20px}.toolbar{align-items:flex-start;flex-direction:column;gap:14px}.filters{width:100%;flex-wrap:wrap}.search{flex:1}.search input{width:100%;min-width:160px}.board{grid-auto-columns:300px}.detail-layout{grid-template-columns:220px 1fr}.profile{padding:22px 18px}.timeline{padding:23px 20px}.dialog-head{padding:23px}.card-dialog{width:calc(100vw - 30px)}}
@media(max-width:600px){.shell{padding:0 16px 20px}.brand{font-size:17px}.team{gap:8px}.team>span:not(.avatar){display:none}.heading{align-items:center}.heading .primary{padding:11px 14px;font-size:12px}.heading .primary svg{width:15px}.eyebrow{font-size:10px}h1{font-size:30px}.subtitle{font-size:12px;max-width:210px}.stats{gap:17px;font-size:11px}.stats strong{font-size:18px;margin-right:4px}.filter-select{max-width:145px}.filters{gap:7px}.footer{font-size:10px}.detail-layout{display:block}.profile{border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-pair{margin:0}.profile .secondary{grid-column:1/-1}.card-dialog,.form-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.dialog-head{padding:22px 19px}.dialog-head h2{font-size:24px}.dialog-head .actions{gap:5px}.dialog-head .actions .secondary{padding:8px 12px;font-size:11px}.form-body{padding:24px 20px}.form-grid{gap:17px}.form-actions{padding:17px 20px}.form-actions .hint{max-width:170px;font-size:10px}.ocr-row{grid-template-columns:15px 1fr 116px 78px;gap:5px}.ocr-controls{flex-wrap:wrap}.feedback-head time{margin-left:0}.timeline{padding:25px 20px}.preview-dialog{padding:15px}}

/* Keep icons centered independently of label/input spacing. */
svg{display:block;flex:0 0 auto}
.search{display:flex;align-items:center}
.search input{margin-top:0}
.search svg{top:50%;transform:translateY(-50%);pointer-events:none}
.footer{justify-content:flex-end}
.empty-column{min-height:96px;padding:0}

/* Consistent controls, explicit stage colors, and a quieter pipeline. */
.topbar,.toolbar{border:0}
.trader-card .card-foot{border-top:0;padding-top:0}
select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23737d89' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:18px;padding-right:39px}
.filter-select{padding-right:39px}
.form-body input:not([type=checkbox]):not([type=file]),.form-body textarea,.form-body select{padding-left:14px;text-indent:0}
input[type=tel],input[type=text],input[type=password],textarea{-webkit-appearance:none;appearance:none}
input[type=tel]{font-variant-numeric:tabular-nums}
.status{font-weight:500;gap:8px;padding:6px 10px}
.column-head{padding-bottom:15px}
.dot.s0{background:#3b82f6}.dot.s1{background:#8b5cf6}.dot.s2{background:#f59e0b}.dot.s3{background:#06b6d4}.dot.s4{background:#22c55e}.dot.s5{background:#64748b}.dot.s6{background:#ef4444}
.status.s0,.stage-select.s0{background-color:#eaf2ff;color:#245bbd}
.status.s1,.stage-select.s1{background-color:#f0eaff;color:#7042bd}
.status.s2,.stage-select.s2{background-color:#fff1d7;color:#9b6205}
.status.s3,.stage-select.s3{background-color:#def7fc;color:#087e97}
.status.s4,.stage-select.s4{background-color:#e0f7e9;color:#1b8045}
.status.s5,.stage-select.s5{background-color:#e9eef5;color:#51617a}
.status.s6,.stage-select.s6{background-color:#ffe8e8;color:#bc3838}
.stage-select{border-color:transparent;font-weight:500}
select option{background:white;color:var(--ink)}
.bank-picker{border:0;padding:0;margin:0;min-width:0}
.bank-picker legend{font-size:12px;color:#6b7380;line-height:1.5;margin:0 0 8px;padding:0}
.bank-options{display:flex;flex-wrap:wrap;gap:7px;min-height:40px;align-items:center}
.bank-option{position:relative;display:inline-flex;cursor:pointer}
.bank-option input{position:absolute;width:1px;height:1px;opacity:0;margin:0;padding:0}
.bank-option span{font-size:12px;padding:10px 12px;border:1px solid #e0e3e8;border-radius:10px;background:#fafbfc;color:#77808e;transition:background .15s,color .15s,border-color .15s}
.bank-option input:checked+span{background:#eaf2ff;color:#245bbd;border-color:#97b9ee}
.bank-option input:focus-visible+span{outline:2px solid #6b81a2;outline-offset:3px}
.add-feedback{display:grid;grid-template-columns:1fr;gap:16px;margin-top:24px}
.add-feedback textarea{min-height:112px;padding:13px 14px;line-height:1.7;width:100%}
.add-feedback button{justify-self:end;margin-left:0;min-height:36px;padding:8px 14px}
.error:empty{display:none}
.section-title{flex-wrap:wrap}

/* Screenshot gallery. Navigation never covers the conversation. */
.preview-dialog:focus{outline:none}
.preview-head{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;margin-bottom:20px}
.preview-head .preview-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.preview-head .preview-count{font-size:12px;line-height:1;font-variant-numeric:tabular-nums;color:#717a87;background:#f2f4f6;padding:8px 11px;border-radius:100px;justify-self:center;white-space:nowrap}
.preview-head .icon{justify-self:end}
.gallery-stage{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:14px;align-items:center;min-height:180px}
.gallery-image{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden}
.gallery-stage img{width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 160px);object-fit:contain}
.gallery-arrow{width:38px;height:38px;padding:0;border:1px solid #e3e6eb;border-radius:50%;background:#fafbfc;color:#5e6978}
.gallery-arrow svg{width:20px;height:20px}
.gallery-arrow:hover:not(:disabled){background:#edf1f7;border-color:#bbc7d7;color:#26364b}
.gallery-arrow:disabled{opacity:.25;cursor:default}
@media(max-width:600px){.preview-dialog{padding:16px 10px}.preview-head{padding-inline:6px;gap:10px}.gallery-stage{grid-template-columns:29px minmax(0,1fr) 29px;gap:5px}.gallery-arrow{width:28px;height:34px;border-radius:9px}.gallery-arrow svg{width:18px;height:18px}.gallery-stage img{max-height:calc(100dvh - 145px)}.bank-option span{font-size:11px;padding:9px 10px}.section-title .secondary{font-size:11px;padding:9px 12px}}

/* Comfortable CRM typography and controls. */
.stats{font-size:15px;gap:36px;align-items:baseline}
.stats strong{font-size:28px;line-height:1.2;margin-right:9px}
.tabs{padding:5px}
.tabs button{font-size:15px;min-height:40px;padding:10px 17px;gap:8px}
.tabs svg{width:18px;height:18px}
.search input{font-size:15px;min-height:48px;width:255px;padding:12px 16px 12px 43px}
.search svg{width:18px;height:18px;left:15px}
.filter-select{font-size:15px;min-height:48px;max-width:200px;padding-left:17px}
#refresh{font-size:14px;min-height:46px;padding:10px 14px}
.dot.s3{background:#f97316}
.status.s3,.stage-select.s3{background-color:#ffeadb;color:#b6490d}
.primary,.secondary{font-size:14px;min-height:44px}
.trader-card h3{font-size:17px;line-height:1.3}
.trader-card .contact,.next{font-size:14px}
.chip{font-size:12px;padding:5px 8px}
.card-foot{font-size:12px}
.card-foot svg{width:15px;height:15px}
.column-head .count,.status{font-size:13px}
.status{padding:7px 11px}
.empty-column{font-size:13px}
.table-wrap table{font-size:14px}
td.name{font-size:15px}
.footer,.footer button{font-size:12px}
.dialog-head h2{font-size:29px}
.dialog-head p,.comm-head,.field-pair dt,.prose-label{font-size:13px}
.field-pair dd,.prose,.feedback .prose{font-size:15px}
.profile .secondary,.section-title .secondary{font-size:13px}
.section-title h3{font-size:17px}
.feedback-head,.history summary,.times-list summary{font-size:12px}
.feedback-head time{font-size:11px}
label,.bank-picker legend{font-size:14px}
input,textarea,select{font-size:15px}
.bank-option span{font-size:13px;padding:11px 12px}
.add-feedback textarea{font-size:15px}
.add-feedback button{font-size:13px;min-height:40px}
.form-title{font-size:16px}
.dropzone{font-size:14px}
.error,.upload-row{font-size:13px}
.hint{font-size:12px}
@media(max-width:850px){.stats{gap:20px 28px}.search input{width:100%}.filters{row-gap:12px}}
@media(max-width:600px){.stats{font-size:clamp(10px,2.65vw,12.5px);gap:16px;padding-left:3px;flex-wrap:nowrap;justify-content:flex-start}.stats>span{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap}.stats strong{font-size:clamp(17px,4.8vw,23px);margin-right:0}.filters{gap:8px}.search{flex-basis:100%}.search input{min-height:46px}.filter-select{flex:1;max-width:none;min-height:46px}.tabs button{font-size:14px}.heading .primary{font-size:13px}.form-grid{grid-template-columns:1fr}.form-body input,.form-body select,.form-body textarea,.add-feedback textarea{font-size:16px}.bank-option span{font-size:13px}.dialog-head h2{font-size:25px}}

/* Role-specific feedback notification inboxes. */
.notifications{position:relative;margin-left:auto}
.notification-bell{position:relative;width:42px;height:42px;padding:0;border:1px solid #e6e7ea;border-radius:50%;background:#fff;color:#5c6573}
.notification-bell svg{width:21px;height:21px}
.notification-bell:hover,.notification-bell[aria-expanded=true]{background:#f4f5f6;color:#121416}
.notification-count{position:absolute;top:-4px;right:-5px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px;border-radius:100px;background:#3b82f6;color:white;font-size:10px;font-weight:600;box-shadow:0 0 0 3px #fcfcfc}
.notification-panel{position:absolute;z-index:20;right:0;top:54px;width:min(380px,calc(100vw - 32px));border:1px solid #e6e7ea;border-radius:19px;background:white;box-shadow:0 16px 45px #18203412;overflow:hidden}
.notification-panel[hidden]{display:none}
.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 20px 12px}
.notification-heading h2{font-size:16px;font-weight:550;letter-spacing:-.3px}
.notification-heading .quiet{font-size:11px;padding:4px;min-height:28px}
.notification-list{max-height:min(480px,65dvh);overflow-y:auto;padding:0 8px 8px}
.notification-item{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:100%;text-align:left;padding:14px 13px;border:0;border-radius:12px;background:white;color:#68717e}
.notification-item:hover{background:#f4f5f6}
.notification-item.unread{background:#f6f9fc}
.notification-item.unread:hover{background:#edf3fb}
.notification-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;font-weight:550;color:#343b46}
.notification-title i{width:7px;height:7px;flex-shrink:0;background:#3b82f6;border-radius:50%}
.notification-body{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.notification-item time{font-size:11px;color:#969ca6}
.notifications-empty{padding:27px 14px 32px;text-align:center;font-size:13px;color:#72767e}

/* Shared assistant identity and centered access page. */
.brand-mark{display:block;width:36px;height:36px;flex-shrink:0}
.private-shell{display:flex;flex-direction:column;max-width:none;min-height:100dvh;padding:0;margin:0}
.access-page{display:flex;align-items:center;justify-content:center;flex:1;width:100%;min-height:100dvh;padding:40px 24px}
.access-card{width:min(100%,440px);padding:40px;border:1px solid #e6e7ea;border-radius:28px;background:#fff;box-shadow:0 8px 32px #18203404;text-align:center}
.access-logo-link{display:block;width:48px;height:48px;margin:0 auto 28px;border-radius:16px}
.access-logo{display:block;width:48px;height:48px;margin:0}
.access-card h1{font-size:28px;line-height:1.2;font-weight:500;letter-spacing:-1px;color:#121416;margin:0 0 32px}
.access-card .access-form{display:grid;gap:16px;margin:0;text-align:left}
.access-card label{margin:0 0 -7px;font-size:14px;line-height:1.5;color:#6b7380}
.access-card input{width:100%;margin:0;min-height:52px;padding:14px 16px;border:1px solid #e0e3e8;border-radius:13px;background:#fafbfc;color:#343b46;font-size:16px}
.access-card input:focus{outline:1px solid #9aa8bb;outline-offset:4px;background:#fff}
.access-card .primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;padding:15px 24px;margin:0;border:0;border-radius:100px;background:#121416;color:#fff;font-size:15px;font-weight:500;line-height:1.4;letter-spacing:0}
.access-card .primary svg{display:block;width:18px;height:18px;flex-shrink:0}
.access-card .primary:hover{background:#3a3c40}
.access-card .error,.access-card .error-box{margin:0;padding:0;border:0;background:transparent;color:#bc3838;font-size:13px;line-height:1.5}
.access-card .error:empty,.access-card .error-box:empty{display:none}
@media(max-width:600px){.brand-mark{width:34px;height:34px}.access-page{padding:32px 24px}.access-card h1{font-size:27px}}

.brand{text-decoration:none;color:inherit}
@media(max-width:600px){.access-card{padding:32px 26px;border-radius:24px}}

/* Each contact keeps a readable record of the conversation. */
.comm-head{align-items:center;margin-bottom:18px;gap:14px;flex-wrap:wrap}
.comm-head h4{margin:0;font-size:15px;line-height:1.4;font-weight:550;letter-spacing:-.2px}
.comm-head time{font-weight:400;color:#969ca6;font-size:12px}
.communication-fields{display:grid;gap:16px}
.communication-field .prose-label{margin:0 0 5px;color:#72767e;font-size:12px}
.communication-field .prose{font-size:14px;line-height:1.65}
.communication-field .empty-value{color:#a1a5ac;font-size:13px}

/* Edit contact dates in the profile without leaving the conversation */
.date-value{display:flex;align-items:center;justify-content:space-between;gap:8px;width:calc(100% + 16px);margin:-7px -8px;padding:7px 8px;border:0;border-radius:9px;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:left;white-space:normal;transition:background .15s ease}
.date-value:hover,.date-value:focus-visible{background:#edf0f4}
.date-value svg{width:15px;height:15px;flex-shrink:0;opacity:0;color:#8a93a0;transition:opacity .15s ease}
.date-value:hover svg,.date-value:focus-visible svg{opacity:1}
.date-inline-form{display:grid;gap:9px;white-space:normal}
.date-timezone{font-size:11px;color:#969ca6;line-height:1.4}
.date-inline-form input{width:100%;min-width:0;min-height:42px;border:1px solid #dfe3e9;border-radius:9px;padding:9px 7px;background:#fff;color:#343b46;font-size:13px}
.date-actions{display:flex;align-items:center;gap:5px}
.date-actions button{min-height:32px;padding:6px 11px;border:0;border-radius:8px;background:transparent;color:#727a85;font-size:12px}
.date-actions button:hover{background:#e8ecf1}
.date-actions .date-save{background:#121416;color:#fff}
.date-actions .date-save:hover{background:#363a40}
.date-actions [data-clear-date]{margin-left:auto}
.date-inline-form .error{margin:0;font-size:12px;line-height:1.5}
.date-inline-form .error:empty{display:none}
@media(hover:none){.date-value svg{opacity:.55}}
@media(max-width:600px){.editable-date.is-editing{grid-column:1/-1}}

/* Conversation facts and the current plan can be edited in place. */
.inline-value{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;width:calc(100% + 16px);margin:-7px -8px;padding:7px 8px;border:0;border-radius:9px;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:left;white-space:pre-wrap;transition:background .15s ease}
.inline-value:hover,.inline-value:focus-visible{background:#edf0f4}
.inline-value span{min-width:0;overflow-wrap:anywhere}
.inline-value svg{width:15px;height:15px;flex-shrink:0;margin-top:3px;opacity:0;color:#8a93a0;transition:opacity .15s ease}
.inline-value:hover svg,.inline-value:focus-visible svg{opacity:1}
.inline-value.empty-value{color:#a1a5ac}
.value-inline-form{display:grid;gap:10px;white-space:normal}
.value-inline-form textarea{width:100%;min-height:110px;padding:10px 12px;border:1px solid #dfe3e9;border-radius:10px;background:#fff;color:#343b46;font-size:14px;line-height:1.6;resize:vertical}
.value-inline-form .error{margin:0;font-size:12px;line-height:1.5}
.value-inline-form .error:empty{display:none}
.value-inline-form .bank-picker legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.value-inline-form .bank-option span{padding:9px 10px;font-size:12px}
.profile-actions{display:grid;gap:10px;margin-top:24px}
.profile-actions .secondary{margin-top:0}
.profile-actions .archive-action{justify-self:center;min-height:28px;padding:5px 9px;color:#969ca6;font-size:12px;font-weight:400}
.profile-actions .archive-action:hover{color:#565e69}
.previous-plan{margin-top:18px}
.previous-plan .communication-field{margin-top:12px}
@media(hover:none){.inline-value svg{opacity:.55}}
@media(max-width:600px){.profile-actions{grid-column:1/-1;margin:4px 0 0}.editable-value.is-editing{grid-column:1/-1}.value-inline-form textarea{font-size:16px}}

.timeline{min-width:0}
.card-feedback{margin:0 0 28px;padding:0}
.card-feedback>.feedback{margin-top:0}
.card-feedback>.history{margin:8px 0 0}
.feedback-context{display:flex;align-items:center;gap:6px;max-width:100%;margin:12px 0 -3px;padding:3px 0;border:0;background:transparent;color:#7a8a9e;font-size:12px;font-weight:400;text-align:left;white-space:normal}
.feedback-context:hover{color:#3f5b7c}
.feedback-context svg{width:13px;height:13px;flex-shrink:0}
.history .feedback-context{color:#969eaa}
.communication{scroll-margin-top:24px}

.active-feedback h3{margin:0 0 14px;font-size:15px;font-weight:550;letter-spacing:-.2px}
.active-feedback>.feedback{margin-top:12px}
.active-feedback>.feedback:first-of-type{margin-top:0}
.feedback-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.feedback-footer .feedback-context{margin:0;margin-right:auto}
.feedback-completed-date{display:flex;align-items:center;gap:6px;color:#8b96a4;font-size:12px;line-height:1.5}
.feedback-completed-date svg{width:14px;height:14px;flex-shrink:0}
.feedback-footer .feedback-complete{min-height:34px;padding:7px 12px;font-size:12px;border-color:#dbe4ed;background:#fff;color:#526b87}
.feedback-footer .feedback-complete:hover{background:#edf3fa}
.feedback-footer .feedback-complete svg{width:15px;height:15px}
.feedback-footer .feedback-reopen{min-height:30px;padding:5px 8px;font-size:12px;font-weight:400}
.feedback-error{flex-basis:100%;margin:12px 0 0;font-size:12px}
.feedback-error:empty{display:none}
.past-feedback{margin-top:14px}
.notification-type{font-size:11px;color:#7a8798;line-height:1.4}


#refresh.refresh-button{width:48px;min-width:48px;min-height:48px;height:48px;padding:0;flex-shrink:0}#refresh.refresh-button svg{width:18px;height:18px}#filter{padding-left:22px}@media(max-width:600px){#refresh.refresh-button{width:46px;min-width:46px;min-height:46px;height:46px}}

.shell:not(.private-shell){min-height:100dvh;display:flex;flex-direction:column;padding-bottom:0}
.shell>.heading,.shell>.stats,.shell>.toolbar{flex-shrink:0}
.shell>.footer{margin-top:auto;padding:24px 0;justify-content:space-between;align-items:center}
.shell>.footer #logout{margin-left:auto}
