:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#30232c;background:#f8f2f6;--wine:#902b63;--line:#e6d4df}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;font-size:1rem}button,a,input,select,textarea{touch-action:manipulation}button{min-height:44px;border:1px solid var(--wine);border-radius:12px;padding:10px 16px;background:var(--wine);color:white;font-weight:700;cursor:pointer}button:disabled{opacity:.55;cursor:wait}.secondary{background:white;color:var(--wine)}.plain{border:0;background:transparent;color:var(--wine)}a{color:var(--wine)}.wrap{max-width:1180px;margin:auto;padding:0 24px}header{background:white;border-bottom:1px solid var(--line)}.top{display:flex;align-items:center;gap:18px;min-height:86px}.top a:nth-child(2){margin-left:auto;font-weight:700;text-decoration:none}.top img{width:150px;height:58px;object-fit:cover;border-radius:12px}main{padding-top:28px!important;padding-bottom:60px!important}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.heading h1{margin:0;font-size:clamp(30px,5vw,46px);letter-spacing:-.03em}.heading p{color:#71616b}.counter{background:#902b63;color:white;padding:18px 24px;border-radius:18px;flex-shrink:0}.counter strong{font-size:28px;display:block}.counter span{font-size:14px}#notice{padding:12px 0;min-height:46px;color:#715066}.tabs{display:flex;gap:10px;margin:14px 0 22px;flex-wrap:wrap}.tabs button{background:#fff;color:var(--wine)}.tabs button[aria-selected=true]{background:var(--wine);color:white}.panel{border:1px solid var(--line);border-radius:20px;padding:24px;background:white}.panel h2{margin:0 0 12px;font-size:24px}.panel>p{line-height:1.6;color:#6b5b66}.groups{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 22px}.groups button{background:#faf6f8;color:#71455f;font-size:14px;text-align:left;min-width:110px}.groups button[aria-pressed=true]{background:#902b63;color:white}.groups small{display:block;margin-top:4px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}label{display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:14px}input,select,textarea{width:100%;min-width:0;border:1px solid #cdb6c4;border-radius:10px;padding:12px;background:white;color:#30232c;min-height:46px}textarea{min-height:85px;resize:vertical}input:focus,select:focus,textarea:focus,button:focus-visible{outline:3px solid #e9afd0;outline-offset:2px}.wide{grid-column:1/-1}.name-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px}.actions span{color:#71616b;font-size:14px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.section-title h2{margin:0}.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.filters label{flex:1;min-width:160px}.records{display:grid;gap:12px}.record{border:1px solid var(--line);border-radius:14px;padding:18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px}.record h3{margin:0 0 7px;font-size:20px;overflow-wrap:anywhere}.record p{margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.meta{color:#70606a;font-size:14px}.record-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:260px}.record-actions button{font-size:14px}.badge{display:inline-block;background:#f5e8ef;color:#7a2054;border-radius:8px;padding:5px 9px;font-size:14px;font-weight:700}.empty{padding:30px 12px;color:#74636e;text-align:center;background:#faf7f9;border-radius:12px}dialog{width:min(740px,calc(100% - 24px));max-height:90vh;max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:20px;padding:24px;color:inherit;background:white}dialog::backdrop{background:#35233188}#contactError,#planError{color:#a02343;white-space:pre-wrap}#ownerPanel{margin-bottom:16px;padding:16px;border:1px solid var(--line);border-radius:12px;background:white}#ownerPanel label{margin-bottom:8px}#readOnly{color:#902b63}[hidden]{display:none!important}@media(max-width:700px){.wrap{padding:0 14px}.top{gap:8px;min-height:72px}.top img{width:110px;height:44px}.top a,.top button{font-size:14px}.heading{align-items:start}.heading p{font-size:14px}.counter{padding:12px;font-size:14px}.counter strong{font-size:23px}.panel{padding:18px 14px}.fields,.name-grid{grid-template-columns:1fr}.tabs{display:grid;grid-template-columns:1fr}.tabs button{text-align:left}.record{grid-template-columns:1fr}.record-actions{max-width:none}.filters label{min-width:100%;flex-basis:100%}dialog{padding:18px 14px}.groups button{min-width:calc(50% - 8px);flex:1}.counter span{max-width:90px;display:block}.wide{grid-column:auto}}
/* Brokeria: vivid wine, mint and gold, with clear working surfaces. */
:root{--wine:#a60069;--line:#e5c4d7;color:#302132;background:#faf4f8}body{background:radial-gradient(ellipse at 5% 5%,#ef33951c,transparent 45rem),radial-gradient(ellipse at 98% 55%,#55e2d01a,transparent 42rem),#faf4f8}header{border-bottom:3px solid #eecde0;background:linear-gradient(100deg,#fff,#fff4fb)}.heading{position:relative;padding:26px 28px;border-radius:24px;background:radial-gradient(circle at 86% 18%,#55e2d030,transparent 24rem),linear-gradient(120deg,#861451,#bb146e 48%,#263d73);color:#fff;box-shadow:0 14px 36px #78204a25;border-bottom:6px solid #55e2d0}.heading h1{color:#fff}.heading p{color:#fbe3ef;line-height:1.5;margin-bottom:0}.counter{background:#fff4d8;border:2px solid #f5c05e;color:#691748;box-shadow:0 8px 24px #34122c25}.counter span{color:#691748}#notice{padding:16px 2px}.tabs button{border:1px solid #e6cad9;border-bottom:4px solid #55e2d0;box-shadow:0 5px 16px #78204a0d}.tabs button:nth-child(2){border-bottom-color:#ed3d98}.tabs button:nth-child(3){border-bottom-color:#f5c05e}.tabs button[aria-selected=true]{border-color:#902b63;background:linear-gradient(115deg,#a90067,#902b63)}.tabs button:nth-child(1)[aria-selected=true]{background:linear-gradient(115deg,#096f79,#154972);border-color:#096f79}.tabs button:nth-child(3)[aria-selected=true]{background:linear-gradient(115deg,#234984,#522160);border-color:#234984}.panel{border:1px solid #e5cfdb;border-top:5px solid #aa145f;box-shadow:0 10px 32px #61234a0b}#matrix{border-top-color:#1b9997;background:linear-gradient(145deg,#effcfa,white 38%)}#hitlist{border-top-color:#315f9a;background:linear-gradient(145deg,#f0f5ff,white 38%)}.panel h2{color:#731148}#matrix h2{color:#12696c}#hitlist h2{color:#24477d}.groups button{border-color:#b9e0de;background:#f0faf9;color:#165f66}.groups button:nth-child(3n+2){border-color:#efd5a4;background:#fff8e9;color:#785217}.groups button:nth-child(3n){border-color:#e6bfda;background:#fff0f8;color:#852759}.groups button[aria-pressed=true]{background:linear-gradient(115deg,#117c7b,#195677);border-color:#117c7b;color:white}.record{border-left:5px solid #3a85c6;background:linear-gradient(110deg,#f4f9ff,white 35%);box-shadow:0 4px 15px #64214108}.record.status-active{border-left-color:#168977;background:linear-gradient(110deg,#effaf6,white 35%)}.record.status-working{border-left-color:#d9972e;background:linear-gradient(110deg,#fff8e8,white 35%)}.record.status-exhausted{border-left-color:#9c7e91;background:linear-gradient(110deg,#f6f0f4,white 35%)}.record h3{color:#69194d}.badge{background:#f1e1ed;color:#6b174b}.status-new .badge{background:#e4effc;color:#225589}.status-active .badge{background:#def4ed;color:#116450}.status-working .badge{background:#fff0ca;color:#715011}.owner-badge{display:inline-block;margin:6px 0 0 8px;padding:5px 9px;border-radius:8px;color:#254a77;background:#e6effb;font-size:14px;font-weight:700}.records .secondary{border-color:#dba2c4;background:#fff4fa}.record-actions>button:not(.secondary):not(.plain),.actions>button[type=submit],#addContact{background:linear-gradient(115deg,#bd006f,#8f205b);box-shadow:0 5px 14px #92205b18}.record-actions .plain{box-shadow:none}#ownerPanel{border:1px solid #9ed8d4;border-left:5px solid #159992;background:linear-gradient(110deg,#e8faf6,#fff8e9);box-shadow:0 6px 20px #1359540b}#ownerPanel label{color:#135f66}dialog{border-top:6px solid #aa145f;box-shadow:0 24px 80px #43153044}dialog h2{color:#8c185a}input:focus,select:focus,textarea:focus{border-color:#ba3888}#planDialog{border-top-color:#315f9a}#planDialog h2{color:#24477d}@media(max-width:700px){.heading{padding:22px 16px;gap:12px;align-items:center}.heading p{max-width:200px}.counter{padding:12px}.counter strong{font-size:24px}.counter span{font-size:13px}.owner-badge{margin-left:0;margin-right:8px}.tabs button{min-height:52px}.heading h1{font-size:clamp(26px,7vw,36px)}}

/* Stronger colour across the workspace, including mobile Safari. */
body{background:linear-gradient(145deg,#f8d9e9 0%,#fce9f2 38%,#daf7ef 100%);background-attachment:fixed}.tabs button:nth-child(1){background:#dbf6ef;border-color:#168f90;color:#12676c}.tabs button:nth-child(2){background:#ffe0ef;border-color:#d22b81;color:#80144f}.tabs button:nth-child(3){background:#ffeab9;border-color:#da9b2f;color:#674715}.tabs button[aria-selected=true]{color:white}.panel{background:#fff5fa;border-color:#e4a9cc}#matrix{background:linear-gradient(130deg,#d9f5ef,#f4fffc)}#hitlist{background:linear-gradient(130deg,#dfeaff,#f6f9ff)}.filters{padding:18px;border-radius:16px;background:linear-gradient(110deg,#ffe1ef,#ffefcd)}#hitlist .filters{background:linear-gradient(110deg,#e0ecff,#d9f7ef)}.record{background:linear-gradient(110deg,#e7f1ff,#f9fbff)}.record.status-active{background:linear-gradient(110deg,#d8f4e8,#f3fcf7)}.record.status-working{background:linear-gradient(110deg,#ffedbf,#fffaf0)}.record.status-exhausted{background:linear-gradient(110deg,#eedcea,#fcf5fb)}#ownerPanel{border:2px solid #178d88;background:linear-gradient(110deg,#caf0e8,#fff0ca)}@media(max-width:700px){.filters{padding:15px}.heading{background:linear-gradient(125deg,#b0006b,#851260 58%,#254e7e)}}
.call-script{grid-column:1/-1;padding:18px;border:1px solid #95d7cb;border-left:5px solid #168d85;border-radius:16px;background:linear-gradient(120deg,#e1f8f0,#fff4dc);color:#27343b}.call-script h3{margin:0 0 12px;color:#11696b}.call-script p{line-height:1.65;font-size:15px}.call-script button{background:#137c79;color:white}
.import-dialog{width:min(1000px,calc(100% - 24px));border-top-color:#168d85}.import-dialog h2{color:#11696b}.import-check{display:flex;flex-direction:row;align-items:center;margin:16px 0;line-height:1.5}.import-check input,.import-preview input[type=checkbox]{width:20px;min-height:20px;flex-shrink:0}.import-columns{margin:20px 0;padding:18px;background:#e6f6f0;border:1px solid #98cfc2;border-radius:14px}.import-columns summary{cursor:pointer;font-weight:800;color:#11696b;margin-bottom:16px}.import-preview{overflow:auto;max-height:420px;border-radius:12px}.import-preview table{width:100%;border-collapse:collapse;font-size:14px}.import-preview th{background:#902b63;color:white;position:sticky;top:0;text-align:left;padding:12px;z-index:1}.import-preview td{padding:12px;border-bottom:1px solid #e5c4d7;vertical-align:top;background:#fff8fc}.import-preview .import-invalid td{background:#ffe5e8}.import-preview .import-duplicate td{background:#fff1d5}.import-preview details{margin-top:8px;min-width:160px}.import-preview details p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:420px}.import-preview summary{color:#902b63;cursor:pointer}#importStatus{font-weight:700;line-height:1.6;color:#11696b}.import-dialog .actions{position:sticky;bottom:-24px;background:white;padding:14px 0;border-top:1px solid #e5c4d7}#importConfirm{background:linear-gradient(115deg,#116e71,#168d85)}
