:root{--bg:#f5f6fa;--surface:#fff;--ink:#172033;--muted:#788194;--line:#e9ecf3;--blue:#4357ed;--blue-soft:#eef0ff;--green:#16866a;--red:#d8485b;--shadow:0 8px 30px #1b286008;--radius:20px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8292ff;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.25;letter-spacing:-.8px}h2{font-size:22px;letter-spacing:-.4px}h3{font-size:17px}small,.muted{color:var(--muted)}small{font-size:12px}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.topbar{height:80px;background:#ffffffec;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(15px)}.top-inner{max-width:1160px;margin:auto;padding:0 28px;height:100%;display:flex;align-items:center;gap:40px}.brand{display:inline-flex;align-items:center;gap:11px;font-size:19px;font-weight:750;letter-spacing:-.5px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;background:var(--blue);color:white;border-radius:13px;box-shadow:0 4px 12px #4357ed30}.brand-mark svg{width:27px;height:27px}.desktop-nav{display:flex;gap:28px;flex:1}.desktop-nav a{color:var(--muted);font-size:14px}.desktop-nav a.active{color:var(--blue);font-weight:650}.header-action{margin-left:auto;display:flex;align-items:center;gap:12px}.avatar{width:36px;height:36px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-weight:700}.shell{max-width:1160px;padding:32px 28px 70px;margin:auto}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px}.page-heading p{margin-top:8px;color:var(--muted)}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2.8px;text-transform:uppercase;margin-bottom:10px;color:var(--blue)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.stack{display:grid;gap:18px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.full{grid-column:1/-1}.btn,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 20px;border:0;border-radius:12px;background:var(--blue);color:white;font-weight:600;font-size:14px;line-height:1.4;transition:background .15s,transform .15s}.btn:hover,button:hover{background:#3045d8}.btn:active,button:active{transform:translateY(1px)}.btn.soft,button.soft{background:var(--blue-soft);color:var(--blue)}.btn.ghost,button.ghost{background:transparent;color:var(--muted);border:1px solid var(--line)}.btn.danger,button.danger{background:#ffedf0;color:var(--red)}.btn.block,button.block{width:100%}.btn.small,button.small{min-height:36px;padding:8px 12px;font-size:12px}.text-link{color:var(--blue);font-weight:600;font-size:13px}.pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:650;border-radius:8px;background:var(--blue-soft);color:var(--blue);padding:4px 9px;white-space:nowrap}.pill.green{background:#e9f7f1;color:var(--green)}.pill.red{background:#fff0f2;color:var(--red)}.hero{position:relative;overflow:hidden;border-radius:24px;background:#e9edff;display:grid;grid-template-columns:1fr 300px;min-height:250px;padding:34px 40px;margin-bottom:22px}.hero h1{font-size:38px;line-height:1.3;margin-bottom:12px}.hero p{color:#707995;font-size:14px;max-width:390px}.hero .eyebrow{color:#5666b8}.hero .row{margin-top:23px}.hero-art{position:relative;display:grid;place-items:center;pointer-events:none}.orbit{width:208px;height:208px;border:1px solid #a8b4fd80;border-radius:50%;position:relative;display:grid;place-items:center;transform:rotate(-20deg)}.orbit:before{content:'';position:absolute;inset:-22px;border:1px solid #b8c1f955;border-radius:50%}.orbit:after{content:'';position:absolute;width:16px;height:16px;border:5px solid #e9edff;background:#7487fa;border-radius:50%;top:0;left:35px;box-shadow:0 0 0 1px #b8c1f9}.orbit svg{width:142px;height:142px;color:#536aee;filter:drop-shadow(0 8px 12px #8193ec60);transform:rotate(20deg)}.float-chip{position:absolute;background:#fffffff0;box-shadow:0 12px 25px #596bab15;border:1px solid white;border-radius:12px;padding:10px 15px;font-size:12px;color:#5b6588}.chip-one{top:18px;right:-2px}.chip-two{bottom:16px;left:8px}.home-summary{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:16px;margin-bottom:34px}.balance-card{background:var(--ink);color:white;border:0;display:flex;align-items:center;justify-content:space-between;padding:20px 23px}.balance-card small{color:#a9b5ca}.balance-amount{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-1px}.quick-card{display:flex;align-items:center;gap:15px;padding:20px}.tile-icon{width:43px;height:43px;border-radius:13px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;flex-shrink:0}.tile-icon.warm{background:#fff2e8;color:#d18b4f}.quick-card p{font-size:12px;color:var(--muted);margin-top:3px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:26px 0 17px}.section-title p{color:var(--muted);font-size:13px;margin-top:3px}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.product{display:flex;flex-direction:column;padding:23px;position:relative;overflow:hidden}.product.featured{border-color:#a6b1ff;background:linear-gradient(160deg,#f5f6ff,#fff 65%)}.product h3{margin-bottom:5px}.product .quota{margin:22px 0 16px;font-size:36px;font-weight:750;line-height:1.1;letter-spacing:-1.5px}.quota span{font-size:14px;letter-spacing:0;font-weight:500;margin-left:4px}.quota small{font-size:11px;display:block;letter-spacing:0;margin-top:7px}.feature-list{display:grid;gap:8px;margin:0 0 24px;padding:0;list-style:none;color:#737d90;font-size:12px}.feature-list li{display:flex;align-items:center;gap:8px}.feature-list li:before{content:'✓';color:#6e80db}.product .price{font-size:25px;font-weight:750;letter-spacing:-1px}.price small{font-size:12px;font-weight:400;letter-spacing:0}.product footer{margin-top:auto;border-top:1px solid var(--line);padding-top:18px}.product footer .btn{margin-top:15px}.description{font-size:12px;color:var(--muted);margin-bottom:14px;overflow-wrap:anywhere}.info-banner{display:flex;gap:13px;padding:16px 20px;border-radius:15px;background:var(--blue-soft);font-size:13px;color:#536091;margin:20px 0}.info-banner svg{flex-shrink:0;margin-top:1px}.mobile-nav{display:none}.footer{display:flex;justify-content:space-between;color:#929bad;font-size:11px;border-top:1px solid var(--line);margin-top:42px;padding-top:20px}.footer span{display:flex;gap:8px;align-items:center}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:550}.field input,.field select,.field textarea,input.control,select.control,textarea.control{display:block;width:100%;min-width:0;min-height:48px;margin:0;border:1px solid #dfe4ee;border-radius:11px;padding:12px 14px;background:var(--surface);color:var(--ink);font-size:16px;line-height:1.5}.field textarea{min-height:120px;resize:vertical}.field small{font-weight:400}.field input::placeholder,.field textarea::placeholder{color:#a6afc0;font-size:13px}.check{display:flex;gap:10px;align-items:center;font-size:14px}.check input{width:19px;height:19px;accent-color:var(--blue)}.form-actions{margin-top:22px;display:flex;gap:12px}.toast{position:fixed;top:94px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);width:max-content;z-index:100;background:#172033;color:white;box-shadow:0 10px 35px #10183030;padding:13px 20px;border-radius:12px;font-size:13px;display:flex;align-items:center;gap:12px}.toast.error{background:#a63447}.toast button{background:transparent;min-height:20px;padding:0;color:inherit}.auth-shell{min-height:calc(100vh - 170px);display:grid;grid-template-columns:1fr 440px;gap:90px;align-items:center;max-width:1040px;margin:auto;padding:50px 20px}.auth-story h1{font-size:44px;line-height:1.35}.auth-story p{color:var(--muted);margin:20px 0 25px;max-width:350px}.auth-story .orbit{margin:45px 0 0 40px}.auth-card{padding:34px}.auth-card h1{font-size:27px}.auth-card .subtitle{color:var(--muted);font-size:13px;margin:8px 0 28px}.auth-card form{display:grid;gap:18px}.auth-foot{border-top:1px solid var(--line);padding-top:22px;margin-top:24px;text-align:center;font-size:13px}.password-field{position:relative}.password-field input{padding-right:60px}.password-field button{position:absolute;right:8px;top:7px;padding:8px;min-height:32px;font-size:11px;background:none;color:var(--muted)}.narrow{max-width:760px;margin:auto}.checkout-grid{display:grid;grid-template-columns:1fr 360px;gap:24px;align-items:start}.choice{position:relative;display:flex;gap:12px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:14px;cursor:pointer}.choice:has(input:checked){border-color:var(--blue);background:#f7f8ff}.choice input{accent-color:var(--blue);width:18px;height:18px;flex-shrink:0}.choice small{display:block;margin-top:4px}.receipt{display:grid;gap:14px}.receipt>div{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px}.receipt>div span:first-child{color:var(--muted)}.divider{height:1px;background:var(--line);margin:20px 0}.total{font-size:28px;font-weight:750;letter-spacing:-1px}.sticky-purchase{position:sticky;top:104px}.empty{padding:55px 20px;text-align:center}.empty .tile-icon{margin:0 auto 15px;width:58px;height:58px;border-radius:18px}.empty p{margin:8px 0 20px;color:var(--muted);font-size:13px}.order-row{display:flex;gap:16px;align-items:center}.order-row .order-main{flex:1;min-width:0}.order-row h3{font-size:15px}.order-row small{overflow-wrap:anywhere}.order-row .order-right{text-align:right;flex-shrink:0}.order-right strong{display:block;font-size:19px;margin-bottom:6px}.detail-head{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:20px}.qr-box{background:white;padding:16px;border-radius:18px;border:1px solid var(--line);width:230px;max-width:100%;margin:22px auto}.qr-box svg{display:block;width:100%;height:auto}.copy-field{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:12px 14px;min-width:0}.copy-field code{overflow-wrap:anywhere;min-width:0;flex:1;font-size:12px;color:#556176}.copy-field button{flex-shrink:0}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stat{padding:15px;border-radius:12px;background:var(--bg)}.stat strong{display:block;font-size:19px;margin-top:6px}.stat small{font-size:11px}.danger-text,.error{color:var(--red)!important}.progress{height:7px;border-radius:8px;background:#edf0f6;overflow:hidden;margin:14px 0}.progress>span{display:block;height:100%;background:var(--blue);border-radius:8px}.progress.exhausted>span{background:var(--red)}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:14px}.tabs{display:flex;gap:8px;margin:20px 0;overflow-x:auto;scrollbar-width:none}.tabs a,.tabs button{padding:9px 16px;border-radius:10px;white-space:nowrap;font-size:13px;background:#fff;color:var(--muted);border:1px solid var(--line)}.tabs .active{background:var(--blue);color:white;border-color:var(--blue)}.menu-list{padding:0;overflow:hidden}.menu-item{display:flex;gap:14px;align-items:center;padding:19px 22px;border-bottom:1px solid var(--line)}.menu-item:last-child{border-bottom:0}.menu-item>.icon:last-child{margin-left:auto;color:#a4adbd;width:16px}.menu-item small{display:block;font-size:11px;margin-top:2px}.profile{display:flex;align-items:center;gap:16px;margin-bottom:22px}.profile .avatar{height:58px;width:58px;border-radius:18px;font-size:22px}.profile h2{font-size:19px;overflow-wrap:anywhere}.wallet-hero{background:var(--ink);color:white;padding:28px;border:0}.wallet-hero small{color:#a8b5cb}.wallet-hero .balance-amount{font-size:40px;margin:10px 0}.preset-list{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.preset-list button{background:var(--bg);color:var(--ink);border:1px solid var(--line);min-width:95px}.preset-list button.selected{border-color:var(--blue);color:var(--blue);background:var(--blue-soft)}.ledger-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.ledger-row:last-child{border:0}.positive{color:var(--green)}.announcement{max-width:460px;width:calc(100% - 36px);border:0;padding:28px;border-radius:22px;box-shadow:0 20px 80px #15204430;color:var(--ink)}dialog::backdrop{background:#17203375;backdrop-filter:blur(5px)}.announcement h2{margin:14px 0}.announcement .pre-wrap{color:#606c80;margin-bottom:24px;max-height:50vh;overflow:auto}.admin-shell{display:grid;grid-template-columns:190px 1fr;gap:26px}.admin-side{position:sticky;top:104px;align-self:start;display:grid;gap:6px}.admin-side a{padding:12px 16px;font-size:13px;color:var(--muted);border-radius:11px}.admin-side a.active{background:var(--blue);color:white}.admin-content{min-width:0}.admin-content .card{margin-bottom:18px}.admin-content h3{margin-bottom:18px}.admin-content details>summary{cursor:pointer;font-weight:650;padding:2px 0}.admin-content details[open]>summary{margin-bottom:22px}.inline-record{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}.inline-record:last-child{border:0}.inline-record small{display:block}.pagination{display:flex;gap:14px;justify-content:space-between;margin-top:22px;font-size:13px}.pagination a{color:var(--blue)}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:1000px){.products{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-shell{gap:40px}.auth-story h1{font-size:34px}.hero{grid-template-columns:1fr 220px}.checkout-grid{grid-template-columns:1fr 320px}}
@media(max-width:700px){body{font-size:14px}.topbar{height:64px}.top-inner{padding:0 20px;gap:16px}.brand{font-size:17px;gap:9px}.brand-mark{width:33px;height:33px;border-radius:11px}.desktop-nav{display:none}.header-action .btn{font-size:12px;padding:8px 14px;min-height:35px}.shell{padding:22px 18px 104px}.page-heading{margin-bottom:22px;align-items:start}h1{font-size:26px}h2{font-size:20px}.page-heading p{font-size:12px}.hero{padding:26px 23px;grid-template-columns:1fr;min-height:244px;border-radius:20px;margin-bottom:16px}.hero h1{font-size:30px;position:relative;z-index:2}.hero p{max-width:200px;font-size:12px;position:relative;z-index:2}.hero .eyebrow{font-size:9px}.hero .row{margin-top:20px;position:relative;z-index:2}.hero .btn{min-height:38px;padding:10px 14px;font-size:12px}.hero-art{position:absolute;right:-72px;top:35px;width:205px;opacity:.5}.orbit{width:180px;height:180px}.orbit svg{width:120px;height:120px}.float-chip{display:none}.home-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:26px}.balance-card{grid-column:1/-1;padding:17px 20px;border-radius:16px}.balance-amount{font-size:28px}.quick-card{padding:15px 13px;gap:10px;border-radius:15px}.quick-card h3{font-size:13px}.quick-card p{font-size:10px}.tile-icon{width:35px;height:35px;border-radius:11px}.products{gap:12px}.product{padding:17px 15px;border-radius:17px}.product h3{font-size:16px}.product>.row{align-items:start;gap:5px;flex-wrap:wrap}.product .pill{font-size:9px;padding:3px 6px}.product .quota{font-size:31px;margin:20px 0 16px}.quota span{font-size:12px}.feature-list{font-size:11px;gap:7px;margin-bottom:18px}.product .price{font-size:23px}.product .btn{font-size:12px;min-height:40px;padding:10px}.product footer{padding-top:14px}.description{font-size:11px}.section-title{margin-top:22px}.section-title p{font-size:11px}.section-title .text-link{font-size:11px}.info-banner{font-size:11px;padding:14px 15px;border-radius:13px}.mobile-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;background:#ffffffef;border-top:1px solid var(--line);backdrop-filter:blur(16px);padding:9px 16px max(10px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.mobile-nav a{display:flex;align-items:center;flex-direction:column;gap:4px;color:#929caf;font-size:10px}.mobile-nav .active{color:var(--blue);font-weight:650}.mobile-nav .icon{width:22px;height:22px}.mobile-nav .active .nav-icon{background:var(--blue-soft);border-radius:10px}.nav-icon{padding:4px 16px;display:flex}.footer{font-size:10px;margin-top:30px;gap:12px}.footer span:last-child{display:none}.card{padding:20px;border-radius:17px}.grid,.form-grid{grid-template-columns:1fr;gap:18px}.stats{gap:8px}.stat{padding:12px 10px}.stat strong{font-size:16px}.stat small{font-size:10px}.checkout-grid{grid-template-columns:1fr;gap:18px}.sticky-purchase{position:static}.auth-shell{display:block;padding:18px 0 40px;min-height:unset}.auth-story{display:none}.auth-card{border:none;background:transparent;box-shadow:none;padding:16px 7px}.auth-card h1{font-size:29px}.auth-card .subtitle{margin-bottom:30px}.auth-card form{gap:22px}.auth-page .shell{padding-bottom:40px}.auth-page .footer{display:none}.order-row{gap:10px}.order-row .tile-icon{display:none}.order-row h3{font-size:14px}.order-right strong{font-size:17px}.order-row small{font-size:10px}.detail-head h2{font-size:19px}.qr-box{width:215px}.admin-shell{display:block}.admin-side{position:static;display:flex;overflow:auto;gap:8px;margin-bottom:22px}.admin-side a{white-space:nowrap;background:white;border:1px solid var(--line);padding:9px 13px;font-size:12px}.admin-content .card{padding:18px}.admin-content h3{font-size:16px}.inline-record{align-items:start}.toast{top:75px}.copy-field{padding:10px}.profile h2{font-size:16px}.menu-item{padding:17px 19px}}

.product .price{display:flex;align-items:baseline;gap:2px;flex-wrap:wrap}.product .price small:last-child{white-space:nowrap;letter-spacing:0;font-size:10px}.product .price small:first-child{font-size:13px}@media(max-width:700px){.hero{min-height:220px;padding:22px}.hero h1{font-size:28px}.hero .row{margin-top:15px}.product .price small:last-child{display:block;flex-basis:100%;margin-top:3px}.stat strong[style]{font-size:12px!important;white-space:nowrap}.quick-card p{line-height:1.6}.quick-card{align-items:start}}

/* v0.5: combined delivery on narrow phone screens */
.credential-grid{display:grid;gap:20px;margin:26px 0 10px}.credential-grid label{display:block;font-size:13px;color:var(--muted);margin-bottom:8px}.credential-grid .copy-field{min-width:0}.credential-grid button{flex-shrink:0;white-space:nowrap}.subscription-detail{margin-top:14px;color:var(--muted);font-size:12px}.subscription-detail summary{cursor:pointer}.subscription-detail code{display:block;overflow-wrap:anywhere;margin-top:10px}[hidden]{display:none!important}

/* Administration v0.7: readable records and usable forms on phones. */
.admin-content{min-width:0}.admin-content .card{margin-bottom:20px}.admin-stats{margin:0 0 20px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.admin-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.filter-wide{grid-column:span 2}.admin-filters .form-actions{align-items:end}.admin-record{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:20px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.admin-record:last-of-type{border-bottom:0}.record-main{display:grid;gap:7px;min-width:0}.record-main small,.record-main a{overflow-wrap:anywhere}.record-title{font-size:16px;font-weight:650}.record-value{display:grid;gap:7px;text-align:right;justify-items:end}.record-value strong{font-size:19px}.record-actions{display:grid;gap:12px;text-align:center}.record-actions button.text-link{background:none;color:var(--blue);padding:0;border:0;min-height:32px;box-shadow:none}.record-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px}.break-anywhere{overflow-wrap:anywhere;min-width:0}.pill.red{background:#fef0ee;color:#b33a2e}.manage-form{margin-top:22px;display:block}.manage-form.stack{display:grid}.audit-record{padding:20px 0;border-bottom:1px solid var(--line)}.audit-record:last-of-type{border:0}.audit-record p{margin:8px 0}.audit-record>small{display:block;margin-top:8px}.ledger-record{grid-template-columns:minmax(0,1fr) auto}.ledger-record details{font-size:11px;color:var(--muted)}.admin-content .receipt>div{gap:14px}.admin-content .receipt strong{overflow-wrap:anywhere;text-align:right;min-width:0}.admin-content .detail-head{gap:14px}.admin-content .detail-head h2{overflow-wrap:anywhere}.admin-side{max-height:calc(100vh - 110px);overflow:auto}.admin-stats .stat strong{overflow-wrap:anywhere}
@media(max-width:1000px){.admin-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-record{grid-template-columns:minmax(0,1fr) auto}.record-actions{grid-column:1/-1;display:flex;align-items:center;gap:18px}.admin-content .detail-head{flex-wrap:wrap}}
@media(max-width:700px){.admin-side{max-height:none}.admin-filters{grid-template-columns:1fr;gap:16px}.filter-wide{grid-column:auto}.admin-record{gap:12px;padding:20px 0}.record-title{font-size:14px}.record-value strong{font-size:17px}.record-tags{font-size:11px}.record-main small{font-size:11px}.admin-stats{gap:10px}.admin-content .receipt{font-size:12px}.admin-content .receipt>div{align-items:start}.admin-content .receipt span{flex-shrink:0}.admin-content .receipt strong{max-width:65%}.admin-content .copy-field button{flex-shrink:0}.admin-content .form-actions{flex-wrap:wrap}.admin-content .page-heading{gap:12px}.admin-content .ledger-record{grid-template-columns:1fr}.ledger-record .record-value{text-align:left;justify-items:start}.admin-content .record-value small{font-size:10px}.admin-content .stat strong{font-size:17px}}

.page-heading > .text-link{white-space:nowrap;flex-shrink:0}

/* 0.8: comfortable type, clear credentials and paired light/dark surfaces. */
:root{--font-ui:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei","Noto Sans CJK SC",Arial,sans-serif;--header:#ffffffed;--field-line:#dfe4ee;--hero-bg:#e9edff;--hero-ink:#52617c;--positive-bg:#e9f7f1;--danger-bg:#fff0f2}
body{font-family:var(--font-ui);font-size:16px;line-height:1.7;text-rendering:optimizeLegibility}button,input,select,textarea{font-family:var(--font-ui)}h1,h2,h3{font-weight:700;letter-spacing:0}small{font-size:13px}.muted{line-height:1.7}.field{font-size:14px}.field input,.field select,.field textarea{border-color:var(--field-line)}.topbar,.mobile-nav{background:var(--header)}.brand{min-width:0}.brand-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-action{gap:10px;flex-shrink:0}.theme-control select{border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:13px;min-height:38px;padding:7px 8px;cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hero{background:var(--hero-bg)}.hero p{color:var(--hero-ink)}.balance-card{background:#192b4d;color:#fff}.balance-card .pill{background:#ffffff20;color:#fff}.wallet-hero{background:#192b4d;color:white}.copy-field code{font-family:var(--font-ui);font-size:15px;color:var(--ink);line-height:1.65}.credential-grid{gap:22px;margin-top:26px}.credential-grid label{font-size:14px;font-weight:600;color:var(--muted)}.credential-grid .copy-field{padding:17px 16px;background:var(--bg);border:1px solid var(--line);align-items:center}.credential-grid code{font-size:21px;font-weight:750;color:var(--ink);letter-spacing:.15px;word-break:break-word;overflow-wrap:anywhere}.credential-grid>div:last-child code{font-size:25px;font-variant-numeric:tabular-nums;letter-spacing:1.2px}.credential-grid button{font-size:13px;min-height:40px}.subscription-detail code{font-family:var(--font-ui);font-size:14px}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.integration-card{min-width:0}.admin-content .integration-card{margin:0}.integration-heading{display:flex;gap:14px;margin-bottom:24px;align-items:flex-start}.integration-heading>div{min-width:0}.integration-heading h3{font-size:18px}.integration-heading p{font-size:13px;color:var(--muted);margin-top:5px}.integration-tools{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.integration-tools button{font-size:13px;padding:10px 12px}.integration-card>a{display:block;margin-top:18px}.source-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;font-size:14px!important;line-height:1.7!important}.content-editor{display:grid;gap:14px;min-width:0}.editor-toolbar{display:flex;gap:8px;flex-wrap:wrap}.editor-preview{border:1px solid var(--line);border-radius:14px;background:var(--bg);padding:20px}.editor-preview>small{display:block;margin-bottom:16px}.rich-content{font-size:16px;line-height:1.85;overflow-wrap:anywhere;overflow-x:auto}.rich-content p,.rich-content ul,.rich-content ol,.rich-content blockquote{margin:12px 0}.rich-content h1,.rich-content h2,.rich-content h3,.rich-content h4{margin:22px 0 12px;line-height:1.5}.rich-content img{max-width:100%;height:auto;display:block;margin:16px auto;border-radius:12px}.rich-content a{color:var(--blue);text-decoration:underline}.rich-content table{border-collapse:collapse;width:100%;margin:16px 0}.rich-content th,.rich-content td{border:1px solid var(--line);padding:10px}.rich-content pre{overflow:auto;padding:16px;background:var(--bg);border-radius:10px}.rich-content blockquote{border-left:3px solid var(--blue);padding-left:16px;color:var(--muted)}.rich-content hr{border:0;border-top:1px solid var(--line);margin:20px 0}.announcement{max-height:85dvh;overflow:auto;color:var(--ink);background:var(--surface)}.announcement .rich-content{margin:20px 0;max-height:55dvh;overflow:auto}.inventory-content{font-family:var(--font-ui);font-size:18px;font-weight:650;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg);color:var(--ink);padding:20px;border:1px solid var(--line);border-radius:14px;max-width:100%}.digital-delivery{display:grid;gap:16px;margin-top:20px}.digital-delivery pre{margin:0}.digital-product-icon{margin:20px 0;color:var(--blue);background:var(--blue-soft);width:64px;height:64px;display:grid;place-items:center;border-radius:18px}.digital-product-icon svg{width:32px;height:32px}.ban-action{text-align:left;max-width:260px}.ban-action form{margin-top:16px}.ban-action summary{cursor:pointer;font-size:13px}.info-banner{color:var(--hero-ink)}.pill.green{background:var(--positive-bg);color:var(--green)}.pill.red,.btn.danger,button.danger{background:var(--danger-bg);color:var(--red)}
:root[data-theme=dark]{--bg:#101522;--surface:#1a2233;--ink:#edf2fc;--muted:#a4b2ca;--line:#303b50;--blue:#9aaaff;--blue-soft:#283354;--green:#75ddbd;--red:#ff9ca9;--shadow:0 8px 30px #00000016;--header:#131b2bed;--field-line:#41506b;--hero-bg:#202e4c;--hero-ink:#bdcae5;--positive-bg:#173c36;--danger-bg:#482a35}
[data-theme=dark] .btn:not(.soft):not(.ghost):not(.danger),[data-theme=dark] button:not(.soft):not(.ghost):not(.danger){background:#5366e7;color:#fff}[data-theme=dark] .theme-control select{background:var(--surface)}[data-theme=dark] .tabs a,[data-theme=dark] .tabs button,[data-theme=dark] .admin-side a{background:var(--surface);color:var(--muted)}[data-theme=dark] .tabs .active,[data-theme=dark] .admin-side a.active{background:var(--blue-soft);color:var(--blue)}[data-theme=dark] .product.featured{background:linear-gradient(160deg,#27365a,var(--surface) 70%);border-color:#6678ce}[data-theme=dark] .float-chip{background:var(--surface);color:var(--ink);border-color:var(--line)}[data-theme=dark] .hero .eyebrow,[data-theme=dark] .hero-art svg{color:var(--blue)}[data-theme=dark] .feature-list{color:var(--muted)}[data-theme=dark] .choice:has(input:checked){background:var(--blue-soft)}[data-theme=dark] .tile-icon.warm{background:#483723;color:#f4c58e}[data-theme=dark] .preset-list button{background:var(--surface);color:var(--ink);border-color:var(--line)}[data-theme=dark] .preset-list button.selected{background:var(--blue-soft);color:var(--blue)}[data-theme=dark] .progress{background:var(--line)}[data-theme=dark] .record-actions button.text-link{background:transparent;color:var(--blue)}[data-theme=dark] .password-field button{background:transparent;color:var(--muted)}
@media(max-width:1100px){.integration-grid{grid-template-columns:1fr}}
@media(max-width:700px){.top-inner{gap:10px;padding:0 16px}.brand{font-size:16px;gap:8px;flex:1}.brand-mark{width:32px;height:32px;flex-shrink:0}.brand-mark svg{width:23px;height:23px}.header-action{gap:8px}.header-action .btn{min-height:38px;padding:8px 12px}.theme-control select{max-width:92px;font-size:12px;padding:7px 4px}.avatar{width:32px;height:32px}.card{padding:20px}.credential-grid code{font-size:20px}.credential-grid>div:last-child code{font-size:24px}.credential-grid .copy-field{padding:15px 12px;gap:10px}.credential-grid button{padding:9px 10px;font-size:12px}.stat strong[style]{font-size:14px!important;white-space:normal}.record-main small,.order-row small{font-size:12px}.integration-grid{gap:18px}.integration-heading h3{font-size:18px}.integration-tools{display:grid;grid-template-columns:1fr}.integration-tools button{width:100%}.editor-toolbar{gap:7px}.editor-toolbar button{min-height:38px}.inventory-content{font-size:17px;padding:16px}.ban-action{width:100%;max-width:none}.record-actions{flex-wrap:wrap}.rich-content{font-size:16px}.announcement{width:calc(100vw - 32px)}.product .price small:last-child{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.positive{color:var(--green)}

/* Agent marker setup shares the theme's existing surfaces and typography. */
.prefix-card{margin-bottom:24px;scroll-margin-top:24px}.prefix-card .detail-head{align-items:flex-start;margin-bottom:16px}.prefix-card h2{margin-bottom:8px}.prefix-checkout{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px;background:var(--bg);border-radius:12px;margin-bottom:20px}.prefix-checkout strong{font-size:20px;letter-spacing:.03em;overflow-wrap:anywhere}.prefix-checkout small{flex-basis:100%}.prefix-checkout .text-link{margin-left:auto}

.prefix-card .info-banner{display:block;line-height:1.8;font-size:13px}

/* Desktop administration and compact customer purchase flow. */
.admin-page .shell,.admin-page .top-inner{max-width:1600px}.admin-page .admin-shell{grid-template-columns:188px minmax(0,1fr);gap:28px}.admin-page .mobile-nav{display:none}.admin-page .page-heading{margin-bottom:24px}.admin-page .admin-side{position:sticky;top:104px;align-self:start}.admin-page .admin-side a{border-radius:10px}.admin-page .card{box-shadow:none}.admin-page .stat{border:1px solid var(--line)}
.management-table{width:100%;border-collapse:collapse;font-size:14px}.table-scroll{overflow:auto}.management-table th{font-size:12px;font-weight:600;color:var(--muted);background:var(--bg);text-align:left;padding:13px 16px;white-space:nowrap}.management-table td{padding:18px 16px;border-bottom:1px solid var(--line);vertical-align:middle}.management-table tr:last-child td{border-bottom:0}.management-table tbody tr:hover{background:var(--bg)}.management-table td small{display:block;margin-top:4px}.management-table .align-right{text-align:right}.numeric{font-variant-numeric:tabular-nums}.table-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}.table-actions .text-link,.table-actions .danger-text{font-size:12px}.users-table{min-width:960px}.user-email{font-weight:650;overflow-wrap:anywhere}.users-table td:first-child{max-width:270px}.user-identity{display:flex;gap:16px;align-items:center}.user-identity .avatar{width:48px;height:48px;font-size:21px}.user-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin:26px 0 20px}.user-metrics>div{border-right:1px solid var(--line)}.user-metrics>div:last-child{border:0}.user-metrics small,.user-metrics strong{display:block}.user-metrics strong{font-size:26px;line-height:1.5;font-weight:750;font-variant-numeric:tabular-nums}.user-metrics strong small{display:inline;font-size:13px;font-weight:400}.user-meta{display:flex;flex-wrap:wrap;gap:12px 26px;font-size:12px;color:var(--muted)}.user-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px}.user-main,.user-operations{min-width:0}.user-operations .form-grid{grid-template-columns:1fr}.user-operations .full{grid-column:auto}.user-operations .info-banner{display:block}.user-operations h3{margin-bottom:8px}.user-quicklinks{display:flex;gap:12px;margin-bottom:20px}.plan-table th,.plan-table td{padding-left:12px;padding-right:12px}.plan-table input{width:160px;max-width:100%;min-height:42px;padding:10px 12px;margin:0}.plan-footer{display:flex;gap:18px;justify-content:space-between;align-items:center;margin-top:22px}.plan-footer small{max-width:360px}.plan-footer button{flex-shrink:0}.user-summary .detail-head{align-items:center}.user-main .ledger-record{gap:16px}.overview-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.business-periods{display:grid;grid-template-columns:1fr 1fr;gap:20px}.business-period h3{margin:0}.business-value{font-size:44px;font-weight:750;letter-spacing:-1px;line-height:1.4;margin:18px 0 24px;font-variant-numeric:tabular-nums}.business-value small{font-size:24px;margin-right:5px;color:inherit}.business-today{border-top:3px solid var(--blue)}.business-breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding-top:18px;border-top:1px solid var(--line)}.business-breakdown strong{display:block;font-size:20px;font-variant-numeric:tabular-nums}.business-breakdown strong small{font-size:12px;font-weight:400}.business-liabilities{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.metrics-note{font-size:12px;color:var(--muted);margin-top:18px;line-height:1.7}.store-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 0 26px}.store-heading h1{font-size:28px;margin-bottom:8px}.store-heading p{font-size:14px;color:var(--muted)}.checkout-product{align-self:start}.checkout-product h2{margin:16px 0 8px}.purchase-benefit{display:flex;align-items:center;gap:10px;padding-top:24px;margin-top:24px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.sticky-purchase h3{margin-bottom:22px}.purchase-hint{font-size:13px;color:var(--muted);margin:18px 0 12px}.purchase-button{margin-top:24px}.prefix-example{padding:12px 16px;background:var(--bg);border-radius:12px}.prefix-example small{display:block;margin-bottom:4px}.prefix-example strong{font-size:17px;overflow-wrap:anywhere}
@media(min-width:1100px){.admin-page .admin-filters{grid-template-columns:minmax(240px,2fr) 1fr 1fr 1fr}.admin-page .admin-filters .filter-wide{grid-column:auto}.admin-page .admin-filters .form-actions{grid-column:1/-1}.admin-page .admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));max-width:640px}}
@media(max-width:1100px){.user-workspace{grid-template-columns:1fr}.user-operations{display:grid;grid-template-columns:1fr 1fr;gap:18px}.business-value{font-size:34px}}
@media(max-width:760px){.admin-page .admin-shell{display:block}.admin-page .admin-side{position:static}.user-operations{display:block}.user-metrics{grid-template-columns:1fr 1fr}.business-periods{grid-template-columns:1fr}.business-liabilities{grid-template-columns:1fr}.store-heading h1{font-size:24px}.store-heading p{font-size:12px}.checkout-grid{gap:16px}.prefix-card .row{gap:10px}.prefix-card button{padding-left:16px;padding-right:16px}.plan-footer{flex-wrap:wrap}.user-identity h2{font-size:18px}.user-summary .detail-head{flex-wrap:wrap}}

.plan-table input{border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit}.ledger-table td{padding-top:13px;padding-bottom:13px}.ledger-table td small{font-size:12px}.user-operations #balance-adjustment{scroll-margin-top:100px}

/* 0.11: compact storefront, equal product cards and mobile-safe controls. */
.store-heading{margin:4px 0 16px}.store-heading h1{margin:0}.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.home-shortcuts .card{margin:0;padding:18px;min-height:102px}.home-shortcuts .balance-amount{font-size:28px}.home-shortcuts .quick-card{gap:12px;align-items:center}.home-shortcuts .quick-card h3{font-size:16px}.home-shortcuts .quick-card p{font-size:12px;margin:2px 0 0}.home-shortcuts .tile-icon{width:40px;height:40px;flex-shrink:0}.compact-products{gap:14px;align-items:stretch}.compact-products .product{padding:20px;gap:0;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);transform:none}.product-title,.product .product-title{font-size:28px;font-weight:800;line-height:1.35;color:#8b1a2b;letter-spacing:0;margin:0 0 6px;overflow-wrap:anywhere}.product-meta{font-size:13px;color:var(--muted);line-height:1.5;margin-bottom:10px}.product-copy{font-size:14px;line-height:1.6;margin:0 0 6px}.product-copy:empty{display:none}.product-copy p,.product-copy ul,.product-copy ol,.product-copy blockquote{margin:3px 0}.product-copy ul,.product-copy ol{padding-left:20px}.product-copy li{margin:2px 0}.product-copy h1,.product-copy h2,.product-copy h3,.product-copy h4{margin:5px 0;font-size:18px}.product-copy img{margin:6px 0}.compact-products .product footer{margin-top:auto;padding-top:12px;border-top:0}.compact-products .product .price{font-size:28px;margin:0 0 10px;gap:3px}.compact-products .product .price small:last-child{display:inline;flex-basis:auto;font-size:12px;margin:0}.compact-products .product footer .btn{min-height:40px;padding:9px 12px}.checkout-product .product-copy{margin-top:10px}.home-shortcuts>a{min-width:0}.home-shortcuts h3,.home-shortcuts p{overflow-wrap:anywhere}.domain-input{display:flex;align-items:center;gap:0;border:1px solid var(--field-line);border-radius:12px;background:var(--surface);overflow:hidden;min-width:0}.domain-input input{border:0;border-radius:0;min-width:0;flex:1;margin:0}.domain-input span{padding:0 12px;color:var(--muted);overflow-wrap:anywhere;max-width:65%;font-size:14px}.site-review{display:flex;align-items:center;gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}.site-review>div{flex:1;min-width:0;overflow-wrap:anywhere}.site-review small{display:block}.site-actions{flex-wrap:wrap}.small-help{margin-top:16px;font-size:13px;color:var(--muted)}.delivery-expiry{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.delivery-expiry [data-status-note]:empty{display:none}.delivery-expiry .receipt strong{font-size:15px}.apple-group [data-apple-summary]{font-size:13px;margin:4px 0 12px}.apple-group .copy-field{margin:8px 0}.apple-group .copy-field code{font-size:17px;font-weight:650}.apple-group .copy-field button{flex-shrink:0}.apple-meta{font-size:13px;color:var(--muted);margin:10px 0}.apple-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.apple-actions small{font-size:12px}.apple-actions button{flex-shrink:0}.support-launcher{display:none!important}.narrow>.card+.card{margin-top:14px}.admin-content .form-grid{gap:14px}.admin-content .stack{gap:14px;margin-top:16px}.admin-content .content-editor{gap:10px}.admin-content .content-editor .field{gap:6px}.admin-content .card details>form{margin-top:16px}.admin-content .integration-heading{margin-bottom:16px}.admin-content .integration-tools{margin:14px 0}.admin-content .form-actions{margin-top:16px}.admin-content .card{margin-bottom:16px}.auth-card .subtitle{margin-bottom:18px}.auth-card form{gap:16px}
[data-theme=dark] .product-title{color:#8b1a2b;background:#f4dce2;border-radius:7px;padding:3px 8px;align-self:flex-start;width:fit-content;max-width:100%}
@media(max-width:900px){.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.home-shortcuts .balance-card{grid-column:1/-1}}
@media(max-width:700px){.home-shortcuts{gap:10px;margin-bottom:16px}.home-shortcuts .card{padding:14px;min-height:76px}.home-shortcuts .quick-card{gap:8px}.home-shortcuts .tile-icon{width:32px;height:32px;border-radius:10px}.home-shortcuts .tile-icon svg{width:20px;height:20px}.home-shortcuts .quick-card h3{font-size:14px}.home-shortcuts .quick-card p{font-size:12px}.compact-products{gap:10px}.compact-products .product{padding:14px}.product-title,.product .product-title{font-size:24px}.product-meta{font-size:12px;margin-bottom:8px}.product-copy{font-size:13px;line-height:1.5}.compact-products .product .price{font-size:25px}.compact-products .product .price small:last-child{font-size:11px}.compact-products .product footer{padding-top:8px}.support-launcher{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:0;position:fixed;right:14px;bottom:calc(var(--support-mobile-bottom,100px) + env(safe-area-inset-bottom));z-index:80;width:48px;height:54px;min-height:0;padding:5px;border-radius:15px;box-shadow:0 6px 18px #0003;font-size:11px;line-height:1.3}.support-launcher svg{width:23px;height:23px}.support-launcher[hidden]{display:none!important}.domain-input span{font-size:12px;padding:0 8px}.apple-group .copy-field{flex-wrap:wrap;gap:8px}.apple-group .copy-field code{flex-basis:calc(100% - 90px);min-width:0;overflow-wrap:anywhere}.site-review{flex-wrap:wrap}.delivery-expiry .receipt{font-size:13px}}
/* Standalone visitor gate and administrator login. */
.security-shell{min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:24px 16px}.security-panel{width:min(100%,420px)}.security-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:22px}.security-panel .card{padding:28px}.security-panel h1{font-size:26px;margin:0 0 14px}.security-panel .muted{margin:0 0 20px}.security-theme{display:flex;justify-content:center;margin-top:18px}.security-panel .toast{position:static;transform:none;max-width:none;margin-bottom:18px}.security-panel input{min-width:0}@media(max-width:420px){.security-panel .card{padding:22px}.security-panel h1{font-size:24px}}

/* 0.13: compact, bounded order lists and a visible desktop account entry. */
.account-entry{display:inline-flex;align-items:center;white-space:nowrap}.account-entry-avatar{display:none}.account-entry-label{font-size:14px;min-height:40px;padding:9px 16px}
.order-list.card{padding:0 18px;overflow:hidden}.order-list .compact-order{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 0;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;align-items:center}.order-list .compact-order:last-child{border-bottom:0}.compact-order .order-main h3{font-size:16px;margin:0;line-height:1.45;overflow-wrap:anywhere}.compact-order .order-main small{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.compact-order .order-right{gap:4px}.compact-order .order-right strong{font-size:17px}.compact-order .pill{padding:2px 8px;font-size:11px}.order-warning{grid-column:1/-1;font-size:12px;line-height:1.5;color:var(--red);font-weight:600}
.admin-content .compact-admin-order{padding:10px 0;gap:16px}.compact-admin-order .record-main{gap:2px}.compact-admin-order .record-title{font-size:15px}.compact-admin-order .record-main small{font-size:12px;line-height:1.5}.compact-admin-order .record-value,.compact-admin-order .record-actions{gap:4px}.compact-admin-order .record-value strong{font-size:17px}
.info-banner.delivery-alert,.delivery-alert{color:var(--red);background:var(--danger-bg);border:1px solid currentColor;border-radius:12px;padding:12px 14px;font-weight:650;line-height:1.65}.pagination{gap:10px;margin:16px 0 4px;align-items:center}.pagination a,.pagination .page-disabled{min-width:76px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:10px;border:1px solid var(--line);font-size:14px}.pagination a{background:var(--surface);color:var(--blue)}.pagination .page-disabled{color:var(--muted);opacity:.55}.pagination .page-count{font-size:12px;color:var(--muted);white-space:nowrap}
@media(max-width:700px){.account-entry-label{display:none}.account-entry-avatar{display:grid}.order-list.card{padding:0 13px}.order-list .compact-order{padding:10px 0}.compact-order .order-main h3{font-size:15px}.compact-order .order-right strong{font-size:16px}.pagination{gap:6px}.pagination a,.pagination .page-disabled{min-width:70px;padding:8px 10px}}
/* 0.15: site management and formatted optional explanations */
.site-filters{align-items:end}.site-filters>button{height:44px;align-self:end}.site-request{padding:14px 0;border-bottom:1px solid var(--line)}.site-request:last-of-type{border-bottom:0}.site-request small{display:block;margin-top:5px}.site-manager[open]{min-width:330px;max-width:620px}.management-reason{margin:12px 0;overflow-wrap:anywhere}.site-manager .editor-toolbar{gap:5px}.site-manager textarea{min-height:85px}.site-manager select{min-width:160px}

/* v0.16 branding and recharge result */
.brand-name{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-description{font-size:13px;margin:5px 0 0;line-height:1.5}.payment-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.payment-number{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.payment-state{margin:18px 0;line-height:1.7}.footer{overflow-wrap:anywhere}@media(max-width:600px){.brand-name{max-width:min(38vw,180px)}.payment-actions>*{flex:1 1 140px}}
/* v0.19.1: separated content management and compact announcement. */
.content-tabs{display:flex;gap:6px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin-bottom:22px;flex-wrap:wrap}.content-tabs a{padding:10px 18px;border-radius:10px;font-size:14px;font-weight:650;color:var(--muted)}.content-tabs a.active{background:var(--blue-soft);color:var(--blue)}.content-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 16px}.content-heading h2{font-size:20px}.content-record{padding:16px 20px}.admin-content .content-record{margin-bottom:12px}.content-record summary{overflow-wrap:anywhere}.content-record-title{margin-right:12px}.content-record summary .pill{margin:2px 4px 2px 0}.content-record details[open]>summary{border-bottom:1px solid var(--line);padding-bottom:14px}.content-record .stack{gap:14px}
.announcement{width:min(380px,calc(100vw - 40px));max-width:380px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 16px 60px #10183035}.announcement[open]{display:flex;flex-direction:column}.announcement::backdrop{background:#10182765;backdrop-filter:blur(3px)}.announcement-head{padding:14px 18px 10px;flex:none}.announcement-label{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;font-weight:600}.announcement-close{padding:0;width:32px;min-height:32px;border-radius:9px;background:var(--bg);color:var(--muted);font-size:23px;font-weight:400}.announcement-close:hover{background:var(--blue-soft);color:var(--ink)}.announcement h2{font-size:18px;line-height:1.45;margin:6px 0 0;max-height:20vh;overflow:auto;overflow-wrap:anywhere}.announcement .announcement-body{margin:0;padding:0 18px;min-height:0;max-height:42vh;max-height:42dvh;overflow:auto;overscroll-behavior:contain;font-size:14px;line-height:1.75}.announcement-body>:first-child{margin-top:0}.announcement-body>:last-child{margin-bottom:0}.announcement-body img{max-height:240px;object-fit:contain;margin:10px auto;border-radius:10px}.announcement-body h1,.announcement-body h2,.announcement-body h3{font-size:17px;line-height:1.5;margin:12px 0 8px;max-height:none;overflow:visible}.announcement-foot{padding:14px 18px 16px;flex:none}.announcement-foot button{min-height:40px;padding:9px 16px;border-radius:10px}.announcement-body:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.announcement-foot .announcement-snooze{margin:0 0 12px;font-size:13px;color:var(--muted);cursor:pointer}.announcement-snooze input{flex:none}.announcement-body img[role="button"]{cursor:zoom-in}.announcement-body img[role="button"]:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.announcement-image-viewer{width:min(980px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 20px 80px #10183055;overflow:auto}.announcement-image-viewer[open]{display:flex;flex-direction:column;align-items:center;gap:12px}.announcement-image-viewer::backdrop{background:#101827cf;backdrop-filter:blur(4px)}.announcement-image-toolbar{width:100%;display:flex;justify-content:flex-end}.announcement-image-viewer img{display:block;max-width:100%;width:auto;min-width:min(100%,260px);height:auto;max-height:calc(100dvh - 145px);object-fit:contain;border-radius:8px}.announcement-image-viewer .text-link{padding:4px 10px}
.announcement-frequency-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.announcement-frequency-form .field{min-width:min(100%,230px)}.announcement-frequency-form button{flex:none}@media(max-width:600px){.announcement-frequency-form .field{flex:1 1 100%}.announcement-frequency-form button{width:100%}}
@media(max-width:700px){.content-tabs a{padding:9px 10px;font-size:13px}.content-heading{align-items:flex-start;flex-direction:column;gap:4px}.announcement{width:min(360px,calc(100vw - 40px))}}

/* Public inactive-branch notice: bound rich content on narrow screens. */
.unavailable-panel{max-width:620px;width:100%;min-width:0}.unavailable-panel .card{max-width:100%;min-width:0}.unavailable-panel h1{overflow-wrap:anywhere}.unavailable-content{color:var(--muted);max-width:100%;font-size:14px}.unavailable-content>p:first-child{margin-top:0}.unavailable-content>p:last-child{margin-bottom:0}

/* Order filters: consistent controls and equal columns. */
.admin-page .admin-filters.order-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px;align-items:start}
.admin-page .order-filters>.field{min-width:0;gap:8px;grid-column:auto}
.admin-page .order-filters>.field>input,.admin-page .order-filters>.field>select{height:46px;min-height:46px;max-height:46px;padding:10px 12px;line-height:24px;box-sizing:border-box}
.admin-page .order-filters>.form-actions{grid-column:1/-1;align-items:center;margin-top:2px;gap:16px}
@media(max-width:1099px){.admin-page .admin-filters.order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:699px){.admin-page .admin-filters.order-filters{grid-template-columns:minmax(0,1fr);gap:16px}.admin-page .order-filters>.field>input,.admin-page .order-filters>.field>select{font-size:16px}}

/* Top-up campaigns: concise controls, explicit sources and separate totals. */
.bonus-fieldset{border:0;padding:0;margin:0;min-width:0}.bonus-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.bonus-heading h3{margin:0}.bonus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.bonus-grid>.field{min-width:0;gap:8px}.bonus-grid>.field>input,.bonus-grid>.field>select{height:46px;min-height:46px;width:100%;min-width:0;margin:0;padding:10px 12px;box-sizing:border-box}.bonus-grid>.bonus-full{grid-column:1/-1}.bonus-manual{align-self:center;padding-top:24px}.bonus-rule-note{font-size:13px;color:var(--muted);margin-top:18px}.bonus-switch{position:relative;display:inline-flex;align-items:center;gap:9px;flex-shrink:0;font-size:13px;cursor:pointer}.bonus-switch input[type=checkbox]{position:absolute;width:40px;height:24px;margin:0;opacity:0;z-index:1;cursor:pointer}.bonus-switch-track{width:40px;height:24px;border-radius:20px;background:var(--muted);position:relative;transition:background .15s}.bonus-switch-track:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;background:#fff;border-radius:50%;transition:transform .15s}.bonus-switch input:checked+.bonus-switch-track{background:var(--blue)}.bonus-switch input:checked+.bonus-switch-track:after{transform:translateX(16px)}.bonus-switch input:focus-visible+.bonus-switch-track{outline:3px solid #8292ff;outline-offset:3px}.bonus-fieldset:disabled .bonus-switch{opacity:.55;cursor:not-allowed}.bonus-templates h3{margin-bottom:14px}.bonus-template-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.bonus-template-list button{min-height:44px;padding:10px 12px;white-space:normal}.bonus-campaigns{display:grid;gap:16px}.admin-content .bonus-campaigns>.card{margin:0}.bonus-save{margin-top:20px!important}.admin-page .topup-stats{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}.topup-bonus-offer{color:var(--blue);background:var(--blue-soft);border-radius:10px;padding:10px 12px;font-size:13px;margin:14px 0}.payment-bonus{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;margin:4px 0 12px;color:var(--green)}.payment-bonus span{font-size:12px;color:var(--muted)}
@media(max-width:1000px){.bonus-template-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:699px){.bonus-grid{grid-template-columns:minmax(0,1fr);gap:16px}.bonus-grid>.bonus-full{grid-column:auto}.bonus-grid>.field>input,.bonus-grid>.field>select{font-size:16px}.bonus-manual{padding-top:0}.bonus-heading{gap:12px}.bonus-rule-note{font-size:12px}.bonus-template-list button{font-size:13px}.admin-page .topup-stats{grid-template-columns:1fr}.admin-page .topup-stats .stat{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}}
@media(max-width:360px){.bonus-template-list button{font-size:12px;padding:10px 8px}.bonus-grid input[type=datetime-local]::-webkit-datetime-edit{font-size:14px}}
.payment-bonus strong{color:var(--green)}.records-card [data-record-key] .record-main>.pill{justify-self:start}
.users-table .user-account-line{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0}.users-table .user-account-line .user-email{min-width:0}.users-table .custom-plan-badge{margin:0;flex-shrink:0}
.price-visibility-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;flex-wrap:wrap}.price-visibility-card form{margin-left:auto}.price-visibility-toggle{background:var(--bg);border:1px solid var(--line);color:var(--ink);min-height:42px;padding:7px 12px;border-radius:13px;white-space:nowrap}.price-visibility-toggle:hover{background:var(--blue-soft);color:var(--ink)}.price-switch-track{display:inline-flex;width:37px;height:22px;border-radius:14px;align-items:center;padding:3px;background:#b9c0cf;transition:background .15s}.price-switch-track:after{content:"";display:block;width:16px;height:16px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .15s}.price-visibility-toggle[aria-checked="true"] .price-switch-track{background:var(--blue)}.price-visibility-toggle[aria-checked="true"] .price-switch-track:after{transform:translateX(15px)}.price-hidden{letter-spacing:0}

/* Active top-up offer and local amount estimate. */
.topup-offer-banner{border:1px solid #cdd5ff;border-radius:18px;padding:18px 22px;background:linear-gradient(125deg,#e8edff,#f4f6ff);color:#253b85;min-width:0}.topup-offer-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;font-size:14px}.topup-offer-heading>strong{min-width:0;overflow-wrap:anywhere}.topup-offer-tag{display:inline-flex;padding:3px 8px;flex-shrink:0;border-radius:6px;background:#d8e1ff;color:#29418f;font-size:11px;font-weight:650}.topup-offer-banner.is-holiday .topup-offer-tag{background:#ffedc2;color:#855009}.topup-offer-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;margin-top:10px;font-size:15px}.topup-offer-value>span{min-width:0;overflow-wrap:anywhere}.topup-offer-value b{font-weight:650}.topup-offer-value strong{font-size:30px;line-height:1.2;font-weight:800;color:#304ce6;letter-spacing:-.5px}.topup-estimate{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}.topup-estimate[hidden]{display:none}.topup-estimate>div{min-width:0;display:grid;gap:5px}.topup-estimate>div+div{border-left:1px solid var(--line);padding-left:16px}.topup-estimate span{font-size:12px;color:var(--muted)}.topup-estimate strong{font-size:21px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.topup-estimate [data-topup-gift]{color:var(--muted)}.topup-estimate.has-gift [data-topup-gift]{color:var(--green)}.topup-preview-hint{margin-top:9px;color:var(--muted);font-size:12px}.topup-preview-hint.danger-text{color:var(--red)}.topup-amount-card{min-width:0}
[data-theme=dark] .topup-offer-banner{background:linear-gradient(125deg,#253458,#1d2943);border-color:#4b5f92;color:#d7e1ff}[data-theme=dark] .topup-offer-tag{background:#374b7f;color:#d9e3ff}[data-theme=dark] .topup-offer-banner.is-holiday .topup-offer-tag{background:#574326;color:#ffe0a3}[data-theme=dark] .topup-offer-value strong{color:#b7c6ff}
@media(max-width:700px){.topup-offer-banner{padding:17px 18px}.topup-offer-value{font-size:14px;gap:4px 12px}.topup-offer-value strong{font-size:28px}.topup-estimate{gap:12px;padding:14px}.topup-estimate>div+div{padding-left:12px}.topup-estimate strong{font-size:19px}}
@media(max-width:360px){.topup-estimate{grid-template-columns:1fr;gap:10px;padding:12px}.topup-estimate>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.topup-estimate>div+div{border-left:0;border-top:1px solid var(--line);padding:10px 0 0}.topup-estimate strong{font-size:17px;text-align:right}}

.auth-card .auth-remember{display:inline-flex;align-items:center;gap:10px;min-height:40px;width:fit-content;max-width:100%;font-size:13px;font-weight:550;color:var(--ink);cursor:pointer}.auth-card .auth-remember input[type=checkbox]{flex:none;width:18px;height:18px;margin:0;accent-color:var(--blue);cursor:pointer}.auth-card .auth-remember span{line-height:1.4}
.apple-service-expiry{border:1px solid #93d5b9;background:#effbf4;margin-bottom:16px}.apple-service-expiry small{display:block;color:#30694c;font-size:13px}.apple-service-expiry strong{display:block;font-size:27px;color:#116b4d;line-height:1.35;margin-top:4px}.apple-service-expiry strong span{font-size:12px;font-weight:500;white-space:nowrap}.apple-purchase{margin-top:16px}.apple-purchase h3{margin-bottom:16px}.apple-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 14px}.apple-plan{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:15px;padding:16px}.apple-plan strong{font-size:16px}.apple-plan span{color:var(--blue);font-size:23px;font-weight:750}.apple-plan button{margin-top:auto}.apple-extract-create{margin-top:16px}.apple-extract-create>.stack{margin-top:15px}.apple-extract-result{margin-top:16px;padding:16px;border-radius:15px;background:var(--blue-soft)}.apple-extract-result .copy-field{margin:9px 0}.apple-extract-result code{overflow-wrap:anywhere}.apple-extract-result small{display:block;margin-top:7px}.apple-extract-visitor{max-width:620px;margin:3vh auto}.apple-extract-visitor .stack{margin-top:18px}.apple-extract-credentials{margin-top:20px}.apple-extract-credentials label{display:block;font-weight:650;margin-top:12px}.apple-extract-credentials .copy-field{margin-top:6px}.apple-extract-credentials code{overflow-wrap:anywhere;font-size:17px}.apple-extract-expiry{display:block;margin-top:18px}.apple-service>.card+.card{margin-top:16px}
@media(max-width:700px){.apple-plan-grid{grid-template-columns:1fr}.apple-plan{flex-direction:row;align-items:center}.apple-plan span{margin-left:auto;font-size:19px}.apple-plan button{margin:0}.apple-service-expiry strong{font-size:22px}.apple-extract-credentials .copy-field{flex-wrap:wrap}}
.admin-content .apple-price-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.admin-content .apple-price-grid{grid-template-columns:1fr}}
[data-theme=dark] .apple-service-expiry{background:#18382e;border-color:#346f59}[data-theme=dark] .apple-service-expiry small,[data-theme=dark] .apple-service-expiry strong{color:#a5edca}

/* Apple ID service: readable plan cards at desktop and phone widths. */
.apple-service,.apple-extract-visitor{min-width:0}
.apple-service .page-heading,.apple-extract-visitor .page-heading{margin-bottom:18px}
.apple-service .page-heading h1,.apple-extract-visitor .page-heading h1{font-size:clamp(25px,4vw,32px)}
.apple-service h2,.apple-extract-visitor h2{font-size:20px;line-height:1.35}
.apple-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;margin-bottom:16px}
.apple-section-head h2{margin:0}
.apple-section-head p{margin-top:4px;font-size:13px;color:var(--muted)}
.apple-gate{display:grid;justify-items:start;gap:14px;padding:30px}
.apple-gate p{color:var(--muted);font-size:14px}
.apple-gate .btn{min-width:126px}
.apple-service .apple-purchase{margin-top:0}
.apple-service .apple-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.apple-service .apple-plan{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:10px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 4px 15px #1b286008}
.apple-service .apple-plan-name{display:block;min-width:0;color:var(--ink);font-size:17px;font-weight:700}
.apple-service .apple-plan-price{display:block;margin:0;color:var(--blue);font-size:27px;line-height:1.2;font-weight:800;letter-spacing:-.5px;white-space:nowrap;font-variant-numeric:tabular-nums}
.apple-service .apple-plan-buy{width:100%;margin:8px 0 0;min-height:40px}
.apple-plan-empty{grid-column:1/-1;color:var(--muted)}
.apple-plan-footer{margin-top:14px}
.apple-service .apple-service-expiry{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:20px 24px;margin:0 0 22px;background:#effbf4;border-color:#93d5b9}
.apple-service .apple-expiry-label{flex-basis:100%;font-size:13px;font-weight:650;color:#30694c}
.apple-service .apple-service-expiry strong{margin:0;font-size:27px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.apple-service .apple-service-expiry small{font-size:12px}
.apple-account-section{min-width:0;margin-top:22px}
.apple-use-note{margin-bottom:14px}
.apple-account-list{gap:12px}
.apple-service .apple-extract-create,.apple-service .apple-renew,.apple-service .apple-bills{margin-top:18px}
.apple-extract-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.apple-extract-form>.field{min-width:0}
.apple-extract-form>button{grid-column:1/-1}
.apple-custom-copy{margin:0 0 18px;padding:14px 17px;border:1px solid var(--line);border-radius:12px;background:var(--bg);font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.apple-custom-copy>*+*{margin-top:9px}
.apple-custom-copy ul,.apple-custom-copy ol{padding-left:20px}
.apple-custom-copy img,.apple-custom-copy table{max-width:100%}
.apple-custom-copy img{height:auto}
.apple-custom-copy pre,.apple-custom-copy table{overflow-x:auto}
.apple-extract-result{min-width:0}
.apple-extract-result .copy-field{min-width:0}
.apple-extract-result .copy-field code{min-width:0;white-space:normal;overflow-wrap:anywhere}
.apple-service .apple-bills h2{margin-bottom:14px}
.apple-extract-visitor{max-width:620px;margin:3vh auto}
.apple-extract-panel{min-width:0}
.apple-extract-panel .stack{margin-top:18px}
.apple-extract-panel .stack button{width:100%}
.apple-extract-panel .apple-custom-copy{margin-top:16px}
.apple-extract-credentials{margin-top:20px}
.apple-extract-credentials .copy-field{min-width:0}
.apple-extract-credentials .copy-field code{min-width:0;overflow-wrap:anywhere}
.apple-extract-unavailable{margin-top:16px}
.apple-extract-expiry{display:block;padding-top:16px;margin-top:22px;border-top:1px solid var(--line)}
@media(max-width:700px){
 .apple-service .apple-plan-grid{grid-template-columns:1fr}
 .apple-service .apple-plan{grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:16px 17px;align-items:center}
 .apple-service .apple-plan-name{grid-column:1;grid-row:1;font-size:16px}
 .apple-service .apple-plan-price{grid-column:1;grid-row:2;font-size:22px}
 .apple-service .apple-plan-buy{grid-column:2;grid-row:1/3;width:auto;min-width:88px;margin:0;padding:9px 14px}
 .apple-service .apple-service-expiry{padding:19px}
 .apple-service .apple-service-expiry strong{font-size:23px}
 .apple-section-head{align-items:flex-start;flex-wrap:wrap}
 .apple-extract-form{grid-template-columns:1fr}
 .apple-extract-form>button{grid-column:1}
 .apple-extract-result .copy-field,.apple-extract-credentials .copy-field{display:flex;flex-wrap:wrap}
 .apple-extract-result .copy-field code,.apple-extract-credentials .copy-field code{flex:1 1 100%}
 .apple-gate{padding:23px}
}
[data-theme=dark] .apple-service .apple-service-expiry{background:#18382e;border-color:#346f59}
[data-theme=dark] .apple-service .apple-expiry-label{color:#a5edca}
[data-theme=dark] .apple-service .apple-plan{background:var(--surface);box-shadow:none}
.apple-admin-mode-card .apple-mode-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.apple-admin-mode-card .apple-mode-choice{display:flex;align-items:center;gap:13px;min-width:0;padding:16px 17px;border:1px solid var(--line);border-radius:15px;background:var(--bg);cursor:pointer}
.apple-admin-mode-card .apple-mode-choice:hover{border-color:#a8b4f9}
.apple-admin-mode-card .apple-mode-choice input[type=checkbox]{appearance:none;position:relative;flex:none;width:40px;height:24px;margin:0;border-radius:999px;background:#abb5c8;transition:background .15s;cursor:pointer}
.apple-admin-mode-card .apple-mode-choice input[type=checkbox]:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #18233c33;transition:transform .15s}
.apple-admin-mode-card .apple-mode-choice input[type=checkbox]:checked{background:var(--blue)}
.apple-admin-mode-card .apple-mode-choice input[type=checkbox]:checked:after{transform:translateX(16px)}
.apple-admin-mode-card .apple-mode-choice input[type=checkbox]:focus-visible{outline:3px solid #8292ff;outline-offset:3px}
.apple-admin-mode-card .apple-mode-choice span{display:grid;gap:2px;min-width:0}
.apple-admin-mode-card .apple-mode-choice strong{font-size:15px;line-height:1.35}
.apple-admin-mode-card .apple-mode-choice small{font-size:12px;line-height:1.4;color:var(--muted)}
.apple-admin-mode-card [data-apple-balance-field][hidden]{display:none!important}
@media(max-width:700px){.apple-admin-mode-card .apple-mode-choices{grid-template-columns:1fr}}
@media(max-width:360px){
 .apple-service .apple-plan{grid-template-columns:1fr}
 .apple-service .apple-plan-name,.apple-service .apple-plan-price,.apple-service .apple-plan-buy{grid-column:1;grid-row:auto}
 .apple-service .apple-plan-buy{width:100%;margin-top:8px}
}

/* v0.25.2: a compact renewal panel that starts closed on every visit. */
.apple-service .apple-renew{padding:0;overflow:hidden}
.apple-renew-toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px;cursor:pointer;list-style:none;font-size:19px;font-weight:700}
.apple-renew-toggle::-webkit-details-marker{display:none}
.apple-renew-toggle-hint{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-size:13px;font-weight:600;white-space:nowrap}
.apple-renew-open-label{display:none}
.apple-renew-chevron{font-size:22px;line-height:1;transition:transform .18s}
.apple-renew[open] .apple-renew-toggle{border-bottom:1px solid var(--line)}
.apple-renew[open] .apple-renew-open-label{display:inline}
.apple-renew[open] .apple-renew-closed-label{display:none}
.apple-renew[open] .apple-renew-chevron{transform:rotate(180deg)}
.apple-renew-content{padding:20px 24px 24px}
.apple-extract-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.apple-extract-heading h2{min-width:0;overflow-wrap:anywhere}
.apple-extract-refresh{flex:none;margin:0}
.apple-extract-refresh button{min-height:36px;padding:8px 13px;font-size:12px;white-space:nowrap}
.apple-extract-expiry{color:var(--muted);font-size:13px}
.apple-extract-expiry strong{color:#cf2438;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
[data-theme=dark] .apple-extract-expiry strong{color:#ff6b7d}
@media(max-width:700px){.apple-renew-toggle{padding:18px 19px}.apple-renew-content{padding:18px 19px 20px}}
@media(max-width:360px){.apple-extract-heading{align-items:flex-start}.apple-extract-refresh button{min-width:72px;padding:8px}}

/* v0.25.3: one compact line for each generated value and its copy action. */
.apple-service .apple-share-result{padding:18px 20px 15px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
.apple-share-title{display:block;font-size:16px;line-height:1.4;color:var(--ink);margin-bottom:8px}
.apple-share-field{padding:12px 0;min-width:0}
.apple-share-field+.apple-share-field{border-top:1px solid var(--line)}
.apple-share-key{display:block;color:var(--muted);font-size:12px;font-weight:600;margin-bottom:5px}
.apple-share-value-row{display:flex;align-items:center;gap:10px;min-width:0}
.apple-share-value{flex:1 1 auto;min-width:0;color:var(--ink);font-size:16px;font-weight:750;line-height:1.5;overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums}
.apple-share-copy{flex:0 0 auto;min-width:58px;min-height:34px;padding:6px 10px;border:1px solid #cbd3ff;border-radius:9px;background:var(--blue-soft);color:var(--blue);font-size:12px;font-weight:700;white-space:nowrap}
.apple-share-copy:hover{background:#dfe5ff;color:#263ac9}
.apple-share-expiry{margin-top:3px;padding-top:12px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.apple-share-expiry strong{color:var(--ink);font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
@media(max-width:700px){.apple-service .apple-share-result{padding:16px}.apple-share-value{font-size:15px}}
[data-theme=dark] .apple-share-copy:hover{background:#394b99;color:#fff}
.apple-active-links{display:grid;gap:14px;margin-top:16px}.apple-active-links .apple-extract-result{margin-top:0}.apple-share-unavailable{margin:6px 0;color:#ba2a36;font-size:13px;font-weight:700}
.apple-extract-form[hidden]{display:none}
.apple-share-password-reset{padding:12px 0;border-top:1px solid var(--line)}.apple-share-password-reset input{flex:1 1 auto;min-width:0;min-height:42px;border:1px solid var(--line);border-radius:10px;padding:8px 11px;background:var(--surface);color:var(--ink)}.apple-share-password-reset button{flex:0 0 auto;white-space:nowrap}.apple-share-password-reset+.apple-share-expiry{margin-top:0}
.payment-launch-return{display:block;margin-top:16px;text-align:center}
