/* BACKOFF! deliberately uses the same TGP site chrome as other online tools. */
.bo-page{--bo-accent:#81ead1;--bo-border:#294047;--bo-panel:#101b22;color:#e8eff1;padding-bottom:46px}
.bo-page *{box-sizing:border-box}
.bo-page [hidden]{display:none!important}
.bo-page :focus-visible{outline:2px solid #b4fff0;outline-offset:4px}
.bo-skip{position:absolute;top:-100px;left:16px;padding:11px;color:#fff;background:#102128;z-index:500}
.bo-skip:focus{top:10px}
.bo-hero{padding-top:34px;padding-bottom:32px}
.bo-crumbs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:25px;font:12px var(--font-mono,monospace);color:#9ab4b6}
.bo-crumbs a{color:inherit}
.bo-hero h1{font:800 clamp(49px,8.5vw,100px)/1 system-ui,sans-serif;letter-spacing:-.07em;margin:12px 0 18px}
.bo-hero h1 span{color:var(--bo-accent)}
.bo-tagline{font-size:clamp(18px,2.7vw,27px);font-weight:650;margin:0 0 12px}
.bo-subtagline{max-width:720px;color:#a6babd;font-size:15px;line-height:1.7}
.bo-workspace{border:1px solid var(--bo-border);border-radius:13px;background:var(--bo-panel);box-shadow:0 18px 60px #0004;overflow:hidden}
.bo-app-header{margin:0!important;border:0!important;border-bottom:1px solid var(--bo-border)!important;border-radius:0!important;background:#14212a!important}
.bo-layout{display:grid;grid-template-columns:1fr 1.1fr}
.bo-input-side{min-width:0;padding:25px;border-right:1px solid var(--bo-border)}
.bo-preview-side{min-width:0;padding:25px}
.bo-drop{min-height:283px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;border:1px dashed #4a786f;border-radius:11px;background:linear-gradient(145deg,#17312c80,#101b2200);padding:22px;cursor:pointer;transition:background .15s,border-color .15s}
.bo-drop.dragging{border-color:var(--bo-accent);background:#1d4239}
.bo-drop-symbol{color:#9be8ce;line-height:1}
.bo-drop h2{font:bold 26px/1.2 system-ui,sans-serif;margin:4px 0}
.bo-drop p{margin:0;color:#c5d5d4;font-size:14px;line-height:1.5}
.bo-drop .bo-muted,.bo-muted{color:#9cafb2!important;font-size:12px!important;line-height:1.7}
.bo-btn{border-radius:7px;border:1px solid #4b6e69;padding:12px 18px;min-height:45px;font:700 13px/1.4 system-ui,sans-serif;cursor:pointer;transition:filter .18s;background:#172a2c;color:#e6fff6}
.bo-btn:hover:not(:disabled){filter:brightness(1.13)}
.bo-btn:disabled{opacity:.45;cursor:not-allowed}
.bo-btn-primary{background:#81ead1;border-color:#81ead1;color:#09251d;letter-spacing:.08em;font-weight:900;font-size:20px;min-height:56px}
.bo-btn-outline{background:#172b32;color:#b9f8e8}
.bo-actions{padding-top:22px}
.bo-actions .bo-btn{width:100%}
.bo-actions p{margin:8px 0 0}
.bo-file-info{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 0 0;color:#b2dfd4;font-size:12px}
#bo-filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bo-textbtn{background:none;border:0;padding:8px;color:#92e9ce;font:600 12px system-ui;cursor:pointer;white-space:nowrap}
.bo-preview-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;margin-bottom:14px}
.bo-preview-top h2{margin:0;font-size:18px}
.bo-preview-toggle{display:flex;gap:4px;background:#0b141a;border:1px solid #30444b;padding:3px;border-radius:8px}
.bo-preview-toggle button{border:0;background:transparent;color:#9bb2b8;padding:8px 10px;border-radius:5px;cursor:pointer;font:600 12px system-ui}
.bo-preview-toggle button.is-current{background:#2d524b;color:#effff8}
.bo-preview-toggle button:disabled{opacity:.4;cursor:default}
.bo-checkerboard{min-height:292px;max-height:500px;display:flex;justify-content:center;align-items:center;overflow:hidden;border:1px solid #32474a;border-radius:10px;background-color:#f4f5f2;background-image:linear-gradient(45deg,#ccd3d5 25%,transparent 25%),linear-gradient(-45deg,#ccd3d5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccd3d5 75%),linear-gradient(-45deg,transparent 75%,#ccd3d5 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}
.bo-checkerboard img{max-width:100%;max-height:500px;width:auto;height:auto;object-fit:contain;display:block}
.bo-checkerboard p{background:#17242ade;border-radius:6px;padding:13px;color:#dce9e6;font-size:14px}
.bo-result-actions{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0 6px}
.bo-result-actions .bo-btn{flex:1 1 150px}
.bo-status-panel{border-top:1px solid var(--bo-border);padding:15px 26px;display:flex;align-items:center;gap:22px;min-height:190px;background:linear-gradient(120deg,#14262a,#0d1820)}
.bo-bot-wrap{width:165px;flex:0 0 165px}
.bo-bot-stage{position:relative;isolation:isolate;width:100%;max-width:165px;aspect-ratio:240 / 204}
.bo-bot-art,.bo-bot-legs{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none}
.bo-bot-legs{z-index:0}
.bo-bot-art{z-index:1;transform-origin:50% 81.37255%;backface-visibility:hidden;will-change:transform}
[data-state=preparing] .bo-bot-art{animation:bo-solid-sway 1.15s ease-in-out infinite}
[data-state=processing] .bo-bot-art{animation:bo-solid-work .82s ease-in-out infinite}
[data-state=success] .bo-bot-art{animation:bo-solid-cheer .46s ease-in-out 3 alternate}
@keyframes bo-solid-sway{0%,100%{transform:rotate(-2.7deg)}50%{transform:rotate(2.7deg)}}
@keyframes bo-solid-work{0%,100%{transform:rotate(-2.2deg)}50%{transform:rotate(2.2deg)}}
@keyframes bo-solid-cheer{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}
.bo-status-text{flex:1;min-width:0}
.bo-status-line{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.bo-status-line strong{font-size:18px}
.bo-status-text p{margin:7px 0;color:#b4c5c9;font-size:13px;line-height:1.6}
.bo-progress-wrap{position:relative;margin-top:12px}
.bo-progress-wrap progress{display:block;width:100%;height:11px;accent-color:#82e9d0}
.bo-progress-wrap span{display:block;margin-top:5px;font:11px var(--font-mono,monospace);color:#91bcb2}
.bo-progress-activity{display:none;position:relative;overflow:hidden;width:100%;height:11px;background:#1e3339;border:1px solid #335956;border-radius:7px}
.bo-progress-activity::before{content:"";position:absolute;inset:0 auto 0 0;width:35%;border-radius:6px;background:linear-gradient(90deg,#51bca8,#a0f5df);transform:translate3d(-115%,0,0);animation:bo-progress-moving 1.55s ease-in-out infinite;will-change:transform}
.bo-progress-wrap[data-mode=indeterminate] progress{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.bo-progress-wrap[data-mode=indeterminate] .bo-progress-activity{display:block}
@keyframes bo-progress-moving{from{transform:translate3d(-115%,0,0)}to{transform:translate3d(305%,0,0)}}
/* Rigid artwork: feet are a stationary image; the complete upper torso, arms and
   baked-in hammer are ONE other image animated with a compositor-friendly transform.
   No animated SVG subparts or independently articulated limbs. */
.bo-info{padding-top:40px;max-width:950px}
.bo-info h2{font-size:23px}
.bo-info p{color:#b3c2c6;font-size:14px;line-height:1.75}
.bo-info a{color:#90e3ce}
.bo-bottom-nav{display:flex;flex-wrap:wrap;gap:10px;padding-top:26px}
@media(max-width:770px){.bo-layout{grid-template-columns:1fr}.bo-input-side{border-right:0;border-bottom:1px solid var(--bo-border)}.bo-status-panel{gap:10px;padding:13px}.bo-bot-wrap{width:112px;flex-basis:112px}.bo-status-line strong{font-size:15px}.bo-hero{padding-top:27px}.bo-hero h1{font-size:clamp(51px,13vw,81px)}.bo-drop{min-height:220px}.bo-checkerboard{min-height:230px}}
@media(max-width:410px){.bo-status-panel{flex-direction:column;text-align:center}.bo-status-line{justify-content:center}.bo-bot-wrap{width:120px;flex-basis:auto}.bo-input-side,.bo-preview-side{padding:16px}}
@media(prefers-reduced-motion:reduce){.bo-page *{animation:none!important;transition:none!important}}


.bo-diagnostics{margin:1rem;padding:1rem;border:1px solid var(--line, #314139);border-radius:12px;min-width:0}
.bo-diagnostics summary{cursor:pointer;font-weight:700}
.bo-diagnostics label{display:block;margin-top:1rem}
.bo-diagnostics textarea{box-sizing:border-box;width:100%;max-width:100%;background:#0b1210;color:#c9dfd1;border:1px solid #314139;border-radius:6px;padding:.75rem;font:12px/1.5 monospace;resize:vertical}


#bo-provider{width:100%;padding:12px;background:#111b14;color:#e9f1e8;border:1px solid #67805b;border-radius:8px}#bo-problem{width:100%;box-sizing:border-box;background:#111b14;color:#e9f1e8;padding:10px}#bo-provider:focus-visible,#bo-problem:focus-visible{outline:2px solid #a6dc78;outline-offset:3px}
