:root{color:#29231f;background:#f6f0e9;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}.page-shell{display:grid;min-height:100svh;place-items:start center;padding:1rem}.card{width:min(100%,32rem);padding:clamp(1.25rem,5vw,2rem);border:1px solid #e8ddd2;border-radius:1.25rem;background:#fffdf9;box-shadow:0 1rem 3rem #52402814}.eyebrow{margin:0 0 .75rem;color:#9a5c3c;font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}h1{margin:0;font-size:clamp(1.9rem,8vw,2.5rem);line-height:1.1}h2{margin:0;font-size:1.35rem}p{margin:0;color:#625b53;line-height:1.5}.stack{display:flex;flex-direction:column;gap:.8rem;margin-top:1.4rem}label{font-weight:650}input:not([type=range]):not([type=file]){width:100%;min-height:48px;padding:.7rem .85rem;border:1px solid #b8aaa0;border-radius:.6rem;background:#fff;color:#29231f}input[type=range]{width:100%;min-height:36px;accent-color:#9a513d}button,.button{display:flex;justify-content:center;align-items:center;width:100%;min-height:50px;padding:.75rem 1rem;border:0;border-radius:.65rem;background:#914c3a;color:#fff;font-weight:700;cursor:pointer;text-align:center}button:disabled{opacity:.55;cursor:default}button:focus-visible,input:focus-visible,.file-button:focus-within{outline:3px solid #cc9477;outline-offset:2px}.secondary{background:#efe1d7;color:#633a2e}.text-button{background:transparent;color:#754737}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.printer-info{margin-top:1.4rem;padding:.8rem 1rem;border-radius:.65rem;background:#f6ede2;color:#70513d;font-size:.9rem;line-height:1.45}.printer-info:empty{display:none}.film-frame{width:min(100%,320px);align-self:center;padding:12px 12px 42px;background:#fff;box-shadow:0 3px 16px #33251c33}.crop-area{position:relative;width:100%;aspect-ratio:3 / 4;background:#e3d9ce;overflow:hidden}.error{color:#a52f27;font-weight:600}.optional{color:#756a60;font-weight:400}.status{min-height:160px}.crop-locked{pointer-events:none}.host-page{width:min(100% - 2rem,76rem);margin:0 auto;padding:1.5rem 0 3rem}.host-header,.host-card-title,.host-toolbar,.host-section-title,.job-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.host-header{margin-bottom:1.25rem}.host-header h1{font-size:clamp(1.8rem,5vw,2.5rem)}.host-sign-link,.sign-actions a{color:#754737;font-weight:700;text-decoration:none}.host-printer-card,.job-section{padding:clamp(1rem,3vw,1.5rem);border:1px solid #e8ddd2;border-radius:1rem;background:#fffdf9;box-shadow:0 .5rem 2rem #5240280f}.host-card-title h2,.host-section-title h2{font-size:1.2rem}.online-indicator{padding:.3rem .65rem;border-radius:999px;font-size:.8rem;font-weight:750}.is-online{background:#e5f3e8;color:#28623a}.is-offline{background:#fbe7e3;color:#a52f27}.printer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));gap:1.1rem;margin-top:1rem}.printer-grid>div{display:flex;flex-direction:column;gap:.2rem}.host-label{color:#756a60;font-size:.78rem}.printer-grid strong{font-size:1rem}.film-count strong{font-size:clamp(2.4rem,8vw,3.5rem);line-height:1}.film-count.low-film strong{color:#bd3028}.offline-banner{margin-top:1rem;padding:.75rem 1rem;border-radius:.6rem;background:#fbe7e3;color:#8c241e;font-weight:700}.host-toolbar{margin:1rem 0;padding:.85rem 1rem;border:1px solid #e8ddd2;border-radius:.8rem;background:#fffdf9}.host-toolbar p{color:#625b53}.queue-button{width:auto;min-height:42px}.job-section{margin-top:1rem}.host-section-title{margin-bottom:1rem}.host-section-title>span{color:#756a60;font-size:.9rem}.empty-jobs{padding:2rem 1rem;text-align:center}.job-list{display:flex;flex-direction:column;gap:.75rem}.job-row{display:flex;gap:1rem;padding:.8rem;border:1px solid #eee4dc;border-radius:.8rem;background:#fff}.job-thumbnail{width:5rem;height:6.5rem;flex:0 0 auto;object-fit:cover;background:#f2ece6;border-radius:.35rem}.job-details{min-width:0;flex:1}.job-heading{justify-content:flex-start;flex-wrap:wrap}.job-heading h3{margin:0;font-size:1rem}.status-chip{padding:.25rem .55rem;border-radius:999px;background:#eee9e4;color:#625b53;font-size:.72rem;font-weight:750;text-transform:capitalize}.status-pending_approval{background:#fff0d5;color:#79520b}.status-queued{background:#e7edf8;color:#344b79}.status-printing{background:#e4f2f3;color:#216268}.status-done{background:#e5f3e8;color:#28623a}.status-failed,.status-rejected{background:#fbe7e3;color:#a52f27}.job-meta{margin-top:.3rem;color:#756a60;font-size:.82rem}.job-error{margin-top:.35rem;color:#a52f27;font-size:.85rem;overflow-wrap:anywhere}.job-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.65rem}.job-actions button{width:auto;min-height:40px;padding:.55rem .9rem}.host-load-error{margin:.8rem 0}.sign-page{min-height:100svh;padding:1rem;background:#f6f0e9}.sign-actions{display:flex;width:min(100%,60rem);margin:0 auto 1rem;align-items:center;justify-content:space-between}.sign-actions button{width:auto;min-height:42px}.sign-message{width:min(100%,40rem);margin:1rem auto}.station-sign{display:flex;width:min(100%,60rem);min-height:calc(100svh - 5rem);margin:0 auto;padding:clamp(1.5rem,5vw,3rem);flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff}.sign-qr{display:block;width:min(70vw,30rem);height:auto;image-rendering:pixelated}.station-sign h1{max-width:12em;margin-top:1rem;font-size:clamp(1.8rem,5vw,3.2rem)}.sign-pin-label{margin-top:1rem;font-size:.85rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.sign-pin{color:#29231f;font-size:clamp(3rem,12vw,6rem);font-weight:800;letter-spacing:.14em;line-height:1.1}.sign-steps{display:flex;margin:1.5rem 0 0;padding:0;gap:1.25rem;justify-content:center;list-style:none;color:#625b53;font-size:clamp(.85rem,2vw,1.05rem)}@media(max-width:560px){.host-toolbar{align-items:flex-start}.host-toolbar p{max-width:55%}.job-row{gap:.7rem}.job-thumbnail{width:4rem;height:5.3rem}.sign-steps{flex-direction:column;gap:.55rem}}@media print{@page{margin:0;size:auto}:root,body{width:100%;min-width:0;margin:0;background:#fff}.sign-page{min-height:100vh;padding:0;background:#fff}.sign-actions,.sign-message{display:none!important}.station-sign{width:100%;height:100vh;min-height:0;padding:5vh 7vw;break-inside:avoid}.sign-qr{width:min(68vh,62vw);max-height:58vh}.station-sign h1{margin-top:2vh;font-size:4.5vh}.sign-pin-label{margin-top:1vh;font-size:1.8vh}.sign-pin{font-size:9vh}.sign-steps{margin-top:2vh;font-size:2.2vh}}
