/* Visual refresh v2 — brighter, clearer and more readable without changing business logic. */
:root{
  --ink:#20352f;
  --dark:#123c32;
  --green:#16866b;
  --green-strong:#08775d;
  --mint:#e8f7ef;
  --muted:#71847b;
  --border:#e4ebe6;
  --bg:#f5f7f4;
  --shadow:0 12px 34px rgba(31,68,51,.075);
  --radius:18px;
  --font-ui:"MiSans","HarmonyOS Sans SC","Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC","Source Han Sans SC",system-ui,sans-serif;
}
html,body{font-family:var(--font-ui);font-size:15px;color:var(--ink);background:var(--bg);letter-spacing:.005em}
body{line-height:1.72;background-image:radial-gradient(ellipse at 85% 0%,rgba(255,218,165,.17),transparent 29%),radial-gradient(ellipse at 4% 35%,rgba(133,211,183,.12),transparent 28%)}
button,input,select,textarea{font-family:var(--font-ui)}
::selection{background:#c8f0dc;color:#174b3a}

/* Controls */
.btn{min-height:40px;padding:9px 16px;border-radius:11px;border-color:#dce7df;color:#38584b;font-size:14px;font-weight:750;box-shadow:0 2px 5px rgba(25,65,45,.025);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.btn:hover:not(:disabled){background:#f5faf6;transform:translateY(-2px);box-shadow:0 7px 16px rgba(25,65,45,.09)}
.btn.primary{background:linear-gradient(135deg,#159875,#08775f);border-color:#0e896a;color:#fff;box-shadow:0 6px 15px rgba(15,137,103,.2)}
.btn.primary:hover{background:linear-gradient(135deg,#0d8968,#066b55)}
.btn.soft{background:#e8f7ef;border-color:#ccebd9;color:#147454}
.btn.warn{background:#fff4e8;border-color:#f4ddc2;color:#a76127}
.btn.danger{background:#fff0ee;border-color:#f4d4d0;color:#b94f45}
.btn.small{min-height:33px;padding:6px 11px;font-size:13px}
.btn.icon-only{min-height:38px}
.input,.select,.textarea{border:1px solid #d9e4dd;border-radius:11px;padding:11px 13px;background:#fff;color:#263d34;font-size:14px;min-height:43px;transition:border-color .18s,box-shadow .18s}
.input:focus,.select:focus,.textarea:focus{border-color:#45ad8a;box-shadow:0 0 0 4px rgba(49,174,132,.13)}
.input::placeholder,.textarea::placeholder{color:#a0aea6}
.form-field{gap:7px}
.form-field label{font-size:13px;color:#526c5e;font-weight:750}
.form-field small{font-size:12px}
.form-grid{gap:17px}
.section-title{font-size:13px;color:#168467;letter-spacing:.02em;margin:15px 0 10px}
.badge{font-size:12px;padding:5px 9px;border-radius:7px;letter-spacing:0}
.card{border:1px solid rgba(221,232,224,.95);border-radius:18px;background:rgba(255,255,255,.96);box-shadow:var(--shadow);transition:box-shadow .18s ease,border-color .18s ease}
.card-heading{padding:21px 23px 0}
.card-heading h2{font-size:17px;font-weight:850;letter-spacing:-.02em;color:#263f34}
.card-heading p{font-size:13px;color:#84958c;margin-top:3px}
.note{font-size:13px;padding:13px 15px;border-radius:13px;line-height:1.75;background:#eef9f2;border-color:#d5eddf;color:#456e59}
.note.amber{background:#fff7eb;border-color:#f5e2c6;color:#946b36}
.muted{color:#7e9086}.tiny{font-size:12px}.small-text{font-size:13px}

/* Main shell and navigation */
.app{grid-template-columns:258px minmax(0,1fr);background:transparent}
.sidebar{background:linear-gradient(180deg,#103e33 0%,#124b3b 58%,#123d34 100%);color:#d9eee3;box-shadow:8px 0 35px rgba(14,58,43,.08)}
.sidebar:before{content:"";position:absolute;pointer-events:none;top:120px;left:-120px;width:340px;height:340px;border:1px solid rgba(255,255,255,.055);border-radius:50%;box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 88px rgba(255,255,255,.018)}
.brand{position:relative;padding:27px 22px 29px;gap:13px}
.brand-logo{width:47px;height:47px;border-radius:15px;background:linear-gradient(145deg,#7cddb0,#19a47c 62%,#08745d);box-shadow:0 8px 20px rgba(4,25,17,.22);color:#fff}
.brand strong{font-size:20px;letter-spacing:.03em}
.brand small{font-size:10px;letter-spacing:.13em;color:#a2c9b3;margin-top:2px}
.nav-kicker{position:relative;color:#8bb69e;font-size:11px;letter-spacing:.12em;margin:12px 23px 10px}
.nav{position:relative;padding:0 12px;gap:5px}
.nav a{min-height:46px;padding:11px 14px;border-radius:12px;color:#c0d9ca;font-size:14px;font-weight:650;gap:12px}
.nav a svg{opacity:.9}
.nav a:hover{background:rgba(255,255,255,.09);color:#fff;transform:translateX(2px)}
.nav a.active{background:linear-gradient(105deg,rgba(74,178,130,.34),rgba(54,145,112,.19));color:#fff;box-shadow:inset 3px 0 #f3c878,0 5px 14px rgba(5,32,23,.12)}
.nav a.active svg{color:#a9efc5}
.nav a .nav-pill{background:#f1c879;color:#4e482f;border-radius:5px;padding:2px 6px;font-size:9px;font-weight:900}
.sidebar-bottom{position:relative;padding:15px 14px}
.sidebar-notice{border:1px solid rgba(174,222,192,.22);background:linear-gradient(145deg,rgba(54,119,88,.6),rgba(26,83,61,.65));border-radius:14px;padding:14px;color:#c5dfce;font-size:12px}
.sidebar-notice strong{font-size:13px;margin-bottom:5px}
.sidebar-user{border-top-color:rgba(219,242,226,.15);padding:17px 5px 3px}
.sidebar-user .avatar{background:linear-gradient(145deg,#f1d38e,#e8a75e);color:#654a23}
.sidebar-user b{font-size:13px}.sidebar-user small{font-size:11px;color:#a9c9b5}
.sidebar-user .logout{font-size:14px;border-radius:8px}.sidebar-user .logout:hover{background:rgba(255,255,255,.1);color:white}
.main{background:transparent}
.topbar{height:76px;padding:0 38px;background:rgba(255,255,255,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(222,232,225,.85);box-shadow:0 4px 18px rgba(38,70,51,.025)}
.breadcrumb{font-size:13px;color:#82948a}.breadcrumb strong{color:#2d5945;font-weight:800}
.top-actions{gap:12px}.top-role{background:#e9f7ef;color:#157653;border:1px solid #d4eddf;padding:6px 11px;border-radius:9px;font-size:12px}
.top-icon{width:39px;height:39px;border-radius:12px;color:#557568;background:#fff;box-shadow:0 2px 7px rgba(31,68,51,.04)}
.top-icon:hover{border-color:#b7dfc7;background:#f4fbf6;color:#128261}
.content{max-width:1580px;padding:31px 38px 58px}
.demo-banner{border-radius:12px;padding:11px 15px;margin-bottom:25px;font-size:13px;background:linear-gradient(100deg,#fff8e9,#fffaf2);border-color:#f2e4c8;color:#906f3d}
.page-head{margin-bottom:25px;align-items:flex-end}
.eyebrow{font-size:11px;letter-spacing:.15em;color:#18876a;font-weight:900}
.page-head h1{font-size:30px;line-height:1.32;letter-spacing:-.035em;color:#1e4435;margin-top:6px}
.page-head p{font-size:14px;color:#7c8e84;margin-top:8px;line-height:1.7}
.page-actions{gap:10px}

/* Dashboard */
.metrics{gap:17px}
.metric{padding:21px 22px 20px;border-radius:18px;min-height:148px;position:relative;background:#fff;box-shadow:0 8px 25px rgba(33,69,49,.055)}
.metric:after{content:"";position:absolute;right:-28px;bottom:-44px;width:120px;height:120px;border-radius:50%;background:var(--metric-glow,rgba(26,160,116,.07));pointer-events:none}
.metric:nth-child(1){--metric-glow:rgba(30,174,126,.10);border-top:3px solid #2db68b}
.metric:nth-child(2){--metric-glow:rgba(116,135,218,.12);border-top:3px solid #8795e2}
.metric:nth-child(3){--metric-glow:rgba(241,172,82,.14);border-top:3px solid #efb35e}
.metric:nth-child(4){--metric-glow:rgba(81,164,204,.12);border-top:3px solid #62aeca}
.metric .metric-top{font-size:13px;color:#70867a;position:relative;z-index:1}
.metric-icon{width:43px;height:43px;border-radius:13px;background:#e3f7ec;color:#14835f}
.metric:nth-child(2) .metric-icon{background:#eff0ff;color:#737bca}
.metric:nth-child(3) .metric-icon{background:#fff3df;color:#b97a28}
.metric:nth-child(4) .metric-icon{background:#e9f5fb;color:#3987a9}
.metric-number{font-size:37px;letter-spacing:-.045em;color:#1d4435;margin-top:8px;position:relative;z-index:1}
.metric-bottom{font-size:12px;color:#87998f;margin-top:6px;position:relative;z-index:1}
.dashboard-grid{gap:19px;margin-top:20px}
.chart-wrap{padding:20px 24px 24px}
.chart-row{grid-template-columns:85px minmax(0,1fr) 40px;gap:14px;margin-bottom:17px;font-size:13px}
.chart-track{height:13px;background:#edf2ee;border-radius:20px}
.chart-fill{background:linear-gradient(90deg,#81d9ad,#159a75);box-shadow:0 2px 6px rgba(29,151,108,.15)}
.chart-row:nth-child(2n) .chart-fill{background:linear-gradient(90deg,#a9b8f1,#7186d3)}
.chart-row:nth-child(3n) .chart-fill{background:linear-gradient(90deg,#f4c98b,#e5a34d)}
.chart-row:nth-child(4n) .chart-fill{background:linear-gradient(90deg,#9dd9e9,#5daec7)}
.chart-label{font-size:13px;color:#5e7668}.chart-value{font-size:13px;color:#405d4d}
.task-item{padding:15px 22px;border-bottom-color:#edf2ee;gap:13px}
.task-item .avatar{width:39px;height:39px;border-radius:13px;background:#e8f3ff;color:#557eb6;font-size:13px}
.task-item:nth-child(2n) .avatar{background:#fff0e3;color:#b77a3b}
.task-item .task-name{font-size:14px;color:#304c3d}.task-item .task-sub{font-size:12px;color:#86978d}.task-item .task-date{font-size:12px;background:#fff5e8;color:#b77b3e;border-radius:7px;padding:4px 8px}
.quick-actions{gap:12px;padding:22px}
.quick-tile{position:relative;min-height:116px;border-radius:14px;padding:16px;background:linear-gradient(145deg,#f1fbf5,#e9f7ef);border-color:#d9eee1;color:#187653;font-size:14px;transition:transform .18s,box-shadow .18s}
.quick-tile:nth-child(2){background:linear-gradient(145deg,#f1f3ff,#e9edff);border-color:#dfe3fb;color:#6472b8}
.quick-tile:nth-child(3){background:linear-gradient(145deg,#fff8e9,#fff0d8);border-color:#f5e6c7;color:#a97731}
.quick-tile:hover{transform:translateY(-3px);box-shadow:0 10px 20px rgba(40,76,52,.08);background:linear-gradient(145deg,#fff,#f3faf5)}
.quick-tile svg:first-child{width:26px;height:26px}
.activity-list{padding:12px 23px 20px}
.activity-item{gap:13px;padding:14px 0;border-bottom-color:#edf1ee}
.activity-dot{height:33px;width:33px;border-radius:11px;background:#e9f7ef;color:#218a67}
.activity-item strong{font-size:13px;color:#385644}.activity-item p{font-size:12px;color:#85958c;margin-top:4px}

/* Tables and filters */
.toolbar{gap:11px;padding:17px 19px;border-bottom-color:#edf2ee}
.toolbar-search{min-width:190px}.toolbar-search svg{left:13px;top:13px}.toolbar-search .input{padding-left:41px}
.toolbar .select{min-height:43px;font-size:13px}
.data-table{min-width:820px;border-collapse:separate;border-spacing:0}
.data-table th{font-size:12px;color:#70877a;background:#f7faf7;padding:15px 19px;border-bottom:1px solid #e9efeb}
.data-table td{font-size:13px;color:#536a5d;padding:16px 19px;border-top:1px solid #f0f3f0}
.data-table tbody tr:nth-child(even) td{background:#fcfdfc}
.data-table tbody tr:hover td{background:#f2faf5}
.data-table td:first-child{color:#294b39}
.table-name{font-size:14px;color:#294e3b}.table-sub{font-size:12px;color:#94a399}
.table-actions{gap:12px}.table-actions button{font-size:13px;color:#168566}
.table-actions button:hover{color:#075d48;text-decoration:underline}
.pager{padding:16px 21px;font-size:13px;color:#819188}

/* Property cards */
.property-grid{gap:18px;padding:20px}
.property-card{border:1px solid #e3ebe5;border-radius:16px;box-shadow:0 4px 15px rgba(33,68,48,.035);transition:transform .2s,box-shadow .2s,border-color .2s}
.property-card:hover{transform:translateY(-4px);border-color:#c8e4d2;box-shadow:0 15px 30px rgba(33,68,48,.10)}
.property-art{height:145px;background:linear-gradient(135deg,#b9e8d0,#80c6a4 55%,#54a987);color:#fff;overflow:hidden}
.property-card:nth-child(4n+2) .property-art{background:linear-gradient(135deg,#d9dcff,#aab3ee 55%,#7d8bd4)}
.property-card:nth-child(4n+3) .property-art{background:linear-gradient(135deg,#ffe2b9,#f2bc79 55%,#e69d50)}
.property-card:nth-child(4n) .property-art{background:linear-gradient(135deg,#c1e9f0,#85c7d3 55%,#5aa8b8)}
.property-art:after{content:"";position:absolute;width:180px;height:180px;right:-38px;bottom:-112px;border:1px solid rgba(255,255,255,.42);border-radius:50%;box-shadow:0 0 0 22px rgba(255,255,255,.09),0 0 0 46px rgba(255,255,255,.07)}
.property-art svg{opacity:.66;filter:drop-shadow(0 4px 5px rgba(20,65,45,.13));z-index:1}
.property-art .property-art-label{z-index:2;top:13px;left:13px;color:#355c48;background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.6);font-size:12px;padding:4px 9px;border-radius:8px}
.property-card-body{padding:17px;gap:9px}
.property-card h3{font-size:16px;line-height:1.55;min-height:48px;color:#294b3a}
.property-tags{gap:7px}.property-tags span{background:#f0f6f1;color:#667f70;border-radius:7px;padding:4px 8px;font-size:12px}
.property-price{font-size:22px;color:#13825f;letter-spacing:-.02em}.property-price small{font-size:12px;color:#94a69a}
.property-card-foot{border-top-color:#edf2ee;padding-top:13px}.property-card-foot small{font-size:11px;color:#94a398}

/* Matching, follow-ups, team, settings */
.match-layout{grid-template-columns:310px minmax(0,1fr);gap:20px}
.match-sidebar{padding:23px;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdfb)}
.match-sidebar h3{font-size:17px;color:#294c39;margin-bottom:17px}
.match-field{margin-top:17px}.match-field label{font-size:12px;color:#81948a;margin-bottom:6px}.match-field strong{font-size:15px;color:#304d3d}
.match-list{gap:14px}.match-card{padding:21px;border-radius:17px;gap:18px;box-shadow:0 5px 18px rgba(33,68,48,.05)}
.match-card:nth-child(3n+2){border-left:3px solid #8f9be1}.match-card:nth-child(3n){border-left:3px solid #e7b56a}
.score-bubble{min-width:68px;height:68px;border-radius:18px;background:linear-gradient(145deg,#e5f9ed,#d2f1df);color:#14815d;box-shadow:inset 0 0 0 1px rgba(25,151,105,.07)}
.score-bubble strong{font-size:27px}.score-bubble small{font-size:10px}
.match-body h3{font-size:16px;color:#294b39;margin-bottom:8px}
.match-meta{font-size:13px;color:#758b7e;gap:13px}
.reasons{gap:7px;margin-top:13px}.reasons span{font-size:12px;padding:5px 8px;border-radius:7px;background:#eaf7ef;color:#267b5a}
.match-actions{gap:8px;margin-top:15px}.match-notice{font-size:12px;color:#9b845e;border-top-color:#efe8d9;padding-top:11px;margin-top:13px}
.timeline{padding:12px 23px 20px}.timeline-item{gap:14px;padding:15px 0;border-bottom-color:#eaf0eb}.timeline-icon{width:38px;height:38px;border-radius:13px;background:#e9f7ef;color:#238965}
.timeline-item strong{font-size:14px;color:#385744}.timeline-item p{font-size:13px;color:#63786a}.timeline-item small{font-size:12px;color:#93a197}
.task-grid{gap:20px}.task-table td{padding:14px 20px;border-bottom-color:#edf2ee;font-size:13px}
.staff-stats{gap:15px;margin-bottom:20px}.staff-stat{padding:21px;border-radius:16px}.staff-stat:nth-child(1){background:linear-gradient(145deg,#effaf3,#fff);border-color:#dcefe3}.staff-stat:nth-child(2){background:linear-gradient(145deg,#f1f2ff,#fff);border-color:#e1e4fb}.staff-stat:nth-child(3){background:linear-gradient(145deg,#fff7e9,#fff);border-color:#f3e7d2}
.staff-stat strong{font-size:28px;color:#216d51}.staff-stat span{font-size:13px;color:#81958a}
.compliance-grid{gap:20px}.setting-panel{padding:24px}.setting-panel h2{font-size:18px;color:#2b4b3a;margin-bottom:12px}.setting-panel p{font-size:14px;color:#74887c;line-height:1.85}.setting-list{margin-top:15px}.setting-list li{font-size:13px;color:#5c7666;margin:10px 0}
.step-list{gap:11px;margin-top:18px}.step{gap:13px;padding:14px;background:#f5faf6;border:1px solid #e9f1eb;border-radius:12px}.step-num{background:linear-gradient(145deg,#d9f3e3,#c4e9d2);color:#187b58;font-size:12px;min-width:29px;height:29px;border-radius:9px}.step b{font-size:13px;color:#395845}.step p{font-size:12px}

/* Dialogs, details and notices */
.overlay{background:rgba(11,38,27,.54);backdrop-filter:blur(5px)}
.dialog{border:1px solid rgba(230,239,232,.9);border-radius:20px;box-shadow:0 24px 80px rgba(10,35,23,.28)}
.dialog-head{padding:20px 25px;border-bottom-color:#eaf0eb;background:linear-gradient(100deg,#fbfefb,#f5faf6)}
.dialog-head h2{font-size:19px;color:#284a38}
.dialog-body{padding:24px 25px}.dialog-foot{padding:16px 25px;background:#fbfdfb;border-top-color:#eaf0eb}
.detail-row{font-size:14px;padding:12px 0;border-bottom-color:#e8eee9}.detail-row span:first-child{color:#81938a}.detail-row span:last-child{color:#334e3e}
.detail-block{margin-top:23px}.detail-block h3{font-size:15px;color:#345543;margin-bottom:10px}.detail-copy{padding:15px 16px;background:#f4f8f5;border:1px solid #eaf0eb;border-radius:12px;color:#536d5d;font-size:14px;line-height:1.8}
.divider{background:#e9efeb;margin:21px 0}
.empty{padding:50px 18px;font-size:14px;color:#84968b}.empty h3{font-size:17px;color:#304d3d;margin:12px 0 5px}.empty p{font-size:13px}
#toast-root{right:22px;bottom:22px}.toast{background:linear-gradient(135deg,#176e52,#12553f);border-radius:13px;padding:13px 18px;font-size:14px;box-shadow:0 12px 30px rgba(13,62,42,.25)}

/* Login page */
body:has(.login-card){background:#f0f6f1;background-image:radial-gradient(circle at 12% 15%,rgba(142,220,173,.32),transparent 31%),radial-gradient(circle at 90% 85%,rgba(255,202,135,.28),transparent 33%)}
.login-card{width:min(1080px,calc(100% - 36px));min-height:650px;border-radius:26px;box-shadow:0 35px 100px rgba(28,69,47,.18);border:1px solid rgba(255,255,255,.8)}
.login-left{background:linear-gradient(145deg,#0f4939 0%,#167b5a 55%,#0d6651 100%);padding:58px}
.login-left:before{width:430px;height:430px;top:40px;right:-165px;border-color:rgba(255,255,255,.22);box-shadow:0 0 0 76px rgba(255,255,255,.075),0 0 0 150px rgba(255,255,255,.045)}
.login-left:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,rgba(250,199,116,.23),transparent 68%);left:-80px;bottom:-100px}
.login-brand{font-size:19px;letter-spacing:.02em}.login-mark{width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#f3ce83,#e9a74e);color:#4d4b30;box-shadow:0 8px 22px rgba(4,35,23,.2)}
.login-hero .overline{font-size:12px;color:#c1f1d1;letter-spacing:.2em}
.login-hero h1{font-size:48px;line-height:1.3;letter-spacing:-.045em;margin:22px 0}
.login-hero h1 em{color:#ffda92}
.login-hero p{font-size:15px;line-height:2;color:#d1ead9;max-width:355px}
.login-chips{gap:9px;margin-top:34px}.login-chips span{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.28);border-radius:9px;padding:7px 12px;font-size:12px;color:#e0f4e7}
.login-left small{font-size:12px;color:#b4d9c1}
.login-right{padding:58px 54px}
.login-token{background:#fff5df;color:#9a6a24;border:1px solid #f4e5c4;border-radius:8px;padding:6px 11px;font-size:12px}
.login-right h2{font-size:30px;letter-spacing:-.035em;color:#244736;margin:22px 0 6px}
.login-right>p{font-size:14px;color:#84958b;margin-bottom:27px}
.login-options{gap:12px;margin-bottom:22px}
.login-choice{padding:16px;border-radius:14px;border-color:#e2ebe4;gap:14px;min-height:76px;transition:transform .18s,border-color .18s,box-shadow .18s,background .18s}
.login-choice:hover{transform:translateY(-2px);border-color:#b7dfc6;box-shadow:0 7px 18px rgba(35,91,59,.07);background:#fbfefb}
.login-choice.active{background:linear-gradient(100deg,#effaf3,#f8fcf8);border-color:#37a77c;box-shadow:inset 0 0 0 1px #37a77c,0 5px 14px rgba(36,137,94,.08)}
.login-icon{width:43px;height:43px;border-radius:13px;background:#e7f6ed;color:#1a8a63}
.login-choice:nth-child(2) .login-icon{background:#eef0ff;color:#727cc4}.login-choice:nth-child(3) .login-icon{background:#fff2df;color:#b47b35}
.login-choice b{font-size:14px;color:#345543}.login-choice small{font-size:12px;color:#899a90;margin-top:3px}
.radio-circle{width:20px;height:20px;border-color:#c2d3c8}.login-choice.active .radio-circle{background:#198e68;border-color:#198e68}
.login-right #enter{height:50px!important;border-radius:12px;font-size:15px}
.login-warning{font-size:12px;color:#9b7848;line-height:1.8;margin-top:19px}
.login-copyright{font-size:12px;color:#8ba294}

/* Responsive adjustments */
@media(max-width:1130px){.app{grid-template-columns:230px minmax(0,1fr)}.content{padding:26px 26px 48px}.topbar{padding:0 26px}}
@media(max-width:850px){.app{display:block}.sidebar{width:275px}.topbar{height:68px}.content{padding:23px 22px 42px}.page-head h1{font-size:27px}}
@media(max-width:600px){
  html,body{font-size:14px}.content{padding:18px 14px 35px}.topbar{padding:0 15px;height:62px}.page-head{margin-bottom:19px}.page-head h1{font-size:24px;line-height:1.35}.page-head p{font-size:13px}.eyebrow{font-size:10px}.demo-banner{font-size:12px;padding:10px 12px;margin-bottom:19px}.metrics{gap:10px}.metric{min-height:128px;padding:15px 14px;border-radius:15px}.metric .metric-top{font-size:12px;gap:5px}.metric-icon{width:35px;height:35px;border-radius:11px}.metric-number{font-size:30px}.metric-bottom{font-size:11px}.card{border-radius:15px}.card-heading{padding:17px 16px 0}.card-heading h2{font-size:16px}.card-heading p{font-size:12px}.chart-wrap{padding:16px}.chart-row{grid-template-columns:68px minmax(0,1fr) 29px;gap:8px;font-size:12px;margin-bottom:14px}.chart-label,.chart-value{font-size:12px}.task-item{padding:13px 15px}.task-item .task-name{font-size:13px}.task-item .task-sub{font-size:11px}.quick-actions{padding:15px;gap:8px}.quick-tile{min-height:100px;padding:12px;font-size:12px;gap:8px}.quick-tile svg:first-child{width:22px;height:22px}.activity-list{padding:10px 16px 15px}.activity-item strong{font-size:12px}.activity-item p{font-size:11px}.toolbar{padding:13px;gap:8px}.toolbar-search{flex-basis:100%;min-width:100%}.toolbar .select{flex:1;min-width:105px;max-width:none;font-size:12px}.data-table th{font-size:11px;padding:12px 14px}.data-table td{font-size:12px;padding:13px 14px}.table-name{font-size:13px}.table-sub{font-size:11px}.property-grid{grid-template-columns:1fr;padding:13px;gap:13px}.property-art{height:132px}.property-card h3{font-size:15px;min-height:0}.property-price{font-size:20px}.match-layout,.task-grid,.compliance-grid{grid-template-columns:1fr}.match-sidebar{padding:17px}.match-card{padding:16px;gap:13px;flex-direction:column}.score-bubble{height:auto;min-width:0;flex-direction:row;gap:7px;padding:8px 12px;border-radius:11px}.score-bubble strong{font-size:20px}.match-body h3{font-size:15px}.match-meta{font-size:12px}.match-actions .btn{font-size:12px}.staff-stats{gap:8px}.staff-stat{padding:13px 10px}.staff-stat strong{font-size:21px}.staff-stat span{font-size:11px}.setting-panel{padding:17px}.setting-panel h2{font-size:16px}.setting-panel p{font-size:13px}.dialog-head,.dialog-body,.dialog-foot{padding-left:17px;padding-right:17px}.dialog-head h2{font-size:17px}.detail-row{font-size:13px}.detail-copy{font-size:13px;padding:13px}.login-card{width:min(485px,calc(100% - 24px));margin:12px 0;border-radius:21px}.login-left{min-height:175px;padding:23px}.login-hero h1{font-size:28px;margin:8px 0}.login-right{padding:28px 22px 31px}.login-right h2{font-size:24px;margin-top:13px}.login-right>p{font-size:13px;margin-bottom:17px}.login-choice{padding:13px;min-height:68px}.login-choice b{font-size:13px}.login-choice small{font-size:11px}.login-warning{font-size:11px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
