:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#101b30;background:#f5f7fb;font-synthesis:none;line-height:1.5}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,textarea,select{font:inherit}button,a{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #4d7cff;outline-offset:2px}h1,h2,h3,p{margin:0}h1{letter-spacing:-.04em}h2,h3{letter-spacing:-.02em}input:not([type=checkbox]):not([type=range]):not([type=file]),textarea,select{border:1px solid #d9e0ec;border-radius:8px;background:#fff;color:#14213a;width:100%;padding:10px 11px;min-height:42px}textarea{resize:vertical}label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650;color:#394860}input[type=checkbox]{accent-color:#356ae6}.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font-size:14px;font-weight:700;white-space:nowrap;transition:background .15s,color .15s}.button:disabled{opacity:.5;cursor:not-allowed}.button-default{padding:10px 15px;min-height:42px}.button-small{padding:7px 10px;min-height:34px}.button-icon{height:38px;width:38px}.button-primary{color:#fff;background:#285cd1}.button-primary:hover{background:#174bbd}.button-secondary{color:#1b2a44;background:#fff;border-color:#dce3ee}.button-secondary:hover{background:#f3f6fb}.button-ghost{color:#344762;background:transparent}.button-danger{color:#fff;background:#aa3434}.app{display:flex;min-height:100vh}.sidebar{width:230px;background:#07142e;color:#d9e3f5;display:flex;flex-direction:column;flex-shrink:0;position:sticky;top:0;height:100vh;padding:28px 17px 20px}.brand,.login-brand{display:flex;align-items:center;gap:11px;padding:0 9px}.brand strong,.login-brand>span:last-child{display:block;font-size:21px;color:#fff;font-weight:800;letter-spacing:-.06em;line-height:1}.brand small,.login-brand small{display:block;font-size:9px;letter-spacing:.17em;color:#9aaed1;font-weight:700;margin-top:5px}.brand-mark{display:flex;align-items:center;justify-content:center;background:#4d7cff;color:#fff;border-radius:10px;width:39px;height:39px;font-size:24px;font-weight:850;letter-spacing:-.1em}.brand-mark span{color:#b8ccff}.sidebar-label{font-size:10px;letter-spacing:.16em;font-weight:800;color:#8d9fbe;margin:48px 12px 13px}.sidebar nav{display:grid;gap:4px}.nav-item{color:#aebfda;text-align:left;border:0;background:transparent;display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;font-size:14px;font-weight:650}.nav-item:hover,.nav-item.active{background:#1b3159;color:#fff}.sidebar-bottom{margin-top:auto}.side-help{background:#132747;border:1px solid #203b63;padding:14px;border-radius:10px;display:flex;gap:10px;color:#aecdff}.side-help strong,.side-help span{display:block}.side-help strong{font-size:13px;color:#edf4ff}.side-help span{font-size:12px;line-height:1.45;color:#a9bbd4;margin-top:4px}.signout{margin:19px 9px 12px;padding:0;border:0;background:none;color:#c2cfe2;display:flex;gap:9px;align-items:center;font-size:13px}.sidebar-bottom p{padding:15px 9px 0;border-top:1px solid #263955;font-size:11px;line-height:1.6;color:#9daec7}.sidebar-bottom p strong{color:#e5edfb;font-weight:600}.main{flex:1;min-width:0}.topbar{height:68px;background:#fff;border-bottom:1px solid #e5eaf1;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:13px;color:#2b3b53}.crumb{font-size:10px;color:#8794a8;letter-spacing:.12em;font-weight:800}.crumb-sep{color:#b6bfcd;padding:0 11px}.top-actions{display:flex;align-items:center;gap:21px}.connection{font-size:12px;color:#607086;font-weight:600}.dot{display:inline-block;width:7px;height:7px;background:#39a884;border-radius:100%;margin-right:6px}.page-head,.overview,.workspace-grid,.alert,.guide{margin-left:38px;margin-right:38px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:39px;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:.13em;color:#486cbe;font-weight:800;margin-bottom:8px}.page-head h1,.guide h1{font-size:33px;line-height:1.1;color:#101d35}.page-head p:not(.eyebrow),.guide-lead{color:#6a788c;font-size:14px;margin-top:9px}.head-actions{display:flex;gap:9px}.overview{background:#10284f;border-radius:12px;color:#fff;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:25px;box-shadow:0 10px 30px #0e254c1a}.overview-main{display:flex;align-items:center;gap:17px}.overview-icon,.section-icon{display:grid;place-items:center;border-radius:10px;background:#294a80;color:#c2d8ff;width:54px;height:54px;flex-shrink:0}.badge{font-size:9px;letter-spacing:.13em;color:#a9c7ff;font-weight:800}.overview h2{font-size:20px;margin:3px 0}.overview p{color:#b8cae5;font-size:13px}.overview-meta{display:flex;gap:38px}.overview-meta strong,.overview-meta span{display:block}.overview-meta strong{font-size:22px;line-height:1.2}.overview-meta strong.version{font-size:15px;padding-top:6px}.overview-meta span{font-size:10px;letter-spacing:.12em;color:#aec3df;margin-top:6px;font-weight:700}.workspace-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;margin-top:21px;margin-bottom:60px;align-items:start}.spread-panel,.editor{background:#fff;border:1px solid #e3e8f0;border-radius:11px;box-shadow:0 2px 8px #12274606}.panel-heading{padding:21px 18px 16px;display:flex;justify-content:space-between;align-items:flex-start}.panel-heading h2,.editor-head h2{font-size:17px}.panel-heading p,.editor-head p:not(.eyebrow),.pages-label p,.audio-title p{font-size:12px;color:#768398;margin-top:4px}.spread-list{padding:0 9px}.spread-item{width:100%;border:1px solid transparent;border-radius:8px;background:none;display:flex;text-align:left;align-items:center;gap:10px;padding:12px 8px;color:#22334e}.spread-item:hover{background:#f7f9fd}.spread-item.selected{background:#edf3ff;border-color:#d6e3ff}.spread-number{width:30px;height:30px;border-radius:7px;background:#edf1f7;color:#6d7d93;display:grid;place-items:center;font-size:11px;font-weight:800}.selected .spread-number{background:#d9e7ff;color:#2759c7}.spread-details{min-width:0;flex:1}.spread-details strong,.spread-details small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spread-details strong{font-size:13px}.spread-details small{font-size:11px;color:#7a899e;margin-top:3px}.side-chevron{transform:rotate(-90deg);color:#8d9bb0}.panel-foot{border-top:1px solid #edf0f5;margin-top:12px;padding:16px 18px;color:#8b97a8;font-size:11px;line-height:1.5}.editor{padding:24px}.editor-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:23px}.text-danger,.link-button{border:0;background:none;padding:4px 0;font-size:12px;color:#a74646}.link-button{color:#3b62ac}.fields-row{display:grid;grid-template-columns:1fr 140px;gap:16px}.pages-label{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f5;margin-top:23px;padding-top:20px;color:#7d8ba0}.pages-label h3,.audio-title h3{font-size:14px;color:#1f2e47}.page-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:15px}.page-card{border:1px solid #e3e8f0;border-radius:9px;padding:13px;display:grid;gap:12px;align-content:start}.page-card-head{display:flex;justify-content:space-between;align-items:center;color:#7b8aa1;font-size:10px;letter-spacing:.1em;font-weight:800}.page-preview{background:#15345e;background-size:cover;background-position:center;border-radius:6px;min-height:150px;padding:18px;color:#fff;display:flex;flex-direction:column;justify-content:end;overflow:hidden}.page-preview strong{font-family:Georgia,serif;font-size:20px;line-height:1.2}.page-preview span{font-size:11px;color:#dbe8ff;margin-top:6px;max-width:220px}.preview-kicker{font-size:8px;letter-spacing:.2em;color:#a9c8ff;font-weight:700;margin-bottom:13px}.upload-button{display:inline-flex;align-items:center;flex-direction:row;gap:7px;color:#315aaf;cursor:pointer;font-size:12px;font-weight:700}.upload-button input{position:absolute;width:1px;height:1px;opacity:0}.audio-section{border-top:1px solid #edf0f5;margin-top:24px;padding-top:20px}.audio-title{display:flex;align-items:center;gap:11px}.audio-icon{width:38px;height:38px;display:grid;place-items:center;background:#e9f1ff;color:#3265cd;border-radius:8px}.audio-content{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:15px}.audio-file{display:flex;align-items:center;gap:8px;color:#5c6d84;font-size:12px;min-width:0}.audio-file span{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audio-file audio{height:32px;width:180px}.audio-options{display:flex;gap:30px;margin-top:13px}.audio-options label{flex-direction:row;align-items:center;font-size:12px}.audio-options input[type=range]{width:100px}.alert{border-radius:8px;padding:12px 15px;font-size:13px;margin-top:0;margin-bottom:16px}.error{color:#9a3030;background:#fff1f0}.success{color:#226849;background:#eaf8ef}.guide{margin-top:45px;max-width:1000px}.guide-lead{font-size:16px!important}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:28px}.guide-card{background:#fff;border:1px solid #e3e8f0;border-radius:11px;padding:24px}.guide-card .section-icon{background:#edf3ff;color:#3668c9;width:46px;height:46px}.guide-card h2{font-size:17px;margin-top:18px}.guide-card p,.guide-note{color:#66768b;font-size:14px;margin-top:8px}.guide-note{padding:18px 0}.login-wrap{min-height:100vh;background:#07142e;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px}.login-brand{margin-bottom:30px}.login-card{width:min(100%,440px);background:#fff;padding:36px;border-radius:14px;box-shadow:0 20px 80px #02091855}.login-card .section-icon{background:#e9f1ff;color:#315dbe;margin-bottom:24px}.login-card h1{font-size:31px;line-height:1.12}.login-card>p:not(.eyebrow){color:#64748b;font-size:14px;margin-top:12px}.login-card form{display:grid;gap:11px;margin-top:25px}.login-card form button{margin-top:6px}.login-foot{color:#9bacc6;font-size:12px;margin-top:26px}.loading{padding:50px;color:#53647b}.kiosk{background:#000;position:fixed;inset:0;overflow:hidden}.projection{position:absolute;inset:0;overflow:hidden}.projected-page{position:absolute;top:0;left:0;width:50%;height:100%;transform-origin:0 0;background:#f4f1e7;background-size:cover;background-position:center;color:#12213a}.projected-page[style*=linear-gradient]{color:#fff}.projected-inner{padding:12%;display:flex;justify-content:center;flex-direction:column;height:100%}.projected-inner h1{font-family:Georgia,serif;font-weight:500;line-height:1.08;font-size:clamp(32px,5vw,78px);max-width:80%}.projected-inner p{font-size:clamp(16px,1.5vw,25px);line-height:1.6;max-width:70%;margin-top:25px}.projected-inner span{font-size:18px;font-weight:700}.calibration-grid{background-image:linear-gradient(#5556 1px,transparent 1px),linear-gradient(90deg,#5556 1px,transparent 1px)!important;background-size:10% 10%;outline:4px solid #f40}.setup-layer{position:absolute;inset:0;background:#07142ef2;overflow:auto;padding:30px}.setup-hidden{visibility:hidden;pointer-events:none}.setup-window{max-width:1120px;margin:auto;background:#f6f8fc;border-radius:14px;padding:28px}.setup-top{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:20px}.setup-top h1{font-size:30px}.setup-top p:not(.eyebrow){font-size:14px;color:#6b7990;margin-top:5px}.setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.setup-card{border:1px solid #dfe6f0;border-radius:10px;padding:20px;background:#fff;display:grid;gap:12px;align-content:start}.setup-card.wide{grid-column:1/-1}.setup-card-title{display:flex;gap:12px;color:#3261c0}.setup-card-title h2{font-size:16px;color:#1b2a42}.setup-card-title p,.helper{font-size:12px;color:#748198;margin-top:3px}.setup-card label:has(input[type=checkbox]){flex-direction:row;align-items:center}.setup-card input[type=range]{width:100%}.camera-preview{width:100%;max-height:190px;object-fit:contain;background:#0c1422;border-radius:6px}.manual-buttons{display:flex;flex-wrap:wrap;gap:6px}.corners{display:grid;grid-template-columns:1fr 1fr;gap:16px}.corners h3{font-size:13px;margin-bottom:8px}.corner-inputs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.corner-inputs label{font-size:11px}.corner-inputs input{padding:6px!important;min-height:35px!important}.setup-footer{display:flex;align-items:center;justify-content:space-between;color:#738197;font-size:12px;margin-top:20px}@media(max-width:1000px){.workspace-grid{grid-template-columns:1fr}.spread-list{display:flex;overflow:auto}.spread-item{min-width:190px}.panel-foot{display:none}.overview-meta{gap:20px}.sidebar{width:195px}}@media(max-width:700px){.app{display:block}.sidebar{height:auto;position:static;width:auto;padding:15px}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:15px}.topbar{padding:0 18px}.connection,.crumb,.crumb-sep{display:none}.page-head,.overview,.workspace-grid,.alert,.guide{margin-left:18px;margin-right:18px}.page-head,.overview{align-items:start;flex-direction:column}.overview-meta{width:100%;justify-content:space-between}.page-edit-grid,.guide-grid,.setup-grid,.corners{grid-template-columns:1fr}.setup-card.wide{grid-column:auto}.fields-row{grid-template-columns:1fr 110px}.setup-layer{padding:10px}.setup-window{padding:18px}.setup-top{display:block}.setup-top .button{margin-top:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.reorder{display:flex;gap:12px;align-items:center}.publish-targets{margin:0 38px 14px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:12px 15px;background:#fff;border:1px solid #e3e8f0;border-radius:9px;font-size:13px}.publish-targets label{display:flex;flex-direction:row;align-items:center;gap:6px}.publish-targets span{color:#6b7990;font-size:12px}.installation-form{display:flex;align-items:end;gap:12px;background:#fff;border:1px solid #e3e8f0;border-radius:10px;padding:20px;margin-top:24px}.installation-form label{flex:1}.installation-list{display:grid;gap:10px;margin-top:16px}.installation-item{background:#fff;border:1px solid #e3e8f0;border-radius:10px;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.installation-item h2{font-size:16px}.installation-item p{font-size:13px;color:#63738b;margin-top:5px}.setup-code{margin-top:16px;padding:18px;background:#edf3ff;border:1px solid #c6d8fb;border-radius:10px}.setup-code p{font-size:13px;color:#435876;margin:6px 0}.setup-code code{display:block;overflow-wrap:anywhere;padding:10px;background:#fff;border-radius:6px;margin-bottom:10px;font-size:12px}.setup-code .link-button{margin-left:14px}.inline-alert{padding:12px;margin-top:15px;border-radius:8px;font-size:13px}@media(max-width:700px){.publish-targets{margin-left:18px;margin-right:18px}.installation-form{align-items:stretch;flex-direction:column}}@media(max-width:700px){.sidebar-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.sidebar-bottom .side-help{display:none}.sidebar-bottom .signout{margin:0}.sidebar-bottom p{padding:0;border:0;text-align:right}.setup-footer{gap:10px;flex-wrap:wrap}.setup-footer label{flex-direction:row;align-items:center}}.kiosk-lock{position:absolute;inset:0;z-index:10;overflow:auto;display:flex;align-items:center;justify-content:center;min-height:100%;padding:64px 24px 100px;color:#f7f9fd;background:linear-gradient(135deg,#050c1bf2,#0c1c36e0),url(/kiosk-cover.jpg) center/cover;isolation:isolate}.kiosk-lock:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 24%,rgba(94,135,202,.18),transparent 48%),linear-gradient(0deg,rgba(3,9,20,.55),transparent 40%)}.kiosk-lock-inner{width:min(100%,480px);text-align:center}.kiosk-lock-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:40px}.kiosk-lock-mark{display:grid;place-items:center;width:48px;height:48px;border:1px solid #91b4ee66;border-radius:13px;background:#3464b2;color:#fff;font-size:26px;font-weight:800;letter-spacing:-.04em}.kiosk-lock-mark span{color:#ccdcff}.kiosk-lock-wordmark{font-weight:800;font-size:32px;letter-spacing:-.04em}.kiosk-lock h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.025em;font-size:clamp(36px,5vw,54px);line-height:1.12;text-wrap:balance}.kiosk-lock-inner>p{color:#d0dbeb;margin:14px auto 0;line-height:1.6;font-size:15px}.kiosk-lock-form{text-align:left;margin:32px auto 0}.kiosk-lock-form label{color:#e1e9f5;font-size:13px;margin-bottom:9px}.kiosk-lock-input{display:flex;align-items:center;gap:8px;padding:6px;border:1px solid #c3d3ea66;border-radius:12px;background:#0a192cdd;box-shadow:0 20px 50px #02071166}.kiosk-lock-input input:not([type=checkbox]):not([type=range]):not([type=file]){flex:1;min-width:0;border:0;background:transparent;color:#fff;padding:12px;outline-offset:-2px}.kiosk-lock-input input::placeholder{color:#b0bed1}.kiosk-lock-input .button{min-height:46px;padding:10px 16px;background:#edf3ff;color:#14284a}.kiosk-lock-input .button:hover{background:#fff}.kiosk-lock-error{margin-top:12px;color:#ffd4ce;font-size:13px}.kiosk-lock-link{display:inline-flex;align-items:center;gap:7px;margin-top:28px;color:#d0dbea;font-size:13px}.kiosk-lock-link:hover{text-decoration:underline}.kiosk-lock-credit{position:absolute;right:28px;bottom:24px;color:#c0cde0;font-size:12px}.kiosk-lock-credit strong{color:#f4f7fc;font-weight:600}.video-source{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.projected-video{display:block;width:100%;height:100%;object-fit:fill}.video-section{border-top:1px solid #edf0f5;padding-top:20px;margin-top:22px}.video-section h3{font-size:16px}.video-section p{color:#64748b;font-size:12px;margin-top:5px}.video-preview{display:block;width:min(100%,540px);max-height:280px;background:#07142e;margin-top:14px}.video-actions{display:flex;gap:16px;align-items:center;margin-top:12px}@media(max-width:600px){.kiosk-lock{padding:40px 20px 90px}.kiosk-lock-brand{margin-bottom:32px}.kiosk-lock-input{align-items:stretch;flex-direction:column;padding:8px}.kiosk-lock-input .button{width:100%}.kiosk-lock-credit{right:20px;bottom:18px}}.kiosk-lock-mark{display:flex;align-items:center;justify-content:center}.fields-row:has(.page-number-field){grid-template-columns:minmax(0,1fr) 100px minmax(170px,1fr)}.camera-view{position:relative;width:100%;line-height:0;background:#0c1422;overflow:hidden;border-radius:6px}.camera-view .camera-preview{display:block;width:100%;height:auto;max-height:none;border-radius:0}.number-region{position:absolute;border:2px solid #fbc45b;box-shadow:0 0 0 1px #243b5d;pointer-events:none}.roi-inputs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.roi-inputs label{font-size:11px}.roi-inputs input{padding:6px!important;min-height:35px!important}@media(max-width:700px){.fields-row:has(.page-number-field){grid-template-columns:1fr 100px}.fields-row .page-number-field{grid-column:1/-1}}.calibration-grid:after{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#fa4545bb 1px,transparent 1px),linear-gradient(90deg,#fa4545bb 1px,transparent 1px);background-size:10% 10%;outline:4px solid #f40}.setup-brand,.setup-footer-brand{display:flex;align-items:center;gap:9px;font-weight:800;letter-spacing:-.04em;color:#152643;line-height:1}.setup-brand{font-size:19px;margin-bottom:20px}.setup-brand-mark,.setup-footer-mark{display:flex;align-items:center;justify-content:center;flex:none;background:#3464b2;color:#fff;font-weight:800;letter-spacing:-.05em}.setup-brand-mark{width:34px;height:34px;border-radius:9px;font-size:19px}.setup-footer-mark{width:27px;height:27px;border-radius:7px;font-size:15px}.setup-brand-mark span,.setup-footer-mark span{color:#ccdcff}.setup-brand-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #dfe6f0;margin-top:25px;padding-top:19px}.setup-footer-brand{font-size:15px}.setup-brand-footer p{font-size:12px;color:#6b7990}.setup-brand-footer strong{font-weight:700;color:#344762}.setup-footer label{flex-direction:row;align-items:center}.setup-footer{gap:12px}@media(max-width:700px){.setup-footer{align-items:flex-start;flex-wrap:wrap}.setup-brand-footer{flex-wrap:wrap}}.setup-brand,.setup-footer-brand{letter-spacing:.12em;font-size:10px;color:#526789;gap:10px}.setup-brand img{display:block;width:auto;height:72px}.setup-footer-brand img{display:block;width:auto;height:48px}.setup-brand img{height:88px}.setup-footer-brand img{height:55px}.setup-brand strong,.setup-footer-brand strong{display:block;color:#142643;letter-spacing:-.035em;font-size:17px;line-height:1.1}.setup-footer-brand strong{font-size:15px}.setup-brand small,.setup-footer-brand small{display:block;margin-top:5px;font-size:9px;letter-spacing:.12em;font-weight:700;color:#526789}.projection{touch-action:manipulation}.test-status{display:flex;gap:12px 24px;flex-wrap:wrap;color:#344762;font-size:13px}.test-status strong{color:#1b2a42}.test-video-preview{display:block;width:min(100%,520px);height:auto;max-height:320px;object-fit:contain;background:#111b2c;border-radius:8px}.test-placeholder{display:grid;place-items:center;min-height:100px;border:1px dashed #c6d2e2;border-radius:8px;color:#687b95;font-size:13px;text-align:center;padding:20px}.mode-switch{display:flex;align-items:center;gap:4px;border-bottom:1px solid #dce4ef;margin:-2px 0 20px}.mode-current{font-size:14px;font-weight:750;color:#285cd1;border-bottom:2px solid #285cd1;padding:10px 13px}.mode-switch .button{border-radius:0;font-weight:650;color:#536581}.mode-switch .button:hover{background:#edf3ff}
