/* Mutasee UI Refresh v1 — presentation-only, no dependencies. */
:root{--mr-ink:#13233e;--mr-muted:#687b94;--mr-blue:#4b54db;--mr-blue-strong:#3647c9;--mr-pale:#f4f6ff;--mr-canvas:#f5f7fb;--mr-border:#e4eaf3;--mr-card:#fff;--mr-radius:18px;--mr-shadow:0 9px 35px rgba(22,40,77,.045),0 1px 2px rgba(22,40,77,.025)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--mr-canvas);color:var(--mr-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.006em}
body::selection{background:#dce4ff;color:#172554}
body .font-heading{font-family:inherit}
body .ui-card{background:var(--mr-card);border:1px solid var(--mr-border);border-radius:var(--mr-radius);box-shadow:var(--mr-shadow);transition:box-shadow .2s ease,border-color .2s ease}
body .ui-card:hover{border-color:#d9e2f1}
body .ui-card.overflow-hidden{overflow:hidden}
body .ui-input,body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),body textarea,body select{font-family:inherit}
body .ui-input{display:block;width:100%;min-height:44px;padding:10px 13px;background:#fbfcff!important;border:1px solid #dbe3ee!important;border-radius:11px!important;box-shadow:0 1px 1px rgba(18,36,67,.018);color:#162743!important;font-size:14px!important;line-height:1.45;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
body textarea.ui-input{min-height:90px;resize:vertical}
body .ui-input:focus,body .ui-input:focus-visible{outline:none!important;border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(93,94,221,.12)!important;background:white!important}
body .ui-input[readonly]{background:#f0f3f8!important;color:#69788b!important}
body .ui-input::placeholder{color:#9aa8ba}
body .ui-label{display:block;color:#3a4963;font-size:12px;font-weight:720;letter-spacing:.005em;margin-bottom:7px}
body .ui-button-primary,body .ui-button-ghost,body .ui-button-danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;border-radius:11px;font-weight:730;font-size:13px;line-height:1.25;letter-spacing:0;transition:transform .15s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;text-decoration:none;cursor:pointer}
body .ui-button-primary{color:white!important;background:linear-gradient(135deg,#5163e9,#4b49d0)!important;border:1px solid #494bd4!important;box-shadow:0 5px 14px rgba(75,78,204,.17)}
body .ui-button-primary:hover{background:linear-gradient(135deg,#4054d2,#3a3cae)!important;box-shadow:0 8px 20px rgba(75,78,204,.22);transform:translateY(-1px)}
body .ui-button-ghost{background:white!important;color:#4455ba!important;border:1px solid #d9e0f3!important}
body .ui-button-ghost:hover{background:#f1f4ff!important;border-color:#b7c1ee!important}
body .ui-button-danger{background:#fff5f6!important;color:#c33d57!important;border:1px solid #f7dce2!important}
body .ui-button-danger:hover{background:#ffe9ed!important}
body .ui-button-primary:disabled,body .ui-button-ghost:disabled{opacity:.55;cursor:not-allowed;transform:none}
body button:focus-visible,body a:focus-visible{outline:3px solid rgba(76,83,215,.38);outline-offset:3px}
body input[type="checkbox"]{accent-color:#5259d8;width:16px;height:16px}
body .status-muted{display:inline-flex;align-items:center;border:1px solid #dfe5ed;color:#63758b;background:#f5f7fa;padding:5px 11px;border-radius:999px;font-size:11px;font-weight:750}
body .status-success{display:inline-flex;align-items:center;border:1px solid #bfe6d6;color:#047857;background:#ecfdf5;padding:5px 11px;border-radius:999px;font-size:11px;font-weight:750}
body .mr-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:760;white-space:nowrap;line-height:1.25}
body .mr-badge--success{color:#087957;background:#e9f9f0;border:1px solid #c9eedd}
body .mr-badge--warning{color:#9b6510;background:#fff8e6;border:1px solid #f6e6bc}
body .mr-badge--danger{color:#bb3b54;background:#fff0f3;border:1px solid #f6d2dc}
body .mr-badge--info{color:#4851c3;background:#eff1ff;border:1px solid #dce0fc}
body .mr-badge--neutral{color:#66768c;background:#f3f5f8;border:1px solid #e4e9f0}
body .mr-eyebrow{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.17em;color:#6676b5}
body .mr-pagehead{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:4px 0 24px}
body .mr-pagehead h1{color:#15294d;font-size:clamp(24px,2.2vw,32px);line-height:1.17;letter-spacing:-.045em;font-weight:800;margin:7px 0 0}
body .mr-pagehead p{max-width:740px;color:#718099;font-size:13px;line-height:1.7;margin-top:9px}
body .mr-section-title{color:#203354;font-size:16px;font-weight:800;letter-spacing:-.025em}
body .mr-description{color:#718099;font-size:13px;line-height:1.7}
body .mr-surface-soft{border:1px solid #e5e9f5;background:#f7f9ff;border-radius:14px}
body .mr-divider{height:1px;background:linear-gradient(90deg,#e5eaf5,transparent);margin:18px 0}
body .mr-iconbox{display:inline-flex;width:43px;height:43px;align-items:center;justify-content:center;border-radius:13px;background:#f0f2ff;color:#4b54db;flex:none}
body .mr-iconbox .ui-icon{height:19px;width:19px}
body .mr-metric{position:relative;overflow:hidden}
body .mr-metric::before{content:"";position:absolute;inset:auto -20px -55px auto;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,rgba(100,112,231,.07),transparent 70%);pointer-events:none}
body .mr-section{border-radius:var(--mr-radius)}
body .mr-section > h2:first-child{color:#203354;font-weight:800}
body .mr-table-wrap{overflow:auto;border:1px solid var(--mr-border);border-radius:16px;background:white}
body .mr-table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}
body .mr-table th{background:#f7f9fd;font-size:11px;font-weight:780;color:#74849b;text-transform:uppercase;letter-spacing:.075em;text-align:left;padding:13px 17px;white-space:nowrap}
body .mr-table td{padding:14px 17px;border-top:1px solid #ecf0f6;vertical-align:middle;color:#31445e}
body .mr-table tbody tr:hover{background:#fbfcff}
/* Main application shell */
body.ui-refresh-app .mr-layout{background:radial-gradient(ellipse at 78% -2%,#edf1ff 0,transparent 40%),#f6f8fc}
body.ui-refresh-app .mr-sidebar{background:linear-gradient(170deg,#ffffff 0%,#fbfcff 70%,#f7f8ff 100%);border-right:1px solid #e8ecf5;position:sticky;top:0;height:100vh;overflow:auto;padding:30px 17px 22px}
body.ui-refresh-app .mr-sidebar .nav-item{display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 13px;color:#61718b;border-radius:11px;font-size:13px;font-weight:680;border:1px solid transparent;text-decoration:none;transition:background .18s ease,color .18s ease}
body.ui-refresh-app .mr-sidebar .nav-item:hover{color:#404fc0;background:#f2f4ff}
body.ui-refresh-app .mr-sidebar .nav-item-active{background:#edf0ff!important;color:#454dc5!important;font-weight:800;box-shadow:inset 3px 0 0 #555de0}
body.ui-refresh-app .mr-sidebar .ui-icon{width:18px;height:18px;stroke-width:1.9}
body.ui-refresh-app .mr-sidebar .mr-nav-label{padding:0 13px;font-size:10px;font-weight:830;letter-spacing:.17em;text-transform:uppercase;color:#9aa6ba;margin-bottom:11px}
body.ui-refresh-app .mr-sidebar-callout{background:linear-gradient(135deg,#3441bb,#6661df);border-radius:16px;color:white;padding:17px;box-shadow:0 12px 24px rgba(68,77,197,.15)}
body.ui-refresh-app .mr-sidebar-callout p{color:#e4e6ff;font-size:11px;line-height:1.6;margin-top:5px}
body.ui-refresh-app .mr-sidebar-callout a{margin-top:13px;display:inline-flex;align-items:center;background:white;color:#424cc1;border-radius:9px;padding:8px 12px;font-size:11px;font-weight:800}
body.ui-refresh-app .mr-topbar{border-bottom:1px solid #e9edf5;background:rgba(255,255,255,.92);backdrop-filter:blur(14px)}
body.ui-refresh-app .mr-topbar .mr-avatar{background:linear-gradient(135deg,#e8edff,#d8dcff);color:#4a50bb;border:1px solid #d5dbfa}
body.ui-refresh-app .mr-content{max-width:1450px}
body.ui-refresh-app .mr-mobile-nav{background:#fff;border-top:1px solid #eef1f7;box-shadow:0 6px 12px rgba(10,30,70,.015)}
body.ui-refresh-app .mr-mobile-nav a{border:1px solid transparent}
body.ui-refresh-app .mr-mobile-nav .mr-mobile-active{color:#454dc5;background:#eff1ff;border-color:#e0e5fc}
body.ui-refresh-app footer{border-top:1px solid #e7ebf3;color:#93a0b3;font-size:11px}
body.ui-refresh-app main > section.flex:first-child h1,body.ui-refresh-app main > section:first-child > h1{font-weight:820;letter-spacing:-.04em;color:#192b49}
body.ui-refresh-app main > section.grid > article.ui-card{min-width:0}
body.ui-refresh-app main > section.grid.sm\:grid-cols-2.xl\:grid-cols-4 > article.ui-card{padding:22px!important;min-height:164px}
body.ui-refresh-app main > section.grid.sm\:grid-cols-2.xl\:grid-cols-4 > article.ui-card > p.number{letter-spacing:-.05em;font-size:clamp(22px,2vw,29px)}
body.ui-refresh-app table{font-variant-numeric:tabular-nums}
body.ui-refresh-app main table thead{background:#f8faff}
body.ui-refresh-app main table thead th{color:#71829c;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
body.ui-refresh-app main table tbody tr{transition:background .15s ease}
body.ui-refresh-app main table tbody tr:hover{background:#fafbff}
body.ui-refresh-app dialog{border:1px solid #e2e8f3;border-radius:20px;box-shadow:0 30px 90px rgba(17,28,57,.24);max-width:min(95vw,760px)}
body.ui-refresh-app dialog::backdrop{background:rgba(17,27,54,.55);backdrop-filter:blur(3px)}
/* Admin */
body.ui-refresh-app .mr-admin-nav{display:flex;gap:7px;flex-wrap:wrap;padding:9px;background:#fff;border:1px solid #e6ebf4;border-radius:15px;box-shadow:var(--mr-shadow)}
body.ui-refresh-app .mr-admin-nav a{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;color:#72819a;font-size:12px;font-weight:730;border-radius:10px;border:1px solid transparent;white-space:nowrap}
body.ui-refresh-app .mr-admin-nav a:hover{background:#f6f7ff;color:#4c53c1}
body.ui-refresh-app .mr-admin-nav a[aria-current="page"]{background:#edf0ff;color:#454dc5;border-color:#dfe3fa}
body.ui-refresh-app .mr-admin-nav .ui-icon{height:15px;width:15px}
body.ui-refresh-app .mr-admin-grid a{transition:transform .18s ease,box-shadow .18s ease}
body.ui-refresh-app .mr-admin-grid a:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(25,41,74,.08)}
body.ui-refresh-app .mr-admin-grid .mr-admin-number{font-weight:840;font-size:38px;letter-spacing:-.07em;color:#192b49}
body.ui-refresh-app .mr-setting-group{padding:18px;border:1px solid #edf0f5;border-radius:14px;background:#fcfdff}
body.ui-refresh-app .mr-template code{background:#f0f3ff;color:#4851c1;border:1px solid #e3e7fb;padding:5px 9px;border-radius:7px;font-size:11px}
body.ui-refresh-app .mr-payment-item{border:1px solid #e5eaf3;border-radius:17px;padding:23px;background:white;box-shadow:var(--mr-shadow)}
body.ui-refresh-app .mr-payment-item .mr-payment-ref{font-family:ui-monospace,Consolas,monospace;color:#65749a;font-size:11px;letter-spacing:.03em}
/* Pricing */
body.ui-refresh-app .mr-pricing-grid{align-items:stretch}
body.ui-refresh-app .mr-pricing-card{display:flex;flex-direction:column;padding:27px!important;position:relative;overflow:hidden}
body.ui-refresh-app .mr-pricing-card.is-featured{border-color:#aebaff!important;box-shadow:0 16px 35px rgba(64,71,180,.11)}
body.ui-refresh-app .mr-pricing-card.is-featured:before{content:"";height:4px;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,#4a67ea,#8273ed)}
body.ui-refresh-app .mr-price-amount{font-size:clamp(27px,2.4vw,37px);font-weight:850;letter-spacing:-.065em;line-height:1.2;color:#18294c}
body.ui-refresh-app .mr-plan-features li{padding:7px 0;color:#56677f;font-size:12px;display:flex;gap:9px;align-items:flex-start}
body.ui-refresh-app .mr-plan-features li:before{content:"✓";color:#4e65d6;font-weight:900;flex:none}
body.ui-refresh-app .mr-price-control{margin-top:auto;padding-top:22px}
body.ui-refresh-app .mr-price-helper{font-size:11px;line-height:1.6;color:#8390a5}
body.ui-refresh-app .mr-price-banner{background:linear-gradient(125deg,#fff 15%,#f2f4ff);border:1px solid #dfe4f7;border-radius:20px}
/* Auth — applies when linked from auth views, independent of auth layout markup */
body:has(.mr-auth-skin){background:radial-gradient(circle at 15% 10%,#eaf0ff,transparent 32%),radial-gradient(circle at 95% 90%,#eff0ff,transparent 30%),#f6f8fd}
body:has(.mr-auth-skin) form:has(.ui-input) .ui-button-primary{min-height:47px}
body:has(.mr-auth-skin) input.ui-input{height:47px}
body:has(.mr-auth-skin) .mr-auth-skin{margin-bottom:16px;display:flex;align-items:center;gap:9px;padding:10px 13px;background:#f4f7ff;border:1px solid #e1e8fb;border-radius:11px;color:#586ca3;font-size:12px;font-weight:620}
body:has(.mr-auth-skin) .mr-auth-skin::before{content:"✦";font-size:16px;color:#5868d3}
body:has(.mr-auth-skin) #mutaseeCaptcha{border-radius:11px;border:1px solid #dfe5f3;max-width:100%;height:auto}
body:has(.mr-auth-skin) .ui-label{margin-bottom:8px}
/* Busy and small screens */
@media(max-width:767px){body.ui-refresh-app .mr-pagehead{align-items:flex-start}body.ui-refresh-app .mr-admin-nav{flex-wrap:nowrap;overflow:auto;scrollbar-width:thin}body.ui-refresh-app .mr-pricing-card{padding:21px!important}body.ui-refresh-app main{padding-top:22px}body.ui-refresh-app main .ui-card{border-radius:15px}body.ui-refresh-app .mr-payment-item{padding:17px}body.ui-refresh-app .mr-topbar .mr-avatar{height:36px;width:36px}}
@media(max-width:430px){body.ui-refresh-app .mr-mobile-nav{gap:3px}body.ui-refresh-app .mr-mobile-nav a{font-size:11px;padding:7px 9px}body:has(.mr-auth-skin) #mutaseeCaptcha{width:170px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
