@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap");
:root{--ink:#292b2c;--muted:#696d70;--line:#e2e3e3;--paper:#fff;--canvas:#f5f5f3;--soft:#eeefed;--error:#974338;--green:#456353;--radius:12px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--canvas);font:14px/1.55 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7b8d9b;outline-offset:3px}.skip{position:fixed;top:-100px;left:20px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:#fcfcfb;border-right:1px solid var(--line);padding:34px 20px 18px;display:flex;flex-direction:column;z-index:30}.brand{text-align:center;display:block;padding:0 0 34px}.brand strong{font:36px Georgia,serif;letter-spacing:5px;font-weight:400}.brand small{display:block;font-size:9px;letter-spacing:4px;margin-top:3px}.nav-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted);text-transform:uppercase}.nav-label{padding:0 14px;margin:15px 0 10px}.nav-link{display:flex;align-items:center;gap:13px;min-height:46px;padding:10px 14px;border-radius:7px;margin:3px 0;color:#626668}.nav-link:hover{background:#f0f0ed}.nav-link.active{background:#303434;color:white}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:17px 10px 0}.sidebar-bottom small{color:var(--muted)}.workspace{margin-left:235px}.topbar{height:76px;background:#ffffffdf;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:16px}.crumb{color:var(--muted);font-size:12px}.crumb span{color:var(--ink);margin-left:12px}.top-tools{display:flex;align-items:center;gap:14px}.avatar{height:35px;width:35px;border-radius:50%;background:#e8e9e6;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:bold;flex-shrink:0}.profile-link{display:flex;align-items:center;gap:10px}.profile-link small{display:block;font-size:10px;color:var(--muted)}.role-select{border:1px solid var(--line);background:white;padding:7px;border-radius:6px;font-size:11px;max-width:180px}.menu-toggle{display:none}.main{max-width:1600px;padding:30px 38px 50px;margin:auto}.demo-banner{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:7px;background:#f0f1ee;font-size:11px;color:#5b605e;margin-bottom:27px}.demo-banner strong{white-space:nowrap}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-head h1{font:34px/1.2 Georgia,'Times New Roman',serif;font-weight:400;margin:7px 0 10px;letter-spacing:-.5px}.sub{color:var(--muted);margin:0;font-size:13px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{border:1px solid #d9dcda;display:inline-flex;gap:8px;align-items:center;justify-content:center;background:white;border-radius:6px;padding:10px 15px;font-weight:600;font-size:12px;min-height:40px}.btn:hover{background:#eceeeb}.btn.primary{background:#303434;color:white;border-color:#303434}.btn.primary:hover{background:#171b1b}.btn.danger{color:var(--error);border-color:#dec5c1}.btn.small{padding:6px 10px;min-height:32px;font-size:11px}.text-link{font-weight:600;text-decoration:underline;text-underline-offset:4px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.stat{padding:21px 22px;background:white;border:1px solid var(--line);border-radius:var(--radius)}.stat-top{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:29px;font-weight:500;letter-spacing:-1px;margin:13px 0 4px}.stat small{font-size:11px;color:var(--muted)}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.card.pad{padding:24px}.card-head{padding:20px 23px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid var(--line)}h2{font-size:16px;font-weight:600;margin:0}h3{font-size:14px;margin:0 0 12px}.two-col{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px;margin-bottom:22px}.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{position:relative;overflow:hidden;min-height:198px;background:linear-gradient(115deg,#e6e8e4,#f5f5f1 65%,#dedfdb);padding:28px 30px;border-radius:var(--radius);border:1px solid #dbded9;display:flex;align-items:center;justify-content:space-between;gap:20px}.hero h2{font:31px/1.3 Georgia,serif;margin:10px 0}.hero p{font-size:12px;color:#626862;max-width:400px}.jewel{width:180px;height:150px;flex-shrink:0;color:#8e9393;filter:drop-shadow(8px 12px 5px #8f969631)}.note-list{list-style:none;margin:0;padding:0}.note-list li{border-bottom:1px solid var(--line);padding:15px 0;display:flex;align-items:center;gap:12px}.note-list li:last-child{border:0}.note-list small{display:block;color:var(--muted);font-size:11px}.note-list .grow{flex:1}.pill{display:inline-block;border:1px solid #d9dddb;background:#f2f4f1;border-radius:5px;padding:4px 8px;font-size:10px;font-weight:600;white-space:nowrap}.pill.warn{background:#f7f3eb;color:#7c6138;border-color:#e5dccc}.pill.good{background:#edf3ee;color:#44604d;border-color:#d7e2d9}.pill.bad{background:#f8efee;color:#924a42;border-color:#ebd8d4}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px;flex-wrap:wrap}.filters{display:flex;gap:10px;flex-wrap:wrap}.search{min-width:260px}.filters input,.filters select{background:white;border:1px solid var(--line);border-radius:6px;padding:10px 12px;min-height:41px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{background:#fafbf9;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);padding:14px 19px;border-bottom:1px solid var(--line)}td{padding:17px 19px;border-bottom:1px solid #efefed;font-size:12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbf9}td small{display:block;color:var(--muted);margin-top:3px;font-size:10px}.person{display:flex;align-items:center;gap:11px}.person .avatar{width:36px;height:36px}.table-foot{border-top:1px solid var(--line);padding:12px 20px;color:var(--muted);font-size:11px}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:0 0 23px;overflow:auto}.tab{padding:12px 2px;border:0;border-bottom:2px solid transparent;white-space:nowrap;background:none;color:var(--muted);font-size:12px}.tab.active{color:var(--ink);border-bottom-color:var(--ink);font-weight:700}.segmented{display:flex;background:#ebeeea;padding:3px;border-radius:7px}.segmented .btn{border:0;background:transparent;min-height:33px;padding:7px 12px}.segmented .selected{background:white;box-shadow:0 1px 3px #00000010}.board{display:grid;grid-template-columns:repeat(6,252px);gap:14px;overflow-x:auto;padding-bottom:22px;min-height:380px}.column{background:#eeefec;border:1px solid #e0e3de;border-radius:9px;padding:12px;min-height:350px}.column.over{outline:2px solid #7d8981}.column-head{display:flex;justify-content:space-between;margin:4px 2px 18px;font-size:11px;font-weight:700}.count{border-radius:4px;background:#e0e3dd;padding:0 6px}.booking-card{padding:16px;background:white;border:1px solid #dfe2dc;border-radius:8px;box-shadow:0 2px 4px #00000003;margin-bottom:11px;cursor:grab}.booking-card .code{font-size:9px;letter-spacing:1px;color:var(--muted)}.booking-card h3{margin:10px 0 3px;font-size:14px}.booking-card p{font-size:11px;color:var(--muted);margin:0 0 14px}.booking-card footer{border-top:1px solid var(--line);padding-top:10px;margin-top:13px;display:flex;align-items:center;justify-content:space-between;font-size:10px}.booking-card .btn{width:100%;margin-top:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.field input,.field select,.field textarea{width:100%;border:1px solid #d9ddda;padding:11px 12px;border-radius:6px;background:white;color:var(--ink);font-weight:400;min-height:42px}.field textarea{resize:vertical;min-height:105px}.field small{font-size:10px;color:var(--muted);font-weight:400}.field.full{grid-column:1/-1}.form-section{margin-bottom:24px}.form-section h2{margin-bottom:20px}.form-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:19px 0 0;margin-top:24px}.form-message{color:var(--error);font-size:12px;flex:1}.info{border:1px solid var(--line);padding:15px;border-radius:7px;color:var(--muted);font-size:12px;background:#f7f8f5;margin-bottom:20px}.info.danger{border-color:#ead5d1;background:#fbf4f2;color:var(--error)}.details{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin:0}.details dt{font-size:11px;color:var(--muted);margin-bottom:6px}.details dd{margin:0;font-size:13px;overflow-wrap:anywhere}.steps{display:flex;align-items:stretch;margin:0 0 24px;overflow:auto;border:1px solid var(--line);border-radius:8px;background:white}.step{flex:1;min-width:135px;padding:15px 12px;font-size:10px;color:var(--muted);border-right:1px solid var(--line)}.step:last-child{border:0}.step.current{background:#353b37;color:white}.step.done{background:#eef2ec;color:#42604a}.product-grid,.campaign-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-art{height:170px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 30% 20%,#f9f9f5,#e4e6e1)}.product-art .jewel{width:150px;height:130px}.product-body{padding:20px}.product-body p{font-size:12px;color:var(--muted);margin:6px 0 16px}.product-body footer{display:flex;justify-content:space-between;align-items:center;gap:10px}.progress{height:6px;background:#eceeea;border-radius:5px;overflow:hidden;margin:12px 0}.progress span{display:block;height:100%;background:#7a867b}.bar-row{display:grid;grid-template-columns:135px 1fr 30px;gap:12px;align-items:center;font-size:11px;padding:11px 0}.bar-row .progress{margin:0}.empty{padding:45px 25px;text-align:center;color:var(--muted)}.empty h2{margin-bottom:8px}.toast{position:fixed;bottom:24px;right:24px;max-width:430px;background:#303b33;color:white;padding:16px 20px;border-radius:8px;box-shadow:0 6px 25px #0002;z-index:80}.toast.error{background:#733f37}.login{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:white}.login-art{background:linear-gradient(145deg,#e7e9e4,#f7f7f3);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:50px}.login-art .jewel{width:310px;height:230px}.login-art h1{font:44px Georgia,serif;font-weight:400;max-width:400px}.login-panel{max-width:440px;width:100%;padding:40px;margin:auto}.login-panel h2{font:32px Georgia,serif;margin:25px 0 10px}.login-panel .field{margin:20px 0}.login-panel .btn{width:100%}.login-panel small{font-size:11px;color:var(--muted)}.timeline{border-left:1px solid #cfd4cc;margin-left:6px;padding-left:24px}.timeline p{position:relative;font-size:12px;padding-bottom:15px}.timeline p:before{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#899384;left:-28px;top:5px}.muted{color:var(--muted)}.mt{margin-top:22px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid var(--line);border-radius:12px;padding:28px;width:min(92vw,460px);box-shadow:0 15px 80px #0003}dialog::backdrop{background:#24292766}dialog h2{margin-bottom:12px}dialog p{color:var(--muted);font-size:13px}.check{display:flex;align-items:center;gap:8px;font-size:12px}.check input{width:17px;height:17px}.footer-note{margin-top:28px;font-size:10px;color:var(--muted);display:flex;justify-content:space-between}.nowrap{white-space:nowrap}@media(min-width:1600px){.board{grid-template-columns:repeat(6,minmax(220px,1fr))}}@media(max-width:1150px){.sidebar{width:205px;padding:25px 14px}.workspace{margin-left:205px}.main{padding:25px}.topbar{padding:0 25px}.stats{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,1fr)}.campaign-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:235px;box-shadow:15px 0 50px #0002}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.menu-toggle{display:inline-flex}.topbar{height:65px;padding:0 16px}.crumb,.profile-link .profile-text{display:none}.main{padding:20px 16px}.page-head{align-items:flex-start;flex-direction:column;gap:15px}.page-head h1{font-size:30px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.hero{padding:23px;min-height:180px}.hero .jewel{width:100px}.hero h2{font-size:26px}.form-grid,.equal,.details,.product-grid,.campaign-grid{grid-template-columns:1fr}.demo-banner{align-items:flex-start;font-size:10px;flex-direction:column;gap:2px}.filters,.search{width:100%}.filters input{width:100%}.login{grid-template-columns:1fr}.login-art{display:none}.login-panel{padding:28px}.top-tools{gap:8px}.role-select{max-width:160px}.toast{left:16px;right:16px;bottom:16px}.footer-note{gap:12px}.tabs{gap:20px}.card.pad{padding:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.sidebar,.topbar,.demo-banner,.actions,.toolbar,.footer-note{display:none}.workspace{margin:0}.main{padding:0}.card{break-inside:avoid}body{background:white}.table-wrap{overflow:visible}.stats{grid-template-columns:repeat(4,1fr)}}

/* =============================================================
   CALLIE SILVER — Dashboard v2
   Shared typography + header; dashboard-only layout below.
   Uses Windows Segoe UI with Vietnamese support. No font download.
   ============================================================= */
:root {
  --font-ui: "Be Vietnam Pro", "Segoe UI", Arial, Helvetica, sans-serif;
  --ink: #272d30;
  --muted: #646d72;
  --canvas: #f5f6f7;
  --line: #e3e6e8;
  --radius: 12px;
}
html { font-family: var(--font-ui); }
body { font-family: var(--font-ui); font-size: 14px; line-height: 1.6; letter-spacing: normal; }
button, input, select, textarea, table { font-family: var(--font-ui); }
h1, h2, h3, h4, .page-head h1, .hero h2, .login-panel h2, .login-art h1 {
  font-family: var(--font-ui) !important;
  letter-spacing: normal;
  line-height: 1.4;
}
.page-head h1 { font-size: 28px; font-weight: 650; }
.card h2[style] { font-family: var(--font-ui) !important; }
.eyebrow, .nav-label { letter-spacing: .7px; line-height: 1.7; }
.btn { font-size: 13px; font-weight: 600; border-radius: 7px; padding: 9px 15px; }
.btn.primary { background: #30383d; border-color: #30383d; box-shadow: 0 2px 4px #26303912; }
.btn.primary:hover { background: #1e272c; }
.btn.small { font-size: 12px; min-height: 34px; }
.avatar { font-family: var(--font-ui); background: #edf0f2; color: #3b484f; font-size: 12px; }
.text-link { color: #46565f; font-size: 12px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.sidebar { top: 72px; width: 224px; padding: 24px 14px 20px; background: #fff; box-shadow: none; }
.workspace { margin-left: 224px; padding-top: 72px; }
.workspace-label { display: flex; align-items: center; gap: 12px; padding: 2px 12px 24px; font-size: 14px; font-weight: 650; }
.workspace-label > .icon { width: 35px; height: 35px; padding: 8px; border-radius: 9px; background: #f0f2f3; }
.workspace-label small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 2px; }
.nav-label { font-size: 10px; font-weight: 650; margin: 12px 0 10px; }
.nav-link { min-height: 45px; font-size: 13px; margin: 5px 0; gap: 13px; }
.nav-link.active { background: #30383d; box-shadow: 0 3px 8px #26303912; }
.sidebar-bottom { padding: 18px 12px 0; }
.sidebar-caption { display: block; font-size: 10px; letter-spacing: 1px; color: #59656c; }
.sidebar-bottom small { display: block; font-size: 10px; margin-top: 5px; }
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 40; height: 72px; padding: 0 30px; background: #fff; }
.header-start { display: flex; align-items: center; gap: 14px; }
.header-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #a9b1b6; border-radius: 50%; font: 500 17px/1 var(--font-ui); letter-spacing: -1px; color: #414d54; background: linear-gradient(135deg,#fff,#eceff1); }
.brand-name { font: 600 18px/1.35 var(--font-ui); color: #2d363c; }
.brand-name small { display: block; font-size: 8px; line-height: 1.6; font-weight: 500; letter-spacing: 2px; color: #68757c; margin-top: 2px; }
.topbar .menu-toggle { display: none; }
.account-menu { position: relative; }
.account-menu > summary { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 8px; cursor: pointer; list-style: none; font-size: 13px; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu > summary:hover, .account-menu[open] > summary { background: #f3f5f6; }
.account-menu > summary:focus-visible { outline: 3px solid #7b8d9b; outline-offset: 3px; }
.account-menu .avatar { width: 34px; height: 34px; border: 1px solid #dbe1e4; }
.chevron { font-size: 16px; color: #68757b; padding: 0 3px; }
.account-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 268px; padding: 8px; border: 1px solid var(--line); background: white; border-radius: 10px; box-shadow: 0 12px 35px #26303920; }
.account-identity { padding: 12px; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.account-identity strong { display: block; font-size: 14px; }
.account-identity small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.account-item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; font-size: 13px; border-radius: 6px; }
.account-item:hover { background: #f4f6f7; }
.account-role { margin: 5px 0; padding: 12px; border-top: 1px solid #eef0f1; border-bottom: 1px solid #eef0f1; }
.account-role label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.account-role .role-select { display: block; width: 100%; max-width: none; font-size: 13px; padding: 8px; }
.account-role small { display: block; font-size: 10px; color: var(--muted); margin-top: 7px; }
.demo-banner { border: 0; border-bottom: 1px solid #e1e6e9; border-radius: 0; background: #edf1f3; color: #5b6871; padding: 7px 30px; margin: 0; gap: 8px; font-size: 11px; line-height: 1.5; min-height: 31px; }
.demo-banner strong { font-weight: 600; }
.demo-dot { width: 5px; height: 5px; background: #7c909c; border-radius: 50%; flex-shrink: 0; }
.main { padding: 25px 30px 32px; max-width: 1540px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.dashboard-breadcrumb { margin: 0 0 9px; color: #6c747a; font-size: 11px; }
.dashboard-breadcrumb span { color: #39464e; margin-left: 5px; }
.dashboard-heading h1 { margin: 0 0 6px; font-size: 28px; font-weight: 650; }
.dashboard-heading .sub { font-size: 13px; }
.scope-label { font-size: 11px; color: #62717a; border: 1px solid #dce2e6; padding: 6px 10px; border-radius: 5px; background: #fafbfc; white-space: nowrap; }
.dashboard-stats { margin: 0 0 22px; gap: 14px; }
.dashboard-stats .stat { position: relative; padding: 18px 19px; border-color: #e3e7e9; box-shadow: 0 2px 5px #26303903; }
.dashboard-stats .stat-top { align-items: center; font-size: 12px; color: #5f6c74; gap: 8px; }
.dashboard-stats .stat-top .icon { width: 30px; height: 30px; padding: 6px; background: #f0f3f5; border-radius: 8px; color: #637681; }
.dashboard-stats .stat:nth-child(3) .stat-top .icon { background: #f5f1e9; color: #8c7957; }
.dashboard-stats .stat strong { font-size: clamp(22px,2vw,30px); line-height: 1.3; font-weight: 650; letter-spacing: -.5px; margin: 8px 0 6px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dashboard-stats .stat small { font-size: 11px; }
.dashboard-panels { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 20px; margin-bottom: 24px; align-items: stretch; }
.dashboard .card { border-color: #e1e6e9; box-shadow: 0 2px 5px #26303903; }
.dashboard .card-head { min-height: 76px; padding: 18px 20px; }
.dashboard h2 { font-size: 15px; font-weight: 650; }
.panel-subtitle { font-size: 11px; color: #6b757c; margin: 5px 0 0; }
.heading-count { display: inline-block; font-size: 10px; color: #61727d; background: #edf2f5; border-radius: 5px; padding: 2px 6px; margin-left: 5px; vertical-align: middle; }
.priority-panel { display: flex; flex-direction: column; }
.priority-list { list-style: none; padding: 0 20px; margin: 0; flex: 1; }
.priority-list li { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid #edf0f2; }
.priority-list li:last-child { border-bottom: 0; }
.task-icon { display: flex; padding: 9px; border: 1px solid #e6e9e8; background: #f5f6f4; border-radius: 10px; color: #747d73; flex-shrink: 0; }
.task-description { flex: 1; min-width: 0; }
.task-description a { font-size: 13px; font-weight: 600; }
.task-description a:hover { text-decoration: underline; }
.task-description p { margin: 3px 0 1px; color: #58646d; font-size: 12px; }
.task-description p span, .task-description small { font-size: 11px; color: #737c82; }
.priority-list .btn { white-space: nowrap; }
.panel-bottom { font-size: 11px; color: #6b767d; padding: 12px 20px; background: #fafbfc; border-top: 1px solid #edf0f2; }
.progress-body { padding: 18px 20px; }
.completion { display: flex; align-items: center; justify-content: space-between; color: #64717a; gap: 10px; font-size: 11px; }
.completion strong { color: #303e47; font-size: 25px; font-weight: 650; margin-right: 7px; }
.completion small { font-size: 11px; }
.completion-track { background: #edf1f3; height: 7px; overflow: hidden; border-radius: 5px; margin: 9px 0 19px; }
.completion-track > span { display: block; height: 100%; background: #778c99; border-radius: inherit; }
.stage-breakdown { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 12px; }
.stage-breakdown > div { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #627079; }
.stage-breakdown strong { font-size: 12px; font-weight: 600; color: #3c4a53; margin-left: auto; }
.stage-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #aeb5b8; }
.stage-1 { background: #c2ad84; }.stage-2 { background: #91a8b9; }.stage-3 { background: #a79bb5; }.stage-4 { background: #93a69b; }.stage-5 { background: #546f60; }
.booking-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid #e1e6e9; border-bottom: none; border-radius: 12px 12px 0 0; background: white; }
.recent-section > .card { border-top-left-radius: 0; border-top-right-radius: 0; }
.dashboard th { font-size: 10px; letter-spacing: .35px; padding: 13px 16px; background: #f8fafb; }
.dashboard td { font-size: 12px; padding: 15px 16px; }
.dashboard td small { font-size: 10px; }
.dashboard .table-foot { font-size: 11px; background: #fafbfc; }
.dashboard .pill { font-size: 10px; border-radius: 5px; padding: 4px 7px; }
.footer-note { align-items: center; font-size: 10px; color: #7c848a; margin-top: 22px; }
@media (max-width: 1150px) {
  .sidebar { width: 204px; }
  .workspace { margin-left: 204px; }
  .main { padding: 24px; }
  .dashboard-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-panels { grid-template-columns: 1fr; }
  .dashboard-stats .stat strong { font-size: 27px; }
}
@media (max-width: 760px) {
  .sidebar { top: 64px; width: 224px; }
  .sidebar.open { box-shadow: 12px 0 25px #26303918; }
  .workspace { margin-left: 0; padding-top: 64px; }
  .topbar { height: 64px; padding: 0 16px; }
  .topbar .menu-toggle { display: inline-flex; }
  .header-start { gap: 10px; }
  .header-brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 14px; }
  .brand-name { font-size: 15px; }
  .brand-name small { font-size: 7px; letter-spacing: 1px; }
  .account-label { display: none; }
  .account-menu > summary { gap: 4px; padding: 4px; }
  .account-menu .avatar { height: 31px; width: 31px; }
  .demo-banner { flex-direction: row; align-items: center; padding: 7px 16px; gap: 7px; font-size: 10px; }
  .demo-extra { display: none; }
  .main { padding: 20px 16px; }
  .dashboard-heading { align-items: flex-start; }
  .dashboard-heading h1 { font-size: 25px; }
  .scope-label { display: none; }
  .dashboard-stats { gap: 10px; }
  .dashboard-stats .stat { padding: 14px; }
  .dashboard-stats .stat-top { font-size: 11px; }
  .dashboard-stats .stat-top .icon { display: none; }
  .dashboard-stats .stat strong { font-size: 22px; }
  .dashboard-stats .stat small { font-size: 10px; }
  .dashboard .card-head, .progress-body { padding: 16px; }
  .priority-list { padding: 0 16px; }
  .priority-list li { flex-wrap: wrap; gap: 10px; }
  .task-description { min-width: 130px; }
  .stage-breakdown { column-gap: 14px; }
  .booking-toolbar { flex-direction: column; align-items: flex-start; padding: 16px; gap: 14px; }
  .booking-toolbar .actions { width: 100%; }
  .booking-toolbar .btn { flex: 1; }
}
@media print {
  .topbar, .sidebar, .demo-banner, .account-menu { display: none; }
  .workspace { margin-left: 0; padding-top: 0; }
}
.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 190px;
  object-fit: contain;
}
/* Căn logo giữa thanh trên cùng */
.header-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 760px) {
  .brand-logo {
    height: 34px;
    max-width: 32vw;
  }
}

/* Refined visual system for status, reports, Kanban and account tools. */
:root {
  --accent: #72528b;
  --accent-soft: #f2edf7;
  --blue: #477fb2;
  --blue-soft: #eaf2fa;
  --teal: #458f7d;
  --teal-soft: #eaf5f1;
  --amber: #b7782d;
  --amber-soft: #fff3e3;
  --red: #b74d52;
  --red-soft: #fff0ef;
  --card-shadow: 0 3px 12px rgba(38, 48, 57, .055), 0 1px 2px rgba(38, 48, 57, .035);
}

.main { padding-top: 22px; }
.card, .stat, .hero, .booking-toolbar, .column {
  border-color: #e0e5e9;
}
.card, .stat { box-shadow: var(--card-shadow); }
.stat { transition: transform .18s ease, box-shadow .18s ease; }
.stat:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(38,48,57,.09); }
.card-head { background: linear-gradient(180deg, #fff, #fcfdfe); }
.page-head { margin-bottom: 20px; }
.sub, .panel-subtitle { font-size: 13px; }
.nav-label, .eyebrow { font-size: 11px; }
.pill { font-size: 11px; padding: 5px 9px; border-radius: 999px; }
.table-foot, .footer-note, td small, .field small, .account-role small { font-size: 12px; }
th { font-size: 11px; }
td { font-size: 13px; }
.filters input, .filters select { min-height: 42px; }

/* Pastel status colors are keyed by workflow state for consistent reuse. */
.pill.status-draft { color: #586a78; background: #edf2f5; border-color: #d9e2e8; }
.pill.status-pending { color: #315f91; background: #eaf2fc; border-color: #d3e3f4; }
.pill.status-sample { color: #895c20; background: #fff3df; border-color: #f2dfbd; }
.pill.status-review { color: #684c91; background: #f2edfa; border-color: #e2d8f1; }
.pill.status-published { color: #287563; background: #e8f5f0; border-color: #cfe9df; }
.pill.status-closed { color: #326f54; background: #e9f4ec; border-color: #d2e6d8; }
.pill.status-cancelled { color: #a23f48; background: #fff0ef; border-color: #f2d7d6; }
.pill.good { color: #287563; background: #e8f5f0; border-color: #cfe9df; }
.pill.warn { color: #895c20; background: #fff3df; border-color: #f2dfbd; }
.pill.bad { color: #a23f48; background: #fff0ef; border-color: #f2d7d6; }

/* Dashboard donut and multi-color progress bars. */
.donut-layout { display: grid; grid-template-columns: 138px minmax(0,1fr); align-items: center; gap: 16px; margin: 14px 0 18px; }
.donut-chart { width: 138px; height: 138px; }
.donut-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.donut-chart circle { transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dasharray .35s ease; }
.donut-value { fill: #303b43; font: 700 17px var(--font-ui, Arial, sans-serif); text-anchor: middle; }
.donut-caption { fill: #6c7880; font: 11px var(--font-ui, Arial, sans-serif); text-anchor: middle; }
.donut-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.donut-legend > div { display: flex; align-items: center; gap: 7px; min-width: 0; color: #64717a; font-size: 12px; }
.donut-legend strong { margin-left: auto; color: #38464e; font-size: 12px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: var(--legend-color); }
.stage-progress-list { display: grid; gap: 9px; }
.stage-progress-row { display: grid; grid-template-columns: minmax(90px,1fr) minmax(90px,1.4fr) 38px; align-items: center; gap: 10px; color: #606e77; font-size: 12px; }
.stage-progress-row strong { text-align: right; font-size: 12px; color: #394850; }
.progress-color-0 { background: #98a5ad !important; }
.progress-color-1 { background: #5b91c8 !important; }
.progress-color-2 { background: #e2a65e !important; }
.progress-color-3 { background: #9b83c4 !important; }
.progress-color-4 { background: #61a895 !important; }
.progress-color-5 { background: #3f806c !important; }
.report-chart-card { margin-bottom: 22px; }
.report-chart-body { display: grid; grid-template-columns: minmax(230px,.8fr) minmax(320px,1.2fr); align-items: center; gap: 28px; padding: 22px 26px; }
.report-chart-body .donut-layout { grid-template-columns: 150px minmax(0,1fr); margin: 0; }
.report-chart-body .donut-chart { width: 150px; height: 150px; }
.report-bars { min-width: 0; }
.report-bars .bar-row { grid-template-columns: minmax(110px,1fr) minmax(100px,1.5fr) 42px; font-size: 12px; }
.report-bars .bar-row strong { text-align: right; font-size: 12px; }
.date-filter { display: flex; align-items: center; gap: 7px; color: #68757d; font-size: 12px; }
.date-filter input { min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); }

/* Rating and platform marks. */
.rating { display: inline-flex; gap: 2px; white-space: nowrap; font-size: 17px; line-height: 1; }
.star-filled { color: #c89232; text-shadow: 0 1px 0 #f4e4bd; }
.star-empty { color: #b8c1c7; }
.platform-mark { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-right: 5px; vertical-align: middle; overflow: hidden; border: 0; border-radius: 0; background: transparent; }
.platform-mark img { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; border-radius: 0; }

/* Kanban cards contain the product, platform and delivery urgency. */
.column { box-shadow: inset 0 3px 0 var(--column-accent), 0 2px 7px rgba(35,45,52,.035); background: var(--column-bg); }
.column-stage-0 { --column-bg: #f3f5f7; --column-accent: #98a5ad; }
.column-stage-1 { --column-bg: #f0f5fb; --column-accent: #5b91c8; }
.column-stage-2 { --column-bg: #fff7eb; --column-accent: #e2a65e; }
.column-stage-3 { --column-bg: #f6f2fb; --column-accent: #9b83c4; }
.column-stage-4 { --column-bg: #eef7f4; --column-accent: #61a895; }
.column-stage-5 { --column-bg: #eef6f0; --column-accent: #3f806c; }
.column-head { margin-top: 8px; font-size: 12px; }
.booking-card { border-color: #e1e6ea; box-shadow: 0 3px 9px rgba(35,45,52,.07); padding: 14px; }
.booking-card:hover { box-shadow: 0 6px 15px rgba(35,45,52,.11); }
.booking-card-top { display: flex; align-items: center; justify-content: space-between; }
.booking-card-top .platform-mark { margin: 0; }
.booking-card h3 { margin-top: 8px; }
.kanban-campaign { margin: 0 0 10px !important; }
.kanban-product { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 9px; background: #f8f9fa; }
.product-thumb { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 42px; overflow: hidden; border: 1px solid #e6e9eb; border-radius: 8px; background: linear-gradient(145deg,#fff,#f0f2f3); }
.product-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-thumb .jewel { width: 37px; height: 32px; filter: none; }
.product-card .product-art { height: 220px; overflow: hidden; background: #f3f2ef; }
.product-card .product-art > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-card .product-art > .jewel { width: 100%; height: 100%; padding: 28px; }
.product-edit { max-width: 980px; }
.product-edit .field.full { grid-column: 1 / -1; }
.product-image-preview { min-height: 180px; display: grid; place-items: center; border: 1px dashed #cfd3d2; border-radius: 10px; background: #f7f8f6; overflow: hidden; }
.product-image-preview img { display: block; max-width: 100%; max-height: 330px; object-fit: contain; }
.product-image-preview span { display: grid; place-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.product-image-preview .jewel { width: 145px; height: 105px; }
.product-image-preview > small { margin: 10px; color: var(--muted); }
.product-edit input[type="file"] { padding: 10px; background: #fff; }
.product-url { display: inline-block; margin-top: 12px; font-size: 12px; }
.kanban-product small, .kanban-product strong { display: block; }
.kanban-product small { margin-bottom: 2px; color: #78838a; font-size: 10px; }
.kanban-product strong { overflow: hidden; max-width: 135px; color: #39464e; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.kanban-fee { display: flex; align-items: center; gap: 6px; margin-top: 9px; color: #586a74; font-size: 12px; }
.kanban-fee .icon { width: 15px; height: 15px; }
.kanban-card footer { gap: 5px; }
.booking-card footer .pill { font-size: 10px; padding: 4px 7px; }
.due-normal { color: #62727b; background: #f0f3f5; border-color: #dfe5e8; }
.due-soon { color: #a23f48; background: #fff0ef; border-color: #f0cfcd; }
.due-overdue { color: #fff; background: #b74d52; border-color: #b74d52; }

/* User roles, action menu and account activation switch. */
.role-badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.role-manager { color: #684c91; background: #f2edfa; }
.role-executive { color: #315f91; background: #eaf2fc; }
.toggle { position: relative; display: inline-flex; align-items: center; width: 42px; height: 24px; cursor: pointer; }
.toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-track { width: 42px; height: 24px; border-radius: 999px; background: #c8d0d5; transition: background .18s ease; }
.toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; box-shadow: 0 1px 3px #17212a33; transition: transform .18s ease; }
.toggle input:checked + .toggle-track { background: #4b9a7e; }
.toggle input:checked + .toggle-track::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle-track { outline: 3px solid #7b8d9b; outline-offset: 3px; }
.row-actions { position: relative; }
.row-actions > summary { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e1e6e9; border-radius: 8px; color: #596770; cursor: pointer; list-style: none; font-size: 14px; font-weight: 800; letter-spacing: 1px; }
.row-actions > summary::-webkit-details-marker { display: none; }
.row-actions > summary:hover, .row-actions[open] > summary { background: #f3f6f8; }
.row-actions-menu { position: absolute; z-index: 20; top: calc(100% + 5px); right: 0; display: grid; min-width: 175px; padding: 5px; border: 1px solid #e0e5e9; border-radius: 10px; background: white; box-shadow: 0 9px 24px #26303920; }
.row-actions-menu a, .row-actions-menu button { display: block; padding: 9px 10px; border: 0; border-radius: 6px; background: transparent; color: #46545c; text-align: left; font-size: 12px; }
.row-actions-menu a:hover, .row-actions-menu button:hover { background: #f2f5f7; }
.row-actions-menu .action-danger { color: #a23f48; }

@media (max-width: 760px) {
  .main { padding-top: 18px; }
  .donut-layout { grid-template-columns: 110px minmax(0,1fr); gap: 10px; }
  .donut-chart { width: 110px; height: 110px; }
  .donut-legend { grid-template-columns: 1fr; gap: 6px; }
  .stage-progress-row { grid-template-columns: minmax(82px,1fr) minmax(55px,1fr) 34px; gap: 7px; font-size: 11px; }
  .report-chart-body { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .report-chart-body .donut-layout { grid-template-columns: 120px minmax(0,1fr); }
  .report-chart-body .donut-chart { width: 120px; height: 120px; }
  .report-bars .bar-row { grid-template-columns: minmax(90px,1fr) minmax(65px,1fr) 38px; gap: 7px; }
  .date-filter { flex: 1 1 140px; }
  .date-filter input { width: 100%; min-width: 0; }
}

/* Slightly larger supporting text; original layout and Callie branding retained. */
.sidebar-caption, .sidebar-bottom small, .booking-card .code,
.booking-card footer, .heading-count, .kanban-product small,
.dashboard th, .dashboard .pill { font-size: 11px; }

/* Booking detail: completed steps, review actions and audit history. */
.steps .step { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.steps .step.done { color: #28734f; background: #e9f5ed; border-color: #d5e9dc; }
.step-check, .step-number { display: inline-grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 800; }
.step-check { color: #218454; background: #d5ecdd; }
.step-number { color: #69757e; background: #eef1f3; }
.steps .step.current .step-number { color: #252b2d; background: #fff; }
.steps .step.skipped { color: #77818a; background: #f7f8f8; }
.step-check.step-skip { color: #7d858b; background: #e9edef; }
.fee-warning { padding: 11px 13px; color: #855817; background: #fff5e6; border: 1px solid #f1dfbd; border-radius: 7px; font-size: 12px; font-weight: 600; }
.received-state { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 16px; color: #216b48; background: #eaf5ed; border: 1px solid #d3e8da; border-radius: 8px; }
.received-state strong { font-size: 14px; }
.received-state span { color: #4f6e5b; font-size: 12px; }
.btn.approve-action { color: #fff; background: #238451; border-color: #238451; }
.btn.approve-action:hover { background: #176b3f; }
.btn.revision-action { color: #a04432; background: #fff3e9; border-color: #efcbb5; }
.btn.revision-action:hover { background: #ffe7d6; }
.pill.good { color: #216b48; background: #e8f5eb; border-color: #cde7d5; }
.timeline-event { position: relative; display: grid; grid-template-columns: minmax(150px, 210px) minmax(140px, auto) auto; gap: 4px 12px; align-items: baseline; padding: 0 0 18px; font-size: 13px; }
.timeline-event::before { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #63836d; left: -29px; top: 6px; }
.timeline-event time { color: #69757b; font-size: 12px; }
.timeline-event strong { color: #263238; font-weight: 650; }
.timeline-role { color: #5b6f60; font-size: 11px; }
.timeline-event p { position: static; grid-column: 2 / -1; margin: 0; padding: 0; color: #35434a; }
.timeline-event p::before { content: none; }
.timeline-event p + p { color: #69757b; font-size: 12px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .timeline-event { grid-template-columns: 1fr; gap: 3px; }
  .timeline-event p { grid-column: auto; }
  .steps .step { min-width: 150px; }
}
.dashboard td small, .dashboard-stats .stat small, .field small,
.task-description small, .task-description p span, .dashboard-breadcrumb,
.completion small, .panel-bottom, .account-identity small { font-size: 12px; }

/* Readability and typography refinement: clean system sans typography, modestly larger text. */
body { font-family: var(--font-ui); font-size: 15px; line-height: 1.65; }
button, input, select, textarea { font-family: inherit; }
.page-head h1, .hero h2, .login-panel h2, .login-art h1, .card h2[style] { font-family: var(--font-ui) !important; font-weight: 650; letter-spacing: -0.025em; }
.nav-link { font-size: 14px; }
.nav-label, .eyebrow { font-size: 11px; letter-spacing: 1.2px; }
.crumb, .sub, .panel-subtitle, .info, .field, .details dd, .timeline-event { font-size: 14px; }
.btn { font-size: 13px; }
.btn.small { font-size: 12px; }
.stat-top { color: #39434a; font-size: 14px; font-weight: 650; line-height: 1.35; }
.stat strong { font-size: 31px; font-weight: 650; letter-spacing: -0.04em; }
.stat small, .table-foot, .footer-note, td small, .field small, .dashboard td small,
.task-description small, .completion small, .panel-bottom { font-size: 12px; }
th { font-size: 11px; }
td { font-size: 13px; }
.tab, .role-badge, .date-filter, .stage-progress-row, .bar-row { font-size: 13px; }
.login-panel h2 { font-size: 32px; }
.forgot-link { display: block; width: auto !important; margin: 14px 0 0 auto; padding: 2px 0; border: 0; background: transparent; color: #496a5a; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.forgot-link:hover { color: #294b3a; }
.recovery-info { color: #48534d; background: #f5f7f3; border-color: #dce4dd; line-height: 1.7; font-size: 14px; }
.dashboard-heading h1 { font-weight: 700; letter-spacing: -0.04em; }
.dashboard-stats .stat { box-shadow: 0 2px 8px #2630390a; }
.dashboard-stats .stat-top { font-size: 14px; }
.dashboard-stats .stat strong { font-size: 32px; }
@media (max-width: 760px) {
  body { font-size: 14px; }
  .dashboard-stats .stat-top { font-size: 13px; }
  .dashboard-stats .stat strong { font-size: 27px; }
}

/* Font and type scale used across every view. */
html, body, body * { font-family: var(--font-ui, "Be Vietnam Pro", "Segoe UI", Arial, sans-serif); }
.brand strong { font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif; letter-spacing: 1px; font-weight: 700; }
.page-head h1 { font-size: 30px; font-weight: 700; }
.dashboard-heading h1 { font-size: 32px; }
.stat-top { font-size: 15px; font-weight: 700; }
.dashboard-stats .stat-top { font-size: 15px; }
.field { font-size: 14px; }
@media (max-width: 760px) { .page-head h1 { font-size: 27px; } .dashboard-heading h1 { font-size: 29px; } .stat-top, .dashboard-stats .stat-top { font-size: 13px; } }

/* Slightly larger labels, metadata, and status text for comfortable reading. */
.pill, .booking-card .code, .booking-card footer, .table-foot, .sidebar-bottom small, .nav-label, .eyebrow { font-size: 12px; }
.stat small, .dashboard td small, .task-description small, .completion small, .panel-bottom, td small, .field small { font-size: 13px; }
th { font-size: 12px; }
@media (max-width: 760px) { .pill, .booking-card .code, .booking-card footer { font-size: 11px; } .stat small, td small, .field small { font-size: 12px; } }


/* Product direct image uploads and per-booking post channels */
.post-list-section,.post-config-section{grid-column:1/-1;margin:8px 0 4px}.post-list-section>.actions{justify-content:space-between;align-items:center;margin-bottom:12px}.post-list-section h2,.post-config-section>h2{font-size:18px;margin:0 0 12px}.post-list-section>small{display:block;color:var(--muted);font-size:12px;margin-top:12px}.post-row{padding:16px!important;margin:12px 0;border-color:#e2e6e8;box-shadow:0 2px 8px #26303908}.post-row header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.post-row .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.post-config-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.post-config{padding:18px!important}.post-config h3{font-size:15px;margin:0}.post-config .platform-mark{vertical-align:middle}.post-config .form-grid{grid-template-columns:1fr;gap:10px}.product-image-preview img{object-fit:contain;background:#f4f4f2}.product-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}.product-links:empty{display:none}
.product-art{height:auto;aspect-ratio:1/1;overflow:hidden;background:#f3f4f2}.product-art>img{display:block;width:100%;height:100%;object-fit:contain;background:#f3f4f2}.form-footer .btn.danger{border-color:#ead5d1;color:#8c3f36;background:#fff9f7}

/* Product cards: consistent square image frame and aligned card content. */
.product-grid{align-items:stretch;grid-auto-rows:1fr;gap:22px}
.product-card{display:flex;flex-direction:column;height:100%;min-width:0;border-color:#e2e5e3;box-shadow:0 3px 12px rgba(38,48,44,.055);transition:transform .18s ease,box-shadow .18s ease}
.product-card:hover{transform:translateY(-3px);box-shadow:0 9px 24px rgba(38,48,44,.11)}
.product-card .product-art{position:relative;display:grid;place-items:center;width:100%;height:auto;aspect-ratio:1/1;flex:0 0 auto;overflow:hidden;background:#f7f6f2;border-bottom:1px solid #ecece8}
.product-card .product-art>img{display:block;width:100%;height:100%;object-fit:contain;padding:8px;background:#f7f6f2}
.product-card .product-art>.jewel{width:100%;height:100%;padding:clamp(24px,7%,42px);filter:none}
.product-card .product-body{display:flex;flex:1;flex-direction:column;min-width:0;padding:18px 20px 20px}
.product-card .product-body>.eyebrow{min-height:18px;overflow:hidden;color:#727b7e;font-size:11px;letter-spacing:.8px;text-overflow:ellipsis;white-space:nowrap}
.product-card .product-body>h2{display:-webkit-box;min-height:48px;margin:8px 0 12px;overflow:hidden;font-size:16px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.product-card .product-body>footer{min-height:34px;margin-top:auto;padding-top:2px}
.product-card .product-body>footer>strong{font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap}
.product-card .product-links{min-height:24px;margin-top:12px;gap:8px 14px}
.product-card .product-url{margin-top:0;font-size:12px}
.product-card .product-body>.mt{margin-top:auto;padding-top:14px}
.product-card .product-body>.mt .btn{min-width:96px}
@media(max-width:760px){.product-grid{grid-auto-rows:auto;gap:16px}.product-card .product-body{padding:16px}.product-card .product-body>h2{font-size:16px}}

/* KOC directory, profile and avatar controls */
.koc-list-avatar{object-fit:cover;border:1px solid #e4e7e5}
body[data-page="koc-form"] .two-col{grid-template-columns:minmax(0,1fr)}
body[data-page="koc-form"] .two-col>aside{display:none}
.koc-form-wrap{max-width:1040px}

/* Shared status palette and campaign budget controls. */
.pill.status-published,.pill.status-closed,.pill.good{color:#166534;background:#DCFCE7;border-color:#bbf7d0}
.pill.status-pending,.pill.status-sample,.pill.status-review,.pill.warn{color:#92400E;background:#FEF3C7;border-color:#fde68a}
.pill.status-cancelled,.pill.bad{color:#991B1B;background:#FEE2E2;border-color:#fecaca}
.toast{top:20px;right:22px;bottom:auto;left:auto;max-width:min(430px,calc(100vw - 32px));background:#166534}
.toast.error{background:#991B1B}
.campaign-card{display:flex;flex-direction:column;gap:11px;border-color:#e0e5e2;box-shadow:0 3px 12px #28332d0a}
.campaign-card-top{justify-content:space-between}
.campaign-title{margin:3px 0;font-size:21px;line-height:1.35}
.campaign-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 0;border-block:1px solid var(--line)}
.campaign-mini-stats small,.campaign-mini-stats strong{display:block}.campaign-mini-stats small,.campaign-targets{color:var(--muted);font-size:12px}.campaign-mini-stats strong{margin-top:4px;font-size:14px;color:var(--ink)}
.campaign-budget-line{display:flex;align-items:center;justify-content:space-between;gap:9px}.campaign-progress{margin:0}.campaign-progress.over-budget{background:#FEE2E2}.campaign-progress.over-budget span{background:#dc2626}.campaign-targets{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.campaign-targets span{display:grid;gap:4px}.campaign-targets strong{color:#38453e}.campaign-view{background:#eef3ef;color:#315d45;border-color:#d7e6dc;text-decoration:none}.campaign-view:hover{background:#dcebe1}.campaign-target-panel{margin:20px 0}.campaign-target-panel h2{margin-bottom:14px}.budget-alert{display:flex;align-items:center;gap:10px;margin:16px 0;padding:13px 15px;border:1px solid #fecaca;border-radius:9px;background:#FEF2F2;color:#991B1B;font-size:14px}
@media(max-width:760px){.toast{top:12px;right:12px;left:12px;max-width:none}.campaign-card{padding:18px}}
.generic-form-page{max-width:1180px;margin:0 auto}.generic-form-page>.card{width:100%}
.campaign-content-panel{margin:18px 0}.campaign-content-panel h2{margin-bottom:14px}.campaign-copy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}.campaign-copy dt{font-size:12px;color:var(--muted);margin-bottom:7px}.campaign-copy dd{margin:0;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.campaign-copy{grid-template-columns:1fr;gap:14px}}
.koc-avatar-preview{width:132px;height:132px;overflow:hidden;display:grid;place-items:center;border-radius:50%;border:1px solid #e4e7e5;background:#f3f4f2;color:#66716b;font-size:28px;font-weight:600}
.koc-avatar-preview img,.koc-detail-avatar{width:100%;height:100%;object-fit:cover;display:block}
.koc-detail-avatar{width:160px;height:160px;border-radius:50%;border:1px solid #e4e7e5;background:#f3f4f2;object-fit:cover;margin:18px auto}
.koc-avatar-fallback{display:grid;place-items:center;color:#66716b;font-size:20px}
.koc-actions{position:relative;display:inline-block}.koc-actions>summary{list-style:none}.koc-actions>summary::-webkit-details-marker{display:none}.koc-actions-menu{position:absolute;right:0;top:calc(100% + 5px);z-index:10;min-width:180px;padding:5px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 8px 24px #26303918}.koc-actions-menu button{width:100%;padding:10px;text-align:left;border:0;border-radius:5px;background:#fff;color:#8d4138}.koc-actions-menu button:hover{background:#fbf2f0}
#blacklist-modal{width:min(92vw,480px);border:1px solid var(--line);border-radius:12px;padding:24px;box-shadow:0 15px 60px #0003}#blacklist-modal::backdrop{background:#20262270}#blacklist-modal textarea{min-height:110px;width:100%;padding:10px;border:1px solid var(--line);border-radius:7px}
.koc-stats .stat{min-width:0}.koc-stats .stat strong{font-size:clamp(18px,2vw,27px);overflow-wrap:anywhere}
@media(max-width:760px){.koc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.koc-detail-avatar{width:130px;height:130px}}
@media(max-width:760px){.post-row .form-grid,.post-config-list{grid-template-columns:1fr}}

/* Booking: full-width content and compact shipment confirmation. */
.booking-overview{display:block}.post-config-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:18px}.post-config-list>.post-config{width:auto;max-width:none}.post-config .form-grid{grid-template-columns:1fr 1fr}.post-config .form-grid>.field:last-child{grid-column:1/-1}.sample-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.booking-modal{width:min(680px,calc(100% - 32px));max-height:90vh;overflow:auto;padding:24px;border:1px solid #dce2e7;border-radius:16px;box-shadow:0 24px 80px #0003}.booking-modal::backdrop{background:#15202b66}.booking-modal .form-footer{margin-top:18px}.kanban-campaign a{display:inline-block;text-decoration:underline;text-underline-offset:3px}@media(max-width:800px){.sample-layout{grid-template-columns:1fr}.post-config .form-grid{grid-template-columns:1fr}}

/* Compact dashboard and campaign metric cards. */
.dashboard-stats,.campaign-detail-stats{gap:16px;align-items:stretch}
.dashboard-stats .stat,.campaign-detail-stats .stat{min-width:0;padding:18px;min-height:140px}
.dashboard-stats .stat-top,.campaign-detail-stats .stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13.5px;line-height:1.4}
.dashboard-stats .stat-label,.campaign-detail-stats .stat-label{white-space:nowrap}
.dashboard-stats .stat-top svg,.campaign-detail-stats .stat-top svg{flex-shrink:0;width:20px;height:20px}
.dashboard-stats .stat>strong,.campaign-detail-stats .stat>strong{display:block;white-space:nowrap;font-size:clamp(22px,2vw,28px);line-height:1.3;letter-spacing:-.035em;margin-top:16px}
.campaign-detail-stats .stat>small{display:block;margin-top:10px;font-size:13px;line-height:1.5}
@media(min-width:761px) and (max-width:1150px){.dashboard-stats,.campaign-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-stats,.campaign-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-stats .stat,.campaign-detail-stats .stat{padding:14px;min-height:125px}.dashboard-stats .stat-top,.campaign-detail-stats .stat-top{font-size:12px}.dashboard-stats .stat>strong,.campaign-detail-stats .stat>strong{font-size:22px}}
@media(max-width:480px){.dashboard-stats,.campaign-detail-stats{grid-template-columns:1fr}}

/* Risk center and report efficiency charts. */
@media(min-width:1151px){.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
.risk-center{min-width:0}.risk-center .card-head{align-items:flex-start}.risk-list{max-height:540px;overflow:auto}
.risk-list li{align-items:flex-start;padding:14px 0}.risk-badge{display:inline-flex;align-items:center;justify-content:center;width:10px;height:10px;min-width:10px;flex:0 0 10px;margin:6px 8px 0 0;padding:0;border-radius:50%;font-size:0;white-space:nowrap}
.risk-critical{color:#991b1b;background:#fee2e2}.risk-warning{color:#92400e;background:#fef3c7}.risk-ready{color:#166534;background:#dcfce7}
.risk-list .task-description a{font-weight:650}.risk-list .task-description p{margin:4px 0 0;color:var(--muted);font-size:12px}
.efficiency-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}.efficiency-card h3{margin:0 0 14px;font-size:15px}.efficiency-bars{list-style:none;padding:0;margin:0;display:grid;gap:14px}.efficiency-bars li{min-width:0}.efficiency-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px;font-size:12px}.efficiency-label strong{white-space:nowrap;font-variant-numeric:tabular-nums}.efficiency-bars .progress{height:8px}.efficiency-bars .progress span{background:#586c62}
@media(max-width:760px){.efficiency-grid{grid-template-columns:1fr}.risk-list{max-height:unset}}

/* Report: scoped metrics, complementary charts and compact tables. */
.report-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.report-metrics .stat{min-width:0;padding:18px}.report-metrics .stat-top{font-size:13px;gap:8px}.report-metrics .stat>strong{font-size:clamp(18px,1.5vw,24px);line-height:1.4;overflow-wrap:anywhere;letter-spacing:-.025em}.report-metrics .stat small{font-size:12px}.report-visuals{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px;align-items:start}.report-section{margin-top:28px}.report-section>h2{margin-bottom:14px}.report-scope{font-size:13px;color:#62717c;margin:0 0 14px}.report-platforms{display:grid;gap:22px}.platform-row>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:14px}.platform-row .progress span{display:block;background:#638eac}.report-visuals .donut-layout{width:100%}.report-section td{white-space:normal}@media(max-width:1250px){.report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.report-visuals{grid-template-columns:1fr}}@media(max-width:650px){.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-row>div:first-child{flex-wrap:wrap}}@media print{.report-metrics{grid-template-columns:repeat(3,1fr)}.report-visuals{grid-template-columns:1fr}.report-section{break-inside:avoid}}

.report-platforms .platform-row strong{display:inline-flex;align-items:center;gap:9px}.report-platforms .platform-mark{width:22px;height:22px;flex-shrink:0}.report-platforms .platform-empty .progress{background:#edf0f3}.report-platforms .platform-empty>div:first-child>span{color:#77838d}.report-platforms .platform-empty .progress span{width:0!important}

/* Align the two report panels while keeping the donut vertically centered. */
.report-visuals{align-items:stretch;grid-template-columns:repeat(2,minmax(0,1fr))}
.report-visuals>section{display:flex;flex-direction:column;min-width:0;height:100%;box-sizing:border-box}
.report-visuals>section>h2{margin:0;line-height:1.5}
.report-visuals>section:first-child>.mt{display:flex;align-items:center;flex:1;padding:16px 0;min-height:220px}
.report-visuals .donut-layout{align-items:center;margin:0}
.report-visuals .report-platforms{gap:24px;margin-top:24px;margin-bottom:8px}
@media(max-width:1250px){.report-visuals{grid-template-columns:1fr}.report-visuals>section{height:auto}.report-visuals>section:first-child>.mt{min-height:0;padding:12px 0}}

/* Fill the report panel with a larger donut and six readable legend rows. */
.report-visuals>section:first-child>.mt{min-height:0;padding:14px 0 0;margin-top:12px}
.report-visuals .donut-layout{grid-template-columns:minmax(150px,42%) minmax(0,1fr);gap:20px}
.report-visuals .donut-chart{width:100%;height:auto;aspect-ratio:1;max-width:210px;justify-self:center}
.report-visuals .donut-legend{grid-template-columns:1fr;gap:0}
.report-visuals .donut-legend>div{display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:9px;min-height:38px;padding:7px 0;border-bottom:1px solid #edf0f3;font-size:13px;line-height:1.4}
.report-visuals .donut-legend>div:last-child{border-bottom:0}
.report-visuals .donut-legend strong{font-size:14px;font-variant-numeric:tabular-nums}
.report-visuals .report-platforms{gap:18px;margin-top:20px;margin-bottom:0}
@media(max-width:600px){.report-visuals .donut-layout{grid-template-columns:minmax(110px,38%) minmax(0,1fr);gap:14px}.report-visuals .donut-legend>div{font-size:12px;min-height:36px}}

/* Grouped campaign click-target chart, unobtrusive risk colors, and login credential option. */
.risk-list li.risk-item{border-left:3px solid transparent;padding-left:12px;background:transparent;color:inherit}
.risk-list li.risk-critical{border-left-color:#c0392b}.risk-list li.risk-warning{border-left-color:#f39c12}.risk-list li.risk-ready{border-left-color:#27ae60}
.campaign-click-chart{padding:8px 4px 0}.campaign-click-chart svg{display:block;width:100%;height:auto;max-height:340px;overflow:visible}.campaign-click-legend{display:flex;justify-content:flex-end;gap:18px;margin:0 4px 8px;color:var(--muted);font-size:12px}.campaign-click-legend span{display:inline-flex;align-items:center;gap:7px}.campaign-click-legend i{display:inline-block;width:10px;height:10px;border-radius:2px}.click-legend-actual,.click-bar-actual{fill:#4e5b92;background:#4e5b92}.click-legend-target,.click-bar-target{fill:#c8cdd3;background:#c8cdd3}.click-grid-line{stroke:#e9edf1;stroke-width:1}.click-axis-label{font-size:11px;fill:#77818b}.click-campaign-label{font-size:11px;fill:#35404a}
.remember-password{display:flex;align-items:center;gap:9px;margin:12px 0 2px;color:#424b54;font-size:13px;cursor:pointer}.remember-password input{width:16px;height:16px;accent-color:#4e5b92}
@media(max-width:600px){.campaign-click-chart{overflow-x:auto}.campaign-click-chart svg{min-width:520px}}

/* Account forms and mobile layouts. */
.password-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;grid-column:1/-1}.password-pair .full{grid-column:1/-1}.user-avatar-editor{display:flex;align-items:center;gap:20px;grid-column:1/-1;padding-bottom:12px}.user-avatar-preview{width:88px;height:88px;flex:0 0 88px;border-radius:50%;overflow:hidden;background:#edf1f3;display:grid;place-items:center}.user-avatar-preview img{width:100%;height:100%;object-fit:cover}.text-danger{color:#991b1b}.row-actions-menu{min-width:185px}#user-results .table-wrap{overflow-x:auto}#user-results td{vertical-align:middle}.page-head .actions,.form-footer,.filters{flex-wrap:wrap}@media(max-width:760px){.form-grid,.password-pair{grid-template-columns:1fr}.user-avatar-editor{align-items:flex-start;flex-wrap:wrap}.steps{overflow-x:auto;display:flex}.step{min-width:140px;flex:1}.tabs{overflow-x:auto;white-space:nowrap}.page-head{align-items:flex-start;gap:14px;flex-wrap:wrap}.filters{width:100%;gap:10px}.filters>label{min-width:0;flex:1 1 170px}.filters input,.filters select{width:100%;min-width:0}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.two-col{grid-template-columns:1fr}.form-footer{gap:10px}.booking-modal{padding:18px}}

/* Refined product editor media area and login presentation */
input[type="number"], input[type="number"].field { appearance: textfield; -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product-media-links { display: grid; grid-template-columns: minmax(260px, .88fr) minmax(320px, 1.12fr); gap: 24px; align-items: stretch; }
.product-image-section, .product-link-section { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.product-image-section h2, .product-link-heading h2 { font-size: 15px; margin: 0 0 14px; }
.product-link-heading p { margin: -7px 0 18px; color: var(--muted); font-size: 11px; }
.product-file-field { margin-bottom: 14px; }
.product-file-field input[type="file"] { font-size: 11px; }
.product-image-preview { aspect-ratio: 1 / 1; min-height: 230px; max-height: 330px; padding: 14px; }
.product-image-preview img { width: 100%; height: 100%; max-height: none; }
.product-image-preview > small { grid-row: 2; }
.product-link-section .field { margin: 0 0 15px; }
.product-link-section .field:last-child { margin-bottom: 0; }
.product-link-section .field input { min-height: 44px; }
.login { grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); min-height: 100svh; background: #fff; }
.login-art { position: relative; min-height: 100svh; overflow: hidden; justify-content: flex-end; align-items: flex-start; padding: 38px; background: #eeeae5; }
.login-model { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.login-art-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #1b17140a 45%, #1b171455 100%); }
.login-art-logo { position: relative; z-index: 1; width: min(180px, 42%); height: auto; object-fit: contain; filter: drop-shadow(0 1px 8px #fff8); }
.login-panel { max-width: 510px; padding: 58px 54px; }
.login-brand-row { display: flex; align-items: baseline; gap: 11px; color: #292b2c; font: 600 20px/1.1 Georgia, 'Times New Roman', serif; letter-spacing: 2px; white-space: nowrap; }
.login-brand-silver { color: #8b8177; font: 500 11px/1 Arial, sans-serif; letter-spacing: 3px; }
.login-panel h2 { margin-top: 42px; font-size: 31px; }
.login-panel > .sub { max-width: 360px; }
@media(max-width:900px) {
 .login { grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr); }
 .login-panel { padding: 42px 34px; }
 .product-media-links { grid-template-columns: minmax(230px, .85fr) minmax(280px, 1.15fr); gap: 16px; }
 .product-image-section, .product-link-section { padding: 16px; }
}
@media(max-width:760px) {
 .login { display: block; min-height: 100svh; padding: 0 18px 28px; background: linear-gradient(180deg, #f4f0eb 0, #fff 185px); }
 .login-art { display: block; min-height: 0; height: 150px; margin: 0 -18px; padding: 0; background: #eeeae5; }
 .login-model { object-position: center 23%; }
 .login-art-shade { background: linear-gradient(180deg, #0000 30%, #0005); }
 .login-art-logo { position: absolute; left: 18px; bottom: 14px; width: 110px; }
 .login-panel { max-width: 500px; padding: 30px 0 10px; }
 .login-panel h2 { margin-top: 30px; }
 .product-media-links { grid-template-columns: 1fr; }
 .product-image-preview { min-height: 200px; max-height: 280px; }
}

/* Login and product layout refinement */
.product-edit .product-media-links{grid-column:1/-1;width:100%;min-width:0;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.product-edit .product-image-section,.product-edit .product-link-section{min-width:0}
.product-edit .product-image-preview{width:100%;height:260px;min-height:0;aspect-ratio:auto;grid-template-rows:minmax(0,1fr) auto}
.product-edit .product-image-preview img{min-height:0;object-fit:contain}
.product-edit input[type=file]{max-width:100%;min-width:0}
.login{background:#e5e4e9;align-items:center}
.login-art{background:#e5e4e9;padding:0;min-height:100svh}
.login-model{object-fit:contain;object-position:center}
.login-art-shade{background:linear-gradient(90deg,transparent 85%,#e5e4e9 100%)}
.login-panel{padding:64px 56px;margin:auto;max-width:550px;width:100%;background:transparent}
.login-form-logo{display:block;width:210px;max-width:100%;height:auto}
.login-brand-row{margin-bottom:38px}
.login-panel h2{font-family:Georgia,'Times New Roman',serif!important;font-weight:400;letter-spacing:-.025em;font-size:36px;margin:0 0 14px}
.login-panel>.sub{color:#505159;line-height:1.7}
.login-panel .field input{padding:13px 16px;border-radius:8px;border-color:#c7c7ce;background:#ffffffd9;min-height:48px}
.login-panel .field input:focus{outline:0;border-color:#7b7c87;box-shadow:0 0 0 3px #81828b20;background:#fff}
.login-panel .btn.primary{min-height:48px;border-radius:8px}
@media(max-width:760px){
.login{padding:0 22px 30px;background:#e5e4e9}
.login-art{height:auto;aspect-ratio:1/1;min-height:0;margin:0 -22px}
.login-model{object-fit:contain}
.login-art-shade{background:linear-gradient(180deg,transparent 90%,#e5e4e9)}
.login-panel{padding:30px 0;max-width:460px}
.login-form-logo{width:170px}
.login-panel h2{font-size:30px}
.product-edit .product-media-links{grid-template-columns:minmax(0,1fr)}
}

/* Centered login brand and description */
.login-brand-row{justify-content:center;margin-bottom:30px}
.login-form-logo{margin-inline:auto}
.login-panel>#auth-title:empty{display:none}
.login-panel>#auth-description{max-width:none;text-align:center;margin-inline:auto;color:#505159}
.login-panel #auth-title{text-align:center}
.login-model{object-fit:contain;object-position:center}

/* White login form area */
.login{background:#fff}
.login-panel{background:#fff}
.login-art-shade{background:linear-gradient(90deg,transparent 94%,#ffffff40)}
@media(max-width:760px){.login{background:#fff}.login-art-shade{background:linear-gradient(180deg,transparent 94%,#ffffff40)}}

/* Square photo beside a wider centered white login area */
.login{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;min-height:100svh;background:#fff}
.login-art{width:100%;height:auto;min-height:0;aspect-ratio:1/1;padding:0;margin:0;background:#fff;align-self:center}
.login-model{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.login-art-shade{display:none}
.login-panel{width:min(100%,530px);max-width:530px;padding:60px 50px;margin:auto;background:#fff;align-self:center}
.login-brand-row{justify-content:center}
.login-form-logo{margin-inline:auto}
.login-panel>#auth-description,.login-panel #auth-title{text-align:center}
@media(max-width:900px) and (min-width:761px){.login-panel{padding:42px 30px}}
@media(max-width:760px){
.login{display:flex;flex-direction:column;padding:0;min-height:100svh;background:#fff}
.login-art{width:100%;height:auto;min-height:0;aspect-ratio:1/1;margin:0;flex:none}
.login-panel{width:min(100%,480px);max-width:480px;padding:34px 26px;margin:auto;flex:none}
}

/* Keep publication settings and KPI card aligned in the same grid row. */
.post-config-list>.card{align-self:stretch;height:100%;margin-top:0}
.post-config-list>.kpi-metrics-card{min-height:100%}

/* KPI update deadline */
.kpi-deadline-badge{display:inline-flex;align-items:center;margin-top:10px;padding:7px 11px;border-radius:999px;border:1px solid #f2b7b7;background:#fee2e2;color:#b91c1c;font-size:12px;font-weight:700;line-height:1.35}

/* KOC profile: single white card; compact identity header and three equal information columns. */
body[data-page="koc-detail"] .koc-profile-card{background:#fff;min-width:0;overflow:hidden;margin-bottom:22px}
body[data-page="koc-detail"] .koc-profile-header{padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #eceeed}
body[data-page="koc-detail"] .koc-header-identity{display:flex;align-items:center;min-width:0;gap:18px;flex:1}
body[data-page="koc-detail"] .koc-header-identity .koc-detail-avatar{width:80px;height:80px;flex:0 0 80px;margin:0;border-radius:50%;border:2px solid #f0f1f1;object-fit:cover}
body[data-page="koc-detail"] .koc-avatar-fallback{display:grid;place-items:center;font-weight:700}
body[data-page="koc-detail"] .koc-header-meta{min-width:0}
body[data-page="koc-detail"] .koc-header-name-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
body[data-page="koc-detail"] .koc-header-name-row h2{font-size:21px;line-height:1.3;margin:0;font-weight:700}
body[data-page="koc-detail"] .koc-header-meta p{margin:7px 0 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
body[data-page="koc-detail"] .koc-header-actions{display:flex;gap:9px;align-items:center;flex-shrink:0}
body[data-page="koc-detail"] .koc-profile-three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:23px 0 28px}
body[data-page="koc-detail"] .koc-profile-section{padding:0 26px;min-width:0}
body[data-page="koc-detail"] .koc-profile-section+.koc-profile-section{border-left:1px solid #eceeed}
body[data-page="koc-detail"] .koc-profile-section h3{font-size:12px;letter-spacing:.035em;line-height:1.5;margin:0 0 22px;font-weight:700;min-height:18px}
body[data-page="koc-detail"] .koc-info-list{display:flex;flex-direction:column;gap:18px;margin:0}
body[data-page="koc-detail"] .koc-info-item{min-width:0}
body[data-page="koc-detail"] .koc-info-item dt{font-size:11px;color:var(--muted);margin-bottom:5px}
body[data-page="koc-detail"] .koc-info-item dd{font-size:13px;margin:0;overflow-wrap:anywhere;line-height:1.5}
body[data-page="koc-detail"] .koc-external-link{color:#36574b;text-decoration:underline;text-underline-offset:3px}
body[data-page="koc-detail"] .koc-copy-account{background:transparent;color:#36574b;border:0;padding:4px;margin-left:6px;vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border-radius:5px}
body[data-page="koc-detail"] .koc-copy-account:hover{background:#f1f5f3}
body[data-page="koc-detail"] .koc-copy-account:focus-visible{outline:2px solid #36574b;outline-offset:2px}
@media(max-width:1100px){body[data-page="koc-detail"] .koc-profile-section{padding:0 18px}}
@media(max-width:900px){body[data-page="koc-detail"] .koc-profile-three-col{grid-template-columns:1fr;padding:0 24px 20px}body[data-page="koc-detail"] .koc-profile-section{padding:22px 0}body[data-page="koc-detail"] .koc-profile-section+.koc-profile-section{border-left:0;border-top:1px solid #eceeed}body[data-page="koc-detail"] .koc-profile-section h3{margin-bottom:16px}body[data-page="koc-detail"] .koc-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}}
@media(max-width:600px){body[data-page="koc-detail"] .koc-profile-header{padding:20px;align-items:flex-start;flex-direction:column}body[data-page="koc-detail"] .koc-header-actions{flex-wrap:wrap}body[data-page="koc-detail"] .koc-profile-three-col{padding-inline:20px}body[data-page="koc-detail"] .koc-info-list{grid-template-columns:1fr}body[data-page="koc-detail"] .koc-header-name-row h2{font-size:18px}}

/* Only one KOC avatar is visible at a time. The hidden image/initials fallback
   must override the base .avatar display declaration. */
.person .avatar[hidden] { display: none !important; }
