:root{--navy:#0d365f;--navy2:#214f84;--orange:#f36b00;--ink:#102a43;--muted:#6b7f93;--line:#d8e3ee;--soft:#f2f6fb;--white:#fff;--green:#0f8a5f;--red:#b42318}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--soft)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.topbar,.viewer-top{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:13px}.brand img{width:150px;height:38px;object-fit:contain;object-position:left center}.brand span{border-left:1px solid var(--line);padding-left:13px}.brand strong,.brand small{display:block}.brand strong{font-size:15px;color:var(--navy)}.brand small{margin-top:3px;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}.top-actions,.hero-actions,.card-actions,.form-actions{display:flex;gap:10px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:11px 16px;font-weight:800;cursor:pointer;white-space:nowrap}.btn.primary{background:var(--orange);color:#fff}.btn.secondary,.btn.ghost{background:#edf3f9;color:var(--navy)}.btn.danger{background:#fff0ef;color:var(--red)}.btn.full{width:100%;margin-top:9px}.shell{max-width:1250px;margin:0 auto;padding:30px 24px 70px}.hero{min-height:320px;background:linear-gradient(120deg,#0c345b,#245a91);color:#fff;border-radius:24px;padding:48px;display:flex;justify-content:space-between;align-items:flex-end;gap:40px;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;width:330px;height:330px;border:50px solid rgba(243,107,0,.9);border-radius:50%;right:-90px;top:-90px}.hero>div{position:relative;z-index:1}.hero h1{font-size:48px;line-height:1.03;max-width:780px;margin:10px 0 18px}.hero p{max-width:720px;font-size:18px;line-height:1.55;color:#e4eef7}.hero .secondary{background:#fff;color:var(--navy)}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.12em;color:var(--orange)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0}.stats article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.stats strong{display:block;font-size:32px;color:var(--navy)}.stats span{color:var(--muted);font-size:13px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;margin-top:18px}.panel-head{display:flex;justify-content:space-between;align-items:end;gap:20px}.panel h2{margin:4px 0 0;font-size:25px;color:var(--navy)}.filters{display:flex;gap:10px}.filters input,.filters select,input,select,textarea{border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 12px;color:var(--ink)}.filters input{min-width:250px}.empty{text-align:center;padding:65px 20px}.empty-icon{width:62px;height:62px;border-radius:20px;background:#fff0e5;color:var(--orange);font-size:37px;display:grid;place-items:center;margin:0 auto}.empty h3{font-size:22px;margin:14px 0 6px}.empty p{color:var(--muted)}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}.guide-card{border:1px solid var(--line);border-radius:15px;padding:18px;min-height:250px;display:flex;flex-direction:column}.guide-card-top,.guide-meta{display:flex;justify-content:space-between;gap:8px}.status,.portal-pill{border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;text-transform:uppercase}.status.draft{background:#fff4db;color:#92600a}.status.published{background:#e7f7ef;color:var(--green)}.portal-pill{background:#edf3f9;color:var(--navy)}.guide-card h3{font-size:20px;color:var(--navy);margin:18px 0 8px}.guide-card p{color:var(--muted);line-height:1.5;flex:1}.guide-meta{font-size:12px;color:var(--muted);padding:14px 0;border-top:1px solid var(--line)}.card-actions .btn{flex:1}.recorder-panel{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;align-items:center}.recorder-panel p{line-height:1.6;color:var(--muted)}.recorder-steps{display:grid;grid-template-columns:1fr 1fr;gap:10px}.recorder-steps span{padding:14px;background:var(--soft);border-radius:12px;font-weight:700}.recorder-steps b{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--orange);color:#fff;margin-right:7px}.modal{position:fixed;inset:0;background:#061728aa;z-index:50;display:grid;place-items:center;padding:20px}.modal[hidden]{display:none}.modal-card{width:min(520px,100%);background:#fff;border-radius:18px;padding:24px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start}.modal-head h2{margin:4px 0 15px;color:var(--navy)}.icon-btn{border:0;background:transparent;font-size:28px;cursor:pointer}.modal label,.editor-side label{display:block;font-size:12px;font-weight:800;color:var(--navy);margin:13px 0}.modal label input,.modal label select,.editor-side input,.editor-side select,.editor-side textarea{display:block;width:100%;margin-top:6px}.form-actions{justify-content:flex-end;margin-top:18px}.editor-shell{display:grid;grid-template-columns:320px 1fr;min-height:calc(100vh - 76px)}.editor-side{background:#fff;border-right:1px solid var(--line);padding:24px;position:sticky;top:76px;height:calc(100vh - 76px);overflow:auto}.back-link{display:inline-block;font-size:13px;font-weight:800;color:var(--navy);margin-bottom:16px}.editor-main{padding:30px;max-width:1100px;width:100%;margin:0 auto}.editor-heading{margin-bottom:20px}.editor-heading h1{font-size:34px;margin:6px 0;color:var(--navy)}.editor-heading p{color:var(--muted)}.save-state{font-size:12px;color:var(--muted)}.steps{display:flex;flex-direction:column;gap:16px}.step-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:grid;grid-template-columns:20px 42px 1fr;gap:12px}.step-handle{color:#9dafbf;cursor:grab;padding-top:10px}.step-num,.viewer-num{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--orange);color:#fff;font-weight:900}.step-toolbar{display:grid;grid-template-columns:1fr auto auto auto;gap:7px}.step-toolbar button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 10px;cursor:pointer}.step-title{font-size:18px;font-weight:900;color:var(--navy)}.instruction{width:100%;margin:10px 0;resize:vertical;line-height:1.5}.danger-text{color:var(--red)}.shot-wrap{position:relative;background:#edf2f7;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-height:120px}.shot-wrap img{display:block;width:100%;height:auto}.click-marker{position:absolute;transform:translate(-50%,-50%);width:38px;height:38px;border-radius:50%;border:4px solid #fff;background:var(--orange);color:#fff;font-weight:900;display:grid;place-items:center;box-shadow:0 2px 9px #0006}.missing-shot{min-height:160px;display:grid;place-items:center;color:var(--muted)}.step-footer{display:flex;justify-content:space-between;gap:12px;margin-top:9px;font-size:11px;color:var(--muted)}.replace-shot{font-weight:800;color:var(--navy);cursor:pointer}.guide-view{max-width:1050px;margin:30px auto;padding:0 24px 70px}.guide-cover{background:#fff;border:1px solid var(--line);border-radius:18px;padding:44px;margin-bottom:20px}.guide-cover h1{font-size:42px;color:var(--navy);margin:10px 0}.guide-cover p{font-size:17px;color:var(--muted);line-height:1.6}.cover-meta{display:flex;gap:8px;margin-top:18px}.cover-meta span{background:var(--soft);padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800}.viewer-step{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:16px;display:grid;grid-template-columns:48px 1fr;gap:14px}.viewer-step h2{color:var(--navy);margin:4px 0 8px}.viewer-step p{color:#41566a;line-height:1.65}.viewer-top{position:sticky}.viewer-top .brand img{width:145px}@media(max-width:850px){.topbar,.viewer-top{height:auto;padding:14px 16px;align-items:flex-start}.brand img{width:125px}.top-actions{flex-wrap:wrap;justify-content:flex-end}.shell{padding:18px 14px 50px}.hero{padding:28px;display:block;min-height:360px}.hero h1{font-size:36px}.hero-actions{margin-top:28px}.stats,.guide-grid,.recorder-panel{grid-template-columns:1fr}.panel-head{align-items:stretch;flex-direction:column}.filters{flex-direction:column}.filters input{min-width:0}.editor-shell{grid-template-columns:1fr}.editor-side{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line)}.editor-main{padding:20px 14px}.step-card{grid-template-columns:34px 1fr}.step-handle{display:none}.step-num{grid-column:1}.step-content{grid-column:2}.step-toolbar{grid-template-columns:1fr auto auto}.step-toolbar .danger-text{grid-column:1/-1}.viewer-step{grid-template-columns:40px 1fr}.guide-cover{padding:26px}.guide-cover h1{font-size:32px}}@media print{body{background:#fff}.viewer-top{display:none}.guide-view{max-width:none;margin:0;padding:0}.guide-cover{border:0;border-radius:0;border-bottom:4px solid var(--orange);padding:0 0 24px}.viewer-step{border:0;border-top:1px solid #ddd;border-radius:0;padding:22px 0;break-inside:avoid}.shot-wrap{break-inside:avoid}.guide-cover:before{content:'screenings4u | GUIDE';display:block;font-weight:900;color:var(--navy);letter-spacing:.08em;margin-bottom:12px}}
.auth-page{min-height:100vh;background:linear-gradient(135deg,#eef4fa,#f9fbfd);display:grid;place-items:center;padding:24px}
.auth-wrap{width:min(460px,100%)}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px;box-shadow:0 18px 60px rgba(13,54,95,.12)}
.auth-logo{width:180px;height:auto;display:block;margin-bottom:24px}
.auth-card h1{font-size:34px;color:var(--navy);margin:7px 0 8px}
.auth-card>p{color:var(--muted);line-height:1.55;margin:0 0 22px}
.auth-card form label{display:block;font-size:12px;font-weight:800;color:var(--navy);margin:14px 0}
.auth-card form input{display:block;width:100%;margin-top:7px}
.auth-link{display:block;text-align:center;margin-top:16px;font-size:13px;font-weight:800;color:var(--navy)}
.auth-message{border-radius:10px;padding:11px 12px;margin:12px 0;font-size:13px;font-weight:700}
.auth-message.bad{background:#fff0ef;color:var(--red)}
.auth-message.good{background:#e8f8f0;color:var(--green)}
.panel-copy{color:var(--muted);max-width:700px;line-height:1.55}
.member-form{display:grid;grid-template-columns:1fr 180px auto;gap:12px;align-items:end;margin:24px 0}
.member-form label{font-size:12px;font-weight:800;color:var(--navy)}
.member-form input,.member-form select{display:block;width:100%;margin-top:6px}
.members-table{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.member-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:14px;align-items:center;padding:14px 16px;border-top:1px solid var(--line);background:#fff}
.member-row:first-child{border-top:0}
.member-row.header{background:var(--soft);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.role-pill{display:inline-block;width:max-content;border-radius:999px;background:#edf3f9;color:var(--navy);padding:5px 9px;font-size:11px;font-weight:900;text-transform:capitalize}
.btn.small{padding:7px 10px;font-size:11px}
@media(max-width:700px){.member-form{grid-template-columns:1fr}.member-row{grid-template-columns:1fr 1fr}.member-row.header{display:none}.auth-card{padding:24px}}

.guard-pending body{visibility:hidden!important}
.turnstile-wrap{min-height:68px;margin:14px 0;display:flex;align-items:center;justify-content:center}
.session-warning{position:fixed;inset:0;background:rgba(6,23,40,.72);z-index:9999;display:grid;place-items:center;padding:20px}
.session-warning[hidden]{display:none}
.session-warning-card{width:min(460px,100%);background:#fff;border-radius:20px;padding:28px;box-shadow:0 22px 70px rgba(0,0,0,.28)}
.session-warning-card h2{color:var(--navy);font-size:26px;margin:8px 0}
.session-warning-card p{color:var(--muted);line-height:1.55}
.session-warning-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}
