@font-face{font-family:system-fallback;src:local("Segoe UI")}*{box-sizing:border-box}body{margin:0;background:#f5f7fa;color:#17243a;font:14px/1.55 system-fallback,system-ui,-apple-system,sans-serif}a{color:#2b6259;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button{cursor:pointer}input,select,textarea{background:#fff;border:1px solid #dce2e9;border-radius:7px;padding:10px 12px;max-width:100%;color:#17243a}input:focus,select:focus,textarea:focus{border-color:#338576;outline:2px solid #33857622}textarea{resize:vertical;width:100%}input[type=checkbox]{accent-color:#256c5e}label{display:flex;flex-direction:column;gap:7px;font-weight:500}h1,h2,h3,p{margin-top:0}h1{font-size:31px;line-height:1.2;letter-spacing:-.9px;margin-bottom:10px;font-weight:650}h2{font-size:19px;font-weight:650;letter-spacing:-.3px}h3{font-size:14px}small{font-size:11px}summary{cursor:pointer;font-weight:550}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8fa;border-radius:8px;padding:15px;font-size:12px}.muted{color:#7a8596}.small{font-size:12px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.6px;color:#758394;margin-bottom:12px}.sidebar{position:fixed;width:224px;inset:0 auto 0 0;background:#152b2a;color:#b5c7c3;padding:30px 18px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:12px;align-items:center;color:white;font-weight:700;font-size:19px;letter-spacing:1.5px;margin:2px 7px 48px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;font-weight:450;color:#92aaa4;margin-top:2px}.brandmark{display:grid;place-items:center;background:#3e8572;border:1px solid #69a393;border-radius:10px;color:#fff;font-size:23px;font-weight:600;width:40px;height:40px;flex:none}.nav-label{font-size:8px;letter-spacing:1.4px;margin:0 12px 15px;color:#6d9288}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:6px;color:#a9c0b8;font-size:12px}.sidebar nav a span{font-size:19px;width:20px}.sidebar nav a.active{color:#fff;background:#2d4c44}.sidebar nav a:hover{background:#29443f}.sidebar-bottom{margin-top:auto;font-size:10px;padding:15px 8px;border-top:1px solid #30443e}.online-dot{width:6px;height:6px;border-radius:50%;background:#70bca0;display:inline-block;margin-right:5px}.logout{border:0;background:none;color:#78988e;font-size:10px;padding:14px 0 0}.workspace{margin-left:224px}.topbar{height:76px;border-bottom:1px solid #e4e8ef;background:#fff;padding:0 38px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:11px;color:#7a8596}.breadcrumb span{margin:0 13px;color:#c5cbd3}.user-chip{display:flex;align-items:center;gap:9px;font-size:11px}.user-chip span{display:grid;place-items:center;border-radius:50%;background:#edf0f4;width:29px;height:29px;font-size:9px;font-weight:600}.content{padding:36px 38px 22px;max-width:1800px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p:last-child{margin-bottom:0;font-size:12px}.count{font-size:14px;background:#e8edf1;border-radius:6px;padding:4px 8px;vertical-align:middle;letter-spacing:0;margin-left:10px;color:#6d7888;font-weight:500}.actions,.form-actions{display:flex;gap:10px;align-items:center}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;background:#fff;border:1px solid #dce2e9;border-radius:7px;color:#354156;padding:10px 15px;font-size:11px;font-weight:550;white-space:nowrap;min-height:37px}.button:hover{background:#f4f7f6}.button.primary{color:#fff;background:#286b5d;border-color:#286b5d}.button.primary:hover{background:#205b4f}.button:disabled{opacity:.6;cursor:wait}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.stat{background:#fff;border:1px solid #e3e7ed;padding:20px 23px;border-radius:9px;display:flex;flex-direction:column;gap:9px}.stat span{font-size:10px;color:#778396}.stat strong{font-size:26px;letter-spacing:-.6px;font-weight:600}.panel{background:#fff;border:1px solid #e1e6ed;border-radius:9px;margin-bottom:22px;overflow:hidden;box-shadow:0 2px 4px #1c2c3910}.padded{padding:27px}.filter-form{padding:22px 22px 14px}.filter-top{display:flex;gap:10px}.filter-top>select{font-size:11px;max-width:190px}.search{display:flex;flex-direction:row;align-items:center;border:1px solid #dce2e9;border-radius:7px;flex:1;gap:0;min-width:150px}.search span{font-size:24px;color:#8994a4;padding:0 9px 0 12px}.search input{border:0;flex:1;min-width:0;font-size:11px;background:none;padding-left:0}.advanced{margin-top:17px;font-size:11px}.advanced summary{color:#637488}.advanced>p{margin-top:14px}.filter-row{display:flex;gap:9px;align-items:center;margin:9px 0}.filter-row>input,.filter-row>select{flex:1;min-width:0;font-size:12px}.icon-button{border:0;background:none;font-size:22px;color:#8691a2}.text-button{border:0;background:none;padding:7px 0;font-size:12px;color:#286b5d}.sort-row{display:flex;gap:15px;margin:18px 0;align-items:end}.checkbox{display:inline-flex;flex-direction:row;align-items:center;font-size:11px;font-weight:400;gap:6px}.columns{display:flex;flex-wrap:wrap;gap:8px 16px;border-top:1px solid #edf0f4;padding-top:14px}.columns>span{width:100%;font-size:11px}.table-toolbar{display:flex;gap:15px;justify-content:space-between;padding:17px 22px;font-size:10px;border-top:1px solid #edf0f4}.table-toolbar>div{display:flex;gap:19px}.table-toolbar a{color:#648079}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:9px;letter-spacing:.7px;font-weight:600;color:#7e899a;background:#fafbfc;padding:13px 20px;border-top:1px solid #eef1f4;border-bottom:1px solid #eef1f4;white-space:nowrap}td{font-size:11px;padding:15px 20px;border-bottom:1px solid #eef1f4;max-width:350px;overflow-wrap:anywhere}tr:last-child td{border-bottom:0}td small{display:block;color:#95a0af;font-size:9px;margin-top:3px}.contact-name{display:flex;align-items:center;gap:10px;color:#29394f;font-weight:600;min-width:195px}.contact-name small{font-weight:400}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;background:#edf1ec;color:#69977e;font-size:13px}.contacts-table tr:nth-child(3n+2) .avatar{background:#eef0f7;color:#7b88ad}.contacts-table tbody tr:hover{background:#fbfcfd}.badge{font-size:9px;display:inline-block;line-height:1.6;padding:3px 8px;border-radius:5px;background:#f0f2f5;color:#83909e;white-space:nowrap;font-weight:500}.badge.subscribed{background:#eaf5ed;color:#4a9168}.badge.complaint{background:#fceced;color:#bc5867}.badge.unsubscribed{background:#fff2df;color:#b08742}.badge.bounced{background:#fdf0e7;color:#bd7e47}.more{font-size:9px;padding:2px 5px;color:#7e8c9d;border:1px solid #e1e7ec;border-radius:4px;margin-left:5px}.pagination{padding:16px 22px;border-top:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between;font-size:10px}.pagination>div{display:flex;gap:8px}.pagination .button{font-size:10px;min-height:30px;padding:5px 11px}.empty{text-align:center;padding:60px 20px}.empty-symbol{font-size:31px;color:#81a695;margin-bottom:12px}.empty h2{font-size:18px}.empty p{font-size:12px}.page-footer{display:flex;justify-content:space-between;color:#a1aab8;font-size:8px;letter-spacing:.8px;padding:10px 0}.page-footer span{letter-spacing:0}.notice,.alert{padding:14px 18px;border-radius:7px;margin-bottom:22px;font-size:12px;overflow-wrap:anywhere}.notice{border:1px solid #d4e8dc;background:#eef8f0;color:#387852}.alert{border:1px solid #f1cfc9;background:#fff1ef;color:#a95041}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.form-grid label{font-size:12px}.form-actions{margin-top:25px}.upload-zone{border:1px dashed #afc5bb;border-radius:8px;background:#f8fbf9;text-align:center;padding:40px 20px}.upload-zone>span{font-size:35px;color:#7ca793}.upload-zone h2{margin:10px 0}.upload-zone p{font-size:11px}.upload-zone input{font-size:11px;max-width:100%}.mapping-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:24px 0}.mapping-grid label{font-size:12px}.inline-form{display:inline-flex;align-items:end;gap:10px;margin:12px 12px 0 0}.inline-form input,.inline-form select{font-size:11px}.facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.fact h3{font-size:11px;color:#7f8b9a;font-weight:500;margin-bottom:9px}.fact h3 .badge{margin-left:8px}.fact-value{margin-bottom:15px;overflow-wrap:anywhere}.fact-value small{display:block;color:#99a2ae;font-size:9px;margin-top:6px}.preserve{white-space:pre-wrap}.back-link{display:inline-block;margin-bottom:20px;font-size:12px}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.compare-grid a h2{font-size:17px}.wide{width:100%}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 30% 20%,#e7f0e9,transparent 60%),#f1f5f4}.auth-card{width:430px;max-width:100%;padding:42px;background:#fff;border:1px solid #e1e8e3;border-radius:15px;box-shadow:0 20px 80px #1b3e2e0c}.auth-card .brandmark{margin-bottom:32px}.auth-card h1{font-size:30px}.auth-card form{margin-top:30px}.auth-card label{font-size:12px;margin-bottom:18px}.auth-card .small{margin:23px 0 0;text-align:center}progress{width:100%;height:18px;accent-color:#286b5d;margin:20px 0}code{font-size:11px}@media(min-width:1500px){.content{padding-top:43px}.table-toolbar,td{font-size:12px}.filter-top>select,.search input,.button{font-size:12px}}@media(max-width:1000px){.sidebar{width:185px}.workspace{margin-left:185px}.content{padding:25px 20px}.topbar{padding:0 20px}.page-heading{align-items:flex-start}.actions{flex-direction:column}.stats{gap:9px}.stat{padding:15px}.filter-top{flex-wrap:wrap}.search{min-width:100%;height:40px}.table-toolbar{flex-wrap:wrap}.mapping-grid{grid-template-columns:1fr}}@media(max-width:650px){.sidebar{position:static;width:100%;padding:15px}.brand{margin:0 0 15px;font-size:16px}.brandmark{height:30px;width:30px;font-size:18px}.nav-label,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;gap:3px}.sidebar nav a{padding:9px;font-size:10px;white-space:nowrap;gap:5px}.sidebar nav a span{font-size:14px;width:auto}.workspace{margin-left:0}.topbar{height:50px}.breadcrumb{font-size:9px}.user-chip{font-size:9px}.content{padding:24px 14px}h1{font-size:25px}.page-heading{flex-direction:column}.actions{flex-direction:row;width:100%}.actions .button{flex:1}.stats{grid-template-columns:repeat(2,1fr)}.stat strong{font-size:24px}.form-grid,.facts-grid,.compare-grid{grid-template-columns:1fr}.filter-row{flex-wrap:wrap}.filter-row input{min-width:100%}.sort-row{flex-wrap:wrap}.columns{max-height:200px;overflow:auto}.padded{padding:20px}.page-footer{flex-direction:column;gap:8px}.table-toolbar>div{flex-wrap:wrap;gap:12px}.auth-card{padding:30px}.filter-top>select{max-width:none;flex:1}.filter-top>.button{width:100%}}
/* Primary fields keep the same reading order in forms and contact cards. */
.field-section{border-bottom:1px solid #edf0f4;margin:22px 0;padding-bottom:8px}.field-section h2{font-size:16px;margin-bottom:12px}.field-section .form-grid{margin:16px 0}.legacy-fields{margin:22px 0;padding:16px;background:#f8fafb;border-radius:7px}.name-part{color:#29394f;font-weight:550}.contacts-table th:nth-child(-n+3),.contacts-table td:nth-child(-n+3){min-width:115px}.contacts-table td{white-space:normal}
