/* Shared blue–teal, pastel user-center visual world; keeps every existing control and flow intact. */
:root{--uc-ink:#17374b;--uc-muted:#668293;--uc-teal:#187e78;--uc-line:#dce9ed;--uc-shadow:0 14px 34px #13405e12,0 2px 7px #13405e0b;--uc-radius:18px}
body{background:linear-gradient(128deg,#eaf4fa 0%,#edf7f5 58%,#eaf5f0 100%)!important;color:var(--uc-ink)!important}
body:before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.38;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='440' viewBox='0 0 720 440'%3E%3Cg fill='none' stroke='%2374b7bc' stroke-width='1' opacity='.42'%3E%3Cpath d='M0 100 120 28 245 104 360 32 495 102 610 20 720 74M0 330 130 250 260 330 380 245 510 325 630 245 720 280M120 28 130 250M245 104 260 330M360 32 380 245M495 102 510 325M610 20 630 245'/%3E%3C/g%3E%3Cg fill='%235eaaad' opacity='.5'%3E%3Ccircle cx='120' cy='28' r='2'/%3E%3Ccircle cx='245' cy='104' r='2'/%3E%3Ccircle cx='360' cy='32' r='2'/%3E%3Ccircle cx='495' cy='102' r='2'/%3E%3Ccircle cx='610' cy='20' r='2'/%3E%3Ccircle cx='130' cy='250' r='2'/%3E%3Ccircle cx='380' cy='245' r='2'/%3E%3Ccircle cx='630' cy='245' r='2'/%3E%3C/g%3E%3C/svg%3E");background-size:720px 440px}
.layout,.portal-shell,.billing-header,.billing-main,.admin-shell{position:relative;z-index:1}
/* Main app: keep fixed task navigation, but give every page the prototype's airy surfaces. */
.sidebar{background:linear-gradient(180deg,#e5f1f7,#e4f2ed)!important;color:#24465a!important;border-right:1px solid #d7e7ea!important}
.sidebar .wordmark{border-color:#d1e1e6!important}.sidebar .wordmark strong{color:#1d526a!important}.sidebar .wordmark small,.side-label,.server-line{color:#668293!important}.nav button{color:#496879!important;border-radius:12px!important}.nav button:hover{background:#d7e9ef!important;color:#1e5664!important}.nav button[aria-current=page]{background:#c9e7e5!important;color:#176d6a!important;box-shadow:inset 0 0 0 1px #b4d9d5}.side-foot{border-color:#d1e1e6!important}
.topbar{background:#ffffffbf!important;border-bottom:1px solid #e1ecee!important;backdrop-filter:blur(10px)}.local-pill{background:#e4f3ee!important;color:#357364!important}.content{position:relative;z-index:1}
.overview-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;border:0!important;background:none!important;border-radius:0!important;overflow:visible}.overview-stat{min-height:124px;padding:19px 22px!important;border:0!important;border-radius:17px;background:#e2f0fb;box-shadow:var(--uc-shadow);display:flex;align-items:flex-start;justify-content:center;gap:6px;flex-direction:column}.overview-stat:nth-child(2){background:#e1f3ec}.overview-stat:nth-child(3){background:#f7f0d9}.overview-stat+.overview-stat{border:0!important}.stat-number{font-size:31px!important;color:#1e4055}.stat-label{font-size:12px!important;color:#547184}.stat-label strong{display:block;font-size:14px!important;color:#284e62}
.work-layout{gap:18px}.work-main,.sidebar-block,.logs-section,.account-add,.table-wrap,.account-table-wrap,.checkout-result{border:1px solid #ffffff!important;border-radius:var(--uc-radius)!important;box-shadow:var(--uc-shadow)!important;background:#ffffffdc!important}.work-main{padding:24px!important}.task-form{gap:14px}.task-form-top{background:#edf7f5;border:1px solid #e0efeb;border-radius:13px;padding:13px 15px;margin-bottom:2px}.task-form-top h3{display:block!important}.mode-label{border-radius:999px!important;background:#dbf0e7!important;color:#216b55!important;border:0!important}.field input,.field select,.field textarea{border-radius:10px!important}.btn{border-radius:11px!important}.btn-primary{background:#187e78!important;border-color:#187e78!important}.btn-primary:hover:not(:disabled){background:#116c68!important}.work-sidebar{gap:14px}.sidebar-block{padding:18px!important}.logs-section{padding:21px!important}.account-add{padding:20px!important}.account-table-wrap,.table-wrap{overflow:hidden}.account-table th{background:#edf5f6!important}.account-table td,.account-table th{border-color:#e8eff1!important}
.checkout-result{border-radius:14px!important}.checkout-result.success{background:#e6f4eb!important}.checkout-result.failed{background:#f9e9e8!important}.checkout-result.uncertain{background:#faf3dd!important}
/* Auth and billing */
.portal-shell{min-height:100vh}.portal-brand{background:linear-gradient(145deg,#dceef5,#dff1e9)!important;color:#24465a!important}.portal-brand .wordmark strong{color:#1d526a!important}.portal-brand .wordmark small,.brand-note p,.brand-foot{color:#5b7889!important}.portal-brand .brand-note h2{color:#24465a!important}.portal-main{border:1px solid #fff!important;border-radius:20px!important;box-shadow:var(--uc-shadow)!important;background:#ffffffeb!important}.portal-main input,.portal-main select{border-radius:10px!important}.portal-main .button,.billing-main .button{border-radius:11px!important;background:#187e78!important;border-color:#187e78!important}.portal-main .button.secondary,.billing-main .button.secondary{background:#e2f0fb!important;color:#285b6e!important;border-color:#d7e7ed!important}.portal-main .button.subtle,.billing-main .button.subtle{background:#fff!important;color:#527183!important;border-color:#dce9ed!important}
.billing-header{background:#ffffffc9!important;border-bottom:1px solid #e1ecee!important;backdrop-filter:blur(10px)}.billing-main{max-width:1100px!important}.billing-main .entitlement{border:0!important;background:transparent!important;gap:14px}.entitlement>div{background:#e2f0fb!important;border:0!important;border-radius:16px!important;box-shadow:var(--uc-shadow)}.entitlement>div+div{background:#e1f3ec!important}.plans{gap:18px!important}.billing-main .plan,.payment-panel,.history{border:1px solid #fff!important;border-radius:19px!important;box-shadow:var(--uc-shadow)!important;background:#e2f0fb!important}.billing-main .plan:nth-child(2){background:#e1f3ec!important}.payment-panel{background:#f7f0d9!important}.billing-main .history{background:#ffffffd9!important}.history-row{border-color:#e7eff0!important}
/* Independent admin surface: retain dense, functional tables with the same quiet component palette. */
.admin-rail{background:linear-gradient(180deg,#deedf3,#e1f1eb)!important;border-right:1px solid #d4e4e8!important}.admin-rail .wordmark strong{color:#1d526a!important}.admin-rail .wordmark small,.admin-rail-foot,.admin-rail-foot a{color:#607e8d!important}.admin-nav button{border-radius:10px!important;color:#496879!important}.admin-nav button:hover{background:#d1e6e9!important}.admin-nav button.active{background:#c8e6e4!important;color:#176d6a!important}.admin-top{background:#ffffffc9!important;border:1px solid #fff!important;border-radius:18px!important;box-shadow:var(--uc-shadow)!important}.admin-metrics>div,.admin-metric,.admin-stat{border:0!important;border-radius:16px!important;background:#e2f0fb!important;box-shadow:var(--uc-shadow)!important}.admin-metrics>div:nth-child(2),.admin-metric:nth-child(2),.admin-stat:nth-child(2){background:#e1f3ec!important}.admin-metrics>div:nth-child(3),.admin-metric:nth-child(3),.admin-stat:nth-child(3){background:#f7f0d9!important}.admin-metrics>div:nth-child(4),.admin-metric:nth-child(4),.admin-stat:nth-child(4){background:#f8e8e8!important}.admin-panel,.admin-table-wrap,.admin-inspector,.admin-card,.admin-section{border:1px solid #fff!important;border-radius:17px!important;background:#ffffffdc!important;box-shadow:var(--uc-shadow)!important}.admin-table th{background:#edf5f6!important}.admin-table td,.admin-table th{border-color:#e8eff1!important}.admin-table tr[aria-selected=true]{background:#e5f3f1!important}.admin-body .button:not(.subtle){border-radius:10px}
@media(max-width:760px){.overview-strip{gap:10px}.overview-stat{min-height:94px;padding:13px!important}.stat-number{font-size:25px!important}.work-main{padding:17px!important}.admin-top{border-radius:14px!important}}
@media(max-width:540px){.overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-stat{min-height:84px}.portal-brand{border-radius:0 0 18px 18px}.plans{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){body:before{background-attachment:initial}}
.pid-example{margin-left:7px;color:#718b98;font-size:12px;font-weight:400;white-space:nowrap}
.task-form #order-pid{width:260px;max-width:100%}.task-form #order-quantity{width:110px;max-width:100%}.task-form #order-cvc{width:145px;max-width:100%}
