:root{--stage-blue:#3b82f6;--stage-purple:#a855f7;--stage-pink:#ec4899;--action:#435ac4;--action-purple:#8050b5;--brand-gradient:linear-gradient(120deg,var(--stage-blue),var(--stage-purple),var(--stage-pink));--ink:#2c3042;--muted:#7c8a94;--line:#677b8721;--blue:var(--action);--amber:#a46c19;--glass:#ffffffb3}*{box-sizing:border-box}body{color:var(--ink);background-color:#eef0f7;background-image:radial-gradient(at 10% 5%,#dfeaff 0,#0000 53%),radial-gradient(at 88% 12%,#ece1fa 0,#0000 50%),radial-gradient(at 92% 95%,#f7e0ed 0,#0000 53%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif;font-size:16px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:0 0;border:0}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:2px solid var(--action);outline-offset:4px}input:focus,textarea:focus,select:focus{outline-offset:1px;outline:2px solid #a855f766}svg{flex-shrink:0}h1,h2,h3,p{margin:0}.glass{background:var(--glass);-webkit-backdrop-filter:blur(28px)saturate(130%);border:1px solid #ffffffd1;box-shadow:0 8px 30px #31454e09}.app-shell{gap:14px;max-width:none;height:100dvh;margin:auto;padding:10px;display:flex}.sidebar{background:#f5f8f97a;border-radius:24px;flex-direction:column;flex-shrink:0;width:224px;padding:28px 13px 15px;display:flex}.brand{letter-spacing:-1.3px;align-items:center;gap:10px;padding:4px 15px 36px;font-size:31px;font-weight:680;display:flex}.brand-dot{color:var(--stage-pink)}.stage-mark{align-items:center;gap:3px;width:29px;height:29px;display:flex;transform:rotate(-11deg)}.stage-mark i{background:var(--stage-blue);border-radius:3px;width:6px;height:22px;display:block}.stage-mark i:nth-child(2){background:var(--stage-purple);height:29px}.stage-mark i:nth-child(3){background:var(--stage-pink);height:18px}.sidebar nav{flex-direction:column;gap:7px;display:flex}.nav-item{text-align:left;color:var(--theme-text-secondary,#6c7c88);border-radius:13px;align-items:center;gap:11px;padding:13px 12px;font-size:15px;font-weight:520;transition:all .18s;display:flex}.nav-item:hover{color:var(--ink);background:#ffffff70}.nav-item.active{color:var(--action);background:#fff9;box-shadow:0 2px 8px #223b4810}.nav-item small{color:var(--theme-text-secondary,#82939e);margin-left:auto;font-size:13px;font-weight:600}.nav-item .amber-count{color:#a07842}.sidebar-bottom{margin-top:auto;padding:0 8px}.sheet-link{color:var(--theme-text-secondary,#83919b);align-items:center;gap:7px;margin:15px 0 22px;font-size:13px;display:flex}.sheet-link:hover{color:var(--action)}.user{border-top:1px solid var(--line);align-items:center;gap:9px;min-width:0;padding-top:18px;display:flex}.user-avatar{width:32px;height:32px;color:var(--theme-text-secondary,#695084);background:linear-gradient(140deg,#dfeaff,#f3def0);border-radius:50%;flex-shrink:0;place-items:center;font-size:13px;font-weight:600;display:grid}.user>div:last-child{min-width:0}.user strong,.user span{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.user span{color:var(--theme-text-secondary,#84929c);margin-top:3px;font-size:11px}.workspace{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{justify-content:space-between;align-items:center;height:86px;padding:0 8px 6px;display:flex}.topbar>div{align-items:center;gap:14px;display:flex}.topbar h1{letter-spacing:-.75px;font-size:27px;font-weight:570}.header-count{color:var(--theme-text-secondary,#8e9aa3);margin-top:5px;font-size:14px}.top-actions{gap:14px!important}.connection{color:var(--theme-text-secondary,#7d918a);align-items:center;gap:6px;font-size:13px;display:flex}.connection i,.live-dot{background:#67a388;border-radius:50%;width:6px;height:6px;display:inline-block}.connection.stale{color:var(--amber)}.connection.stale i{background:#b98337}.icon-button{width:38px;height:38px;color:var(--theme-text-secondary,#80909a);border-radius:9px;justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.icon-button:hover{color:var(--theme-text-strong,#345d76);background:#e3eaf180}.icon-button.tiny{width:22px;height:22px}.workbody{flex:1;gap:16px;min-height:0;padding-bottom:1px;display:flex}.list-pane{background:#f9fbfca6;border-radius:21px;flex-direction:column;flex-shrink:0;width:370px;display:flex;overflow:hidden}.searchbox{min-height:45px;color:var(--theme-text-secondary,#7a8c98);background:#fff7;border:1px solid #c2cfd34d;border-radius:12px;align-items:center;gap:9px;margin:20px 17px 13px;padding:0 12px;display:flex}.searchbox input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;font-size:16px;outline:0!important}.searchbox input::placeholder{color:var(--theme-text-secondary,#83939e)}.searchbox kbd{white-space:nowrap;color:var(--theme-text-muted,#9eabb3);font-family:inherit;font-size:12px}.filter-row{border-bottom:1px solid var(--line);align-items:center;gap:4px;padding:0 17px 15px;display:flex}.filter{color:var(--theme-text-secondary,#8b99a3);border-radius:8px;padding:6px 10px;font-size:13px}.filter.active{color:var(--action);background:#e9e8fb}.filter-row>span{color:var(--theme-text-secondary,#8b99a3);margin-left:auto;font-size:12px}.entity-list{scrollbar-width:thin;scrollbar-color:#bfcdd666 transparent;flex:1;min-height:0;padding:7px;overflow:auto}.entity-item{text-align:left;border-radius:13px;align-items:center;gap:9px;width:100%;margin:2px 0;padding:16px 11px;transition:all .15s;display:flex;position:relative}.entity-item:hover{background:#ffffff85}.entity-item.selected{background:#fff;box-shadow:0 3px 13px #28404e0a}.entity-item.selected:before{content:"";background:var(--brand-gradient);border-radius:3px;width:3px;position:absolute;top:23px;bottom:23px;left:0}.entity-item>svg{color:var(--theme-text-muted,#b8c4cc);margin-left:auto}.entity-item-content{flex:1;min-width:0}.item-title{align-items:center;gap:7px;display:flex}.item-title strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-weight:590;line-height:1.55;display:-webkit-box;overflow:hidden}.quality-dot{background:#c49657;border-radius:50%;flex-shrink:0;width:6px;height:6px;box-shadow:0 0 0 3px #d3ab7910}.item-meta{color:var(--theme-text-secondary,#95a2ab);align-items:center;gap:6px;margin-top:5px;font-size:12px;display:flex}.item-meta>span:first-child{text-overflow:ellipsis;white-space:nowrap;max-width:210px;overflow:hidden}.mini-customer{color:var(--theme-text-secondary,#669c89);margin-left:auto;font-size:11px}.detail-pane{scrollbar-width:thin;scrollbar-color:#c1ced655 transparent;background:#ffffffc9;border-radius:21px;flex:1;min-width:0;padding:30px 32px;overflow:auto}.entity-hero{align-items:flex-start;gap:16px;margin-bottom:25px;display:flex}.entity-avatar{width:55px;height:55px;color:var(--theme-text-secondary,#7862a2);background:linear-gradient(140deg,#e4edff,#f4e5f4);border:1px solid #fff;border-radius:17px;flex-shrink:0;place-items:center;font-size:19px;font-weight:510;display:grid}.hero-content{flex:1;min-width:0}.hero-meta{color:var(--theme-text-secondary,#91a0ab);flex-wrap:wrap;gap:8px;margin:3px 0 8px;font-size:12px;display:flex}.entity-hero h2{letter-spacing:-.8px;overflow-wrap:anywhere;font-size:27px;font-weight:570;line-height:1.3}.entity-hero>.icon-button{flex-shrink:0}.status-row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.status{border-radius:6px;padding:4px 9px;font-size:12px;line-height:1.3}.status.customer{color:var(--theme-text-secondary,#568975);background:#eaf3ef}.status.lead{color:var(--theme-text-secondary,#6482a1);background:#eaf0f7}.status.neutral{color:var(--theme-text-secondary,#89959d);background:#edf0f3}.phase{color:var(--theme-text-secondary,#8996a1);padding:2px 4px;font-size:12px}.contact-age{color:var(--theme-text-secondary,#9ba6ae);margin-left:auto;font-size:12px}.entity-actions{align-items:center;gap:8px;margin-bottom:24px;display:flex}.button{white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;font-size:13px;font-weight:550;line-height:1.2;transition:all .16s;display:inline-flex}.button.primary{background:linear-gradient(120deg,var(--action),var(--action-purple));color:#fff;border:1px solid #5957b5;box-shadow:0 2px 5px #6851b51a}.button.primary:hover{background:linear-gradient(120deg,#354bb0,#7041a3);box-shadow:0 4px 12px #6851b52a}.button.secondary{color:var(--theme-text-secondary,#665e85);background:#f3f2fa;border:1px solid #e8e4f1}.button.secondary:hover{background:#eae6f5}.button.missing-link{color:#9c805b;background:#f8f4ed;border-color:#f0e6d6}.button.small{padding:7px 10px;font-size:12px}.entity-actions>.button.primary{margin-left:auto}.quality-notice{color:#aa8754;text-align:left;background:#fcf9f3;border:1px solid #eddfc744;border-radius:11px;align-items:flex-start;gap:10px;width:100%;margin-bottom:24px;padding:13px 14px;display:flex}.quality-notice>svg{margin-top:1px}.quality-notice>div{flex:1;min-width:0}.quality-notice strong{font-size:13px;font-weight:520;line-height:1.5;display:block}.quality-notice span{color:#b5a186;margin-top:4px;font-size:12px;line-height:1.5;display:block}.quality-notice ul{margin:8px 0 2px;padding-left:15px;font-size:13px;line-height:1.6}.quality-notice li+li{margin-top:7px}.rotate{transform:rotate(180deg)}.contact-card{border:1px solid var(--line);background:#fff5;border-radius:13px;margin-bottom:20px;padding:18px 19px}.contact-person{color:var(--theme-text-secondary,#7891a1);align-items:center;gap:10px;margin-bottom:12px;display:flex}.contact-person strong{color:var(--theme-text-strong,#526879);font-size:14px;font-weight:560}.contact-lines{flex-wrap:wrap;gap:13px 25px;display:flex}.contact-lines a,.contact-lines button{color:var(--theme-text-secondary,#7d91a0);overflow-wrap:anywhere;text-align:left;align-items:center;gap:7px;font-size:13px;display:flex}.contact-lines a:hover,.contact-lines button:hover{color:var(--action)}.contact-lines>a>svg:last-child,.contact-lines>button>svg:last-child{opacity:.45}.muted-link{color:var(--theme-text-muted,#a2aab0)!important}.next-card{background:#f3f0fa80;border:1px solid #e9e2f455;border-radius:13px;margin-bottom:22px;padding:17px 19px}.section-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px;display:flex}.section-head h3,.links-block h3{color:var(--theme-text-secondary,#6e8596);font-size:13px;font-weight:590}.section-head>span{color:var(--theme-text-secondary,#8da0ad);align-items:center;gap:5px;font-size:12px;display:flex}.section-head .overdue{color:#a6885d}.next-card p{white-space:pre-wrap;color:var(--theme-text-secondary,#516e83);font-size:14px;line-height:1.7}.owner{color:var(--theme-text-secondary,#8d9fa9);align-items:center;gap:5px;margin-top:12px;font-size:12px;display:flex}.summary-block{margin:24px 0 28px}.summary-block p{color:var(--theme-text-secondary,#728493);white-space:pre-wrap;font-size:14px;line-height:1.85}.links-block{margin:0 0 25px}.links-block h3{margin-bottom:12px}.linked-entity{text-align:left;border-top:1px solid var(--line);align-items:flex-start;gap:11px;width:100%;padding:13px 0;display:flex}.linked-symbol{width:30px;height:30px;color:var(--theme-text-muted,#9166af);background:#f1ecf9;border-radius:9px;flex-shrink:0;place-items:center;display:grid}.linked-entity>div:nth-child(2){flex:1}.linked-entity strong{color:var(--theme-text-secondary,#5d7e95);font-size:13px;font-weight:550}.linked-entity p{color:var(--theme-text-secondary,#94a1aa);margin-top:5px;font-size:12px;line-height:1.6}.linked-entity>svg{color:var(--theme-text-muted,#aab8c2);margin-top:7px}.linked-entity:hover strong{color:var(--action)}.data-details{border-top:1px solid var(--line);color:var(--theme-text-secondary,#91a0aa);padding:16px 0;font-size:13px}.data-details summary{cursor:pointer;color:var(--theme-text-secondary,#7e91a0);align-items:center;gap:8px;font-weight:530;list-style:none;display:flex}.data-details summary::-webkit-details-marker{display:none}.data-details summary>svg{margin-left:0}.data-details>div,.data-details>dl{margin-top:18px}.data-details[open]>summary>svg{transform:rotate(180deg)}.secondary-contacts{grid-template-columns:1fr 1fr;gap:16px;display:grid}.secondary-contacts>div{flex-direction:column;align-items:flex-start;gap:6px;font-size:13px;display:flex}.secondary-contacts strong{color:var(--theme-text-secondary,#6c8293);font-weight:570}.secondary-contacts small{font-size:12px;line-height:1.5}.secondary-contacts button{text-align:left;overflow-wrap:anywhere;align-items:center;gap:5px;font-size:12px;display:flex}.history-block{margin-top:22px}.history-entry{gap:12px;padding-bottom:24px;display:flex;position:relative}.history-entry:before{content:"";background:#e9eef1;width:1px;position:absolute;top:24px;bottom:0;left:12px}.history-entry:last-child:before{display:none}.timeline-dot{width:26px;height:26px;color:var(--theme-text-muted,#a5b4bf);background:#f3f6f8;border-radius:50%;flex-shrink:0;place-items:center;display:grid}.history-entry>div:last-child{flex:1;padding-top:5px}.history-meta{justify-content:space-between;align-items:center;gap:12px;display:flex}.history-meta strong{color:var(--theme-text-secondary,#7891a2);font-size:12px;font-weight:560}.history-meta span{color:var(--theme-text-muted,#a7b2ba);font-size:11px}.history-entry p{color:var(--theme-text-secondary,#8797a3);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px;font-size:13px;line-height:1.8}.history-entry small{color:var(--theme-text-muted,#a3afb8);margin-top:8px;font-size:11px;display:block}.metadata-list{gap:12px;display:grid}.metadata-list>div{grid-template-columns:120px 1fr;gap:15px;display:grid}.metadata-list dt{color:var(--theme-text-muted,#9aa7b0)}.metadata-list dd{color:var(--theme-text-secondary,#6d8495);white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.source{padding-top:16px}.source a{color:var(--theme-text-secondary,#7193aa);align-items:center;gap:5px;font-size:13px;display:flex}.source pre{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--theme-text-muted,#98a8b5);background:#f4f7f9;border-radius:8px;padding:12px;font-size:11px}.data-details>details{margin-top:20px}.muted{color:var(--theme-text-muted,#a0abb3);font-size:13px;line-height:1.7}.detail-empty,.loading-state{text-align:center;height:100%;min-height:200px;color:var(--theme-text-muted,#a6b4bf);flex-direction:column;justify-content:center;align-items:center;padding:35px;display:flex}.detail-empty h2{color:var(--theme-text-secondary,#78909f);letter-spacing:-.5px;margin-top:24px;font-size:23px;font-weight:500}.detail-empty p{max-width:330px;color:var(--theme-text-muted,#a0b0bb);margin-top:12px;font-size:14px;line-height:1.7}.empty-art{width:90px;height:90px;color:var(--theme-text-muted,#9db5c5);background:linear-gradient(140deg,#eaf0ff,#f4e8f7);border:1px solid #fff;border-radius:28px;place-items:center;display:grid;box-shadow:0 7px 22px #759ab51c}.loading-state p{margin-top:15px;font-size:13px}.empty-list{text-align:center;color:var(--theme-text-muted,#a6b5bf);flex-direction:column;align-items:center;gap:16px;padding:55px 20px;display:flex}.empty-list h3{color:var(--theme-text-secondary,#7893a5);font-size:17px;font-weight:530}.empty-list p{font-size:13px;line-height:1.7}.load-more{width:100%;color:var(--theme-text-muted,#8aa0b0);justify-content:center;align-items:center;gap:5px;padding:18px;font-size:12px;display:flex}.error-banner{color:#9b7b51;background:#fffbf4;border:1px solid #e8d4b9;border-radius:12px;align-items:center;gap:10px;margin:0 0 13px;padding:12px 16px;font-size:13px;display:flex}.error-banner>span{flex:1;line-height:1.7}.queue-toolbar{justify-content:space-between;align-items:center;padding:23px 20px 16px;display:flex}.queue-toolbar strong{font-size:16px;font-weight:550;display:block}.queue-toolbar span{color:var(--theme-text-muted,#98a8b2);margin-top:5px;font-size:12px;display:block}.queue-progress{background:#e6eef2;border-radius:3px;height:3px;margin:0 19px 15px;overflow:hidden}.queue-progress>div{background:var(--brand-gradient);height:100%;transition:width .3s}.generate-button{min-height:35px;color:var(--theme-text-secondary,#7b95a7);background:#f4f8fa;border:1px solid #dce7ed;border-radius:10px;justify-content:center;align-items:center;gap:7px;margin:0 17px 16px;font-size:13px;display:flex}.queue-number{color:var(--theme-text-muted,#a5b5c0);text-align:center;flex-shrink:0;width:19px;font-size:13px}.queue-foot{border-top:1px solid var(--line);color:var(--theme-text-secondary,#8f9faa);justify-content:space-between;align-items:center;padding:16px 18px;font-size:12px;display:flex}.text-button{color:var(--theme-text-secondary,#829bab);align-items:center;gap:3px;font-size:12px;display:inline-flex}.text-button:hover{color:var(--action)}.call-focus{background:linear-gradient(120deg,#edf2ff,#f6edf9);border:1px solid #e0ebef;border-radius:15px;margin-bottom:23px;padding:21px}.call-reason{color:var(--theme-text-secondary,#7c98aa);align-items:center;gap:7px;margin-bottom:18px;font-size:13px;display:flex}.call-number{letter-spacing:-.7px;color:var(--action);justify-content:space-between;align-items:center;margin:8px 0 23px;font-size:28px;display:flex}.call-outcomes{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.call-outcomes .text-button{margin-left:auto}.note-composer{background:#f3f7f9;border:1px solid #e2ebf0;border-radius:13px;margin:10px 0 25px;padding:15px}.composer-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.composer-head select,.composer-head input{color:var(--theme-text-secondary,#7e95a7);background:0 0;border:0;width:auto;max-width:150px;padding:3px;font-size:13px}.note-composer textarea{resize:vertical;width:100%;color:var(--theme-text-secondary,#506c80);background:0 0;border:0;padding:0;font-size:14px;line-height:1.8;outline:0!important}.note-composer textarea::placeholder{color:var(--theme-text-muted,#a3b1bd)}.checkbox{color:var(--theme-text-secondary,#8298a8);align-items:center;gap:7px;margin-top:12px;font-size:12px;display:flex}.checkbox input{accent-color:var(--action);cursor:pointer}.form-grid{grid-template-columns:1fr 1fr;gap:18px 20px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;display:flex}.field input,.field select,.field textarea{width:100%;color:var(--theme-text-secondary,#536e82);background:#fff8;border:1px solid #dce5eb;border-radius:9px;min-height:44px;padding:10px 11px;font-size:14px}.field textarea{resize:vertical;line-height:1.6}.field.span2{grid-column:span 2}.edit-extra{border-top:1px solid var(--line);margin-top:25px;padding:20px 0}.edit-extra summary{cursor:pointer;color:var(--theme-text-muted,#92a4b3);align-items:center;gap:8px;font-size:13px;list-style:none;display:flex}.edit-extra[open]>.form-grid{margin-top:22px}.savebar{z-index:5;background:#f6f9faf2;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;margin:25px -15px -20px;padding:15px;display:flex;position:sticky;bottom:-35px}.savebar>span{color:var(--theme-text-secondary,#8da19e);align-items:center;gap:6px;font-size:11px;display:flex}.savebar>div{gap:8px;display:flex}.save-error{color:#a37e51;background:#fff8f1;border:1px solid #edd9c0;border-radius:11px;margin:18px 0;padding:14px;font-size:13px;line-height:1.6}.save-error strong{font-weight:520}.save-error a{margin-top:8px;text-decoration:underline;display:block}.save-error p{margin-top:10px}.save-error dl>div{margin:10px 0}.save-error dt{font-weight:600}.save-error dd{white-space:pre-wrap;margin:3px 0}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#63798430;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.queue-modal{background:#fbfdfeef;border-radius:24px;width:430px;max-width:100%;padding:35px;position:relative;box-shadow:0 25px 100px #35546625}.modal-close{position:absolute;top:15px;right:16px}.modal-icon{width:54px;height:54px;color:var(--theme-text-muted,#8d65b6);background:linear-gradient(130deg,#e2ecff,#f1e3f8);border-radius:17px;place-items:center;margin-bottom:22px;display:grid}.queue-modal h2{letter-spacing:-.8px;margin-bottom:10px;font-size:27px;font-weight:530}.queue-modal>p{color:var(--theme-text-secondary,#8a9dab);margin-bottom:28px;font-size:14px;line-height:1.7}.queue-settings{flex-direction:column;gap:18px;display:flex}.queue-settings label{justify-content:space-between;align-items:center;gap:14px;display:flex}.queue-settings label>span{color:var(--theme-text-secondary,#728c9e);font-size:13px}.queue-settings input,.queue-settings select{color:var(--theme-text-secondary,#5d7a90);background:#edf3f6;border:1px solid #e2eaf0;border-radius:9px;width:110px;padding:10px;font-size:13px}.queue-modal>small{color:var(--theme-text-muted,#a0b0bb);margin:23px 0;font-size:12px;line-height:1.6;display:block}.wide{width:100%}.toast{color:#e7f1f5;z-index:30;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#37334feb;border:1px solid #fff3;border-radius:12px;align-items:center;gap:9px;padding:13px 19px;font-size:14px;display:flex;position:fixed;bottom:32px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #203d4c33}.spin{animation:1.2s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width>=1600px){.list-pane{width:420px}.detail-pane{padding:36px 42px}.sidebar{width:232px}.entity-item{padding:18px 15px}.item-title strong{font-size:15px}.entity-hero h2{font-size:30px}}@media (width<=1200px){.app-shell{gap:13px;padding:12px}.sidebar{width:200px;padding-left:8px;padding-right:8px}.brand{padding-left:13px;font-size:28px}.nav-item{gap:8px;font-size:14px}.list-pane{width:300px}.workbody{gap:12px}.detail-pane{padding:27px 25px}.entity-hero h2{font-size:24px}.contact-age{margin-left:0}.savebar>span{max-width:110px;line-height:1.5}.contact-lines{flex-direction:column}}@media (width<=1100px){.sidebar{border-radius:19px;width:66px;padding:24px 7px 16px}.brand{padding:0 8px 30px}.brand>span{display:none}.nav-item{justify-content:center;padding:13px 8px;font-size:0}.nav-item small,.user>div:last-child,.sheet-link{display:none}.user{border:0;justify-content:center}.sidebar-bottom{padding:0}.list-pane{width:270px}.detail-pane{padding:25px 22px}.entity-avatar{border-radius:13px;width:42px;height:42px;font-size:15px}.entity-hero{gap:11px}.entity-actions{gap:5px}.button{padding:10px 11px;font-size:12px}.form-grid{gap:16px 12px}.call-number{font-size:24px}.call-outcomes .text-button{margin-left:0}}@media (width<=700px){.app-shell{height:auto;min-height:100dvh}.sidebar{height:calc(100dvh - 24px);position:sticky;top:12px}.topbar{height:65px}.topbar h1{font-size:23px}.workbody{flex-direction:column}.list-pane{width:100%;height:340px;min-height:340px}.detail-pane{min-height:500px;overflow:visible}.entity-hero h2{font-size:25px}.form-grid{grid-template-columns:1fr}.field.span2{grid-column:auto}.savebar{bottom:10px}.queue-modal{padding:28px}.secondary-contacts{grid-template-columns:1fr}.metadata-list>div{grid-template-columns:100px 1fr}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.item-title strong{color:var(--theme-text-strong,#334d5f);font-size:15px}.item-meta{color:var(--theme-text-secondary,#7d909f);font-size:13px}.hero-meta{color:var(--theme-text-secondary,#7f929f);font-size:13px}.summary-block p{color:var(--theme-text-secondary,#617b8f);font-size:15px}.history-entry p{color:var(--theme-text-secondary,#718899);font-size:14px}.history-meta strong{color:var(--theme-text-secondary,#69869b);font-size:13px}.contact-lines a,.contact-lines button{color:var(--theme-text-secondary,#6d879a);font-size:14px}.next-card p{font-size:15px}.linked-entity strong{font-size:14px}.linked-entity p{color:var(--theme-text-secondary,#7d929f);font-size:13px}.field input,.field select,.field textarea{font-size:15px}.field>span{color:var(--theme-text-secondary,#7e95a5);font-size:13px}.entity-list{scrollbar-gutter:stable}.quality-notice strong{color:#947142}.entity-item.selected:before{top:20px;bottom:20px}.login-page{place-items:center;min-height:100dvh;padding:25px;display:grid}.login-card{border-radius:25px;flex-direction:column;gap:20px;width:400px;max-width:100%;padding:38px;display:flex}.login-card .brand{padding:0 0 12px}.login-card h1{font-size:31px;font-weight:550}.login-card p{color:var(--theme-text-secondary,#718899);line-height:1.6}.login-card small{color:var(--theme-text-secondary,#7d909f);font-size:13px;line-height:1.6}.entity-tools{gap:20px;margin:0 0 24px;display:flex}.entity-tools button{align-items:center;gap:6px;display:flex}.email-body{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f5f7;border-radius:10px;max-height:420px;margin:16px 0;padding:15px;line-height:1.7;overflow:auto}.email-disclosure{color:var(--theme-text-secondary,#567085);margin-top:12px;font-size:14px}.email-disclosure summary{cursor:pointer}.message-source{flex-wrap:wrap;gap:16px;margin:12px 0;font-size:13px;display:flex}.message-source a{color:var(--action)}.import-modal{background:#f8fbfdef;border-radius:24px;flex-direction:column;width:min(1100px,95vw);height:min(850px,92dvh);display:flex;overflow:hidden}.import-modal>header{border-bottom:1px solid var(--line);justify-content:space-between;padding:24px 30px;display:flex}.import-modal h2{font-size:25px;font-weight:570}.import-modal header p{color:var(--theme-text-secondary,#7e95a5);margin-top:6px;font-size:14px}.import-layout{flex:1;min-height:0;display:flex}.import-layout>aside{border-right:1px solid var(--line);background:#eaf0f459;flex-shrink:0;width:260px;padding:22px 16px;overflow:auto}.import-layout>section{flex:1;min-width:0;padding:26px 32px;overflow:auto}.import-layout h3{overflow-wrap:anywhere;font-size:21px;font-weight:550}.import-layout aside small{color:var(--theme-text-secondary,#7a8f9f);margin:15px 3px;font-size:13px;line-height:1.7;display:block}.upload-button{cursor:pointer;display:flex;position:relative}.upload-button input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.import-list-item{border-radius:10px;margin:5px 0;padding:10px 7px;display:flex}.import-list-item.selected{background:#fff}.import-list-item>button:first-child{text-align:left;flex:1;min-width:0}.import-list-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;display:block;overflow:hidden}.import-list-item span{color:var(--theme-text-secondary,#7c90a0);margin-top:5px;font-size:12px;display:block}.email-envelope{color:var(--theme-text-secondary,#7790a2);overflow-wrap:anywhere;margin:12px 0 25px;font-size:14px;line-height:1.8}.import-warning{color:#90713f;background:#f8f1e5;border-radius:10px;margin-bottom:18px;padding:12px 14px;font-size:14px;line-height:1.6}.import-save{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#f8fbfdeb;justify-content:flex-end;padding:18px 0;display:flex;position:sticky;bottom:-26px}.contact-import{margin:18px 0}.contact-import select{background:#fff;border:1px solid #d9e3ea;border-radius:8px;max-width:100%;margin-top:10px;padding:8px}.attachment-list{color:var(--theme-text-secondary,#8899a5);margin:15px 0 24px;font-size:13px;line-height:1.6}.import-empty{text-align:center;height:100%;color:var(--theme-text-secondary,#7c95a5);flex-direction:column;justify-content:center;align-items:center;gap:22px;display:flex}.import-empty p{max-width:350px;line-height:1.7}.current-state{color:var(--theme-text-secondary,#6c8496);margin:15px 0;font-size:14px;line-height:1.7}.queue-modal{max-height:90dvh;overflow:auto}.history-entry>div:last-child{min-width:0}@media (width<=750px){.import-layout{flex-direction:column}.import-layout>aside{flex-shrink:0;width:auto;max-height:170px}.import-layout>section{padding:22px}.entity-tools{flex-wrap:wrap}}.brand-name{letter-spacing:-.6px;flex-direction:column;gap:3px;font-size:24px;line-height:1;display:flex}.brand-name>span{letter-spacing:1.6px;color:var(--action);font-size:14px;font-weight:600}@media (width<=1100px){.sidebar .brand-name{display:none}}.import-source{text-align:left;border:1px solid var(--line);background:var(--glass);width:100%;color:inherit;cursor:pointer;border-radius:16px;align-items:center;gap:16px;margin-top:12px;padding:20px 14px;display:flex}.import-source span{flex:1;gap:5px;display:grid}.import-source small{opacity:.65}.import-heading{align-items:center;gap:12px;display:flex}.fastbill-modal{flex-direction:column;display:flex}.fastbill-modal fieldset{border:0;min-width:0;margin:0;padding:0}.fastbill-toolbar{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:14px 24px;display:flex}.fastbill-toolbar>span{opacity:.6;margin-left:auto;font-size:12px}.fastbill-modal>.save-error,.fastbill-notice{margin:10px 24px}.fastbill-notice{font-size:13px}.fastbill-setup{min-height:0;padding:24px;overflow:auto}.fastbill-setup p{opacity:.75;max-width:850px;font-size:14px;line-height:1.6}.fastbill-mapping{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0;display:grid}.fastbill-mapping small{text-overflow:ellipsis;white-space:nowrap;opacity:.6;overflow:hidden}.fastbill-modal select,.fastbill-modal input:not([type=checkbox]),.fastbill-modal textarea{background:var(--theme-input-bg,#ffffff73);min-width:0;max-width:100%;color:inherit;border:1px solid var(--line);font:inherit;border-radius:10px;padding:10px}.fastbill-modal select{width:100%}.fastbill-filters,.fastbill-pagination{align-items:center;gap:8px;margin:12px 0;display:flex}.fastbill-pagination{justify-content:space-between}.fastbill-search{box-sizing:border-box;width:100%;margin-bottom:10px}.fastbill-source{margin:18px 0;font-size:13px;line-height:1.5}.fastbill-source>div{grid-template-columns:120px 1fr;gap:14px;padding:5px 0;display:grid}.fastbill-source dt{opacity:.6}.fastbill-source dd{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;margin:0;overflow:auto}.fastbill-candidates{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.fastbill-candidates button{text-align:left;gap:3px;display:grid}.fastbill-candidates small{opacity:.6;font-size:10px}.fastbill-fields{gap:14px;margin:20px 0;display:grid}.fastbill-fields>div{grid-template-columns:180px minmax(0,1fr);gap:6px 12px;display:grid}.fastbill-fields small{opacity:.6;overflow-wrap:anywhere;grid-column:2}.fastbill-modal .import-save{justify-content:flex-end;gap:10px}.fastbill-modal .import-layout{flex:1;min-height:0}.fastbill-modal .muted{font-size:12px;line-height:1.6}.fastbill-modal .section-head{gap:20px}.fastbill-modal .section-head select{width:auto}@media (width<=800px){.fastbill-mapping{grid-template-columns:1fr 1fr}.fastbill-toolbar>span{display:none}.fastbill-fields>div{grid-template-columns:1fr}.fastbill-fields small{grid-column:1}}.wizard-content,.quick-call fieldset{border:0;min-width:0;margin:0;padding:0}.wizard-steps{gap:20px;margin-top:18px;display:flex}.wizard-steps button{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.wizard-steps button>span{border:1px solid var(--line);border-radius:50%;place-items:center;width:23px;height:23px;font-size:11px;display:grid}.wizard-steps [aria-current=step]{color:var(--action);font-weight:600}.wizard-steps [aria-current=step]>span{background:var(--action);color:#fff}.wizard-subject{gap:5px;margin-bottom:28px;display:grid}.wizard-subject strong{color:var(--muted);font-size:13px;font-weight:500}.wizard-subject>span{color:var(--muted);font-size:12px}.wizard-content>h3{margin-bottom:24px;line-height:1.4}.organisation-confirm{border:1px solid var(--line);background:var(--glass);border-radius:16px;grid-template-columns:1fr auto;gap:6px 16px;margin-bottom:20px;padding:24px;display:grid}.organisation-confirm>strong{overflow-wrap:anywhere;font-size:21px;font-weight:550}.organisation-confirm>span{color:var(--muted);font-size:12px}.organisation-confirm>button{grid-area:1/2/span 2;align-self:center}.wizard-alternatives{flex-wrap:wrap;gap:24px;margin:24px 0;display:flex}.wizard-candidate{text-align:left;border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;width:100%;padding:14px 10px;display:flex}.wizard-candidate small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.new-organisation{gap:16px;display:grid}.choice-buttons{border:1px solid var(--line);border-radius:12px;gap:6px;margin:12px 0 20px;padding:5px;display:flex}.choice-buttons>button{color:var(--muted);border-radius:8px;flex:1;padding:10px 16px;font-size:14px}.choice-buttons>button.selected{color:var(--action);background:var(--glass);box-shadow:0 2px 8px #101c4010}.participant-list{gap:10px;margin:16px 0;display:grid}.participant-choice{border:1px solid var(--line);cursor:pointer;border-radius:12px;align-items:center;gap:14px;padding:16px;display:flex}.participant-choice input{width:18px;height:18px;accent-color:var(--action);flex-shrink:0}.participant-choice>span{gap:5px;min-width:0;display:grid}.participant-choice strong{overflow-wrap:anywhere;font-size:15px;font-weight:550}.participant-choice small{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.wizard-date{gap:16px;margin-bottom:20px;display:flex}.wizard-date>.field{flex:1}.email-placement{border:1px solid var(--line);border-radius:14px;margin-bottom:24px;padding:16px}.placement-event{color:var(--muted);align-items:center;gap:12px;padding:12px 8px;display:flex}.placement-event>div{flex:1;gap:5px;min-width:0;display:grid}.placement-event strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;overflow:hidden}.placement-event small{font-size:11px}.incoming-preview{background:var(--glass);border:1px solid var(--action);color:var(--ink);border-radius:10px}.preview-pill{color:var(--action);border-radius:6px;padding:4px 7px;font-size:10px}.email-text-heading{color:var(--muted);justify-content:space-between;align-items:center;font-size:13px;display:flex}.wizard-mail-editor{border:1px solid var(--line);background:var(--glass);width:100%;color:var(--ink);line-height:1.7;font:inherit;resize:vertical;border-radius:10px;padding:16px}.email-wizard .email-body{max-height:280px;font-size:14px}.wizard-footer{justify-content:space-between;margin-top:20px}.import-help{color:var(--muted);margin-top:22px;font-size:12px;line-height:1.7}.import-help summary{cursor:pointer}.import-help p{margin-top:12px}.email-wizard .muted{font-size:12px;line-height:1.6}.email-wizard .import-layout>section{scroll-behavior:smooth}.detail-pane{container-type:inline-size}.simple-hero{margin-bottom:28px}.simple-hero .hero-content{gap:10px;display:grid}.simple-hero .status{justify-self:start}.organisation-overview{grid-template-columns:minmax(0,1fr) 210px;align-items:start;gap:30px;display:grid}.communication-column{min-width:0}.timeline-heading{justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px;display:flex}.timeline-heading h3{color:var(--muted);font-size:15px;font-weight:550}.timeline-heading .button{min-height:34px;padding:8px 10px;font-size:12px}.communication-event{border-top:1px solid var(--line);padding:19px 0}.communication-event>summary{cursor:pointer;align-items:center;gap:13px;list-style:none;display:flex}.communication-event>summary::-webkit-details-marker{display:none}.communication-icon{border:1px solid var(--line);width:35px;height:35px;color:var(--action);background:#7486b20c;border-radius:11px;flex-shrink:0;place-items:center;display:grid}.communication-title{flex:1;gap:7px;min-width:0;display:grid}.communication-title>strong{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:550;overflow:hidden}.communication-title>span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.communication-event>summary>svg{color:var(--muted);flex-shrink:0}.communication-event[open]>summary>svg{transform:rotate(180deg)}.communication-event[open] .communication-title>strong{white-space:normal;overflow-wrap:anywhere}.communication-body{overflow-wrap:anywhere;padding:16px 0 0 48px;font-size:14px;line-height:1.7}.communication-body .email-body{max-height:520px;font-size:14px}.communication-body .email-envelope{margin:0 0 15px;font-size:12px}.communication-body .message-source{font-size:11px}.communication-body .message-source a{align-items:center;gap:5px;display:flex}.call-note{white-space:pre-wrap}.timeline-empty{color:var(--muted);padding:26px 0;font-size:14px}.organisation-sidebar{border-left:1px solid var(--line);min-width:0;padding-left:22px}.overview-action,.overview-issues>summary{text-align:left;cursor:pointer;width:100%;color:var(--ink);align-items:center;gap:9px;padding:14px 0;font-size:13px;list-style:none;display:flex}.overview-action small{color:var(--muted);font-size:11px}.overview-issues>summary::-webkit-details-marker{display:none}.overview-issues,.overview-issues>summary{color:var(--amber)}.overview-issues ul{margin-bottom:12px;padding-left:16px;font-size:12px;line-height:1.65}.overview-issues li{margin-bottom:8px}.overview-contacts>div{gap:9px;padding:12px 0;display:grid}.overview-contacts strong{font-size:14px;font-weight:550}.overview-contacts small{color:var(--muted);font-size:11px}.overview-contacts a,.overview-contacts button{overflow-wrap:anywhere;text-align:left;color:var(--action);align-items:center;gap:7px;font-size:12px;display:flex}.overview-details{overflow-wrap:anywhere;font-size:12px;line-height:1.7}.overview-details>.button{margin:12px 0}.overview-details>p{white-space:pre-wrap;margin:14px 0}.overview-details .metadata-list>div{display:block}.overview-details .metadata-list dt{font-size:11px}.overview-details .metadata-list dd{margin:2px 0 12px;font-size:12px}.overview-details .linked-entity{gap:8px;font-size:12px}.overview-details .linked-entity small{color:var(--muted);display:block}.overview-details .entity-tools,.overview-contacts .entity-tools{gap:12px;margin:16px 0;display:grid}.overview-details .data-details summary{font-size:12px}.overview-details .source pre{max-width:100%;font-size:10px}.internal-event{border-bottom:1px solid var(--line);padding:12px 0}.internal-event small{color:var(--muted);font-size:10px}.internal-event p{white-space:pre-wrap;font-size:12px;line-height:1.6}.compact-followup{border-bottom:1px solid var(--line);gap:10px;margin-bottom:8px;padding:0 0 20px;display:grid}.compact-followup small{color:var(--action);font-size:11px}.compact-followup p{white-space:pre-wrap;font-size:13px;line-height:1.6}.compact-followup .call-number{overflow-wrap:anywhere;font-size:16px}.compact-followup .button{font-size:12px}.quick-call .field{margin-top:16px}.quick-call h2{font-size:22px}.quick-call .button.wide{margin-top:18px}.quick-call .choice-buttons{margin-top:22px}@container (width<=650px){.organisation-overview{grid-template-columns:minmax(0,1fr) 170px;gap:18px}.organisation-sidebar{padding-left:15px}.communication-body{padding-left:0}.timeline-heading{flex-wrap:wrap}}@container (width<=460px){.organisation-overview{flex-direction:column;display:flex}.organisation-sidebar{border-left:0;border-top:1px solid var(--line);width:100%;padding:16px 0}.communication-column{width:100%}}@media (width<=800px){.wizard-steps{gap:10px}.wizard-steps button{font-size:11px}.organisation-confirm{padding:16px}.organisation-confirm>strong{font-size:17px}.wizard-alternatives{gap:12px}.email-wizard .import-layout>aside{width:210px}}.app-shell,.login-page{z-index:1;position:relative}.appearance-controls{align-items:center;gap:4px;display:flex}.theme-picker{border:1px solid var(--line);min-height:38px;color:var(--theme-text-secondary,#667e8f);background:#ffffff59;border-radius:9px;align-items:center;gap:7px;padding:0 9px;display:flex}.theme-picker select{max-width:85px;color:inherit;cursor:pointer;background:0 0;border:0;min-height:36px;padding:0 2px;font-size:12px}.theme-picker:focus-within{outline:2px solid var(--action);outline-offset:3px}.theme-picker select:focus{outline:none}.login-appearance{position:absolute;top:22px;right:24px}.login-card{width:440px}.entity-actions{flex-wrap:wrap}.button{min-height:40px;padding:12px 16px}.button.small{min-height:32px}.searchbox{min-height:49px}.entity-item{padding-top:17px;padding-bottom:17px}.item-title strong{font-size:15px}.contact-card{padding:20px}.contact-lines{gap:15px 25px}.entity-tools{flex-wrap:wrap}.note-composer textarea{min-height:100px}.field textarea{min-height:90px}.searchbox:focus-within{outline:2px solid var(--action);outline-offset:2px}.note-composer:focus-within{border-color:var(--action)}.icon-button:disabled{opacity:.45}.ambient-backdrop{z-index:0;pointer-events:none;-webkit-user-select:none;user-select:none;display:none;position:fixed;inset:0;overflow:hidden}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#edf1ff;--muted:#a8b4ce;--line:#b9c5ef29;--action:#b0bfff;--theme-text-strong:#e2e8fb;--theme-text-secondary:#c1cbe1;--theme-text-muted:#a9b5d0;--glass:#151b35}[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark] body{background:#0b1027}[data-theme=dark] .ambient-backdrop{background:linear-gradient(135deg,#171137,#101d40 55%,#090e25);display:block}.ambient-canvas{opacity:.88;width:100%;height:100%;position:absolute;inset:0}[data-theme=dark] .glass{border-color:#d7dfff26;box-shadow:0 12px 40px #02061335,inset 0 1px #ffffff06}[data-theme=dark] .sidebar{background:#171d38}[data-theme=dark] .list-pane{background:#151d37}[data-theme=dark] .detail-pane{background:#121b32}[data-theme=dark] .queue-modal,[data-theme=dark] .import-modal{background:#171f39;box-shadow:0 25px 100px #0007}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-theme=dark]{--glass:#141b33c7}[data-theme=dark] .sidebar{background:#181d398c}[data-theme=dark] .list-pane{background:#131b35a6}[data-theme=dark] .detail-pane{background:#11192fba}[data-theme=dark] .queue-modal,[data-theme=dark] .import-modal{-webkit-backdrop-filter:blur(30px);background:#171f39f0}}[data-theme=dark] .nav-item:hover,[data-theme=dark] .entity-item:hover{background:#c1c4ff0a}[data-theme=dark] .nav-item.active,[data-theme=dark] .entity-item.selected,[data-theme=dark] .import-list-item.selected{background:linear-gradient(120deg,#91aaff1b,#ca9bff13);box-shadow:inset 0 0 0 1px #bfccff17}[data-theme=dark] .icon-button:hover{color:#eef1ff;background:#a7b9ff19}[data-theme=dark] .theme-picker{background:#a9b7ff0e}[data-theme=dark] .searchbox{border-color:var(--line);background:#080e232e}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#93a0bf}[data-theme=dark] .filter.active{color:#d3d9ff;background:#9d90ee26}[data-theme=dark] .user-avatar,[data-theme=dark] .entity-avatar{color:#e0ddff;background:linear-gradient(140deg,#33477a,#573766);border-color:#b5c4ff24}[data-theme=dark] .button.primary{color:#fff;background:linear-gradient(120deg,#465bbb,#7b48ad);border-color:#bdadff45;box-shadow:0 3px 15px #080b272e}[data-theme=dark] .button.primary:hover{background:linear-gradient(120deg,#5268cc,#8954bd)}[data-theme=dark] .button.secondary,[data-theme=dark] .generate-button{border-color:var(--line);color:#cbd5ee;background:#a9b7ff0c}[data-theme=dark] .button.secondary:hover,[data-theme=dark] .generate-button:hover{background:#a9b7ff1c}[data-theme=dark] .contact-card{border-color:var(--line);background:#d1dcff03}[data-theme=dark] .next-card,[data-theme=dark] .call-focus{background:linear-gradient(120deg,#718cdf0d,#c188f012);border-color:#b3b4fb1c}[data-theme=dark] .note-composer,[data-theme=dark] .email-body,[data-theme=dark] .source pre{border-color:var(--line);background:#080e233d}[data-theme=dark] .field input,[data-theme=dark] .field select,[data-theme=dark] .field textarea,[data-theme=dark] .queue-settings input,[data-theme=dark] .queue-settings select,[data-theme=dark] .contact-import select{color:#e3e9fa;background:#0d152b80;border-color:#bbcaff30}[data-theme=dark] select option{color:#e3e9fa;background:#19213b}[data-theme=dark] .savebar,[data-theme=dark] .import-save{border-color:var(--line);background:#182139ed}[data-theme=dark] .modal-backdrop{background:#03061770}[data-theme=dark] .import-layout>aside{background:#0a11262e}[data-theme=dark] .linked-symbol,[data-theme=dark] .timeline-dot,[data-theme=dark] .modal-icon,[data-theme=dark] .empty-art{color:#b9b6ed;box-shadow:none;background:linear-gradient(140deg,#7198ea19,#be8de91c);border-color:#c0c9ef1a}[data-theme=dark] .history-entry:before,[data-theme=dark] .queue-progress{background:#c4d2ff17}[data-theme=dark] .status.customer{color:#a2dfc5;background:#66d6a619}[data-theme=dark] .mini-customer,[data-theme=dark] .connection{color:#9bcdbb}[data-theme=dark] .status.lead{color:#c0cfff;background:#899efa20}[data-theme=dark] .status.neutral{color:#bdc9df;background:#adb9d41a}[data-theme=dark] .quality-notice,[data-theme=dark] .import-warning,[data-theme=dark] .save-error,[data-theme=dark] .error-banner,[data-theme=dark] .button.missing-link{color:#e5bf85;background:#46342657;border-color:#edc37e28}[data-theme=dark] .quality-notice strong,[data-theme=dark] .section-head .overdue,[data-theme=dark] .nav-item .amber-count,[data-theme=dark] .connection.stale{color:#ebc78f}[data-theme=dark] .quality-notice span{color:#cebc9f}[data-theme=dark] .quality-dot{background:#e0b472;box-shadow:0 0 0 3px #dfb7790a}[data-theme=dark] .toast{color:#edf1ff;background:#273253ef}[data-theme=dark] .entity-list,[data-theme=dark] .detail-pane{scrollbar-color:#8595c74d transparent}@media (width>=1600px){.item-title strong{font-size:16px}.detail-pane{padding:36px 42px}}@media (width<=1100px){.app-shell{gap:12px;padding:10px}.sidebar{width:66px}.list-pane{width:300px}.detail-pane{padding:25px}.button{padding:11px 13px}}@media (width<=700px){.app-shell{gap:9px;padding:8px}.sidebar{height:calc(100dvh - 16px);top:8px}.topbar{flex-wrap:wrap;gap:8px;height:auto;min-height:90px;padding:8px 0 14px}.topbar>div{gap:10px}.top-actions{gap:6px!important}.list-pane{width:100%}.detail-pane{padding:22px 18px}.entity-actions>.button.primary{margin-left:0}.entity-actions>.button{flex:1}.entity-hero h2{font-size:25px}.entity-avatar{display:none}.savebar{flex-wrap:wrap}.savebar>span{max-width:none}.savebar>div{margin-left:auto}.login-card{padding:30px}.import-modal>header,.import-layout>section{padding:20px}.metadata-list>div{grid-template-columns:90px minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.motion-toggle{display:none}}@media (forced-colors:active){.ambient-backdrop{display:none!important}}.system-settings{position:relative}.settings-popover{z-index:18;-webkit-backdrop-filter:blur(24px);width:330px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);color:var(--ink);background:#f8fafff5;border-radius:18px;padding:15px 18px;position:absolute;top:calc(100% + 10px);right:0;overflow:auto;box-shadow:0 16px 48px #18314e26}.settings-popover header,.settings-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings-popover header{margin-bottom:8px;font-size:14px}.settings-row{border-bottom:1px solid var(--line);min-height:51px;font-size:13px}.settings-row .text-button{gap:7px}.settings-gmail{padding-top:16px;font-size:13px}.settings-gmail summary{cursor:pointer}.settings-gmail p,.settings-gmail small{color:var(--theme-text-secondary,#667e8f);margin-top:12px;font-size:12px;line-height:1.65;display:block}.settings-gmail a{color:var(--action);margin-top:16px;font-size:12px;display:inline-block}.settings-key-actions{align-items:center;gap:12px;margin-top:15px;display:flex}.settings-key{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.settings-key input{font-size:12px}.settings-key>.text-button{margin-top:10px}[data-theme=dark] .settings-popover{background:#19213bf5;box-shadow:0 16px 48px #0006}.review-categories{min-height:0;padding:24px 12px;overflow:auto}.review-categories-heading{padding:0 10px 20px}.review-categories-heading strong{font-size:18px;font-weight:560}.review-categories-heading p{color:var(--theme-text-muted,#8292a2);margin-top:6px;font-size:13px}.review-categories section{margin-top:23px}.review-categories h3{letter-spacing:.04em;color:var(--theme-text-muted,#8292a2);padding:0 10px 8px;font-size:11px;font-weight:550}.review-category{text-align:left;width:100%;min-height:49px;color:var(--theme-text-secondary,#5b7084);border:1px solid #0000;border-radius:10px;align-items:center;gap:8px;padding:12px 10px;font-size:13px;display:flex}.review-category>span{flex:1;line-height:1.45}.review-category b{font-variant-numeric:tabular-nums;font-size:12px;font-weight:550}.review-category>svg{opacity:.6}.review-category:hover{background:#8877db0c}.review-category.selected{color:var(--ink);background:linear-gradient(120deg,#6c86df14,#b66bcb12);border-color:#9181c52b}.review-count-note{color:var(--theme-text-muted,#8292a2);padding:24px 10px 4px;font-size:11px;line-height:1.7}.review-results>header{justify-content:space-between;align-items:flex-start;gap:24px;margin:4px 0 20px;display:flex}.review-results h2{letter-spacing:-.6px;font-size:28px;font-weight:560}.review-results header p{color:var(--theme-text-secondary,#718493);max-width:600px;margin-top:10px;font-size:14px;line-height:1.7}.review-total{color:var(--theme-text-muted,#8292a2);font-variant-numeric:tabular-nums;font-size:24px;font-weight:500}.review-topic-note{color:var(--theme-text-muted,#8292a2);margin-bottom:24px;font-size:12px;line-height:1.7}.review-search.searchbox{max-width:580px;margin:0}.review-results>.filter-row{margin:10px 0;padding-left:0;padding-right:0}.review-result{text-align:left;border-top:1px solid var(--line);border-radius:8px;align-items:center;gap:24px;width:100%;padding:20px 12px;display:flex}.review-result:hover{background:#8c88cc0a}.review-result>div{flex:1;min-width:0}.review-result strong{color:var(--ink);font-size:16px;font-weight:560}.review-result-meta{color:var(--theme-text-muted,#8292a2);margin-top:6px;font-size:12px;display:block}.review-result p{color:var(--theme-text-secondary,#718493);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-top:10px;font-size:13px;line-height:1.7;display:-webkit-box;overflow:hidden}.review-result>svg{color:var(--theme-text-muted,#8292a2);flex-shrink:0}.review-empty{text-align:center;color:var(--theme-text-muted,#8292a2);padding:60px 20px}.review-empty h3{color:var(--ink);margin:16px 0 8px;font-size:19px;font-weight:550}.review-empty p{margin-bottom:16px;font-size:14px;line-height:1.7}.review-detail-nav{color:var(--theme-text-muted,#8292a2);align-items:center;gap:20px;margin-bottom:28px;font-size:12px;display:flex}.review-detail-nav .text-button{gap:6px;font-size:13px}.review-resolved{color:var(--theme-text-secondary,#718493);align-items:center;gap:8px;padding:12px 0 20px;font-size:13px;display:flex}@media (width<=700px){.review-results h2{font-size:23px}.review-categories{padding:18px 12px}.review-result{padding-left:0;padding-right:0}.review-detail-nav{flex-wrap:wrap;gap:10px}}.organisation-picker{position:relative}.organisation-picker>label{color:var(--theme-text-secondary,#93a2ad);font-size:12px}.organisation-input{align-items:center;gap:3px;display:flex}.organisation-input>input{flex:1;min-width:0}.organisation-input>.icon-button{flex-shrink:0}.organisation-suggestions{border:1px solid var(--line);background:#f6f9fd;border-radius:11px;overflow:hidden}.organisation-options{overscroll-behavior:contain;max-height:220px;overflow:auto}.organisation-options>button{text-align:left;width:100%;color:var(--ink);align-items:center;gap:12px;padding:12px;display:flex}.organisation-options>button>span{flex:1;min-width:0}.organisation-options strong{overflow-wrap:anywhere;font-size:14px;font-weight:550;display:block}.organisation-options small{color:var(--theme-text-muted,#8292a2);overflow-wrap:anywhere;margin-top:4px;font-size:12px;line-height:1.5;display:block}.organisation-options>button:hover,.organisation-options>button.active{background:#8c88cc18}.organisation-suggestions>p{color:var(--theme-text-muted,#8292a2);padding:12px;font-size:12px}[data-theme=dark] .organisation-suggestions{border-color:var(--line);background:#121b32}[data-theme=dark] .fastbill-modal select,[data-theme=dark] .fastbill-modal input:not([type=checkbox]),[data-theme=dark] .fastbill-modal textarea{color:#e3e9fa;background:#0d152b80;border-color:#bbcaff30}.organisation-overview{grid-template-columns:minmax(0,1.45fr) minmax(290px,1fr);gap:32px}.organisation-sidebar{padding-left:26px}.timeline-heading{min-height:38px;margin-bottom:26px}.timeline-heading h3{font-size:14px;font-weight:500}.timeline-stream{padding-left:58px;position:relative}.timeline-stream:has(.communication-event):before{content:"";background:radial-gradient(circle,#9b8aca88 1.4px,#0000 1.6px) top/3px 10px repeat-y;width:3px;position:absolute;top:34px;bottom:30px;left:21px}.communication-event{border:1px solid var(--line);background:linear-gradient(125deg,#ffffff8c,#eaf0ff40);border-radius:20px;margin:0 0 28px;padding:18px 20px;position:relative;box-shadow:0 5px 20px #344f7e05}.communication-event>summary{align-items:flex-start;gap:12px;min-height:60px}.communication-icon{color:#627ad8;background:#e5ecfa;border:1px solid #aebde65c;border-radius:50%;width:43px;height:43px;position:absolute;top:16px;left:-58px;box-shadow:0 0 0 5px #eff1f6}.communication-event.call .communication-icon{color:#9469cc;background:#eee6fa;border-color:#bca3db66}.communication-event.contact .communication-icon{color:var(--muted);background:#e9edf2}.communication-title{gap:10px}.communication-title .event-meta{white-space:normal;color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex;overflow:visible}.event-meta>span{color:var(--action)}.event-meta time{font-variant-numeric:tabular-nums}.communication-title>strong{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;line-height:1.5;display:-webkit-box}.communication-title .event-preview{white-space:pre-wrap;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;line-height:1.65;display:-webkit-box}.communication-event>summary>svg{margin-top:3px}.communication-event[open] .event-preview{display:none}.communication-event[open] .communication-title>strong{-webkit-line-clamp:unset}.communication-body{padding:18px 0 0;font-size:14px;line-height:1.7}.timeline-empty{border:1px dashed var(--line);text-align:center;border-radius:20px;margin-left:-58px;padding:44px 25px;font-size:14px;line-height:1.7}.gmail-search{justify-content:center;gap:9px;width:100%;margin:0 0 22px;display:flex}.section-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.section-heading h3{font-size:14px;font-weight:550}.section-heading small{color:var(--muted);margin-left:6px;font-size:12px;font-weight:400}.contact-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:10px;display:grid}.contact-card{border:1px solid var(--line);background:#ffffff25;border-radius:15px;flex-direction:column;gap:8px;min-width:0;padding:14px;font-size:12px;display:flex}.contact-card header{justify-content:space-between;align-items:flex-start;gap:6px;display:flex}.contact-card strong{overflow-wrap:anywhere;font-size:13px;font-weight:550;line-height:1.5}.contact-card small{color:var(--muted)}.contact-card a,.contact-email{color:var(--action);overflow-wrap:anywhere;text-align:left;font-size:12px;line-height:1.5}.contact-email{justify-content:space-between;align-items:center;gap:8px;padding:0;display:flex}.empty-contact{border:1px dashed var(--line);width:100%;color:var(--muted);border-radius:14px;align-items:center;gap:10px;padding:19px;font-size:13px;display:flex}.linked-organisations{gap:8px;margin:14px 0;display:grid}.linked-organisations:empty{margin:10px 0}.linked-organisations .linked-entity{text-align:left;border:1px solid var(--line);overflow-wrap:anywhere;background:#8c88cc0a;border-radius:12px;align-items:center;gap:10px;width:100%;padding:12px;font-size:13px;display:flex}.linked-organisations .linked-entity small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.5;display:block}.inline-contacts>.text-button{gap:7px;margin:0 0 22px;font-size:12px}.inline-organisation{margin-top:16px}.inline-organisation fieldset,.inline-contact-editor fieldset{border:0;min-width:0;margin:0;padding:0}.inline-field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 12px;display:grid}.inline-field-grid .span2{grid-column:1/-1}.inline-organisation .field,.inline-contact-editor .field{min-width:0}.inline-organisation .field>span,.inline-contact-editor .field>span{font-size:12px}.inline-organisation input,.inline-organisation select,.inline-organisation textarea,.inline-contact-editor input:not([type=checkbox]),.inline-contact-editor select,.inline-contact-editor textarea{border:1px solid var(--line);width:100%;min-width:0;color:var(--ink);background:#ffffff65;border-radius:10px;padding:10px 11px;font-size:13px;line-height:1.55}.inline-organisation textarea,.inline-contact-editor textarea{resize:vertical}.inline-organisation fieldset>.field{margin-top:16px}.fastbill-field>span{justify-content:space-between;align-items:center;gap:12px;display:flex}.fastbill-field a{color:var(--action);align-items:center;gap:4px;display:inline-flex}.inline-organisation .data-details{margin-top:16px}.inline-organisation .data-details>summary{font-size:12px}.inline-organisation .data-details .inline-field-grid{margin-top:18px}.inline-savebar{border:1px solid var(--line);z-index:2;background:#f0f3fc;border-radius:12px;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;margin-top:16px;padding:12px 8px;font-size:12px;display:flex;position:sticky;bottom:0;box-shadow:0 3px 20px #263e6810}.inline-savebar>span{color:var(--muted);margin-right:auto;font-size:11px}.inline-savebar .button{padding:8px 12px;font-size:12px}.inline-saved{color:var(--action);align-items:center;gap:6px;margin-top:12px;font-size:12px;display:flex}.inline-contact-editor,.inline-call{border:1px solid var(--line);background:#f8faff70;border-radius:18px;margin:16px 0 26px;padding:20px;position:relative}.inline-contact-editor>header{justify-content:space-between;align-items:center;margin-bottom:18px;font-size:14px;display:flex}.inline-contact-editor .button.wide{margin-top:18px}.inline-contact-editor .field+.field{margin-top:0}.inline-contact-editor .organisation-picker{margin-bottom:18px}.inline-call .inline-close{position:absolute;top:12px;right:12px}.inline-call h2{padding-right:20px;font-size:18px;font-weight:550;line-height:1.5}.inline-call .choice-buttons{margin-top:18px}.inline-call .field input,.inline-call .field textarea{font-size:14px}.overview-action>span,.overview-issues>summary>span{flex:none}.overview-action,.overview-issues>summary{gap:8px}.overview-action[aria-expanded=true]>svg:last-child,.overview-issues[open]>summary>svg:last-child{transform:rotate(180deg)}[data-theme=dark] .communication-event{background:linear-gradient(130deg,#a6b8ff0b,#7472ba06);border-color:#afbded22;box-shadow:0 6px 24px #040a1710}[data-theme=dark] .communication-icon{color:#a8beff;background:#253252;border-color:#8bafff52;box-shadow:0 0 0 5px #18213a}[data-theme=dark] .communication-event.call .communication-icon{color:#d1aeff;background:#35294b;border-color:#bf94ff52}[data-theme=dark] .communication-event.contact .communication-icon{color:#c4cce0;background:#263047;border-color:#8493b752}[data-theme=dark] .contact-card{background:#ffffff03}[data-theme=dark] .inline-organisation input,[data-theme=dark] .inline-organisation select,[data-theme=dark] .inline-organisation textarea,[data-theme=dark] .inline-contact-editor input:not([type=checkbox]),[data-theme=dark] .inline-contact-editor textarea,[data-theme=dark] .inline-contact-editor select{color:#e3e9fa;background:#0d152b66;border-color:#bbcaff25}[data-theme=dark] .inline-savebar{background:#202b47}[data-theme=dark] .inline-contact-editor,[data-theme=dark] .inline-call{background:#17203880}@container (width<=700px){.organisation-overview{grid-template-columns:minmax(0,1fr) minmax(250px,.95fr);gap:20px}.organisation-sidebar{padding-left:18px}.communication-event{padding:15px}.timeline-stream{padding-left:48px}.communication-icon{width:35px;height:35px;left:-48px}.timeline-stream:has(.communication-event):before{left:17px}.timeline-empty{margin-left:-48px}.inline-field-grid{grid-template-columns:1fr}}@container (width<=560px){.organisation-overview{flex-direction:column;gap:26px;display:flex}.organisation-sidebar{border-left:0;border-top:1px solid var(--line);width:100%;padding:24px 0 0}.communication-column{width:100%}.inline-field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@container (width<=340px){.inline-field-grid{grid-template-columns:1fr}}.guided-tour{z-index:2000;isolation:isolate;position:fixed;inset:0}.tour-blocker{position:absolute;inset:0}.tour-shade{-webkit-backdrop-filter:blur(3px);pointer-events:none;background:#101b3566;position:fixed}.tour-spotlight{pointer-events:none;border:2px solid #b1b9ff;border-radius:15px;position:fixed;box-shadow:0 0 0 3px #8e91e32e}.tour-card{color:#25324a;background:#f8faff;border:1px solid #dbe0f4;border-radius:20px;max-height:calc(100dvh - 32px);padding:20px 22px;position:fixed;overflow:auto;box-shadow:0 18px 70px #070c3538}.tour-card header,.tour-card footer{justify-content:space-between;align-items:center;gap:15px;display:flex}.tour-card header{margin:-8px -8px 8px 0}.tour-card small{color:#778299;font-variant-numeric:tabular-nums;font-size:12px}.tour-card h2{letter-spacing:-.25px;font-size:19px;font-weight:600;line-height:1.45}.tour-card p{color:#62708a;margin:10px 0 22px;font-size:14px;line-height:1.75}.tour-card .text-button{gap:6px;font-size:12px}[data-theme=dark] .tour-card{color:#edf1ff;background:#202b45;border-color:#aabbec33}[data-theme=dark] .tour-card p,[data-theme=dark] .tour-card small{color:#b3bfd8}.fastbill-field.missing input{border-color:#cf9b5266}.fastbill-field.missing>span>small{color:var(--amber);margin-left:auto;font-size:11px}.login-card .login-notice{color:var(--muted);align-items:center;gap:8px;margin:16px 0 0;padding:0;font-size:13px;line-height:1.5;display:flex}.login-card .login-error{border-radius:10px;margin:16px 0 0;padding:10px 12px;font-size:13px;line-height:1.5}
