/* =========================================================
   汇智湾 · 住户端交互原型
   Warm orange / paper / quiet interface
   ========================================================= */

:root{
  --bg:#f7f4ee;
  --bg-deep:#f0eae1;
  --surface:#ffffff;
  --ink:#211b16;
  --ink-2:#564c43;
  --muted:#968b80;
  --muted-2:#b4aba2;
  --line:#ece5dc;
  --line-strong:#e2d8cc;
  --orange:#f36a2e;
  --orange-deep:#e95a1d;
  --orange-soft:#fff2e8;
  --orange-mist:#fff8f2;
  --peach:#ffd3b0;
  --green:#16855a;
  --green-deep:#0f6d49;
  --green-soft:#e8f5ee;
  --red:#d34b3b;
  --red-soft:#fdf0ee;
  --gold:#c99538;
  --shadow-sm:0 6px 18px rgba(72,44,24,.05);
  --shadow-md:0 14px 38px rgba(74,43,22,.09);
  --shadow-lg:0 30px 80px rgba(52,32,18,.18);
  --font:-apple-system,BlinkMacSystemFont,"SF Pro SC","PingFang SC","Hiragino Sans GB","Noto Sans SC","Microsoft YaHei",sans-serif;
  --serif:"Songti SC","Noto Serif SC","Source Han Serif SC","STSong",Georgia,serif;
  --ease:cubic-bezier(.22,.74,.2,1);
  --radius:22px;
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  font-family:var(--font);
  background:
    radial-gradient(90% 70% at 15% 10%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(70% 70% at 92% 92%, rgba(243,106,46,.08), transparent 62%),
    var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.027;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
button,input,textarea,select{font:inherit;color:inherit}
button{border:0;background:none;padding:0;cursor:pointer}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
img,svg{display:block}
::selection{background:rgba(243,106,46,.18)}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.ic{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ic--fill{fill:currentColor;stroke:none}

/* =========================================================
   Desktop presentation rail
   ========================================================= */
.showcase{
  position:relative;z-index:1;
  width:min(1480px,100%);
  min-height:100vh;
  margin:0 auto;
  padding:clamp(26px,4vh,52px) clamp(24px,4.6vw,72px);
  display:grid;
  grid-template-columns:minmax(390px,560px) minmax(480px,1fr);
  gap:clamp(24px,4vw,76px);
  align-items:center;
}
.rail{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:12px 0;
}
.rail-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:clamp(28px,5vh,54px)}
.brand{display:inline-flex;align-items:center;gap:11px;cursor:pointer}
.brand-mark{
  width:38px;height:38px;border-radius:11px;display:grid;place-items:center;
  background:#fff;box-shadow:0 7px 18px rgba(66,42,24,.08);border:1px solid rgba(33,27,22,.04);
}
.brand-mark svg{width:25px;height:23px}
.brand-word{display:flex;flex-direction:column;line-height:1}
.brand-word b{font-size:17px;letter-spacing:.09em}
.brand-word small{font-size:8px;letter-spacing:.21em;color:var(--muted);margin-top:5px}
.rail-tag{
  font-size:10px;letter-spacing:.13em;color:var(--muted);border:1px solid rgba(33,27,22,.12);
  padding:7px 10px;border-radius:999px;white-space:nowrap;
}
.rail-eyebrow{
  display:flex;align-items:center;gap:9px;font-size:10px;font-weight:600;letter-spacing:.19em;
  color:var(--muted);text-transform:uppercase;margin-bottom:18px;
}
.pulse-dot{
  width:6px;height:6px;border-radius:50%;background:var(--orange);
  box-shadow:0 0 0 0 rgba(243,106,46,.4);animation:pulseDot 2.8s infinite;
}
@keyframes pulseDot{
  0%,100%{box-shadow:0 0 0 0 rgba(243,106,46,.35)}
  50%{box-shadow:0 0 0 5px rgba(243,106,46,0)}
}
.rail h1{
  font-family:var(--font);
  font-size:clamp(44px,4.2vw,64px);
  line-height:1.18;
  letter-spacing:-.035em;
  font-weight:650;
  margin-bottom:20px;
}
.rail h1 span{
  position:relative;color:var(--orange);white-space:nowrap;
}
.rail h1 span::after{
  content:"";position:absolute;left:2px;right:2px;bottom:5px;height:9px;z-index:-1;
  background:rgba(243,106,46,.13);border-radius:2px;
}
.rail-lede{
  max-width:440px;color:var(--ink-2);font-size:14px;line-height:1.95;letter-spacing:.01em;
  margin-bottom:clamp(24px,4vh,42px);
}
.flow-list{
  display:flex;flex-direction:column;border-top:1px solid rgba(33,27,22,.11);
  margin-bottom:clamp(22px,4vh,36px);
}
.flow-item{
  display:flex;align-items:center;gap:16px;width:100%;
  padding:14px 2px;border-bottom:1px solid rgba(33,27,22,.11);
  text-align:left;transition:padding .3s var(--ease),color .3s;
}
.flow-item:hover{padding-left:7px;padding-right:0}
.flow-item:hover .flow-arrow{color:var(--orange);transform:translateX(2px)}
.flow-no{font-size:10px;letter-spacing:.1em;color:var(--muted-2);width:23px;flex:none;font-variant-numeric:tabular-nums}
.flow-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.flow-copy b{font-size:14px;font-weight:600;letter-spacing:.01em}
.flow-copy small{font-size:11px;color:var(--muted);line-height:1.5}
.flow-arrow{color:var(--muted-2);transition:color .25s,transform .25s;display:flex}
.flow-arrow .ic{width:15px;height:15px}
.demo-ticket{
  position:relative;padding:15px 17px 16px;border-radius:14px;
  background:linear-gradient(135deg,rgba(255,255,255,.7),rgba(255,250,245,.5));
  border:1px solid rgba(33,27,22,.1);
  max-width:440px;
}
.demo-ticket::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:repeating-linear-gradient(90deg,transparent 0 7px,rgba(33,27,22,.018) 7px 8px);
}
.ticket-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:9px;font-weight:600;letter-spacing:.15em;color:var(--muted);
  padding-bottom:10px;border-bottom:1px dashed rgba(33,27,22,.15);margin-bottom:11px;
}
.ticket-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 18px}
.ticket-grid div{display:flex;flex-direction:column;gap:3px}
.ticket-grid small{font-size:9px;color:var(--muted);letter-spacing:.04em}
.ticket-grid b{font-size:11px;font-weight:600;letter-spacing:.025em;font-variant-numeric:tabular-nums}
.rail-actions{display:flex;gap:9px;margin-top:18px}
.rail-btn{
  font-size:11px;letter-spacing:.03em;padding:9px 14px;border-radius:999px;
  border:1px solid rgba(33,27,22,.15);color:var(--ink-2);transition:.25s;
}
.rail-btn:hover{border-color:var(--ink);color:var(--ink)}
.rail-btn--ghost{border-color:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.rail-btn--ghost:hover{color:var(--orange);border-color:transparent}
.rail-foot{font-size:9px;line-height:1.7;color:var(--muted-2);letter-spacing:.03em;margin-top:22px;max-width:400px}
.stage{display:flex;justify-content:center;align-items:center;min-width:0}
.device-wrap{position:relative;display:flex;flex-direction:column;align-items:center}
.device{
  position:relative;width:390px;height:844px;border-radius:52px;overflow:hidden;
  background:var(--bg);
  box-shadow:
    0 0 0 9px #201b17,
    0 0 0 10px rgba(255,255,255,.2),
    0 42px 90px rgba(46,28,15,.26),
    0 12px 30px rgba(46,28,15,.16);
  isolation:isolate;
}
.device::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
.device-caption{
  display:flex;justify-content:space-between;width:390px;padding:18px 8px 0;
  font-size:9px;letter-spacing:.13em;color:var(--muted-2);text-transform:uppercase;
}
.device-grain{
  position:absolute;inset:0;z-index:120;pointer-events:none;opacity:.022;mix-blend-mode:multiply;border-radius:inherit;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   Device chrome
   ========================================================= */
.screen{
  position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;z-index:1;
  scrollbar-width:none;overscroll-behavior:contain;background:var(--bg);
}
.screen::-webkit-scrollbar{display:none}
.screen.is-locked{overflow:hidden}
.statusbar{
  position:absolute;top:0;left:0;right:0;height:52px;z-index:60;
  display:flex;align-items:center;justify-content:space-between;
  padding:15px 42px 0 22px;pointer-events:none;
  font-size:12.5px;font-weight:650;letter-spacing:.02em;color:#251d17;
  text-shadow:0 1px 0 rgba(255,255,255,.12);
}
.status-right{display:flex;align-items:center;gap:6px}
.status-signal{display:flex;align-items:flex-end;gap:1.6px;height:10px}
.status-signal i{display:block;width:2.5px;border-radius:1px;background:currentColor}
.status-signal i:nth-child(1){height:4px}
.status-signal i:nth-child(2){height:6px}
.status-signal i:nth-child(3){height:8px}
.status-signal i:nth-child(4){height:10px}
.status-wifi{width:15px;height:11px;color:currentColor}
.status-battery{
  position:relative;display:flex;align-items:center;justify-content:center;
  width:31px;height:12px;border:1.2px solid #2f6b4a;border-radius:3.5px;background:#3b9b6b;
  color:#fff;overflow:visible;
}
.status-battery::after{
  content:"";position:absolute;right:-3.4px;top:3px;width:2px;height:4.5px;
  background:#2f6b4a;border-radius:0 1px 1px 0;opacity:.9;
}
.battery-fill{display:none}
.battery-pct{
  position:absolute;inset:0;display:grid;place-items:center;
  font-size:6.8px;font-weight:700;letter-spacing:.01em;color:#fff;
  background:transparent;padding:0;line-height:1;
}
.mp-capsule{
  position:absolute;top:51px;right:13px;z-index:65;width:88px;height:31px;
  display:flex;align-items:center;justify-content:center;gap:9px;
  border-radius:999px;background:rgba(255,255,255,.4);border:1px solid rgba(255,255,255,.55);
  box-shadow:0 3px 14px rgba(60,34,18,.08);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);
  pointer-events:none;
}
.capsule-dots{display:flex;gap:2.6px;align-items:center}
.capsule-dots i{width:3px;height:3px;border-radius:50%;background:#2c241e;opacity:.86}
.capsule-divider{width:1px;height:13px;background:rgba(44,36,30,.13)}
.capsule-circle{width:13px;height:13px;border:1.8px solid #2c241e;border-radius:50%;position:relative;opacity:.86}
.capsule-circle::after{content:"";position:absolute;inset:3.5px;border-radius:50%;background:#2c241e}

.tabbar{
  position:absolute;left:17px;right:17px;bottom:15px;z-index:48;height:64px;
  display:none;align-items:center;padding:5px 8px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.7);
  border-radius:999px;
  box-shadow:0 14px 34px rgba(55,34,19,.13),0 2px 7px rgba(55,34,19,.05);
  -webkit-backdrop-filter:blur(20px) saturate(1.35);backdrop-filter:blur(20px) saturate(1.35);
}
.tabbar.is-visible{display:flex;animation:tabIn .4s var(--ease)}
@keyframes tabIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.tabbar-btn{
  flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  color:#a79d93;font-size:10px;font-weight:500;letter-spacing:.04em;border-radius:999px;position:relative;
  transition:color .2s;
}
.tabbar-btn .ic{width:20px;height:20px;stroke-width:1.7}
.tabbar-btn.is-active{color:var(--orange)}
.tabbar-btn.is-active::before{
  content:"";position:absolute;width:38px;height:28px;border-radius:999px;background:var(--orange-soft);
  top:8px;z-index:-1;
}
.tabbar-btn:active{transform:scale(.96)}

.overlay{
  position:absolute;inset:0;z-index:90;display:none;
}
.overlay.is-open{display:block}
.sheet-backdrop{
  position:absolute;inset:0;background:rgba(28,19,13,.44);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  animation:fadeIn .24s ease;
}
.sheet{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  max-height:87%;overflow-y:auto;scrollbar-width:none;
  background:#fff;border-radius:28px 28px 0 0;
  padding:10px 22px calc(20px + env(safe-area-inset-bottom));
  box-shadow:0 -20px 60px rgba(42,26,15,.17);
  animation:sheetUp .34s var(--ease);
}
.sheet::-webkit-scrollbar{display:none}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes sheetUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.sheet-grab{width:34px;height:4px;border-radius:99px;background:#e7ded5;margin:0 auto 17px}
.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:8px}
.sheet-title{font-size:19px;font-weight:650;letter-spacing:-.01em;line-height:1.35}
.sheet-sub{margin-top:7px;font-size:12.5px;line-height:1.75;color:var(--muted)}
.sheet-close{
  width:30px;height:30px;border-radius:50%;background:#f5f0e9;display:grid;place-items:center;color:#8d8278;flex:none;
}
.sheet-close .ic{width:15px;height:15px}
.sheet-body{font-size:13px;line-height:1.8;color:var(--ink-2);padding-top:6px}
.sheet-actions{display:flex;gap:10px;margin-top:22px}
.sheet-actions .btn{flex:1}
.sheet-icon{
  width:52px;height:52px;border-radius:17px;display:grid;place-items:center;margin-bottom:15px;
  background:var(--orange-soft);color:var(--orange);
}
.sheet-icon .ic{width:25px;height:25px}
.sheet-icon.green{background:var(--green-soft);color:var(--green)}
.sheet-icon.red{background:var(--red-soft);color:var(--red)}
.sheet-icon.amber{background:#fcf3e0;color:var(--gold)}
.sheet-list{border-top:1px solid var(--line);margin-top:15px}
.sheet-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.sheet-list-row b{font-weight:600}
.sheet-list-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px;line-height:1.5}
.sheet-option{
  display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 0;
  border-bottom:1px solid var(--line);font-size:14px;text-align:left;
}
.sheet-option:last-child{border-bottom:0}
.sheet-option .ic{width:17px;height:17px;color:var(--muted-2)}
.sheet-option b{font-weight:550}
.sheet-option small{display:block;font-size:11px;color:var(--muted);margin-top:3px;line-height:1.5}
.sheet-option.is-selected{color:var(--orange)}
.sheet-option.is-selected .radio{background:var(--orange);border-color:var(--orange);color:#fff}
.sheet-note{
  margin-top:16px;padding:11px 13px;border-radius:12px;background:#faf6f0;
  font-size:11px;line-height:1.7;color:var(--muted);
}
.toast{
  position:absolute;left:50%;bottom:104px;z-index:110;transform:translate(-50%,14px);
  max-width:calc(100% - 48px);padding:10px 15px;border-radius:12px;
  display:flex;align-items:center;gap:8px;
  background:rgba(33,27,22,.93);color:#fff;font-size:12px;line-height:1.45;
  box-shadow:0 12px 30px rgba(33,22,14,.22);opacity:0;pointer-events:none;
  transition:opacity .24s,transform .28s var(--ease);white-space:nowrap;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.toast .ic{width:14px;height:14px;flex:none;color:#ffd6bb}
.toast.is-visible{opacity:1;transform:translate(-50%,0)}
.toast.is-error{background:rgba(151,53,39,.96)}
.toast.is-error .ic{color:#ffe1dc}
.toast.is-success{background:rgba(20,105,74,.96)}
.toast.is-success .ic{color:#c7f0da}
.toast.is-success .toast-dot{background:#79e1ae}
.toast.is-plain{background:rgba(33,27,22,.9)}

/* =========================================================
   Shared pieces
   ========================================================= */
.page{position:relative;min-height:100%;background:var(--bg);animation:pageIn .36s var(--ease)}
@keyframes pageIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.page--tab{padding-bottom:112px}
.topbar{
  position:relative;z-index:5;display:flex;align-items:center;gap:12px;
  padding:59px 18px 11px;
}
.topbar-back{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;
  background:rgba(255,255,255,.76);border:1px solid rgba(33,27,22,.06);
  color:var(--ink);box-shadow:0 2px 8px rgba(70,46,28,.04);
  transition:transform .2s,background .2s;
}
.topbar-back:active{transform:scale(.92)}
.topbar-back .ic{width:18px;height:18px;stroke-width:2}
.topbar-title{
  position:absolute;left:50%;transform:translateX(-50%);
  font-size:16px;font-weight:600;letter-spacing:.01em;white-space:nowrap;
}
.topbar-spacer{width:34px;flex:none;margin-left:auto}
.topbar--dark .topbar-back{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.26);color:#fff}
.topbar--dark .topbar-title{color:#fff}
.topbar--plain{padding-top:59px}
.inner-page > .topbar{
  position:sticky;top:0;z-index:35;
  background:rgba(247,244,238,.93);
  -webkit-backdrop-filter:blur(16px) saturate(1.15);backdrop-filter:blur(16px) saturate(1.15);
}
.inner-page > .topbar::after{
  content:"";position:absolute;left:18px;right:18px;bottom:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(33,27,22,.055),transparent);
}
.page-pad{padding:0 18px}
.section-label{
  display:flex;align-items:center;gap:6px;font-size:10px;font-weight:650;letter-spacing:.16em;
  text-transform:uppercase;color:var(--muted);margin:24px 2px 11px;
}
.section-label::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--orange)}
.panel{
  background:var(--surface);border-radius:var(--radius);
  border:1px solid rgba(33,27,22,.045);
  box-shadow:var(--shadow-sm);
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 18px;border-radius:15px;font-size:14px;font-weight:600;
  letter-spacing:.02em;transition:transform .18s var(--ease),filter .2s,background .2s,box-shadow .2s;
  text-align:center;
}
.btn:active{transform:scale(.975)}
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
.btn-primary{
  color:#fff;
  background:linear-gradient(115deg,#f8742f 0%,#f36326 52%,#f4541f 100%);
  box-shadow:0 10px 24px rgba(242,100,38,.24),inset 0 1px 0 rgba(255,255,255,.23);
}
.btn-primary:hover{filter:brightness(1.02);box-shadow:0 12px 27px rgba(242,100,38,.3)}
.btn-secondary{
  color:var(--orange-deep);background:#fff;border:1px solid #f3c5ad;
}
.btn-secondary:hover{background:var(--orange-mist)}
.btn-ghost{
  color:var(--ink-2);background:#f6f1ea;border:1px solid transparent;
}
.btn-ghost:hover{background:#f1ebe2}
.btn-danger{color:#fff;background:var(--red);box-shadow:0 9px 22px rgba(211,75,59,.2)}
.btn-danger-ghost{color:var(--red);background:var(--red-soft);border:1px solid #f1d2cd}
.btn-block{width:100%}
.btn-sm{min-height:35px;padding:0 12px;border-radius:10px;font-size:11.5px;font-weight:600;gap:4px}
.btn-sm .ic{width:13px;height:13px}
.btn-outline{background:#fff;border:1px solid var(--line-strong);color:var(--ink-2)}
.btn.is-loading{pointer-events:none;opacity:.8}
.btn.is-loading::after{
  content:"";width:13px;height:13px;border:1.7px solid rgba(255,255,255,.35);border-top-color:#fff;
  border-radius:50%;animation:spin .7s linear infinite;margin-left:3px;
}
@keyframes spin{to{transform:rotate(360deg)}}
.link-btn{color:var(--orange-deep);font-size:12px;font-weight:600;padding:2px}
.pill{
  display:inline-flex;align-items:center;gap:5px;height:23px;padding:0 9px;border-radius:999px;
  font-size:10px;font-weight:600;letter-spacing:.03em;white-space:nowrap;
}
.pill-green{background:var(--green-soft);color:var(--green)}
.pill-orange{background:var(--orange-soft);color:var(--orange-deep)}
.pill-gray{background:#f3eee7;color:var(--muted)}
.pill-red{background:var(--red-soft);color:var(--red)}
.pill .ic{width:11px;height:11px;stroke-width:2.2}
.avatar{
  position:relative;width:68px;height:68px;border-radius:50%;flex:none;
  background:#fff;display:grid;place-items:center;
  box-shadow:0 8px 22px rgba(55,30,14,.16);
}
.avatar svg{width:40px;height:37px}
.avatar--sm{width:44px;height:44px}
.avatar--sm svg{width:26px;height:24px}
.avatar--xs{width:34px;height:34px}
.avatar--xs svg{width:20px;height:18px}
.avatar-edit{
  position:absolute;right:-1px;bottom:-1px;width:22px;height:22px;border-radius:50%;
  background:var(--ink);color:#fff;display:grid;place-items:center;border:2px solid #fff;
}
.avatar-edit .ic{width:10px;height:10px}
.form-stack{display:flex;flex-direction:column;gap:11px}
.field-card{
  min-height:60px;display:flex;align-items:center;gap:11px;
  background:#fff;border-radius:17px;padding:0 17px;
  border:1px solid rgba(33,27,22,.055);
  box-shadow:0 7px 22px rgba(75,47,28,.045);
  transition:border-color .2s,box-shadow .2s;
}
.field-card:focus-within{border-color:#f5b690;box-shadow:0 0 0 3.5px rgba(243,106,46,.09),0 7px 22px rgba(75,47,28,.05)}
.field-card.is-invalid{border-color:#e9a69d;box-shadow:0 0 0 3.5px rgba(211,75,59,.08)}
.field-ic{width:19px;height:19px;color:#b3a89d;flex:none}
.field-card:focus-within .field-ic{color:var(--orange)}
.field-card input{
  flex:1;min-width:0;border:0;outline:0;background:transparent;
  font-size:14.5px;color:var(--ink);letter-spacing:.01em;
}
.field-card input::placeholder{color:#aba198;font-weight:400}
.field-card input:-webkit-autofill{-webkit-box-shadow:0 0 0 100px #fff inset;-webkit-text-fill-color:var(--ink)}
.field-divider{width:1px;height:20px;background:var(--line);flex:none}
.code-send{
  color:var(--orange-deep);font-size:12px;font-weight:650;letter-spacing:.02em;
  white-space:nowrap;padding:7px 0 7px 4px;flex:none;
}
.code-send:disabled{color:var(--muted-2);font-weight:500}
.field-error{
  margin:6px 4px 0;color:var(--red);font-size:11px;line-height:1.5;
  display:none;
}
.field-error.is-visible{display:block}
.form-error{
  display:none;margin:9px 2px 0;color:var(--red);font-size:11.5px;line-height:1.6;
  align-items:flex-start;gap:5px;
}
.form-error.is-visible{display:flex}
.form-error .ic{width:13px;height:13px;margin-top:1.5px}
.agree{
  display:flex;align-items:flex-start;gap:8px;cursor:pointer;user-select:none;
  font-size:11px;line-height:1.65;color:#8b8177;letter-spacing:.01em;
}
.agree input{position:absolute;opacity:0;pointer-events:none}
.agree-box{
  width:17px;height:17px;border-radius:5px;flex:none;margin-top:.5px;
  border:1.4px solid #ccc2b7;background:#fff;display:grid;place-items:center;
  transition:.2s;
}
.agree-box .ic{width:10px;height:10px;stroke-width:3;color:#fff;opacity:0;transform:scale(.5);transition:.2s}
.agree input:checked + .agree-box{background:var(--orange);border-color:var(--orange)}
.agree input:checked + .agree-box .ic{opacity:1;transform:none}
.agree a{color:var(--orange-deep);font-weight:550}
.agree.is-invalid .agree-box{box-shadow:0 0 0 3px rgba(211,75,59,.11);border-color:var(--red)}
.agree.is-invalid{color:var(--red)}
.demo-code{
  display:inline-flex;align-items:center;gap:4px;margin:8px 2px 0;
  font-size:10px;color:var(--muted-2);letter-spacing:.02em;
}
.demo-code b{color:var(--muted);font-weight:650;font-variant-numeric:tabular-nums}
.demo-code button{color:var(--orange-deep);font-size:10px;font-weight:600;border-bottom:1px dotted rgba(233,90,29,.4)}
.empty-state{
  padding:44px 20px;text-align:center;color:var(--muted);
}
.empty-state .empty-ic{width:58px;height:58px;border-radius:20px;background:#f6f0e9;display:grid;place-items:center;margin:0 auto 14px;color:#b8aa9c}
.empty-state .empty-ic .ic{width:25px;height:25px}
.empty-state h3{font-size:14px;font-weight:600;color:var(--ink-2);margin-bottom:5px}
.empty-state p{font-size:11.5px;line-height:1.7}
.inner-page{min-height:100%;background:var(--bg);padding-bottom:36px}
.inner-content{padding:2px 18px 0}
.page-head{padding:4px 2px 20px}
.page-kicker{font-size:9.5px;font-weight:650;letter-spacing:.18em;color:var(--orange);text-transform:uppercase;margin-bottom:8px}
.page-head h1{font-size:26px;font-weight:650;letter-spacing:-.02em;line-height:1.3}
.page-head p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:7px;max-width:300px}

/* =========================================================
   Login
   ========================================================= */
.login-page{background:var(--bg);min-height:100%;padding-bottom:29px}
.login-hero{
  position:relative;height:336px;overflow:hidden;
  background:linear-gradient(142deg,#ff672b 0%,#ff8a43 43%,#ffb877 76%,#ffd7b6 100%);
}
.hero-art{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.hero-art svg{width:100%;height:100%;object-fit:cover}
.hero-art::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.02) 45%,rgba(247,244,238,.04) 62%,var(--bg) 100%),
    radial-gradient(80% 40% at 80% 20%,rgba(255,232,196,.14),transparent 70%);
}
.login-topbar{
  position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;
  padding:60px 18px 0;color:#fff;
}
.back-btn{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.23);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.back-btn .ic{width:19px;height:19px;stroke-width:1.9}
.hero-brand{
  display:flex;align-items:center;gap:7px;font-size:9px;font-weight:600;letter-spacing:.19em;
  color:rgba(255,255,255,.76);text-transform:uppercase;
}
.hero-brand span{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.7)}
.greeting{position:relative;z-index:3;padding:50px 25px 0;color:#fff}
.greeting-hello{font-size:22px;font-weight:400;letter-spacing:.01em;opacity:.95;margin-bottom:4px}
.greeting-title{font-size:31px;font-weight:500;letter-spacing:-.015em;line-height:1.35;text-shadow:0 2px 18px rgba(172,71,17,.11)}
.greeting-sub{margin-top:10px;font-size:10.5px;letter-spacing:.11em;color:rgba(255,255,255,.72);display:flex;align-items:center;gap:7px}
.greeting-sub::before{content:"";width:17px;height:1px;background:rgba(255,255,255,.55)}
.login-body{position:relative;z-index:5;margin-top:-32px;padding:0 22px}
.cert-login-banner{
  display:flex;align-items:flex-start;gap:8px;margin:0 2px 12px;padding:11px 13px;
  background:rgba(255,255,255,.72);border:1px solid rgba(36,120,83,.18);border-radius:13px;
  color:var(--green-deep);font-size:11px;line-height:1.6;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  animation:bannerIn .4s var(--ease);
}
@keyframes bannerIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.cert-login-banner .ic{width:14px;height:14px;margin-top:1px;flex:none;stroke-width:2}
.login-fields{display:flex;flex-direction:column;gap:10px}
.login-field-wrap{position:relative}
.login-field-wrap .field-card{height:60px}
.recognized-hint{
  display:none;align-items:center;gap:4px;margin:5px 4px 0;color:var(--green);
  font-size:10px;letter-spacing:.01em;
}
.recognized-hint.is-visible{display:flex}
.recognized-hint .ic{width:11px;height:11px;stroke-width:2.4}
.login-options{display:flex;justify-content:space-between;align-items:flex-start;margin-top:14px;padding:0 2px}
.login-options .agree{flex:1;padding-right:10px}
.forgot-link{font-size:10.5px;color:var(--muted);padding-top:1px;white-space:nowrap}
.login-btn{width:100%;height:54px;margin-top:21px;border-radius:17px;font-size:15px;letter-spacing:.13em;font-weight:600}
.login-register{
  display:flex;align-items:center;justify-content:center;gap:5px;
  margin-top:16px;font-size:11.5px;color:var(--muted);
}
.login-register button{font-size:12px;color:var(--orange-deep);font-weight:600;border-bottom:1px solid rgba(233,90,29,.45);padding-bottom:1px}
.login-register button:hover{color:var(--orange-deep);border-color:var(--orange)}
.employee-divider{
  display:flex;align-items:center;gap:11px;margin:22px 3px 14px;
  font-size:9px;letter-spacing:.12em;color:#b0a59b;text-transform:uppercase;
}
.employee-divider::before,.employee-divider::after{content:"";height:1px;flex:1;background:rgba(33,27,22,.085)}
.enterprise-entry{
  display:flex;align-items:center;gap:9px;width:min(100%,292px);min-height:46px;padding:7px 12px;
  margin:0 auto;
  background:rgba(255,255,255,.26);border:1px solid rgba(33,27,22,.075);border-radius:13px;
  text-align:left;color:var(--ink-2);transition:background .22s,border-color .22s;
}
.enterprise-entry:hover{background:rgba(255,255,255,.62);border-color:rgba(33,27,22,.13)}
.ent-icon{
  width:27px;height:27px;border-radius:8px;background:rgba(255,255,255,.72);
  display:grid;place-items:center;color:#a77855;flex:none;
  border:1px solid rgba(110,73,45,.07);
}
.ent-icon .ic{width:14px;height:14px}
.ent-copy{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.ent-copy b{font-size:11px;font-weight:600;color:#6f6256;letter-spacing:.02em}
.ent-copy small{font-size:9px;color:#a0958b;letter-spacing:.015em;line-height:1.45}
.ent-chev{color:#c4b8ad;display:flex}
.ent-chev .ic{width:13px;height:13px;stroke-width:1.8}
.login-foot{
  margin-top:22px;text-align:center;font-size:9.5px;line-height:1.8;color:#b1a79d;letter-spacing:.02em;
}
.login-foot button{color:#8d8176;border-bottom:1px dotted #c8bdb2;padding-bottom:1px}
.login-foot .dot-sep{margin:0 6px;color:#d5cbc1}
.demo-below{text-align:center;margin-top:12px}

/* =========================================================
   Register / simple form pages
   ========================================================= */
.simple-page{min-height:100%;background:var(--bg);overflow:hidden;padding-bottom:30px}
.simple-glow{
  position:absolute;right:-90px;top:-110px;width:320px;height:320px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,145,86,.22),rgba(255,210,178,.1) 45%,transparent 70%);
  pointer-events:none;
}
.form-head{position:relative;z-index:2;padding:25px 24px 24px}
.step-pill{
  display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;
  background:var(--orange-soft);color:var(--orange-deep);
  font-size:9px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;margin-bottom:17px;
}
.step-pill::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--orange)}
.form-head h1{font-size:28px;font-weight:650;letter-spacing:-.025em;line-height:1.3}
.form-head p{font-size:11.5px;line-height:1.8;color:var(--muted);margin-top:9px;max-width:300px}
.register-form{padding:0 22px}
.reg-field-label{
  font-size:10px;font-weight:600;letter-spacing:.07em;color:#8c8176;margin:0 3px 6px;
  display:flex;justify-content:space-between;align-items:center;
}
.reg-field-label span{font-weight:400;color:var(--muted-2);letter-spacing:.02em}
.reg-group{margin-bottom:13px}
.reg-group .field-card{height:58px}
.reg-agree{margin-top:19px;padding:0 2px}
.reg-btn{width:100%;height:53px;margin-top:19px;border-radius:16px;font-size:14.5px;letter-spacing:.08em}
.reg-bottom{text-align:center;margin-top:18px;font-size:11.5px;color:var(--muted)}
.reg-bottom button{font-weight:600;color:var(--ink-2);border-bottom:1px solid #d8cdc2;padding-bottom:1px}
.enterprise-text-link{
  display:flex;align-items:center;justify-content:center;gap:5px;margin:21px auto 0;
  padding:8px 12px;font-size:10px;color:#a1958b;letter-spacing:.02em;
}
.enterprise-text-link .ic{width:12px;height:12px;color:#b5a89d}
.enterprise-text-link b{font-weight:550;color:#877a6f}
.reg-safe{
  display:flex;align-items:center;justify-content:center;gap:5px;
  margin-top:27px;font-size:9px;color:var(--muted-2);letter-spacing:.04em;
}
.reg-safe .ic{width:11px;height:11px}

/* =========================================================
   Enterprise certification
   ========================================================= */
.cert-page{min-height:100%;background:var(--bg);padding-bottom:34px}
.cert-hero{
  position:relative;height:262px;overflow:hidden;
  background:linear-gradient(142deg,#ff6c2d 0%,#ff8d49 55%,#ffbd88 100%);
}
.cert-hero .hero-art{opacity:.82}
.cert-hero .hero-art::after{
  background:linear-gradient(180deg,rgba(255,255,255,0) 30%,rgba(247,244,238,.08) 60%,var(--bg) 100%);
}
.cert-shield{
  position:absolute;right:23px;top:137px;z-index:3;
  width:54px;height:54px;border-radius:17px;display:grid;place-items:center;
  background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.3);
  color:#fff;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);
}
.cert-shield .ic{width:25px;height:25px;stroke-width:1.6}
.cert-hero-copy{position:relative;z-index:3;padding:13px 24px 0;color:#fff}
.cert-hero-copy .eyebrow{
  font-size:8.5px;letter-spacing:.19em;color:rgba(255,255,255,.7);margin-bottom:7px;
}
.cert-hero-copy h1{font-size:27px;font-weight:600;letter-spacing:-.02em;line-height:1.3}
.cert-hero-copy p{font-size:11px;line-height:1.7;color:rgba(255,255,255,.8);margin-top:6px;max-width:270px}
.cert-body{position:relative;z-index:5;margin-top:-26px;padding:0 18px}
.cert-card{
  background:#fff;border-radius:22px;padding:20px 18px 18px;
  border:1px solid rgba(33,27,22,.045);box-shadow:0 16px 38px rgba(67,41,24,.085);
}
.cert-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.cert-card-head h2{font-size:14px;font-weight:650;letter-spacing:.01em}
.cert-card-head span{font-size:9px;color:var(--muted-2);letter-spacing:.04em}
.cert-fields{display:flex;flex-direction:column;gap:15px}
.cert-field{position:relative}
.cert-label{display:flex;align-items:center;justify-content:space-between;font-size:10.5px;font-weight:600;color:#74695f;margin-bottom:7px;letter-spacing:.02em}
.cert-label em{font-style:normal;font-weight:400;color:var(--muted-2);font-size:9px}
.cert-input-row{
  height:48px;display:flex;align-items:center;gap:9px;padding:0 12px;
  border-radius:12px;background:#faf7f2;border:1px solid transparent;
  transition:border-color .2s,background .2s,box-shadow .2s;
}
.cert-input-row:focus-within{background:#fff;border-color:#f2b48f;box-shadow:0 0 0 3px rgba(243,106,46,.08)}
.cert-field.is-invalid .cert-input-row{background:#fff9f8;border-color:#e9a69d;box-shadow:0 0 0 3px rgba(211,75,59,.07)}
.cert-input-row .ic{width:16px;height:16px;color:#b9ada1;flex:none}
.cert-input-row:focus-within .ic{color:var(--orange)}
.cert-input-row input{
  flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:13px;color:var(--ink);
}
.cert-input-row input::placeholder{color:#b7aca2}
.cert-input-row input[readonly]{color:#6e6359}
.cert-input-row .code-send{font-size:11px;padding:6px 0}
.cert-err{display:none;font-size:10px;line-height:1.5;color:var(--red);margin:5px 2px 0}
.cert-err.is-visible{display:block}
.cert-agree{margin-top:17px;font-size:10px}
.cert-submit{width:100%;height:50px;margin-top:17px;border-radius:14px;font-size:14px;letter-spacing:.06em}
.cert-security{
  display:flex;align-items:flex-start;justify-content:center;gap:5px;
  padding:12px 0 0;font-size:9.5px;line-height:1.6;color:var(--muted-2);text-align:center;
}
.cert-security .ic{width:11px;height:11px;margin-top:1px;flex:none}
.cert-helper{margin-top:14px;padding:0 3px;font-size:9.5px;line-height:1.7;color:var(--muted-2);text-align:center}
.demo-box{
  margin:16px 0 0;border:1px dashed #ded3c7;border-radius:14px;padding:0 13px;
  background:rgba(255,255,255,.42);transition:background .2s;
}
.demo-box[open]{background:rgba(255,255,255,.7)}
.demo-box summary{
  cursor:pointer;list-style:none;padding:11px 0;font-size:10px;color:#9b8f84;
  display:flex;align-items:center;justify-content:space-between;letter-spacing:.03em;
}
.demo-box summary::-webkit-details-marker{display:none}
.demo-box summary::after{content:"+";font-size:14px;color:#b2a69b;font-weight:300}
.demo-box[open] summary::after{content:"−"}
.demo-scenes{display:flex;flex-direction:column;padding-bottom:9px}
.demo-scene{
  display:flex;align-items:center;justify-content:space-between;gap:9px;
  padding:9px 0;border-top:1px solid rgba(33,27,22,.06);text-align:left;width:100%;
}
.demo-scene b{font-size:10px;font-weight:600;color:#6e6257}
.demo-scene small{display:block;font-size:8.5px;color:#a89c91;margin-top:2px;letter-spacing:.01em}
.demo-scene span{
  font-size:8.5px;color:var(--orange-deep);border:1px solid #f1d3c2;background:#fff;
  border-radius:6px;padding:3px 6px;flex:none;
}
.demo-scene:hover b{color:var(--orange-deep)}
.sheet-error-copy{font-size:12.5px;line-height:1.8;color:var(--ink-2)}
.sheet-error-copy b{color:var(--ink);font-weight:600}

/* =========================================================
   Certification success
   ========================================================= */
.success-page{
  position:relative;min-height:100%;overflow:hidden;background:linear-gradient(175deg,#fff3e8 0%,#fbf6ef 42%,var(--bg) 100%);
  padding:64px 22px 30px;
}
.success-page::before,.success-page::after{
  content:"";position:absolute;border-radius:50%;pointer-events:none;
}
.success-page::before{width:270px;height:270px;left:50%;top:-80px;transform:translateX(-50%);background:radial-gradient(circle,rgba(255,146,85,.2),transparent 68%)}
.success-page::after{width:1px;height:50px;left:50%;top:0;background:linear-gradient(rgba(243,106,46,.4),transparent)}
.success-close{
  position:absolute;top:61px;left:18px;z-index:5;width:32px;height:32px;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.7);color:#85786c;border:1px solid rgba(33,27,22,.05);
}
.success-close .ic{width:15px;height:15px}
.success-mark-wrap{position:relative;width:154px;height:154px;margin:38px auto 26px;display:grid;place-items:center}
.success-ring{position:absolute;border-radius:50%;border:1px solid rgba(243,106,46,.15)}
.success-ring.r1{inset:0;animation:ringPulse 4s ease-in-out infinite}
.success-ring.r2{inset:15px;border-style:dashed;border-color:rgba(243,106,46,.2);animation:slowSpin 26s linear infinite}
.success-ring.r3{inset:31px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.8);box-shadow:0 14px 35px rgba(157,79,33,.1)}
@keyframes slowSpin{to{transform:rotate(360deg)}}
@keyframes ringPulse{0%,100%{transform:scale(1);opacity:.7}50%{transform:scale(1.035);opacity:1}}
.success-check{
  position:relative;z-index:2;width:70px;height:70px;border-radius:50%;
  display:grid;place-items:center;color:#fff;
  background:linear-gradient(145deg,#25a16e,#11764e);
  box-shadow:0 13px 25px rgba(24,126,86,.25),inset 0 1px 0 rgba(255,255,255,.3);
  animation:checkPop .55s var(--ease) both .15s;
}
.success-check .ic{width:32px;height:32px;stroke-width:2.4}
@keyframes checkPop{0%{transform:scale(.55);opacity:0}65%{transform:scale(1.06);opacity:1}100%{transform:scale(1)}}
.confetti{position:absolute;inset:0;pointer-events:none}
.confetti i{position:absolute;display:block;border-radius:2px;opacity:.5;animation:floatConfetti 5s ease-in-out infinite}
.confetti i:nth-child(1){width:6px;height:10px;background:#f4a261;left:22%;top:40px;transform:rotate(18deg)}
.confetti i:nth-child(2){width:5px;height:5px;border-radius:50%;background:#73b98b;right:23%;top:82px;animation-delay:.8s}
.confetti i:nth-child(3){width:8px;height:3px;background:#f7c48d;left:30%;top:140px;animation-delay:1.4s;transform:rotate(-28deg)}
.confetti i:nth-child(4){width:4px;height:7px;background:#f08d59;right:30%;top:174px;animation-delay:.4s;transform:rotate(20deg)}
@keyframes floatConfetti{0%,100%{transform:translateY(0) rotate(10deg)}50%{transform:translateY(-7px) rotate(18deg)}}
.success-content{position:relative;z-index:3;text-align:center}
.success-eyebrow{font-size:9px;font-weight:650;letter-spacing:.2em;color:var(--green);text-transform:uppercase;margin-bottom:9px}
.success-title{font-size:30px;font-weight:650;letter-spacing:-.03em;line-height:1.3}
.success-sub{font-size:11.5px;line-height:1.8;color:var(--muted);margin-top:10px;max-width:290px;margin-left:auto;margin-right:auto}
.cert-summary{
  margin-top:23px;padding:16px 17px;background:rgba(255,255,255,.9);border-radius:19px;
  border:1px solid rgba(33,27,22,.05);box-shadow:0 13px 32px rgba(72,45,27,.07);text-align:left;
}
.summary-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px dashed var(--line)}
.summary-head b{font-size:12px;font-weight:650}
.summary-head .pill{height:21px}
.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;padding-top:13px}
.summary-grid div{display:flex;flex-direction:column;gap:3px}
.summary-grid small{font-size:9px;color:var(--muted-2);letter-spacing:.05em}
.summary-grid b{font-size:11.5px;font-weight:600;letter-spacing:.01em}
.success-note{
  display:flex;align-items:flex-start;gap:7px;margin-top:15px;padding:11px 13px;
  border-radius:12px;background:var(--green-soft);color:var(--green-deep);
  font-size:10.5px;line-height:1.65;text-align:left;
}
.success-note .ic{width:13px;height:13px;margin-top:1px;flex:none}
.success-actions{display:flex;flex-direction:column;gap:10px;margin-top:21px}
.success-actions .btn{height:50px;border-radius:14px}
.success-secondary{font-size:11px;color:var(--muted);padding:7px;letter-spacing:.02em}
.success-secondary b{color:var(--ink-2);font-weight:600}

/* =========================================================
   Profile
   ========================================================= */
.profile-page{background:var(--bg);min-height:100%;padding-bottom:117px}
.profile-hero{position:relative;height:262px;overflow:hidden;background:linear-gradient(142deg,#ff6a2c 0%,#ff8d48 52%,#ffbf8e 100%)}
.profile-hero .hero-art::after{
  background:linear-gradient(180deg,rgba(255,255,255,0) 40%,rgba(247,244,238,.03) 65%,var(--bg) 100%);
}
.profile-hero::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:42px;z-index:2;
  background:linear-gradient(180deg,rgba(247,244,238,0),var(--bg));
}
.profile-top{
  position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;
  padding:62px 21px 0;
}
.profile-wordmark{display:flex;align-items:center;gap:7px;color:rgba(255,255,255,.78);font-size:9.5px;font-weight:600;letter-spacing:.18em}
.profile-wordmark i{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.65)}
.profile-head{
  position:relative;z-index:4;display:flex;align-items:center;gap:14px;padding:30px 22px 0;color:#fff;
}
.profile-info{min-width:0;flex:1}
.profile-name-row{display:flex;align-items:center;gap:8px;min-width:0}
.profile-name{
  font-size:22px;font-weight:550;letter-spacing:-.015em;line-height:1.25;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.tag-cert{
  display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 7px;border-radius:6px;
  color:#8a4b22;background:rgba(255,255,255,.78);font-size:8.5px;font-weight:650;letter-spacing:.03em;flex:none;
}
.tag-cert .ic{width:9px;height:9px;stroke-width:2.4;color:#188256}
.profile-phone{
  display:flex;align-items:center;gap:6px;margin-top:5px;
  font-size:11.5px;color:rgba(255,255,255,.8);letter-spacing:.05em;font-variant-numeric:tabular-nums;
}
.profile-phone span{width:3px;height:3px;border-radius:50%;background:rgba(255,255,255,.55)}
.profile-phone small{font-size:9px;color:rgba(255,255,255,.62);letter-spacing:.02em}
.profile-company{
  display:inline-flex;align-items:center;gap:4px;margin-top:8px;height:21px;padding:0 8px;
  border-radius:6px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.17);
  color:rgba(255,255,255,.82);font-size:8.5px;letter-spacing:.03em;max-width:100%;
}
.profile-company .ic{width:9px;height:9px;flex:none}
.profile-company span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-edit{
  position:absolute;right:20px;bottom:27px;z-index:5;display:flex;align-items:center;gap:4px;
  height:27px;padding:0 10px;border-radius:999px;color:rgba(255,255,255,.9);
  background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.26);
  -webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);font-size:9px;letter-spacing:.03em;
}
.profile-edit .ic{width:10px;height:10px}
.profile-body{
  position:relative;z-index:5;margin-top:-19px;border-radius:26px 26px 0 0;
  background:var(--bg);padding:14px 14px 0;
}
.services-panel{padding:17px 12px 13px}
.panel-head{display:flex;align-items:center;justify-content:space-between;padding:0 5px 13px}
.panel-head h2{font-size:14px;font-weight:650;letter-spacing:.01em}
.panel-head .more-link{display:flex;align-items:center;gap:1px;font-size:9px;color:var(--muted);letter-spacing:.02em}
.panel-head .more-link .ic{width:11px;height:11px}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);row-gap:15px}
.service-item{
  position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;padding:0 2px;
  color:#3a312a;transition:transform .2s;
}
.service-item:active{transform:scale(.94)}
.service-icon{
  position:relative;width:43px;height:43px;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(145deg,#fff7f0,#fff1e5);color:var(--orange-deep);
  border:1px solid rgba(243,106,46,.07);
}
.service-icon .ic{width:21px;height:21px;stroke-width:1.55}
.service-label{font-size:10.5px;font-weight:450;color:#54483e;letter-spacing:.01em;line-height:1.2;text-align:center}
.service-dot{
  position:absolute;top:-2px;right:-2px;min-width:15px;height:15px;padding:0 4px;border-radius:999px;
  background:var(--red);color:#fff;font-size:8px;font-weight:650;display:grid;place-items:center;border:1.5px solid #fff;
}
.identity-strip{
  display:flex;align-items:center;gap:11px;padding:13px 14px;margin-top:10px;
  border-radius:16px;background:linear-gradient(112deg,#f0f9f4,#f8fcf9);
  border:1px solid rgba(22,133,90,.12);
}
.identity-strip .cert-symbol{
  width:33px;height:33px;border-radius:10px;display:grid;place-items:center;background:#fff;
  color:var(--green);box-shadow:0 4px 11px rgba(22,133,90,.08);flex:none;
}
.identity-strip .cert-symbol .ic{width:16px;height:16px}
.identity-strip .id-copy{flex:1;min-width:0}
.identity-strip b{display:block;font-size:11px;font-weight:600;color:var(--green-deep);letter-spacing:.01em}
.identity-strip small{display:block;font-size:9px;color:#719484;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.identity-strip .id-chev{color:#9db7aa}
.identity-strip .id-chev .ic{width:14px;height:14px}
.identity-strip .id-manage{display:flex;align-items:center;gap:1px;color:#7b9e8c;font-size:8.5px;letter-spacing:.03em;flex:none}
.identity-strip .id-manage .ic{width:12px;height:12px}
.cert-callout{
  display:flex;align-items:center;gap:11px;padding:13px 13px;margin-top:10px;
  border-radius:16px;background:linear-gradient(112deg,#fff6ec,#fffaf5);
  border:1px solid rgba(243,106,46,.13);
}
.callout-symbol{
  width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;
  background:#fff;color:var(--orange-deep);box-shadow:0 4px 11px rgba(192,105,51,.08);
}
.callout-symbol .ic{width:17px;height:17px}
.callout-copy{flex:1;min-width:0}
.callout-copy b{display:block;font-size:11px;font-weight:600;color:#5b4839}
.callout-copy small{display:block;font-size:8.5px;line-height:1.5;color:#a08573;margin-top:2px}
.callout-btn{
  height:29px;padding:0 10px;border-radius:8px;background:var(--orange);color:#fff;
  font-size:9.5px;font-weight:600;letter-spacing:.02em;flex:none;
  box-shadow:0 5px 12px rgba(243,106,46,.18);
}
.menu-panel{margin-top:11px;padding:0 16px;overflow:hidden}
.menu-row{
  display:flex;align-items:center;gap:12px;width:100%;padding:15px 1px;text-align:left;
  border-bottom:1px solid var(--line);
}
.menu-row:last-child{border-bottom:0}
.menu-icon{width:20px;height:20px;display:grid;place-items:center;flex:none;color:#a5998c}
.menu-icon .ic{width:18px;height:18px;stroke-width:1.7}
.menu-icon.orange{color:var(--orange)}
.menu-icon.gold{color:#d5a13f}
.menu-icon.green{color:var(--green)}
.menu-icon.violet{color:#9a83c8}
.menu-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.menu-copy b{font-size:12.5px;font-weight:500;color:#3d342c;letter-spacing:.01em}
.menu-copy small{font-size:9px;color:var(--muted);line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}
.menu-value{font-size:10px;color:var(--muted);letter-spacing:.02em;font-variant-numeric:tabular-nums;display:flex;align-items:center;gap:4px}
.menu-value.green{color:var(--green)}
.menu-value.orange{color:var(--orange-deep)}
.menu-chev{color:#c9beb3;display:flex;margin-left:-1px}
.menu-chev .ic{width:14px;height:14px}
.profile-version{text-align:center;font-size:8.5px;letter-spacing:.1em;color:#bdb2a7;padding:23px 0 4px}
.profile-foot-note{display:flex;align-items:center;justify-content:center;gap:5px;font-size:8.5px;color:var(--muted-2);margin-top:14px}
.profile-foot-note .ic{width:10px;height:10px}

/* =========================================================
   Home
   ========================================================= */
.home-page{background:var(--bg);min-height:100%;padding-bottom:117px}
.home-hero{position:relative;height:288px;overflow:hidden;background:linear-gradient(142deg,#ff6b2c 0%,#ff8d48 52%,#ffc08e 100%)}
.home-hero .hero-art::after{background:linear-gradient(180deg,rgba(255,255,255,0) 46%,rgba(247,244,238,.02) 65%,var(--bg) 100%)}
.home-hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:40px;z-index:2;background:linear-gradient(180deg,rgba(247,244,238,0),var(--bg))}
.home-topline{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;padding:62px 21px 0}
.home-date{color:rgba(255,255,255,.72);font-size:9.5px;letter-spacing:.12em}
.weather-chip{
  display:flex;align-items:center;gap:5px;height:25px;padding:0 9px;border-radius:999px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.19);
  color:rgba(255,255,255,.88);font-size:9px;letter-spacing:.04em;
}
.greeting-home{position:relative;z-index:4;padding:31px 22px 0;color:#fff}
.greeting-home h1{font-size:25px;font-weight:550;letter-spacing:-.02em;line-height:1.4}
.greeting-home h1 span{font-weight:650}
.home-loc{display:flex;align-items:center;gap:4px;margin-top:7px;font-size:9.5px;color:rgba(255,255,255,.8);letter-spacing:.04em}
.home-loc .ic{width:11px;height:11px}
.home-body{position:relative;z-index:5;margin-top:-17px;padding:0 14px;border-radius:24px 24px 0 0;background:var(--bg)}
.bill-card{
  position:relative;overflow:hidden;background:#fff;border-radius:19px;padding:16px 16px 14px;
  box-shadow:0 12px 30px rgba(68,43,26,.075);border:1px solid rgba(33,27,22,.04);
}
.bill-card::after{
  content:"";position:absolute;right:-16px;top:-34px;width:118px;height:118px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,167,108,.17),transparent 70%);
}
.bill-top{display:flex;align-items:center;justify-content:space-between}
.bill-label{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--muted);letter-spacing:.06em}
.bill-label .ic{width:12px;height:12px;color:var(--orange)}
.bill-amount{display:flex;align-items:baseline;gap:3px;margin-top:7px}
.bill-amount small{font-size:10px;color:var(--ink-2);font-weight:550}
.bill-amount b{font-size:29px;font-weight:650;letter-spacing:-.035em;line-height:1;font-variant-numeric:tabular-nums}
.bill-amount span{font-size:9.5px;color:var(--muted);margin-left:5px}
.bill-pay{
  min-height:31px;padding:0 12px;border-radius:9px;background:var(--ink);color:#fff;
  font-size:9.5px;font-weight:550;letter-spacing:.03em;
}
.bill-foot{display:flex;align-items:center;justify-content:space-between;margin-top:11px;padding-top:10px;border-top:1px dashed var(--line)}
.bill-foot span{font-size:8.5px;color:var(--muted-2)}
.bill-foot button{display:flex;align-items:center;gap:1px;font-size:8.5px;color:var(--muted)}
.bill-foot .ic{width:10px;height:10px}
.notice-strip{
  display:flex;align-items:center;gap:8px;height:37px;padding:0 12px;margin-top:10px;
  background:rgba(255,255,255,.65);border:1px solid rgba(33,27,22,.04);border-radius:12px;
  overflow:hidden;
}
.notice-tag{
  flex:none;font-size:7.5px;font-weight:650;letter-spacing:.06em;color:var(--orange-deep);
  background:var(--orange-soft);padding:3px 6px;border-radius:4px;
}
.notice-text{font-size:9px;color:#75695e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
.notice-strip .ic{width:10px;height:10px;color:#c4b8ad;flex:none}
.home-section{margin-top:16px}
.home-section-head{display:flex;align-items:center;justify-content:space-between;padding:0 3px 9px}
.home-section-head h2{font-size:12.5px;font-weight:650;letter-spacing:.01em}
.home-section-head button{font-size:8.5px;color:var(--muted);display:flex;align-items:center;gap:1px}
.home-section-head .ic{width:10px;height:10px}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.quick-item{
  display:flex;flex-direction:column;align-items:center;gap:6px;padding:11px 2px 10px;
  background:#fff;border:1px solid rgba(33,27,22,.035);border-radius:14px;
  box-shadow:0 5px 14px rgba(68,43,26,.03);font-size:9px;color:#5b4f44;
}
.quick-item .ic{width:19px;height:19px;color:var(--orange-deep);stroke-width:1.6}
.activity-card{
  position:relative;overflow:hidden;border-radius:18px;min-height:124px;padding:17px;
  background:linear-gradient(125deg,#2c241e 0%,#4b382b 64%,#684a34 100%);color:#fff;
}
.activity-card::before{
  content:"";position:absolute;right:-25px;bottom:-38px;width:145px;height:145px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,157,98,.42),rgba(255,157,98,0) 68%);
}
.activity-card::after{
  content:"";position:absolute;right:23px;top:24px;width:51px;height:65px;border-radius:50% 50% 46% 46%;
  border:1px solid rgba(255,206,168,.42);transform:rotate(22deg);
}
.activity-kicker{font-size:7.5px;letter-spacing:.16em;color:rgba(255,216,184,.7);text-transform:uppercase}
.activity-card h3{font-size:18px;font-weight:550;letter-spacing:-.015em;line-height:1.4;margin-top:7px;max-width:220px}
.activity-card p{font-size:9px;line-height:1.65;color:rgba(255,255,255,.57);margin-top:5px;max-width:220px}
.activity-meta{display:flex;align-items:center;gap:7px;margin-top:12px;font-size:8px;color:rgba(255,255,255,.6)}
.activity-meta .dot{width:3px;height:3px;border-radius:50%;background:rgba(255,255,255,.4)}
.activity-cta{
  position:absolute;right:14px;bottom:15px;z-index:2;height:27px;padding:0 10px;border-radius:7px;
  background:rgba(255,255,255,.92);color:#3b2b1f;font-size:8.5px;font-weight:600;
}
.home-service-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mini-service{
  display:flex;align-items:center;gap:9px;padding:12px;background:#fff;border-radius:14px;
  border:1px solid rgba(33,27,22,.035);text-align:left;
}
.mini-service .ms-ic{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:var(--orange-soft);color:var(--orange-deep);flex:none}
.mini-service .ms-ic .ic{width:16px;height:16px}
.mini-service b{display:block;font-size:10px;font-weight:600;color:#4f4338}
.mini-service small{display:block;font-size:8px;color:var(--muted);margin-top:2px}

/* =========================================================
   Messages
   ========================================================= */
.msg-page{background:var(--bg);min-height:100%;padding-bottom:117px}
.msg-head{padding:62px 20px 14px}
.msg-head h1{font-size:25px;font-weight:650;letter-spacing:-.025em}
.msg-head p{font-size:10px;color:var(--muted);margin-top:5px}
.msg-tabs{display:flex;gap:18px;padding:0 20px;border-bottom:1px solid rgba(33,27,22,.06)}
.msg-tab{
  position:relative;padding:6px 1px 12px;font-size:11.5px;color:var(--muted);letter-spacing:.02em;
}
.msg-tab.is-active{color:var(--ink);font-weight:600}
.msg-tab.is-active::after{
  content:"";position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);
  width:17px;height:2px;border-radius:2px;background:var(--orange);
}
.msg-tab .tab-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--red);vertical-align:2px;margin-left:3px}
.msg-list{padding:13px 15px 0;display:flex;flex-direction:column;gap:8px}
.msg-item{
  display:flex;align-items:flex-start;gap:11px;width:100%;padding:14px 12px;text-align:left;
  background:#fff;border-radius:16px;border:1px solid rgba(33,27,22,.035);
  box-shadow:0 5px 14px rgba(68,43,26,.025);position:relative;
}
.msg-item .msg-ic{
  width:35px;height:35px;border-radius:11px;flex:none;display:grid;place-items:center;
  background:var(--orange-soft);color:var(--orange-deep);
}
.msg-item .msg-ic .ic{width:17px;height:17px}
.msg-item .msg-ic.green{background:var(--green-soft);color:var(--green)}
.msg-item .msg-ic.violet{background:#f1edfa;color:#8f77c4}
.msg-item .msg-ic.gold{background:#fbf2df;color:#c28e2e}
.msg-copy{flex:1;min-width:0}
.msg-copy-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.msg-copy b{font-size:11.5px;font-weight:600;color:#3d342c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msg-copy time{font-size:8px;color:var(--muted-2);flex:none;letter-spacing:.02em}
.msg-copy p{font-size:9.5px;line-height:1.65;color:var(--muted);margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.msg-unread{position:absolute;right:13px;bottom:13px;width:5px;height:5px;border-radius:50%;background:var(--orange)}
.msg-item.is-read .msg-unread{display:none}
.msg-item.is-read b{color:#766a5f}
.msg-item.is-read .msg-ic{opacity:.65}

/* =========================================================
   Service pages
   ========================================================= */
.service-top-visual{
  position:relative;overflow:hidden;margin:1px 0 15px;padding:18px 17px;border-radius:19px;
  background:linear-gradient(120deg,#fff2e7,#fff9f4);border:1px solid rgba(243,106,46,.09);
}
.service-top-visual::after{
  content:"";position:absolute;right:-25px;top:-40px;width:120px;height:120px;border-radius:50%;
  background:radial-gradient(circle,rgba(243,106,46,.14),transparent 70%);
}
.service-top-icon{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;
  background:#fff;color:var(--orange-deep);box-shadow:0 5px 13px rgba(164,87,34,.07);margin-bottom:11px;
}
.service-top-icon .ic{width:20px;height:20px;stroke-width:1.6}
.service-top-visual h2{font-size:15px;font-weight:650;letter-spacing:.01em;color:#4b3c2e}
.service-top-visual p{font-size:9.5px;line-height:1.6;color:#9f8775;margin-top:4px;max-width:245px;position:relative;z-index:2}
.list-panel{background:#fff;border-radius:18px;padding:0 15px;border:1px solid rgba(33,27,22,.04);box-shadow:var(--shadow-sm);overflow:hidden}
.list-row{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid var(--line)}
.list-row:last-child{border-bottom:0}
.row-symbol{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:var(--orange-soft);color:var(--orange-deep);flex:none}
.row-symbol .ic{width:17px;height:17px;stroke-width:1.65}
.row-symbol.green{background:var(--green-soft);color:var(--green)}
.row-symbol.gray{background:#f5f0e9;color:#9a8d80}
.row-body{flex:1;min-width:0}
.row-body b{display:block;font-size:11.5px;font-weight:600;color:#443a30;letter-spacing:.01em}
.row-body small{display:block;font-size:9px;color:var(--muted);line-height:1.55;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-side{flex:none;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.row-price{font-size:11.5px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.row-price small{font-size:8px;font-weight:400;color:var(--muted);margin-left:1px}
.row-status{font-size:8.5px;color:var(--muted)}
.row-status.green{color:var(--green)}
.row-status.orange{color:var(--orange-deep)}
.service-chip-row{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
.service-chip{
  height:28px;padding:0 11px;border-radius:999px;background:#fff;border:1px solid var(--line);
  font-size:9px;color:var(--muted);display:inline-flex;align-items:center;gap:4px;transition:.2s;
}
.service-chip.is-active{background:var(--ink);border-color:var(--ink);color:#fff}
.service-chip .ic{width:11px;height:11px}
.wide-card{
  position:relative;overflow:hidden;border-radius:20px;padding:17px;background:#fff;
  border:1px solid rgba(33,27,22,.04);box-shadow:0 9px 24px rgba(68,43,26,.045);
}
.wide-card + .wide-card{margin-top:10px}
.card-kicker{font-size:8px;font-weight:650;letter-spacing:.16em;color:var(--orange-deep);text-transform:uppercase}
.wide-card h3{font-size:15px;font-weight:650;margin-top:6px;letter-spacing:-.01em}
.wide-card p{font-size:9.5px;line-height:1.65;color:var(--muted);margin-top:5px}
.amount-display{display:flex;align-items:baseline;gap:3px;margin-top:9px;font-variant-numeric:tabular-nums}
.amount-display small{font-size:12px;font-weight:600;color:var(--ink-2)}
.amount-display b{font-size:32px;font-weight:650;letter-spacing:-.04em;line-height:1}
.amount-display span{font-size:9px;color:var(--muted);margin-left:3px}
.meta-line{display:flex;align-items:center;gap:5px;font-size:8.5px;color:var(--muted);margin-top:8px}
.meta-line .ic{width:10px;height:10px}
.wide-actions{display:flex;gap:8px;margin-top:14px}
.wide-actions .btn{flex:1;min-height:40px;height:40px;border-radius:11px;font-size:10.5px}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 16px;padding:15px 0;border-top:1px dashed var(--line);margin-top:13px}
.info-grid div{display:flex;flex-direction:column;gap:3px}
.info-grid small{font-size:8px;color:var(--muted-2)}
.info-grid b{font-size:10.5px;font-weight:600;color:#4c4035}
.status-banner{
  display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border-radius:13px;
  background:var(--green-soft);color:var(--green-deep);font-size:9.5px;line-height:1.7;margin-bottom:12px;
}
.status-banner .ic{width:14px;height:14px;flex:none;margin-top:1px}
.status-banner.orange{background:var(--orange-soft);color:#8d5029}
.status-banner.red{background:var(--red-soft);color:#9b3f33}
.section-mini-row{display:flex;align-items:center;justify-content:space-between;padding:12px 2px 2px;font-size:9px;color:var(--muted)}
.section-mini-row b{font-size:11px;color:var(--ink-2);font-weight:600}
.service-tab-row{display:flex;gap:7px;margin:2px 0 13px;overflow-x:auto;scrollbar-width:none}
.service-tab-row::-webkit-scrollbar{display:none}
.service-tab-row .service-chip{flex:none}
.add-tile{
  display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:13px;
  border:1px dashed #e0d5c9;border-radius:14px;color:var(--muted);font-size:9.5px;margin-top:10px;
  background:rgba(255,255,255,.35);
}
.add-tile .ic{width:13px;height:13px}
/* lock */
.lock-hero{display:flex;flex-direction:column;align-items:center;padding:17px 0 20px}
.lock-ring{
  position:relative;width:175px;height:175px;border-radius:50%;display:grid;place-items:center;margin:8px 0 18px;
  background:radial-gradient(circle at 50% 35%,#fff7f0,#ffeadb 65%,#ffe0c9);
  border:1px solid rgba(243,106,46,.12);box-shadow:0 18px 40px rgba(180,98,43,.12),inset 0 2px 0 rgba(255,255,255,.7);
}
.lock-ring::before{content:"";position:absolute;inset:10px;border-radius:50%;border:1px dashed rgba(243,106,46,.22)}
.lock-ring::after{
  content:"";position:absolute;inset:23px;border-radius:50%;
  background:conic-gradient(from 0deg,rgba(243,106,46,.32),rgba(255,190,145,.06) 40%,rgba(243,106,46,.26) 75%,rgba(255,190,145,.05));
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1px));
}
.lock-center{
  position:relative;z-index:2;width:102px;height:102px;border-radius:50%;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px;background:#fff;color:var(--ink);
  box-shadow:0 10px 25px rgba(113,63,31,.11);transition:.3s;
}
.lock-center .ic{width:28px;height:28px;color:var(--orange-deep);stroke-width:1.55}
.lock-center b{font-size:9px;font-weight:650;letter-spacing:.08em;color:var(--orange-deep)}
.lock-center.is-open{background:var(--green);color:#fff;box-shadow:0 10px 25px rgba(22,133,90,.25)}
.lock-center.is-open .ic,.lock-center.is-open b{color:#fff}
.lock-title{font-size:17px;font-weight:650;letter-spacing:-.01em}
.lock-sub{font-size:9.5px;color:var(--muted);margin-top:5px;text-align:center;line-height:1.6}
.lock-battery{display:flex;align-items:center;gap:5px;margin-top:13px;font-size:8.5px;color:var(--muted)}
.lock-battery .battery-mini{width:23px;height:10px;border:1px solid #9f9489;border-radius:3px;padding:1.5px;position:relative}
.lock-battery .battery-mini::after{content:"";position:absolute;right:-3px;top:3px;width:2px;height:4px;background:#9f9489;border-radius:0 1px 1px 0}
.lock-battery .battery-mini i{display:block;height:100%;width:82%;background:var(--green);border-radius:1px}
.lock-actions{display:flex;gap:8px;width:100%;margin-top:3px}
.lock-actions .btn{flex:1;min-height:39px;height:39px;border-radius:11px;font-size:10px}
.passcode-row{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px 0;border-bottom:1px solid var(--line)}
.passcode-row:last-child{border-bottom:0}
.passcode-code{font-family:"SF Mono",ui-monospace,Menlo,monospace;font-size:13px;letter-spacing:.15em;font-weight:600;color:#4d4034}
.passcode-meta{font-size:8px;color:var(--muted);margin-top:2px}
.passcode-expire{font-size:8.5px;color:var(--muted)}
.passcode-expire.green{color:var(--green)}
/* repair form */
.field-textarea{
  width:100%;min-height:92px;resize:none;border:1px solid var(--line);border-radius:13px;
  background:#fff;padding:12px 13px;outline:0;font-size:11px;line-height:1.7;color:var(--ink);
  transition:border .2s,box-shadow .2s;
}
.field-textarea::placeholder{color:#b5aba0}
.field-textarea:focus{border-color:#f2b48f;box-shadow:0 0 0 3px rgba(243,106,46,.08)}
.upload-tile{
  width:56px;height:56px;border-radius:11px;border:1px dashed #ddd1c5;background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  color:#b3a69a;font-size:7px;
}
.upload-tile .ic{width:16px;height:16px}
.form-block{margin-top:14px}
.form-block-label{font-size:10px;font-weight:600;color:#6f6358;margin-bottom:7px;display:flex;justify-content:space-between}
.form-block-label small{font-weight:400;color:var(--muted-2);font-size:8.5px}
/* bill */
.bill-hero{
  position:relative;overflow:hidden;border-radius:20px;padding:18px 17px;
  background:linear-gradient(125deg,#2d241d,#4f392b);color:#fff;box-shadow:0 15px 35px rgba(42,30,21,.16);
}
.bill-hero::after{content:"";position:absolute;right:-20px;top:-55px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(243,106,46,.35),transparent 68%)}
.bill-hero-head{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}
.bill-hero-head span{font-size:8.5px;letter-spacing:.08em;color:rgba(255,255,255,.5)}
.bill-hero .amount-display{color:#fff}
.bill-hero .amount-display small,.bill-hero .amount-display span{color:rgba(255,255,255,.6)}
.bill-hero .meta-line{color:rgba(255,255,255,.5)}
.bill-hero .wide-actions .btn-primary{background:#fff;color:#33271e;box-shadow:none}
.bill-hero .wide-actions .btn-ghost{background:rgba(255,255,255,.11);color:rgba(255,255,255,.82)}
.bill-hero .pill-orange{background:rgba(255,255,255,.12);color:#ffd5b8;border:1px solid rgba(255,207,170,.24)}
.bill-hero .pill-green{background:rgba(100,201,146,.15);color:#b7f0d0;border:1px solid rgba(132,224,174,.2)}
.bill-history-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}
.bill-history-row:last-child{border-bottom:0}
.bill-history-row b{display:block;font-size:10.5px;font-weight:550;color:#4c4035}
.bill-history-row small{display:block;font-size:8.5px;color:var(--muted);margin-top:2px}
.bill-history-amount{text-align:right;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}
.bill-history-amount small{display:block;font-size:8px;font-weight:400;color:var(--green);margin-top:2px}
/* points */
.points-hero{
  position:relative;overflow:hidden;border-radius:20px;padding:20px 18px;
  background:linear-gradient(130deg,#f36a2e,#ff9650);color:#fff;box-shadow:0 16px 34px rgba(192,87,29,.2);
}
.points-hero::after{content:"";position:absolute;right:-28px;top:-44px;width:157px;height:157px;border-radius:50%;border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 18px rgba(255,255,255,.035),0 0 0 38px rgba(255,255,255,.025)}
.points-kicker{font-size:8px;letter-spacing:.16em;color:rgba(255,255,255,.65);text-transform:uppercase}
.points-num{display:flex;align-items:baseline;gap:4px;margin-top:8px}
.points-num b{font-size:39px;font-weight:650;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums}
.points-num span{font-size:9px;color:rgba(255,255,255,.65)}
.points-sub{font-size:8.5px;color:rgba(255,255,255,.65);margin-top:8px}
.points-hero .wide-actions .btn{background:rgba(255,255,255,.16);color:#fff;backdrop-filter:blur(4px)}
.points-task{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
.points-task:last-child{border-bottom:0}
.points-task .task-icon{width:31px;height:31px;border-radius:9px;background:var(--orange-soft);color:var(--orange-deep);display:grid;place-items:center;flex:none}
.points-task .task-icon .ic{width:15px;height:15px}
.points-task .task-copy{flex:1}
.points-task b{display:block;font-size:10px;font-weight:550;color:#4c4035}
.points-task small{display:block;font-size:8px;color:var(--muted);margin-top:2px}
.points-task .task-points{font-size:9px;font-weight:600;color:var(--orange-deep)}
/* contract */
.contract-cover{
  position:relative;overflow:hidden;border-radius:20px;padding:19px 18px;color:#fff;
  background:linear-gradient(125deg,#3a2c21,#664a35);box-shadow:0 15px 35px rgba(42,30,21,.17);
}
.contract-cover::after{content:"";position:absolute;right:16px;top:18px;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,201,164,.25)}
.contract-cover::before{content:"";position:absolute;right:27px;top:29px;width:26px;height:26px;border-radius:50%;border:1px solid rgba(255,201,164,.18)}
.contract-cover h3{font-size:18px;font-weight:550;letter-spacing:.02em}
.contract-cover p{font-size:8.5px;color:rgba(255,255,255,.5);margin-top:5px;letter-spacing:.05em}
.contract-cover .contract-status{
  display:inline-flex;align-items:center;gap:4px;margin-top:15px;padding:4px 8px;border-radius:5px;
  font-size:8px;font-weight:600;color:#b8e9cc;background:rgba(63,170,113,.16);border:1px solid rgba(89,194,137,.18);
}
.contract-cover .contract-status .ic{width:9px;height:9px;stroke-width:2.4}
/* materials */
.material-card{display:flex;gap:11px;padding:14px;border-radius:16px;background:#fff;border:1px solid rgba(33,27,22,.04);box-shadow:var(--shadow-sm)}
.material-card + .material-card{margin-top:8px}
.material-icon{width:38px;height:43px;border-radius:7px;background:linear-gradient(145deg,#fff6ee,#ffecdd);border:1px solid rgba(243,106,46,.1);display:grid;place-items:center;color:var(--orange-deep);flex:none;font-size:14px;font-weight:650}
.material-copy{flex:1;min-width:0}
.material-copy b{display:block;font-size:11px;font-weight:600;color:#443a30}
.material-copy p{font-size:8.5px;line-height:1.6;color:var(--muted);margin-top:3px}
.material-copy .meta-line{margin-top:5px}
.material-actions{display:flex;align-items:center;gap:6px;margin-top:8px}
.material-actions .btn{height:29px;min-height:29px;padding:0 9px;border-radius:7px;font-size:8.5px;gap:3px}
.material-actions .btn .ic{width:10px;height:10px}
.material-actions .text-btn{font-size:8.5px;color:var(--muted);padding:5px 3px}
/* settings */
.settings-page{background:var(--bg)}
.settings-user{
  display:flex;align-items:center;gap:12px;padding:15px;border-radius:18px;background:#fff;
  border:1px solid rgba(33,27,22,.04);box-shadow:var(--shadow-sm);margin-bottom:13px;
}
.settings-user .avatar--sm{width:45px;height:45px;box-shadow:0 5px 13px rgba(55,30,14,.1)}
.settings-user-copy{flex:1}
.settings-user-copy b{display:block;font-size:12.5px;font-weight:600}
.settings-user-copy small{display:block;font-size:9px;color:var(--muted);margin-top:3px;letter-spacing:.02em}
.settings-group{background:#fff;border-radius:18px;padding:0 15px;border:1px solid rgba(33,27,22,.04);box-shadow:var(--shadow-sm);margin-bottom:10px}
.settings-group-head{font-size:8.5px;font-weight:650;letter-spacing:.12em;color:var(--muted);padding:12px 2px 0;text-transform:uppercase}
.settings-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;
  min-height:48px;padding:10px 1px;border-bottom:1px solid var(--line);text-align:left;
}
.settings-row:last-child{border-bottom:0}
.settings-row-label{display:flex;align-items:center;gap:8px;font-size:11.5px;color:#463b31;letter-spacing:.01em}
.settings-row-label .ic{width:16px;height:16px;color:#b0a396;flex:none}
.settings-row-value{font-size:9.5px;color:var(--muted);display:flex;align-items:center;gap:4px;max-width:58%;justify-content:flex-end;text-align:right}
.settings-row-value .ic{width:12px;height:12px;color:#c9beb3}
.settings-row-value.green{color:var(--green)}
.toggle{width:37px;height:21px;border-radius:999px;background:#e6ddd4;position:relative;flex:none;transition:background .25s}
.toggle::after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;top:2px;left:2px;box-shadow:0 2px 5px rgba(52,35,21,.15);transition:transform .25s var(--ease)}
.toggle.is-on{background:var(--orange)}
.toggle.is-on::after{transform:translateX(16px)}
.settings-logout{
  width:100%;height:47px;border-radius:15px;background:#fff;color:var(--red);
  font-size:11px;font-weight:600;letter-spacing:.04em;margin-top:8px;
  border:1px solid rgba(211,75,59,.14);box-shadow:var(--shadow-sm);
}
.settings-version{text-align:center;font-size:8.5px;color:var(--muted-2);letter-spacing:.08em;padding:23px 0 7px}
.settings-danger-note{font-size:8.5px;line-height:1.6;color:var(--muted-2);text-align:center;padding:4px 12px}
/* feedback */
.fb-success{text-align:center;padding:18px 10px 12px}
.fb-success .fb-check{width:48px;height:48px;border-radius:50%;background:var(--green-soft);color:var(--green);display:grid;place-items:center;margin:0 auto 12px}
.fb-success .fb-check .ic{width:22px;height:22px;stroke-width:2.4}
.fb-success h3{font-size:14px;font-weight:650}
.fb-success p{font-size:9.5px;color:var(--muted);line-height:1.7;margin-top:5px}
/* invoice */
.invoice-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}
.invoice-row:last-child{border-bottom:0}
.invoice-row .row-symbol{width:31px;height:31px;border-radius:9px}
.invoice-row .row-symbol .ic{width:15px;height:15px}
.invoice-meta{flex:1}
.invoice-meta b{display:block;font-size:10px;font-weight:550;color:#4c4035}
.invoice-meta small{display:block;font-size:8px;color:var(--muted);margin-top:2px}
.invoice-amount{font-size:10px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.invoice-amount small{display:block;font-size:8px;font-weight:400;color:var(--green);margin-top:2px}
/* cert detail */
.cert-detail-page{background:var(--bg);min-height:100%;padding-bottom:34px}
.certificate-card{
  position:relative;overflow:hidden;border-radius:21px;padding:20px 18px 17px;
  background:linear-gradient(125deg,#2f2a23,#514237 68%,#67513f);color:#fff;
  box-shadow:0 17px 36px rgba(41,31,23,.2);
}
.certificate-card::before{
  content:"";position:absolute;right:-30px;top:-34px;width:160px;height:160px;border-radius:50%;
  background:radial-gradient(circle,rgba(243,178,114,.24),transparent 65%);
}
.certificate-card::after{
  content:"";position:absolute;left:-20px;bottom:-55px;width:150px;height:150px;border-radius:50%;
  border:1px solid rgba(255,255,255,.06);box-shadow:0 0 0 18px rgba(255,255,255,.025);
}
.certificate-head{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between}
.certificate-brand{display:flex;align-items:center;gap:7px;font-size:8.5px;letter-spacing:.17em;color:rgba(255,255,255,.58)}
.certificate-brand .brand-mini{width:20px;height:20px;border-radius:6px;display:grid;place-items:center;background:rgba(255,255,255,.1)}
.certificate-brand .brand-mini svg{width:13px;height:12px}
.cert-status{
  display:inline-flex;align-items:center;gap:4px;height:23px;padding:0 8px;border-radius:6px;
  background:rgba(88,195,141,.14);border:1px solid rgba(122,218,170,.18);color:#9fe0be;
  font-size:8px;font-weight:600;letter-spacing:.04em;
}
.cert-status .ic{width:10px;height:10px;stroke-width:2.4}
.certificate-name{position:relative;z-index:2;margin-top:23px}
.certificate-name small{font-size:8px;letter-spacing:.1em;color:rgba(255,255,255,.4);display:block;margin-bottom:5px}
.certificate-name h2{font-size:25px;font-weight:550;letter-spacing:.02em}
.certificate-name p{font-size:9.5px;color:rgba(255,255,255,.53);margin-top:5px}
.certificate-foot{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;margin-top:24px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}
.certificate-foot div{display:flex;flex-direction:column;gap:4px}
.certificate-foot small{font-size:7.5px;color:rgba(255,255,255,.35);letter-spacing:.08em}
.certificate-foot b{font-size:10px;font-weight:550;letter-spacing:.02em;color:rgba(255,255,255,.8)}
.cert-detail-info{margin-top:11px;padding:0 15px;background:#fff;border-radius:18px;border:1px solid rgba(33,27,22,.04);box-shadow:var(--shadow-sm)}
.cert-info-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}
.cert-info-row:last-child{border-bottom:0}
.cert-info-row span{font-size:10px;color:var(--muted)}
.cert-info-row b{font-size:10px;font-weight:550;color:#463b31;letter-spacing:.01em}
.benefit-list{padding:0 15px;background:#fff;border-radius:18px;border:1px solid rgba(33,27,22,.04);box-shadow:var(--shadow-sm)}
.benefit-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
.benefit-row:last-child{border-bottom:0}
.benefit-row .benefit-ic{width:28px;height:28px;border-radius:8px;background:var(--orange-soft);color:var(--orange-deep);display:grid;place-items:center;flex:none}
.benefit-row .benefit-ic .ic{width:14px;height:14px}
.benefit-row b{display:block;font-size:10px;font-weight:550;color:#4b4036}
.benefit-row small{display:block;font-size:8px;color:var(--muted);margin-top:2px}
.cert-detail-note{
  margin-top:14px;padding:11px 13px;border-radius:12px;background:#faf6f0;
  font-size:8.5px;line-height:1.7;color:var(--muted);
}
.revoke-btn{
  width:100%;height:45px;margin-top:17px;border-radius:13px;background:rgba(255,255,255,.7);
  color:var(--red);font-size:10.5px;font-weight:550;letter-spacing:.02em;
  border:1px solid rgba(211,75,59,.13);
}
.revoke-btn:active{background:var(--red-soft)}
.certificate-empty{
  padding:28px 20px;text-align:center;background:#fff;border-radius:20px;box-shadow:var(--shadow-sm);
}
.certificate-empty .empty-ic{margin-bottom:14px}
/* agreements sheet */
.legal-copy{font-size:11px;line-height:1.9;color:#5f5449;max-height:48vh;overflow:auto;padding-right:3px}
.legal-copy h4{font-size:12px;font-weight:650;color:var(--ink);margin:15px 0 5px}
.legal-copy h4:first-child{margin-top:0}
.legal-copy p{margin-bottom:8px}
.legal-copy .legal-meta{font-size:9px;color:var(--muted-2);padding-bottom:10px;border-bottom:1px solid var(--line);margin-bottom:12px}
/* misc */
.center-note{text-align:center;font-size:9px;line-height:1.7;color:var(--muted-2);padding:18px 16px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mini-stat{padding:13px 12px;background:#fff;border-radius:14px;border:1px solid rgba(33,27,22,.04)}
.mini-stat small{display:block;font-size:8px;color:var(--muted)}
.mini-stat b{display:block;font-size:17px;font-weight:650;letter-spacing:-.02em;margin-top:4px;font-variant-numeric:tabular-nums}
.mini-stat b span{font-size:8px;color:var(--muted);font-weight:400;letter-spacing:0}
.hr-soft{height:1px;background:var(--line);margin:13px 0}
.kv-row{display:flex;justify-content:space-between;gap:12px;font-size:9.5px;line-height:1.6;padding:5px 0}
.kv-row span{color:var(--muted)}
.kv-row b{font-weight:550;color:#4c4035;text-align:right}
.timeline{position:relative;padding-left:16px}
.timeline::before{content:"";position:absolute;left:3px;top:5px;bottom:8px;width:1px;background:var(--line-strong)}
.timeline-item{position:relative;padding:0 0 13px}
.timeline-item::before{content:"";position:absolute;left:-16px;top:4px;width:7px;height:7px;border-radius:50%;background:#d7cdc2;border:2px solid var(--bg)}
.timeline-item.is-done::before{background:var(--green);border-color:#fff;box-shadow:0 0 0 2px var(--green-soft)}
.timeline-item b{font-size:9.5px;font-weight:550;color:#4d4238}
.timeline-item small{display:block;font-size:8px;color:var(--muted);margin-top:2px;line-height:1.5}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1180px){
  .showcase{grid-template-columns:minmax(340px,470px) minmax(430px,1fr);gap:30px;padding-left:38px;padding-right:38px}
  .rail h1{font-size:46px}
  .rail-lede{font-size:13px}
}
@media (max-height:950px) and (min-width:981px){
  .device{transform:scale(.88);transform-origin:center top}
  .device-wrap{height:760px;justify-content:flex-start}
  .device-caption{transform:scale(.88);transform-origin:top center;width:390px;margin-top:-5px}
  .rail-lede{margin-bottom:24px}
  .flow-item{padding:12px 2px}
  .demo-ticket{padding:12px 15px}
}
@media (max-width:980px){
  body{background:var(--bg)}
  .showcase{display:block;min-height:100%;padding:0}
  .rail{display:none}
  .stage{display:block;min-height:100dvh}
  .device-wrap{height:100dvh;width:100%}
  .device{
    width:100%;height:100dvh;border-radius:0;box-shadow:none;
    transform:none!important;
  }
  .device-caption{display:none}
  .device-grain{border-radius:0}
  .statusbar{padding-top:calc(14px + env(safe-area-inset-top))}
  .mp-capsule{top:calc(51px + env(safe-area-inset-top))}
  .toast{bottom:calc(102px + env(safe-area-inset-bottom))}
  .tabbar{bottom:calc(13px + env(safe-area-inset-bottom))}
  .topbar{padding-top:calc(59px + env(safe-area-inset-top))}
  .login-topbar{padding-top:calc(60px + env(safe-area-inset-top))}
  .profile-top{padding-top:calc(62px + env(safe-area-inset-top))}
  .home-topline{padding-top:calc(62px + env(safe-area-inset-top))}
  .msg-head{padding-top:calc(62px + env(safe-area-inset-top))}
  .success-page{padding-top:calc(64px + env(safe-area-inset-top))}
  .success-close{top:calc(61px + env(safe-area-inset-top))}
  .sheet{padding-bottom:calc(20px + env(safe-area-inset-bottom))}
}
@media (max-width:370px){
  .greeting-title{font-size:27px}
  .login-body{padding:0 17px}
  .profile-body{padding-left:11px;padding-right:11px}
  .profile-name{font-size:20px}
  .service-icon{width:39px;height:39px;border-radius:12px}
  .service-label{font-size:9.5px}
  .summary-grid{gap:10px 12px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
}

/* =========================================================
   Supplemental components
   ========================================================= */
.tabbar-unread{
  position:absolute;top:5px;right:calc(50% - 21px);min-width:14px;height:14px;padding:0 3.5px;
  border-radius:999px;background:var(--red);color:#fff;font-size:7.5px;font-weight:650;
  display:grid;place-items:center;border:1.5px solid rgba(255,255,255,.95);font-style:normal;
}
.service-chip{font-size:9.5px}
.sheet-form-block{margin-top:15px}
.sheet-input{
  width:100%;height:44px;border-radius:11px;border:1px solid var(--line);background:#faf7f2;
  padding:0 12px;outline:0;font-size:12px;color:var(--ink);transition:border-color .2s,box-shadow .2s,background .2s;
}
.sheet-input::placeholder{color:#b6aba0}
.sheet-input:focus{background:#fff;border-color:#f2b48f;box-shadow:0 0 0 3px rgba(243,106,46,.08)}
.sheet-inline-error{display:none;color:var(--red);font-size:10px;line-height:1.5;margin-top:7px}
.sheet-inline-error.is-visible{display:block}
.radio{
  width:20px;height:20px;border-radius:50%;border:1.3px solid #d8cdc2;display:grid;place-items:center;
  color:#fff;flex:none;transition:.2s;
}
.radio .ic{width:10px;height:10px;stroke-width:3;opacity:0;transition:.2s}
.radio.is-on{background:var(--orange);border-color:var(--orange)}
.radio.is-on .ic{opacity:1}
.pill-green{background:var(--green-soft);color:var(--green)}
.mini-account{
  display:flex;align-items:center;gap:10px;padding:11px 12px;margin-top:13px;border-radius:13px;
  background:#faf6f0;border:1px solid rgba(33,27,22,.045);
}
.mini-account > div{flex:1;min-width:0}
.mini-account b{display:block;font-size:11.5px;font-weight:600;color:#43382e}
.mini-account small{display:block;font-size:9px;color:var(--muted);margin-top:2px}
.verify-preview{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;padding:12px 13px;
  border-radius:12px;background:#fff;border:1px dashed #e5d9cd;
}
.verify-preview div{display:flex;flex-direction:column;gap:3px;min-width:0}
.verify-preview small{font-size:8px;color:var(--muted-2);letter-spacing:.05em}
.verify-preview b{font-size:10px;font-weight:550;color:#4a3e33;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.passcode-preview{
  margin:17px auto 3px;padding:14px 16px;border-radius:15px;
  background:linear-gradient(130deg,#fff4e9,#fffaf4);border:1px dashed #f0c9ad;
  text-align:center;color:var(--orange-deep);font-size:28px;font-weight:600;
  letter-spacing:.24em;font-variant-numeric:tabular-nums;padding-left:calc(16px + .24em);
}
.revoke-list{display:flex;flex-direction:column;gap:9px;padding:14px 14px;background:#faf6f0;border-radius:13px;margin-top:5px}
.revoke-list div{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.6;color:#6f6155}
.revoke-list .ic{width:13px;height:13px;flex:none;margin-top:2px;color:var(--red)}
.revoke-list .keep{color:var(--green-deep)}
.revoke-list .keep + .ic,.revoke-list div:has(.keep) .ic{color:var(--green)}
.about-brand{text-align:center;padding:5px 0 17px}
.about-logo{
  width:64px;height:64px;border-radius:20px;background:#fff;display:grid;place-items:center;
  margin:0 auto 11px;box-shadow:0 8px 22px rgba(59,38,22,.08);border:1px solid rgba(33,27,22,.04);
}
.about-logo svg{width:37px;height:34px}
.about-brand h3{font-size:18px;font-weight:650;letter-spacing:.03em}
.about-brand p{font-size:10px;color:var(--muted);letter-spacing:.06em;margin-top:4px}
.all-services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:16px}
.all-service-item{
  display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 4px 11px;
  background:#faf6f0;border-radius:13px;border:1px solid rgba(33,27,22,.035);
}
.all-service-item span{width:32px;height:32px;border-radius:10px;background:#fff;display:grid;place-items:center;color:var(--orange-deep);box-shadow:0 3px 9px rgba(70,45,27,.05)}
.all-service-item .ic{width:17px;height:17px}
.all-service-item b{font-size:9.5px;font-weight:500;color:#55483d}
.profile-edit-head{text-align:center;padding:2px 0 21px}
.profile-edit-head .avatar{width:76px;height:76px;margin:0 auto 9px;box-shadow:0 10px 24px rgba(55,30,14,.12)}
.profile-edit-head .avatar > svg{width:44px;height:41px}
.profile-edit-head .avatar .avatar-edit .ic{width:10px;height:10px}
.profile-edit-head p{font-size:9px;color:var(--muted-2);letter-spacing:.04em}
.identity-strip{width:100%;text-align:left;border:1px solid rgba(22,133,90,.12)}
.identity-strip:active{transform:scale(.995)}
.cert-callout{width:100%;text-align:left}

/* Guide overlay (desktop only) */
.guide-overlay{
  position:fixed;inset:0;z-index:400;display:grid;place-items:center;padding:24px;
  background:rgba(34,24,16,.52);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);
  animation:fadeIn .25s ease;
}
.guide-panel{
  position:relative;width:min(760px,100%);max-height:90vh;overflow:auto;
  background:#f7f3ec;border-radius:22px;padding:33px 34px 27px;
  box-shadow:0 30px 80px rgba(31,20,12,.3);border:1px solid rgba(255,255,255,.4);
}
.guide-close{
  position:absolute;top:17px;right:17px;width:30px;height:30px;border-radius:50%;
  background:rgba(33,27,22,.07);color:#7b6e62;display:grid;place-items:center;
}
.guide-close .ic{width:14px;height:14px}
.guide-eyebrow{font-size:9px;font-weight:650;letter-spacing:.19em;color:var(--orange);margin-bottom:14px}
.guide-panel h2{font-family:var(--serif);font-size:30px;line-height:1.4;font-weight:600;letter-spacing:-.02em}
.guide-lede{font-size:12px;line-height:1.9;color:#6f6255;max-width:610px;margin-top:12px}
.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 26px;margin-top:23px;padding-top:23px;border-top:1px solid rgba(33,27,22,.11)}
.guide-grid b{display:block;font-size:11px;font-weight:650;color:#3e3329;margin-bottom:5px}
.guide-grid p{font-size:10.5px;line-height:1.8;color:#807267}
.guide-scenarios{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:22px;padding-top:18px;border-top:1px solid rgba(33,27,22,.11)}
.guide-scenarios span{font-size:9px;letter-spacing:.11em;color:#9e9184;margin-right:3px}
.guide-scenarios em{font-style:normal;font-size:9px;color:#6b5e51;border:1px solid rgba(33,27,22,.12);border-radius:999px;padding:5px 9px;background:rgba(255,255,255,.5)}
.guide-foot{font-size:9.5px;line-height:1.7;color:#a4988b;margin-top:20px}
@media (max-width:720px){
  .guide-panel{padding:26px 20px 22px}
  .guide-panel h2{font-size:23px}
  .guide-grid{grid-template-columns:1fr;gap:14px}
}

/* Small device refinements */
@media (max-width:390px){
  .login-body{padding-left:18px;padding-right:18px}
  .cert-body{padding-left:14px;padding-right:14px}
  .inner-content{padding-left:14px;padding-right:14px}
  .profile-body{padding-left:11px;padding-right:11px}
  .greeting{padding-left:21px;padding-right:21px}
  .greeting-title{font-size:29px}
  .login-options .agree{font-size:10.5px}
}
