/* HOLDERCARD Lab V7 — UI derived from the original Smart Order theme above.
   Existing colour tokens, Montserrat, modest radii, gold actions.
   This preview deliberately redesigns only the entry/workspace navigation. */
:root{color-scheme:dark;font:400 16px/1.5 Montserrat,Arial,sans-serif}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;min-width:0;background:var(--hc-bg,#08192c);color:var(--hc-text,#f9f7f1)}
button,input{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
p{color:var(--hc-muted,#bfd1df);margin:0}
h1,h2,h3{font-weight:500;line-height:1.25;margin:0}
svg{display:block}
:focus-visible{outline:2px solid var(--hc-accent,#f89d06);outline-offset:3px}
.topbar{height:66px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 clamp(18px,3vw,44px);border-bottom:1px solid #39526b;background:#08192c}
.logo{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:600;letter-spacing:.095em;white-space:nowrap}
.logo .spark{height:27px;width:27px;display:grid;place-items:center;background:#f89d06;border-radius:4px;color:#08192c;flex:none}
.logo .spark svg{height:18px;width:18px;stroke-width:2}
.logo em{font-size:11px;color:#f89d06;font-style:normal;letter-spacing:.12em;margin-left:2px}
.header-tools{display:flex;align-items:center;gap:21px}
.header-tools a:not(.primary){font-size:14px;font-weight:500;color:#c7d5e1}
.header-tools a:not(.primary):hover{color:#fff}
.btn{min-height:44px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #617791;border-radius:5px;background:#102b43;color:#f9f7f1;font-size:14px;font-weight:500;white-space:nowrap;transition:background .15s,border .15s}
.btn:hover{background:#1b3c57;border-color:#f89d06}
.btn.primary{border-color:#f89d06;background:#f89d06;color:#08192c;font-weight:600}
.btn.primary:hover{background:#ffb52e;border-color:#ffb52e}
.btn.textual{border-color:transparent;background:transparent;padding:7px 0;color:#f6b350}
.btn.textual:hover{color:#ffcf80}
.btn.icononly{width:44px;min-width:44px;padding:9px}
.btn svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.container{width:min(1400px,100%);margin:0 auto;padding:0 clamp(19px,3.1vw,48px)}
.viewport{min-height:calc(100dvh - 66px);display:flex;flex-direction:column}
.intro{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:clamp(30px,4.6vh,53px) 0 26px}
.intro .eyebrow{display:flex;align-items:center;gap:8px;color:#e6b365;font-size:11px;letter-spacing:.11em;font-weight:600;margin-bottom:13px;text-transform:uppercase}
.intro .eyebrow:before{content:"";height:7px;width:7px;background:#f89d06;border-radius:50%}
.intro h1{font-size:clamp(26px,2.5vw,34px);letter-spacing:-.035em;margin:0 0 10px}
.intro p{font-size:16px;line-height:1.55;max-width:710px}
.intro .intro-note{font-size:12px;color:#a7bfd0;white-space:nowrap;margin-bottom:4px}
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.tile{border:1px solid #43607b;border-radius:7px;background:#102b43;padding:clamp(20px,2.3vw,29px);min-height:300px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;position:relative;overflow:hidden;color:#f9f7f1;transition:border-color .18s,background .18s,transform .18s}
.tile:hover{border-color:#f89d06;background:#15344c;transform:translateY(-2px)}
.tile:focus-visible{outline-offset:1px}
.tile .art{width:103px;height:103px;display:grid;place-items:center;margin:-7px 0 auto -8px}
.tile .art img{height:100%;width:100%;object-fit:contain}
.tile h2{font-size:clamp(20px,1.9vw,25px);font-weight:500;margin:15px 0 8px;letter-spacing:-.025em}
.tile p{font-size:15px;line-height:1.5;min-height:46px;color:#c6d5e0;max-width:300px}
.tile .foot{margin-top:18px;padding-top:15px;display:flex;align-items:center;justify-content:space-between;width:100%;border-top:1px solid #354d62;color:#e9b76d;font-size:13px;font-weight:500}
.tile .foot svg{width:21px;height:21px;stroke:#f89d06;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tile:last-child{background:#112c43}
.tile:last-child:hover{background:#15344c}
.after{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 0;margin-top:16px;border-top:1px solid #334a61}
.after .info{font-size:14px;color:#b7cbdb}
.after .info strong{color:#f9f7f1;font-weight:500}
.after .lineactions{display:flex;align-items:center;gap:12px}
.statebar{margin-top:auto;padding:13px 0 19px;display:flex;justify-content:space-between;gap:15px;align-items:center;color:#829bb0;border-top:1px solid #20384c;font-size:12px}
.statebar span:last-child{color:#aabfce}
.view-top{padding:19px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.breadcrumb{display:flex;align-items:center;gap:10px;color:#96aec0;font-size:13px}
.breadcrumb strong{color:#f9f7f1;font-weight:500}
.view-top .btn{min-height:39px;font-size:13px}
.workspace{min-height:min(720px,calc(100dvh - 171px));border:1px solid #476079;background:#0b2138;border-radius:7px;display:flex;flex-direction:column;overflow:hidden}
.tabs{display:flex;align-items:center;gap:5px;padding:10px 12px 0;background:#0b2138;border-bottom:1px solid #997634}
.tabs button{min-height:45px;padding:10px clamp(10px,2vw,19px);border:1px solid #48647c;border-bottom:0;border-radius:6px 6px 0 0;background:#102b43;color:#b8cadd;font-size:14px;font-weight:500;display:flex;align-items:center;gap:8px}
.tabs button:hover{border-color:#f89d06;color:#f8f6f1}
.tabs button[aria-selected=true]{background:#15334c;border-color:#c0913a;color:#ffbf56}
.tabs .tabicon{width:20px;height:20px}
.tabs .tabicon img{height:100%;width:100%}
.workspace-main{flex:1;display:flex;min-height:470px;background:#102b43}
.work-area{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;padding:30px;position:relative}
.work-area:after{position:absolute;inset:14px;content:"";border:1px dashed #ffffff0b;pointer-events:none}
.tool-intro{max-width:535px;text-align:center;display:flex;flex-direction:column;align-items:center;z-index:1}
.tool-intro img{width:124px;height:124px;margin-bottom:18px}
.tool-intro h2{font-size:26px;margin-bottom:10px;letter-spacing:-.028em}
.tool-intro p{font-size:15px;line-height:1.65;max-width:450px;margin-bottom:21px}
.work-inspector{width:244px;flex:none;border-left:1px solid #38546a;padding:20px;background:#0b263e}
.work-inspector h3{font-size:17px;margin-bottom:10px}
.work-inspector p{font-size:13px;line-height:1.6}
.work-inspector .btn{margin-top:19px;width:100%;font-size:13px;white-space:normal}
.work-inspector .tag{color:#9eb8c9;font-size:11px;margin-bottom:13px}
.workspace-bottom{border-top:1px solid #38546a;font-size:11px;color:#abc2d3;padding:10px 16px}
.content-title{font-size:22px;letter-spacing:-.02em;margin:0 0 9px}
.content-sub{font-size:14px;margin-bottom:20px}
.work-picks{padding:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;align-items:start}
.pick{border:1px solid #425d76;background:#102b43;border-radius:6px;padding:20px;text-align:left;display:flex;flex-direction:column;align-items:start;color:#f8f8f1;min-height:195px}
.pick:hover{border-color:#f89d06;background:#163852}
.pick img{height:67px;width:67px;margin-bottom:14px}
.pick strong{font-size:18px;font-weight:500;margin-bottom:6px}
.pick span{color:#b8ccdc;font-size:13px;line-height:1.5}
.simple-cols{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:19px;align-items:start}
.simple-card{border:1px solid #45617a;border-radius:6px;background:#0c263e;padding:21px}
.simple-card h3{font-size:19px;margin-bottom:10px}
.simple-card p{font-size:14px}
.simple-card ul{list-style:none;padding:0;margin:13px 0 20px}
.simple-card li{padding:9px 0;border-top:1px solid #334c62;font-size:14px;color:#c8d6e2}
.plan-row{width:100%;min-height:86px;display:flex;align-items:center;gap:13px;border:1px solid #4b6680;background:#102b43;border-radius:6px;padding:13px 17px;text-align:left;color:#f8f6f1;margin-bottom:9px}
.plan-row:hover,.plan-row[aria-selected=true]{border-color:#f89d06;background:#163850}
.plan-row .price{color:#f89d06;font-size:22px;font-weight:500;min-width:75px}
.plan-row .benefit{display:block;color:#bacbdb;font-size:13px;margin-top:5px}
.plan-row strong{font-size:16px;font-weight:500}
.notice{padding:13px 17px;background:#122d45;border-top:1px solid #334a60;font-size:13px;color:#bbcedd}
.modal{padding:24px;background:#102b43;color:#f9f7f1;border:1px solid #647a91;border-radius:7px;box-shadow:0 24px 60px #000a;width:min(490px,calc(100vw - 26px))}
.modal::backdrop{background:#0009}
.modal h2{font-size:23px;margin-bottom:9px}
.modal p{font-size:14px;line-height:1.65;margin:0 0 18px}
.modal .actions{display:flex;gap:10px;flex-wrap:wrap}
.modal .close{position:absolute;right:10px;top:8px;background:transparent;border:0;color:#c9d3db;font-size:25px;line-height:1;cursor:pointer}
.mobile-subnav{display:none}
@media(max-width:900px){
 .tiles{gap:10px}.tile{padding:19px;min-height:277px}.tile .art{width:85px;height:85px}
 .tile h2{font-size:20px}.tile p{font-size:13px}.header-tools{gap:10px}
 .work-inspector{width:205px}.simple-cols{grid-template-columns:1fr}
}
@media(max-width:680px){
 .topbar{height:59px;padding:0 13px}.logo{font-size:15px;gap:7px;letter-spacing:.07em}.logo .spark{width:25px;height:25px}
 .logo em{font-size:10px}.header-tools{gap:6px}.header-tools>a:not(.primary){font-size:12px}.header-tools .btn{padding:9px 12px;min-height:39px;font-size:12px}
 .container{padding:0 13px}.viewport{min-height:calc(100dvh - 59px)}
 .intro{padding:25px 0 20px;align-items:start;gap:8px}.intro h1{font-size:25px}.intro p{font-size:14px}
 .intro .intro-note{display:none}
 .tiles{grid-template-columns:1fr;gap:10px}
 .tile{min-height:125px;padding:16px;display:grid;grid-template-columns:88px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:15px;align-items:center}
 .tile .art{grid-row:1/4;width:83px;height:83px;margin:0}
 .tile h2{margin:0 0 4px;font-size:18px}.tile p{font-size:13px;min-height:0}
 .tile .foot{margin:5px 0 0;border:0;padding:0;font-size:12px}.tile .foot svg{height:17px;width:17px}
 .after{margin-top:11px;gap:6px;align-items:start;flex-direction:column;padding:15px 0}.after .info{font-size:12px}.after .lineactions{width:100%}
 .statebar{font-size:10px;padding:9px 0}.statebar span:last-child{display:none}
 .view-top{padding:13px 0}.workspace{min-height:calc(100dvh - 132px)}
 .tabs{gap:3px;padding:7px 6px 0}.tabs button{font-size:12px;min-height:43px;padding:8px 9px;gap:4px}.tabs .tabicon{width:17px;height:17px}
 .workspace-main{flex-direction:column;min-height:390px}.work-area{min-height:350px;padding:15px}.tool-intro img{width:95px;height:95px;margin-bottom:12px}.tool-intro h2{font-size:22px}.tool-intro p{font-size:13px}
 .work-inspector{width:100%;padding:12px;border-left:0;border-top:1px solid #38546a;display:none}
 .work-picks{grid-template-columns:1fr;padding:10px}.pick{min-height:100px;display:grid;grid-template-columns:67px 1fr;gap:0 12px;padding:12px}.pick img{height:63px;width:63px;grid-row:1/3;margin:0}.pick strong{font-size:16px}.pick span{font-size:12px}
 .simple-cols{padding:10px}.simple-card{padding:16px}
 .content-title{font-size:19px}.content-sub{font-size:13px}
 .notice{font-size:12px}
}
@media(max-width:370px){.logo{font-size:13px}.header-tools>a:not(.primary){display:none}.tile{grid-template-columns:75px minmax(0,1fr)}.tile .art{height:75px;width:75px}.tabs button{font-size:11px;padding:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:0.01ms!important}}

.tabs .more{margin-left:auto;min-height:40px;align-self:center;border-radius:5px;border:1px solid #496680;background:#0f2841;color:#cad6e1;padding:7px 12px;font-size:12px}
.tabs .more:hover,.tabs .more[aria-pressed=true]{border-color:#f89d06;color:#f89d06}
@media(max-width:680px){.tabs .more{font-size:0;width:36px;min-width:36px;padding:7px}.tabs .more:before{content:'⚙';font-size:17px}}
