/* VisionVix Mini 3D Calculators: accountancy set. Sits on top of the mini calculator theme (body.mc2). */
body.acc .hero p{margin:0}
/* three steps */
.acc-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.acc-steps>div{background:#fff;border:1px solid #e2e6f0;border-radius:16px;padding:18px 20px;box-shadow:0 1px 8px rgba(0,0,0,.06)}
.acc-steps i{display:block;font-style:normal;font-size:1.3rem;margin-bottom:10px}
.acc-steps b{display:block;font-size:.9rem;font-weight:700;color:#1a1e2e;margin-bottom:5px}
.acc-steps span{font-size:.78rem;color:#66758c;line-height:1.55}
/* currency switch */
.acc-cur{display:flex;align-items:center;gap:6px;margin:0 0 14px}
.acc-cur>span{font-size:.78rem;color:#6b7690;margin-right:6px}
.acc-cur button{border:0;padding:5px 13px;border-radius:8px;font:700 .85rem 'DM Sans',sans-serif;background:#eef1f6;color:#44506a;cursor:pointer}
.acc-cur button[aria-pressed=true]{background:#14204a;color:#fff}
.acc-cur button:focus-visible,.acc-btn:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
body.acc .inp-group[hidden],body.acc .inputs-row[hidden]{display:none!important}
body.acc .inp-wrap select{width:100%}
body.acc .sl-group label{display:flex;justify-content:space-between;gap:10px}
body.acc .sl-group label span{font-family:'DM Mono',monospace;font-weight:700;color:#14204a}
/* what-if block under the inputs, and the feature cards */
.acc-wf{border-top:1px solid #e6e9f0;margin-top:26px;padding-top:20px}
.acc-wf .sl-group{margin-bottom:6px}
.acc-wf .sl-group label{font-weight:700;color:#14204a;font-size:.92rem}
.acc-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:9px 0;border-top:1px solid #e6e9f0;font-size:.92rem;color:#3b4660;line-height:1.4}
.acc-row b{color:#14204a;text-align:right;font-weight:700}
.acc-dyn>.acc-row:first-child,.acc-two>.acc-row:nth-child(-n+2){border-top:0}
.acc-p{margin:10px 0 0;font-size:.88rem;color:#4a5670;line-height:1.55}
.acc-dyn>.acc-p:first-child{margin-top:0}
.acc-p a{color:#1d4fb8;font-weight:600}
.acc-two{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}
.acc-fin{margin-bottom:8px}
.acc-fin .inputs-row{margin-bottom:8px}
.acc-note{margin:10px 0 0;font-size:.78rem;color:#66758c}
/* result card */
body.acc .mc .vv-r3d-stage{height:460px;aspect-ratio:auto;min-height:0;flex:none;background:#f4f5f7;border-radius:0;border:0;margin:0 -18px;position:relative;overflow:hidden}
body.acc .mc .vv-r3d{margin-top:4px}
body.acc .mc-head{flex-wrap:wrap}
body.acc .mc-head .mc-res{margin-left:auto;text-align:right}
body.acc .mc-head .mc-num{font-size:1.7rem;margin:0;text-align:right;letter-spacing:-.5px;white-space:nowrap}
body.acc .mc-head .mc-num.long{font-size:1.3rem}
body.acc .mc-head .mc-cap{margin:4px 0 0;text-align:right;font-size:.64rem;letter-spacing:1.5px}
.acc-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.acc-l{position:absolute;left:0;top:0;white-space:nowrap;font:800 13.5px/1.2 'DM Sans',-apple-system,'Segoe UI',sans-serif;color:#14204a;text-shadow:0 0 4px #f4f5f7,0 0 4px #f4f5f7,0 0 6px #f4f5f7;will-change:transform}
.acc-l.s{font-size:12.5px;font-weight:700}
.acc-l.m{font-size:12px;font-weight:600;color:#5a6680}
.acc-l.inv{text-shadow:none}
.acc-off{margin:0;padding:40px 24px;text-align:center;color:#4a5670;font-size:.9rem}
.acc-scrub{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.94);border:1px solid #dfe4ee;font:600 .76rem 'DM Sans',sans-serif;color:#4a5670;z-index:2}
.acc-scrub input{width:120px;margin:0}
.acc-scrub b{color:#14204a;min-width:68px}
body.acc .vv-r3d-bar{flex-wrap:wrap;row-gap:10px}
body.acc .vv-r3d-cap{flex:1 1 220px;line-height:1.45}
.acc-btn{flex:none;border:1px solid #cfd6e4;background:#fff;color:#14204a;border-radius:9px;padding:8px 14px;font:700 .82rem 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap}
.acc-btn:hover{background:#f4f6fb}
.acc-btn.gold{background:#e8b23a;border-color:#e8b23a;color:#1c1503}
.acc-btn.gold:hover{background:#dfa62a}
.acc-cmp{margin-top:14px;border:1px solid #e3e7ef;border-radius:14px;padding:6px 14px 12px;font-size:.86rem}
.acc-cmp-h,.acc-cmp-r{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:10px;padding:8px 0;align-items:baseline}
.acc-cmp-h{font-size:.68rem;letter-spacing:1px;text-transform:uppercase;color:#66758c}
.acc-cmp-r{border-top:1px solid #e6e9f0;color:#3b4660}
.acc-cmp b{text-align:right;color:#14204a}
.acc-cmp-h b{color:#66758c;font-weight:700}
/* status box: good, warn, bad */
body.acc .mc-status{--c:#1f9d55}
body.acc .mc-status[data-k=warn]{--c:#d99a1c;background:#fdf5e1}
body.acc .mc-status[data-k=bad]{--c:#c2412f;background:#fdecea}
body.acc .mc-status .mc-tick b{color:#fff;font:800 17px/1 'DM Sans',sans-serif;display:none}
body.acc .mc-status[data-k=bad] .mc-tick svg,body.acc .mc-status[data-k=warn] .mc-tick svg{display:none}
body.acc .mc-status[data-k=bad] .mc-tick b,body.acc .mc-status[data-k=warn] .mc-tick b{display:block}
/* guide under the tool */
.acc-guide{margin-top:16px;padding:26px 28px}
.acc-guide h2{font-size:1.25rem;font-weight:800;color:#101c3f;margin:0 0 10px;letter-spacing:-.3px}
.acc-guide h3{font-size:1rem;font-weight:800;color:#101c3f;margin:22px 0 8px}
.acc-guide p,.acc-guide li{font-size:.93rem;color:#3b4660;line-height:1.65}
.acc-guide p{margin:0 0 10px}
.acc-guide ul{margin:0 0 10px;padding-left:20px}
.acc-guide .acc-formula{font-family:'DM Mono',monospace;font-size:.88rem;background:#f4f6fb;border:1px solid #e2e6f0;border-radius:10px;padding:10px 14px;color:#14204a;overflow-x:auto}
.acc-guide table{width:100%;border-collapse:collapse;margin:6px 0 12px;font-size:.9rem}
.acc-guide th,.acc-guide td{text-align:left;padding:8px 10px;border-bottom:1px solid #e6e9f0;color:#3b4660}
.acc-guide th{font-size:.72rem;letter-spacing:.8px;text-transform:uppercase;color:#66758c}
.acc-guide td:last-child,.acc-guide th:last-child{text-align:right;font-weight:700;color:#14204a}
.acc-guide a{color:#1d4fb8;font-weight:600}
/* share panel */
html.acc-lock{overflow:hidden}
.acc-sh{position:fixed;inset:0;z-index:99980;background:rgba(8,16,40,.55);display:grid;place-items:center;padding:16px;overflow:auto}
.acc-sh[hidden]{display:none}
.acc-sh-in{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;width:min(880px,100%);background:#fff;border-radius:20px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.35);font-family:'DM Sans',sans-serif}
.acc-sh-x{position:absolute;right:12px;top:10px;width:36px;height:36px;border-radius:50%;border:0;background:#eef1f6;color:#14204a;font-size:22px;line-height:1;cursor:pointer}
.acc-sh-pv{display:grid;place-items:center;background:#eef1f6;border-radius:14px;padding:12px;min-height:240px}
.acc-sh-pv canvas{max-width:100%;max-height:420px;width:auto;height:auto;border-radius:8px;box-shadow:0 6px 20px rgba(16,24,43,.18)}
.acc-sh-seg{display:flex;gap:6px;margin-top:10px;justify-content:center}
.acc-sh-seg button{border:1px solid #cfd6e4;background:#fff;border-radius:8px;padding:6px 12px;font:700 .78rem 'DM Sans',sans-serif;color:#14204a;cursor:pointer}
.acc-sh-seg button[aria-pressed=true]{background:#14204a;border-color:#14204a;color:#fff}
.acc-sh-r h3{margin:4px 40px 6px 0;font-size:1.15rem;color:#101c3f}
.acc-sh-b{display:flex;gap:8px;margin:14px 0}
.acc-sh-b [hidden]{display:none}
.acc-sh-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 6px;margin:6px 0 14px}
.acc-sh-n{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:.72rem;font-weight:600;color:#3b4660;text-decoration:none}
.acc-sh-n i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center}
.acc-sh-lab{display:block;font-size:.74rem;font-weight:700;color:#66758c}
.acc-sh-url{display:block;width:100%;margin-top:5px;border:1px solid #dfe4ee;border-radius:9px;padding:9px 10px;font:500 .78rem 'DM Mono',monospace;color:#14204a;background:#f7f9fc}
.acc-sh-msg{min-height:18px;margin-top:8px;font-size:.8rem;color:#1f7d55;font-weight:600}
@media(max-width:900px){
  .acc-steps{grid-template-columns:1fr;gap:8px}
  .acc-steps>div{padding:12px 16px;display:grid;grid-template-columns:auto 1fr;column-gap:12px}
  .acc-steps i{grid-row:1/3;margin:0;align-self:center}
  body.acc .mc .vv-r3d-stage{height:360px;margin:0 -16px}
  .acc-scrub input{width:86px}
  .acc-sh-in{grid-template-columns:1fr;padding:18px;gap:14px}
  .acc-sh-pv canvas{max-height:300px}
  .acc-guide{padding:20px 18px}
  .acc-cmp-h,.acc-cmp-r{grid-template-columns:1.1fr 1fr 1fr 1fr;gap:6px;font-size:.78rem}
  .acc-two{column-gap:14px}
}
@media(max-width:420px){.acc-l{font-size:12px}.acc-l.s{font-size:11.5px}.acc-l.m{font-size:10.5px}body.acc .mc-head .mc-num{font-size:1.4rem}}
body.acc .mc>.mc-head{order:0}body.acc .mc>.vv-r3d{order:1}body.acc .mc>.acc-cmp{order:2}body.acc .mc>.mc-status{order:3;margin-top:14px}
body.mc2.acc #accCmp{background:#fff!important;color:#14204a!important;border:1px solid #cfd6e4!important;box-shadow:none!important;transform:none!important;filter:none!important}
body.mc2.acc #accCmp[aria-pressed=true]{background:#14204a!important;color:#fff!important;border-color:#14204a!important}
.acc-two{grid-auto-flow:column;grid-template-rows:repeat(6,auto)}.acc-two>.acc-row:nth-child(-n+2){border-top:1px solid #e6e9f0}.acc-two>.acc-row:nth-child(6n+1){border-top:0}
/* phones: the 3D result first, then the inputs, then the tiles and steps */
@media(max-width:900px){
  body.acc #vv-main{display:flex;flex-direction:column}
  body.acc #vv-main>.hero{order:0}
  body.acc #vv-main>.content-grid{order:1;display:flex;flex-direction:column}
  body.acc #vv-main>.content-grid>div:last-child{order:-1}
  body.acc #vv-main>.summary-bar{order:2;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
  body.acc #vv-main>.summary-bar>.sum-card:first-child{grid-column:1/-1}
  body.acc .sum-card{padding:12px 14px;min-width:0}
  body.acc .sum-val{font-size:1.15rem}
  body.acc #vv-main>.acc-steps{order:3;margin-top:4px}
  body.acc #vv-main>*{order:4}
  body.acc .inputs-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  body.acc .inp-wrap input,body.acc .inp-wrap select{min-width:0;width:100%}
  body.acc .u-badge{font-size:.6rem}
  body.acc .mc-head .mc-ic{display:none}
  body.acc .hero{margin-bottom:12px}
}
@media(max-width:900px){
  body.acc #vv-main>.summary-bar{grid-template-columns:1fr 1fr!important}
  body.acc #vv-main .inputs-row{grid-template-columns:1fr 1fr!important}
  body.acc .vv-r3d-cap{flex:1 1 100%}
  body.acc .vv-r3d-bar{gap:8px;justify-content:flex-start}
  body.acc .mc .vv-r3d-lab{padding:7px 11px 7px 8px;font-size:.78rem}
  body.acc .acc-btn{padding:8px 11px;font-size:.78rem}
}
@media(max-width:900px){
  body.acc .mc .vv-r3d-stage{height:330px}
  body.acc .mc .vv-r3d-bar .vv-r3d-lab,body.acc .mc .vv-r3d-bar .acc-btn{flex:1 1 0;justify-content:center;padding:8px 6px;font-size:.76rem;min-width:0}
  body.acc .mc .vv-r3d-bar .vv-r3d-lab i{width:28px;height:17px}
  body.acc .mc .vv-r3d-bar .vv-r3d-lab i:after{width:13px;height:13px;left:13px}
  body.acc .mc .vv-r3d-bar .vv-r3d-lab[aria-pressed=false] i:after{left:2px}
}
