:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#242b29;background:#f5f4f0;font-synthesis:none;--green:#426958;--line:#e2e3dc;--muted:#78807a;--red:#aa4d40}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #88b49d;outline-offset:3px}a{color:inherit;text-decoration:none}p{line-height:1.65}h1,h2,p{margin-top:0}h1{font-size:44px;letter-spacing:-1.9px;font-weight:550;margin-bottom:12px}h2{font-weight:550;font-size:19px;letter-spacing:-.4px}.header{height:88px;padding:0 5%;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#faf9f6}.brand{display:flex;align-items:center;font-size:26px;font-weight:650;letter-spacing:-1px}.brand-light{font-weight:350}.brand-dot{color:#c78565}.brand-icon{display:flex;margin-right:12px;color:var(--green)}nav{display:flex;align-self:stretch;gap:36px}nav button{font-size:14px;color:var(--muted);border-bottom:2px solid transparent;padding:0 2px;position:relative}nav button.selected{color:#293b32;border-color:var(--green)}.nav-count{background:#e8d3cd;border-radius:9px;font-size:10px;padding:2px 5px}.header-right{display:flex;align-items:center;gap:20px}.live{display:flex;align-items:center;gap:7px;font-size:12px;color:#926549}.live i,.pill i{width:6px;height:6px;background:currentColor;border-radius:50%}.live.connected{color:var(--green)}.icon-button{padding:8px;border-radius:8px}.icon-button:hover{background:#e8e9e2}main{max-width:1440px;margin:auto;padding:44px 5% 60px;min-height:calc(100vh - 158px)}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.page-title p{font-size:15px;color:var(--muted);margin-bottom:0}.eyebrow{font-size:10px;letter-spacing:2.4px;font-weight:650;color:var(--green);margin-bottom:17px}.primary,.secondary,.danger{border-radius:7px;padding:12px 18px;font-size:13px;font-weight:550;min-height:42px}.primary{background:#365744;color:#fff;box-shadow:0 2px 2px #20392a0c}.primary:hover{background:#2b4939}.secondary{border:1px solid #d8dcd4;background:#fafaf7}.secondary:hover{background:#e9ede5}.danger{border:1px solid #e5cbc4;color:var(--red)}.dropzone{padding:27px 30px;border:1.5px dashed #c9d1c5;display:flex;gap:20px;align-items:center;border-radius:10px;background:#f0f2ea;transition:.2s}.dropzone.dragging{background:#dce9dc;border-color:var(--green)}.drop-icon{width:52px;height:52px;display:grid;place-items:center;background:#e3e9dc;border-radius:12px;color:var(--green)}.dropzone strong{font-size:15px;font-weight:550}.dropzone p{font-size:13px;color:var(--muted);margin:6px 0 0}.text-button{padding:0;font-size:13px;color:var(--green);text-decoration:underline;text-underline-offset:3px}.drop-spec{margin-left:auto;font-size:11px;color:#8b9288;text-align:right;line-height:1.8}.drop-spec b{font-weight:400}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 20px;gap:12px}.section-heading h2{margin:0}.section-heading h2 span{color:var(--muted);font-size:14px;margin-left:8px}.gallery-heading{margin-top:35px;margin-bottom:24px}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tabs button{padding:8px 14px;border-radius:6px;font-size:12px;color:var(--muted)}.tabs button.active{background:#e5e8de;color:#355341}.tabs span{border-radius:4px;padding:2px 5px;font-size:10px;background:#d9decf}.queue-caption{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.photo-card{background:#fdfcf9;border:1px solid #e1e3da;border-radius:9px;overflow:hidden;box-shadow:0 2px 5px #30362b03;transition:transform .2s}.photo-card:hover{transform:translateY(-3px)}.photo{aspect-ratio:3/2;width:100%;position:relative;overflow:hidden;background:#e8e9e0;display:block;padding:0}.photo img{width:100%;height:100%;object-fit:contain;display:block}.photo-open:hover img{filter:brightness(1.03)}.photo-done{position:absolute;right:10px;top:10px;background:#f3f8eeec;color:var(--green);border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.simulation-tag{position:absolute;bottom:10px;left:10px;background:#f9f6eedf;padding:5px 8px;border-radius:4px;font-size:9px;letter-spacing:1px;color:#866d49}.card-body{padding:15px 16px 13px}.card-body>strong{display:block;font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:13px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:5px;flex-wrap:wrap}.copy-caption{color:#747b73;font-size:11px}.status{display:inline-flex;align-items:center;gap:5px;border-radius:4px;font-size:10px;padding:4px 6px;color:#79846d;background:#edf0e7;white-space:nowrap}.status i{width:4px;height:4px;background:currentColor;border-radius:50%}.status.PRINTED{color:#426c4d;background:#e9f0e5}.status.PRINTING,.status.PROCESSING,.status.DOWNLOADING{color:#a07234;background:#f5ecdc}.status.FAILED,.status.REVIEW_REQUIRED{color:#a35444;background:#f5e5df}.status.CANCELLED{color:#848780;background:#eee}.status.SIMULATED{background:#e9e6f3;color:#776491}.card-time{display:block;color:#989d94;font-size:10px;margin-top:12px}.remove-photo{position:absolute;right:10px;top:10px;background:#fffd;border-radius:50%;padding:5px}.copies{display:flex;align-items:center;gap:5px;font-size:10px}.copies button{background:#eef0e8;border-radius:4px;width:22px;height:22px;font-size:15px}.upload-overlay{position:absolute;inset:0;background:#21392ab8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#fff;font-size:14px}.upload-overlay progress{width:70%;height:5px;accent-color:#cce2b8}.error-text{color:var(--red);font-size:12px;line-height:1.5}.gallery-footer{display:flex;justify-content:space-between;margin-top:30px;font-size:10px;color:#92988e}.gallery-footer span:last-child{display:flex;align-items:center;gap:6px}.footer{border-top:1px solid var(--line);padding:24px 5%;font-size:11px;display:flex;justify-content:space-between;gap:15px}.footer .muted{margin-left:12px}.muted{color:var(--muted)}.hidden{display:none}.empty{padding:70px 20px;text-align:center;color:var(--muted);border:1px solid var(--line);border-radius:10px;margin-top:20px}.empty svg{color:#97a88f;margin-bottom:20px}.empty h2{color:#54604f}.empty p{font-size:13px;max-width:470px;margin:0 auto}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:28px}.metric{padding:25px;background:#fafaf6;border:1px solid var(--line);border-radius:9px;display:flex;flex-direction:column;gap:12px}.metric>span{font-size:12px;color:var(--muted)}.metric>strong{font-size:36px;letter-spacing:-1px;font-weight:500}.metric>small{font-size:10px;color:#93998d}.agents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.agent-card{padding:26px;background:#fdfcf8;border:1px solid var(--line);border-radius:10px}.agent-head{display:flex;gap:15px;align-items:center;margin-bottom:25px}.agent-icon{color:var(--green);background:#e9eee2;width:54px;height:54px;border-radius:10px;display:grid;place-items:center}.agent-head h2{margin-bottom:6px}.agent-head .muted{font-size:11px}.pill{font-size:10px;display:flex;align-items:center;gap:6px;border-radius:20px;padding:6px 10px;margin-left:auto}.green{background:#e8efdf;color:#547742}.red{background:#f5e5df;color:#a35444}.green-text{color:var(--green)}.agent-status{display:flex;justify-content:space-between;font-size:12px;padding:9px 0}.agent-status span{color:var(--muted)}.agent-status strong{font-weight:500}.now-printing{border:1px solid var(--line);border-radius:7px;padding:17px;margin:15px 0;display:flex;flex-direction:column;gap:8px}.now-printing small{font-size:9px;letter-spacing:1.6px;color:var(--muted)}.now-printing strong{font-size:13px;font-weight:500}.agent-error{display:flex;gap:7px;background:#f8ece5;border-radius:6px;color:var(--red);padding:10px;font-size:11px;overflow-wrap:anywhere}.printer-select{font-size:11px;color:var(--muted);display:block}.printer-select select{margin-top:7px;width:100%;font-size:12px}.agent-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.agent-actions button{font-size:11px;padding:10px 12px}.agent-foot{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;justify-content:space-between;gap:12px}.command-list{border:1px solid var(--line);border-radius:8px;background:#fafaf6;padding:10px 20px}.command-list>div{display:grid;grid-template-columns:120px 1fr;gap:8px;border-bottom:1px solid var(--line);padding:14px 0;font-size:12px}.command-list>div:last-child{border:0}.command-list small{grid-column:1/-1;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);font-size:11px;max-height:180px;overflow:auto}.command-state{justify-self:end;color:#9e7849}.command-state.COMPLETED{color:var(--green)}.command-state.FAILED{color:var(--red)}.log-list>div{display:grid;grid-template-columns:180px 170px 1fr;gap:16px;align-items:start;border-bottom:1px solid var(--line);padding:16px 0;font-size:12px}.log-list time,.log-list small{color:var(--muted);font-size:10px}.log-list p{margin:0}.log-list .status{justify-self:start}.log-list small{grid-column:3}.banner{display:flex;gap:10px;align-items:center;border-radius:8px;padding:13px 17px;margin-bottom:20px;font-size:12px}.banner.error{background:#f5e6df;color:var(--red)}.banner.success{background:#e6eddc;color:var(--green)}.banner button{margin-left:auto}.loading{height:100vh;display:flex;align-items:center;justify-content:center;gap:15px;color:var(--green)}dialog{border:1px solid var(--line);border-radius:14px;padding:26px;max-width:550px;width:calc(100% - 32px);color:#28322a;background:#fafaf6;box-shadow:0 20px 100px #1d362533}dialog::backdrop{background:#24382c80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.dialog-title h2{margin:0;overflow-wrap:anywhere}.dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px}dialog p{font-size:13px;color:#70796c}.detail-photo{width:100%;height:240px;object-fit:contain;border-radius:7px;background:#e8e9e0}.unit-list>div{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.unit-list small{display:block;margin-top:6px;color:var(--muted)}.inline-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.inline-actions button{font-size:10px;padding:6px;border:1px solid var(--line);border-radius:5px}.pair-code{padding:20px;background:#e8eddf;font-family:monospace;text-align:center;font-size:20px;letter-spacing:1px;border-radius:7px;overflow-wrap:anywhere}label{display:block;font-size:12px;font-weight:500}input,select{padding:11px 13px;border:1px solid #d9ded2;border-radius:6px;background:#fdfcf9;color:#303b2d}dialog input{display:block;width:100%;margin:8px 0 20px}.login{padding:0;max-width:none;display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-art{padding:55px 8%;display:flex;flex-direction:column;justify-content:space-between;background:#dfe5d5;position:relative;overflow:hidden}.login-art:after{content:"";position:absolute;width:400px;height:500px;border:1px solid #b8c5a7;border-radius:200px;right:-200px;top:12%;transform:rotate(30deg);pointer-events:none}.login-art .brand{gap:12px;color:#3f5735}.login-art h1{font-size:60px;line-height:1.15;color:#32472c}.login-art p{color:#748068;font-size:15px}.login-art>span{font-size:10px;letter-spacing:2px;color:#79866c}.login-form{max-width:390px;align-self:center;justify-self:center;width:100%;padding:30px}.login-form h2{font-size:32px;letter-spacing:-1px;margin-bottom:10px}.login-form>p{font-size:13px;margin-bottom:35px}.login-form input{display:block;width:100%;margin:9px 0 22px}.login-form .primary{width:100%;justify-content:space-between;margin:8px 0 35px}.login-form small{font-size:10px;line-height:1.8;display:block}@media(min-width:1600px){.gallery{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1100px){.gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.drop-spec{display:none}.agents{grid-template-columns:1fr}.metrics{gap:12px}.metric{padding:18px}.login-art h1{font-size:48px}}@media(max-width:760px){.header{height:74px;padding:0 5%;flex-wrap:wrap}.brand{font-size:22px}.brand-icon{margin-right:8px}.header-right{gap:8px}.live{font-size:10px}nav{order:3;width:100%;height:40px;justify-content:center;gap:30px;background:#faf9f6;border-bottom:1px solid var(--line)}nav button{font-size:12px}main{padding-top:65px}h1{font-size:34px;letter-spacing:-1.5px}.page-title{align-items:flex-start;gap:16px}.page-title p{font-size:12px}.page-title>.primary{padding:10px 12px;font-size:11px;white-space:nowrap;margin-top:24px}.page-title>.primary svg{width:16px}.eyebrow{font-size:8px;letter-spacing:1.5px}.dropzone{padding:20px;gap:14px}.dropzone strong{font-size:13px}.dropzone p{font-size:11px}.drop-icon{width:42px;height:42px;flex-shrink:0}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-body{padding:12px}.card-bottom{align-items:flex-start;flex-direction:column;gap:8px}.card-time{font-size:9px}.tabs{gap:1px}.tabs button{padding:7px 9px;font-size:10px}.queue-caption{display:none}.section-heading{flex-wrap:wrap}.section-heading>.primary{font-size:11px}.metrics{grid-template-columns:repeat(2,1fr)}.metric>strong{font-size:30px}.metric>small{font-size:9px}.agent-card{padding:20px}.agent-head h2{font-size:17px}.agent-foot{flex-direction:column;gap:7px}.gallery-footer{gap:15px;line-height:1.7}.gallery-footer span:last-child{display:none}.footer{font-size:9px;flex-direction:column;gap:8px}.footer .muted{margin:0}.log-list>div{grid-template-columns:1fr 1fr;gap:9px}.log-list p,.log-list small{grid-column:1/-1}.login{grid-template-columns:1fr;min-height:100vh}.login-art{min-height:250px;padding:28px 8%;gap:35px}.login-art h1{font-size:38px;margin-bottom:0}.login-art p,.login-art>span{display:none}.login-art .eyebrow{margin-bottom:12px}.login-form{padding:35px 25px;max-width:420px}.login-form>.eyebrow{display:none}.login-form h2{font-size:28px}.login-form>p{margin-bottom:25px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.operations .page-title{margin-bottom:18px}.sync-note{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px;font-size:12px;color:var(--green)}.sync-note span{margin-left:auto;color:var(--muted)}.sync-note.is-stale{color:#9a692b}.operation-alert{display:flex;align-items:flex-start;gap:12px;padding:16px;margin-bottom:14px;background:#f4ecdc;border:1px solid #e5d6b8;border-radius:10px;color:#775825}.operation-alert>svg{flex-shrink:0;margin-top:2px}.operation-alert strong{font-size:14px}.operation-alert p{font-size:12px;margin:5px 0 0}.operation-alert button{margin-left:auto;min-height:44px;font-size:12px;font-weight:600}.danger-note{background:#f6e9e3;border-color:#e5c8be;color:var(--red)}.kiosk-title{min-width:0;flex:1}.kiosk-title h2{overflow-wrap:anywhere}.kiosk-title>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.kiosk-card .agent-icon,.kiosk-card .pill{flex-shrink:0}.kiosk-state{display:grid;grid-template-columns:1fr 1fr;gap:12px}.kiosk-state>div{display:flex;flex-direction:column;gap:8px}.kiosk-state small,.current-print small{font-size:9px;letter-spacing:1.2px;color:var(--muted)}.kiosk-state strong{font-size:14px;font-weight:600}.state-help{font-size:11px;color:var(--muted);margin:12px 0;line-height:1.6}.current-print{display:flex;gap:12px;background:#f2f3ed;border-radius:8px;padding:14px;margin-top:18px}.current-print img{width:60px;height:70px;object-fit:cover;border-radius:5px}.current-print>div{display:flex;flex-direction:column;gap:8px;min-width:0}.current-print strong{font-size:13px;overflow-wrap:anywhere}.current-print span{font-size:11px;color:var(--muted)}.kiosk-pause{width:100%;min-height:48px;margin-top:14px}.material-card{margin-top:20px;padding:20px;background:#edf2e8;border-radius:10px;border:1px solid #d8e3cf}.material-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:9px;letter-spacing:1px;color:#526c48}.estimate-badge{letter-spacing:0;border:1px solid #c7d6bd;padding:4px 7px;border-radius:20px;font-size:10px}.material-number{display:flex;align-items:baseline;gap:10px;margin:14px 0 12px}.material-number strong{font-size:46px;line-height:1.1;letter-spacing:-2px;font-weight:600}.material-number span{font-size:13px;color:#62715a}.material-card progress{width:100%;height:7px;accent-color:var(--green)}.material-facts{display:flex;justify-content:space-between;margin:13px 0;font-size:12px;color:#62715a;gap:10px}.material-facts b{color:#2e422a;margin-left:4px}.material-card>small{font-size:10px;color:#697661;line-height:1.6;display:block}.material-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}.material-actions button{font-size:11px;padding:10px 8px;min-height:48px;line-height:1.4}.material-card h3{font-size:17px;margin:18px 0 8px}.material-card>p{font-size:12px;margin-bottom:12px}.material-help{font-size:11px!important;color:#6c7566;margin:12px 0 0}.material-history{font-size:11px;min-height:44px;margin-top:6px}.material-low{background:#f6f0e1;border-color:#e5d9b5}.material-critical{background:#f8ebe5;border-color:#e6cbbf}.material-warning{display:flex;gap:7px;align-items:flex-start;line-height:1.5;font-size:11px;color:#8e5429;margin:12px 0 0}.material-warning svg{flex-shrink:0}.kiosk-details{margin-top:18px;border-top:1px solid var(--line);padding-top:4px}.kiosk-details summary{font-size:12px;padding:14px 0;cursor:pointer;min-height:44px}.kiosk-details dl{margin:0 0 14px}.kiosk-details dl>div{display:flex;justify-content:space-between;gap:16px;font-size:11px;margin:9px 0}.kiosk-details dt{color:var(--muted)}.kiosk-details dd{margin:0;text-align:right;overflow-wrap:anywhere}.kiosk-details .agent-actions button{min-height:44px}.operation-tabs{margin-bottom:14px}.operation-tabs button{min-height:44px}.operation-queue{border:1px solid var(--line);border-radius:10px;background:#fdfcf8;overflow:hidden}.queue-row{display:flex;align-items:center;gap:12px;text-align:left;padding:14px;width:100%;border-bottom:1px solid var(--line)}.queue-row:last-child{border:0}.queue-row>img{width:48px;height:54px;object-fit:cover;border-radius:5px;flex-shrink:0}.queue-row>span:nth-child(2){display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.queue-row strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue-row small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.queue-row .status{flex-shrink:0}.queue-row>svg{flex-shrink:0}.queue-empty{font-size:13px;color:var(--muted);padding:24px;text-align:center;margin:0}.queue-limit{font-size:10px;color:var(--muted);margin:12px 0 0}.material-check{padding:14px;background:#edf2e8;border-radius:8px;font-size:12px;display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.material-check button{align-self:flex-start;min-height:32px}.material-history-list{max-height:55vh;overflow:auto}.material-history-list>div{padding:14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.material-history-list h3{font-size:14px;margin-top:22px}.material-history-list strong{font-size:12px}.material-history-list p{font-size:11px;margin:6px 0}.material-history-list small{font-size:10px;color:var(--muted)}.admin-nav button{gap:7px}@media(max-width:760px){.header:has(.admin-nav){height:64px;flex-wrap:nowrap}.admin-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;width:100%;height:auto;min-height:68px;padding:7px 12px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);border-bottom:0;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:#faf9f6f5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.admin-nav button{flex-direction:column;gap:4px;min-height:48px;font-size:11px;border-bottom:0;border-radius:8px}.admin-nav button.selected{background:#e7eddf}.admin-nav .nav-count{position:absolute;top:1px;right:22%}body:has(.admin-nav) main{padding:22px 16px 32px}body:has(.admin-nav) .footer{padding-bottom:90px}.operations .page-title{gap:10px;margin-bottom:14px}.operations h1{font-size:32px}.operations .page-title>button{font-size:11px;padding:10px;min-height:44px;max-width:130px}.operations .page-title p{font-size:12px}.sync-note{font-size:10px;gap:6px}.sync-note span{margin-left:0;width:100%;padding-left:22px}.operation-alert{padding:13px;flex-wrap:wrap}.operation-alert>div{flex:1;min-width:180px}.operation-alert button{margin-left:28px;padding:8px 0}.operation-metrics{gap:10px;margin-bottom:20px}.operation-metrics .metric{padding:16px;gap:9px;min-height:116px}.operation-metrics .metric>span{font-size:11px}.operation-metrics .metric>strong{font-size:30px}.operation-metrics .metric>small{font-size:9px;line-height:1.4}.kiosk-card{padding:18px}.kiosk-card .agent-head{gap:10px;margin-bottom:20px}.kiosk-card .agent-icon{width:44px;height:44px}.kiosk-title h2{font-size:16px}.kiosk-title>span{font-size:11px}.kiosk-card .pill{font-size:9px;padding:6px 8px}.material-card{padding:16px}.material-heading{font-size:8px;letter-spacing:.5px}.material-number strong{font-size:44px}.operations .section-heading>span{font-size:10px}.queue-row{gap:9px;padding:12px}.queue-row>svg{display:none}.queue-row .status{font-size:9px;white-space:normal;max-width:85px;line-height:1.4}.operation-tabs{gap:2px}.operation-tabs button{flex:1;padding:7px 6px;font-size:10px}.agent-card .agent-error{font-size:11px}dialog{padding:22px;max-height:calc(100dvh - 32px);overflow:auto}dialog .dialog-actions{position:sticky;bottom:-22px;background:#fafaf6;padding:14px 0;margin-top:10px}dialog .dialog-actions button{min-height:44px}dialog input{min-height:44px}.material-history-list{max-height:50vh}}.editor-copy-policy{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;margin:0 0 24px;border:1px solid var(--line);border-radius:12px;background:#fdfcf9}.editor-copy-policy h2{font-size:18px;margin:0 0 6px}.editor-copy-policy p{font-size:13px;color:var(--muted);margin:0}.editor-copy-policy button{flex-shrink:0;min-height:44px}.compact-metrics{grid-template-columns:repeat(2,minmax(0,1fr));max-width:700px}.compact-metrics .metric{min-height:0}.kiosk-operation-state{font-size:13px;color:var(--muted);margin:8px 0 16px}.kiosk-tools{display:flex;gap:8px;justify-content:space-around;margin-top:10px;border-top:1px solid var(--line);padding-top:8px}.kiosk-tools button{min-height:44px;font-size:12px;padding:8px}.kiosk-replace{width:100%;min-height:44px;margin-top:16px;justify-content:center}.settings-options{display:grid;gap:10px}.settings-option{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;padding:16px;border:1px solid var(--line);border-radius:10px;min-height:70px}.settings-option strong{font-size:14px}.settings-option span{font-size:12px;color:var(--muted);line-height:1.5}.quota-summary{display:grid;gap:10px;padding:16px;background:#edf2e8;border-radius:8px;margin:20px 0}.quota-summary span{display:flex;justify-content:space-between;gap:12px;font-size:13px}.check-label{display:flex;gap:10px;align-items:flex-start;line-height:1.5;margin:18px 0}.check-label input{width:20px;height:20px;min-height:20px;margin:0;flex-shrink:0;accent-color:var(--green)}.kiosk-specs{margin:20px 0}.kiosk-specs>div{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.kiosk-specs dt{color:var(--muted)}.kiosk-specs dd{margin:0;overflow-wrap:anywhere;text-align:right}dialog select{width:100%;margin-top:10px;min-height:44px}.record-tabs{margin-bottom:20px}.record-tabs button{min-height:44px}.record-list{display:grid;gap:12px}.record-list article{padding:18px;border:1px solid var(--line);border-radius:10px;background:#fdfcf8;overflow-wrap:anywhere}.record-list time{display:block;font-size:11px;color:var(--muted);margin-bottom:10px}.record-list strong{font-size:14px;margin-right:12px}.record-list p{font-size:12px;line-height:1.6}.record-list summary{font-size:12px;min-height:44px;padding:12px 0;cursor:pointer}.record-list small{font-size:11px;color:var(--muted)}.gallery-footer>.text-button{min-height:44px}.dialog-actions{flex-wrap:wrap}dialog button:disabled{opacity:.5}@media(max-width:760px){.operations .compact-metrics .metric{min-height:90px}.kiosk-tools{gap:4px}.kiosk-specs>div{gap:12px}.settings-option{min-height:80px}.record-list article{padding:16px}.gallery-footer{flex-wrap:wrap}dialog .check-label input{min-height:20px}.quota-summary{padding:14px}.operations .page-title{align-items:flex-start}dialog .dialog-actions button{flex:1;justify-content:center;min-width:100px}dialog .inline-actions button{min-height:44px}.operations .queue-row strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.quota-reset{border-top:1px solid var(--line);margin-top:16px;padding-top:10px}.quota-reset p{font-size:12px;color:var(--muted)}.quota-reset button{min-height:44px}.gallery-title-actions{display:flex;flex-direction:column;align-items:stretch;flex-shrink:0;gap:4px}.gallery-title-actions .text-button{min-height:44px;font-size:12px}.gallery-title-actions>.primary{justify-content:center}@media(max-width:760px){.gallery-title-actions{margin-top:24px}.gallery-title-actions>.primary{padding:10px 12px;font-size:11px;white-space:nowrap;min-height:44px}.gallery-title-actions>.primary svg{width:16px}.gallery-title-actions .text-button{font-size:11px}}dialog:has(.users-management){width:min(720px,calc(100vw - 32px));max-width:720px}.users-toolbar{display:flex;gap:10px;justify-content:space-between;margin-bottom:22px}.users-toolbar button{min-height:44px}.users-management input:not([type=checkbox]){min-height:44px}.users-management select{margin-bottom:20px}.user-filters{display:flex}.user-filters button{min-height:44px;flex:1}.users-count{font-size:12px;color:var(--muted);margin:15px 0}.users-list{display:grid;gap:12px}.user-card{border:1px solid var(--line);border-radius:10px;padding:16px;background:#fdfcf8}.user-card-head{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}.user-card-head>div{display:flex;flex-direction:column;min-width:0;gap:6px}.user-card-head strong{font-size:14px;overflow-wrap:anywhere}.user-card-head span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.user-card-head small{font-size:10px;color:var(--green);font-weight:400}.user-menu-toggle{flex-shrink:0;width:44px;height:44px;border:1px solid var(--line);border-radius:7px;font-size:14px;letter-spacing:2px}.user-badges{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;font-size:11px}.user-badges small{width:100%;font-size:11px;color:#8e5429}.user-last-access{margin:13px 0 0;font-size:11px;color:var(--muted)}.user-menu{display:grid;border-top:1px solid var(--line);margin-top:14px;padding-top:8px}.user-menu button{text-align:left;min-height:44px;padding:10px 4px;font-size:12px}.user-menu .user-danger{color:var(--red)}.user-menu small{font-size:11px;color:var(--muted);margin:6px 0}.users-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:20px;font-size:12px}.users-pagination button{min-height:44px}.user-selected{display:flex;flex-direction:column;gap:8px;font-size:13px;overflow-wrap:anywhere}.user-selected span{font-size:12px;color:var(--muted)}.user-feedback,.session-note{background:#edf2e8;padding:14px;border-radius:8px;font-size:12px;line-height:1.6}.password-tools{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.password-tools button{min-height:44px;font-size:12px}.user-change-warning{background:#f4ecdc;padding:14px;border-radius:8px;font-size:12px;margin-top:12px}.user-change-warning .check-label{margin-bottom:0}.password-gate{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:30px 20px;max-width:none}.password-gate-card{width:100%;max-width:440px}.password-gate h1{font-size:34px;margin:34px 0 18px}.password-change input{display:block;width:100%;margin:8px 0 20px;min-height:44px}.password-change .primary{width:100%;justify-content:center;min-height:48px;margin-top:12px}.password-gate .text-button{min-height:44px;margin-top:14px}.password-change p{font-size:13px;line-height:1.7}.users-management form .dialog-actions{bottom:-22px}.header-right>[aria-label="Minha conta"]{width:36px;height:44px}@media(max-width:760px){dialog:has(.users-management){position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:20px;border-radius:0;overflow:auto}dialog:has(.users-management) .dialog-title{margin-bottom:20px}.users-management{padding-bottom:env(safe-area-inset-bottom)}.users-toolbar{gap:8px}.users-toolbar button{font-size:12px;padding:10px 12px}.users-pagination button{padding:10px 12px;font-size:12px}.users-management .user-filters button{font-size:12px}.user-card{padding:14px}.users-management .dialog-actions{bottom:-20px;padding-bottom:calc(14px + env(safe-area-inset-bottom))}.password-tools button{font-size:11px}.password-gate h1{font-size:30px}.header-right{gap:5px}.header-right .live{font-size:9px}.header-right .icon-button{width:32px;min-height:44px}.header-right svg{width:18px}.password-change .check-label input{width:20px;min-height:20px}}
