:root {
    --bg: #050b16;
    --surface: #08152b;
    --surface2: #0c1c38;
    --line: rgba(255,255,255,.09);
    --text: #f8f8ff;
    --muted: #9a9bb3;
    --accent: #0b53cb;
    --cyan: #f6821f;
    --green: #43e6a4;
    --danger: #ff6b81;
    --shadow: 0 24px 70px rgba(0,0,0,.35);
    --r: 20px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Lato, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}
a {
    color: inherit;
    text-decoration: none;
}
button, input, select, textarea {
    font: inherit;
}
.app-shell {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100vh;
}
.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 28px 22px;
    background: rgba(14,14,31,.88);
    border-right: 1px solid var(--line);
    backdrop-filter: blur(22px);
    display: flex;
    flex-direction: column;
    z-index: 20;
}
.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-lockup img {
    width: 45px;
    height: 45px;
}
.brand-lockup b {
    display: block;
    font-size: 18px;
}
.brand-lockup span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
}
.sidebar nav {
    display: grid;
    gap: 7px;
    margin-top: 42px;
}
.sidebar nav a {
    padding: 13px 14px;
    border-radius: 12px;
    color: #c8c8d8;
}
.sidebar nav a:hover {
    background: rgba(11,83,203,.12);
    color: white;
}
.sidebar-foot {
    margin-top: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 13px;
    background: rgba(255,255,255,.04);
    border-radius: 14px;
}
.sidebar-foot small, .field-item small, .timeline small, .assignment small {
    display: block;
    color: var(--muted);
    margin-top: 3px;
}
.avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg,var(--accent),var(--cyan));
    display: grid;
    place-items: center;
    font-weight: 900;
}
.main {
    min-width: 0;
}
.topbar {
    height: 80px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    position: sticky;
    top: 0;
    background: rgba(10,10,21,.78);
    backdrop-filter: blur(20px);
    z-index: 10;
}
.content {
    padding: 34px;
    max-width: 1500px;
    margin: auto;
}
.eyebrow {
    font-size: 11px;
    letter-spacing: .18em;
    color: #6fa8ff;
    font-weight: 900;
}
.status-pill, .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    color: #d9d9e8;
}
.status-pill i {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--green);
}
.page-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}
.page-head h1 {
    font-size: clamp(30px,4vw,48px);
    margin: 7px 0 7px;
}
.page-head p, .muted {
    color: var(--muted);
}
.btn {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.06);
    color: white;
    border-radius: 12px;
    padding: 11px 16px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.btn.primary {
    border: 0;
    background: linear-gradient(135deg,var(--accent),#063d9b);
    box-shadow: 0 12px 30px rgba(11,83,203,.25);
}
.btn.wide {
    width: 100%;
}
.btn.mini {
    padding: 8px 10px;
    font-size: 12px;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
    border: 1px solid var(--line);
    padding: 24px;
    border-radius: var(--r);
}
.stat-card:after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -45px;
    top: -45px;
    background: var(--accent);
    filter: blur(70px);
    opacity: .3;
}
.stat-card span {
    color: var(--muted);
}
.stat-card b {
    display: block;
    font-size: 38px;
    margin: 8px 0;
}
.stat-card small {
    color: #777991;
}
.panel, .glass-card {
    background: rgba(18,18,40,.72);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: var(--r);
    padding: 24px;
    backdrop-filter: blur(20px);
}
.panel.narrow {
    max-width: 900px;
}
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.event-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
}
.event-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: linear-gradient(145deg,#0c1c38,#07152a);
    transition: .3s;
}
.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(11,83,203,.45);
}
.event-card h3 {
    font-size: 21px;
    margin: 28px 0 7px;
}
.event-card p {
    color: var(--muted);
}
.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 28px;
    color: #aaaabd;
    font-size: 12px;
}
.event-meta b {
    color: white;
}
.module-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin: 22px 0;
}
.module-grid>a {
    padding: 24px;
    min-height: 170px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: linear-gradient(145deg,rgba(11,83,203,.1),rgba(246,130,31,.03));
    transition: .3s;
}
.module-grid>a:hover {
    transform: translateY(-4px);
    background: linear-gradient(145deg,rgba(11,83,203,.17),rgba(246,130,31,.06));
}
.module-grid>a>span, .module-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    color: #8db8ff;
    background: rgba(11,83,203,.13);
    padding: 7px 9px;
    border-radius: 9px;
}
.module-grid h3 {
    margin: 24px 0 6px;
}
.module-grid p {
    color: var(--muted);
    margin: 0;
}
.link-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.link-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255,255,255,.035);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
}
.link-card small {
    grid-column: 1/-1;
    color: var(--muted);
}
.link-card code {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #b9d4ff;
}
.link-card button {
    background: none;
    border: 0;
    color: var(--cyan);
    cursor: pointer;
}
.toggle-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.toggle-row label, .check {
    display: flex!important;
    align-items: center!important;
    gap: 8px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-grid .span2 {
    grid-column: 1/-1;
}
.stack {
    display: grid;
    gap: 15px;
}
.stack label, .form-grid label, .scanner-panel>label {
    display: grid;
    gap: 7px;
    color: #c9c9d7;
    font-size: 13px;
}
.stack label small {
    color: var(--muted);
}
input, select, textarea {
    width: 100%;
    background: #07152a;
    color: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 12px 13px;
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(11,83,203,.12);
}
textarea {
    resize: vertical;
}
.split {
    display: grid;
    grid-template-columns: minmax(320px,.8fr) minmax(400px,1.2fr);
    gap: 20px;
}
.field-list {
    display: grid;
    gap: 9px;
}
.field-item, .assignment, .day-card {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255,255,255,.025);
}
.field-item>div, .assignment>div, .day-card>span {
    flex: 1;
}
.type-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    background: rgba(11,83,203,.14);
    border-radius: 10px;
    color: #8db8ff;
    font-weight: 900;
}
.icon-btn {
    border: 0;
    background: none;
    color: var(--danger);
    font-size: 22px;
    cursor: pointer;
}
.permission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}
.permission-grid h4 {
    grid-column: 1/-1;
    margin: 12px 0 2px;
    color: #6fa8ff;
}
.assignment select {
    max-width: 210px;
}
.table-wrap {
    overflow: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
th {
    font-size: 11px;
    letter-spacing: .1em;
    color: #888aa2;
}
.searchbar {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}
.searchbar input {
    max-width: 460px;
}
.scanner-panel #reader {
    border: 1px solid var(--line)!important;
    border-radius: 16px;
    overflow: hidden;
    background: #02060d;
}
.scan-result {
    padding: 18px;
    margin: 15px 0;
    border-radius: 14px;
    background: rgba(67,230,164,.08);
    color: #baf8dc;
}
.notice {
    padding: 13px 15px;
    border: 1px solid rgba(11,83,203,.28);
    background: rgba(11,83,203,.1);
    border-radius: 12px;
    margin-bottom: 16px;
}
.notice.danger {
    border-color: rgba(255,107,129,.3);
    background: rgba(255,107,129,.1);
}
.notice.warning {
    border-color: rgba(255,190,80,.3);
    background: rgba(255,190,80,.1);
}
.auth-bg, .guest-bg {
    background: radial-gradient(circle at 10% 10%,rgba(11,83,203,.2),transparent 35%), radial-gradient(circle at 90% 80%,rgba(246,130,31,.12),transparent 35%), #040a15;
}
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
}
.auth-visual {
    position: relative;
    overflow: hidden;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-copy {
    max-width: 650px;
}
.hero-copy h1 {
    font-size: clamp(46px,6vw,82px);
    line-height: .96;
    margin: 14px 0 24px;
}
.hero-copy p {
    font-size: 18px;
    color: #a9a9bc;
    max-width: 580px;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .2;
}
.orb.one {
    width: 340px;
    height: 340px;
    background: #0b53cb;
    right: 10%;
    top: 10%;
}
.orb.two {
    width: 260px;
    height: 260px;
    background: #f6821f;
    left: 20%;
    bottom: -5%;
}
.auth-panel {
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(255,255,255,.025);
    border-left: 1px solid var(--line);
}
.login-card {
    width: min(460px,100%);
}
.login-card h2 {
    font-size: 38px;
    margin: 10px 0;
}
.login-card>p {
    color: var(--muted);
    margin-bottom: 25px;
}
.text-link {
    color: #8db8ff;
    text-align: center;
    font-size: 13px;
}
.install-shell {
    max-width: 920px;
    margin: 40px auto;
    padding: 20px;
}
.install-card {
    margin-top: 25px;
}
.guest-shell, .guest-dashboard {
    min-height: 100vh;
}
.guest-head, .guest-nav {
    max-width: 1200px;
    margin: auto;
    padding: 26px 28px;
}
.guest-auth {
    max-width: 1200px;
    margin: auto;
    padding: 40px 28px 80px;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 36px;
    align-items: start;
}
.event-intro {
    position: sticky;
    top: 30px;
    padding-top: 40px;
}
.event-intro h1 {
    font-size: clamp(42px,6vw,72px);
    line-height: 1;
    margin: 13px 0 20px;
}
.event-intro p {
    color: #b1b2c6;
    font-size: 18px;
    line-height: 1.6;
}
.event-facts {
    display: grid;
    gap: 12px;
    margin-top: 30px;
    color: #d7d7e4;
}
.registration-card {
    padding: 28px;
}
.tabs {
    display: flex;
    gap: 5px;
    background: #071326;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 24px;
}
.tabs button {
    flex: 1;
    border: 0;
    background: transparent;
    color: #888ba4;
    border-radius: 9px;
    padding: 11px;
    cursor: pointer;
}
.tabs button.active {
    background: #12356e;
    color: white;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.tab-pane h2 {
    font-size: 29px;
    margin-bottom: 6px;
}
.guest-content {
    max-width: 1200px;
    margin: auto;
    padding: 20px 28px 80px;
}
.guest-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.welcome {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 42px 0 26px;
}
.welcome h1 {
    font-size: clamp(38px,5vw,62px);
    margin: 8px 0;
}
.welcome p {
    color: var(--muted);
}
.guest-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr;
    gap: 16px;
}
.pass-card {
    background: linear-gradient(135deg,#0b3f91,#082554);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 260px;
    box-shadow: var(--shadow);
}
.pass-card img {
    width: 155px;
    background: white;
    padding: 9px;
    border-radius: 15px;
}
.pass-card h2 {
    font-size: 25px;
    margin: 15px 0 5px;
}
.pass-card p, .plan-card p {
    color: #b6b6ca;
}
.plan-card {
    position: relative;
}
.plan-card h2 {
    margin: 18px 0 12px;
}
.plan-card form {
    display: grid;
    gap: 10px;
}
.published {
    padding: 15px;
    background: rgba(67,230,164,.07);
    border: 1px solid rgba(67,230,164,.16);
    border-radius: 14px;
}
.published b {
    font-size: 18px;
}
.published small {
    color: #8ddbb8;
}
.attendance-timeline {
    margin-top: 16px;
}
.timeline {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin-top: 20px;
}
.timeline-item {
    display: flex;
    gap: 10px;
    padding: 14px;
    background: rgba(255,255,255,.025);
    border-radius: 13px;
}
.timeline-item i {
    width: 10px;
    height: 10px;
    background: #55566e;
    border-radius: 50%;
    margin-top: 4px;
}
.timeline-item.done i {
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}
.qr-placeholder {
    width: 155px;
    height: 155px;
    background: white;
    color: #222;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 14px;
}
.mobile-menu {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 22px;
}
@media(max-width:1100px) {
    .event-grid, .module-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .guest-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pass-card {
        grid-column: 1/-1;
    }
    .split {
        grid-template-columns: 1fr;
    }
    .timeline {
        grid-template-columns: repeat(2,1fr);
    }
}
@media(max-width:820px) {
    .app-shell {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: fixed;
        left: -290px;
        width: 270px;
        transition: .3s;
    }
    .sidebar.open {
        left: 0;
    }
    .mobile-menu {
        display: block;
    }
    .topbar {
        padding: 0 18px;
    }
    .content {
        padding: 22px 16px;
    }
    .auth-shell {
        grid-template-columns: 1fr;
    }
    .auth-visual {
        min-height: 42vh;
        padding: 30px;
    }
    .hero-copy h1 {
        font-size: 44px;
    }
    .auth-panel {
        border: 0;
        padding: 35px 22px;
    }
    .guest-auth {
        grid-template-columns: 1fr;
        padding-top: 5px;
    }
    .event-intro {
        position: relative;
        top: auto;
        padding-top: 10px;
    }
    .guest-grid {
        grid-template-columns: 1fr;
    }
    .pass-card {
        grid-column: auto;
    }
    .link-pair {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .span2 {
        grid-column: auto;
    }
    .page-head, .welcome {
        align-items: flex-start;
        flex-direction: column;
    }
    .stat-grid {
        grid-template-columns: 1fr;
    }
    .timeline {
        grid-template-columns: 1fr;
    }
    .assignment {
        align-items: stretch;
        flex-direction: column;
    }
    .assignment select {
        max-width: none;
    }
}
@media(max-width:560px) {
    .event-grid, .module-grid {
        grid-template-columns: 1fr;
    }
    .topbar .status-pill {
        display: none;
    }
    .content {
        padding: 20px 13px;
    }
    .panel, .glass-card {
        padding: 18px;
        border-radius: 16px;
    }
    .guest-nav, .guest-head, .guest-content, .guest-auth {
        padding-left: 16px;
        padding-right: 16px;
    }
    .guest-nav .brand-lockup span {
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .guest-nav .btn {
        padding: 9px 10px;
        font-size: 12px;
    }
    .pass-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .pass-card img {
        width: 180px;
        align-self: center;
    }
    .permission-grid {
        grid-template-columns: 1fr;
    }
    .auth-visual {
        min-height: 38vh;
    }
    .hero-copy p {
        font-size: 15px;
    }
}
/* RegisterMe official blue + Saga orange identity */
:root {
    --brand-blue: #0b53cb;
    --brand-blue-bright: #1d6ff2;
    --brand-blue-soft: #6fa8ff;
    --brand-orange: #f6821f;
    --brand-orange-soft: #ffad5c;
    --navy: #050b16;
}
body {
    background: radial-gradient(circle at 82% -10%,rgba(11,83,203,.12),transparent 32%), radial-gradient(circle at -5% 105%,rgba(246,130,31,.06),transparent 28%), var(--bg);
}
.sidebar {
    background: linear-gradient(180deg,rgba(5,13,29,.98),rgba(6,17,36,.96));
    box-shadow: 18px 0 60px rgba(0,0,0,.18);
}
.brand-lockup {
    min-width: 0;
}
.brand-lockup img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}
.sidebar .brand-lockup {
    width: 100%;
    min-height: 76px;
    padding: 9px 10px;
    border-radius: 16px;
    background: linear-gradient(145deg,#fff,#eef5ff);
    border: 1px solid rgba(255,255,255,.85);
    box-shadow: 0 14px 35px rgba(0,0,0,.22), 0 0 0 1px rgba(11,83,203,.08) inset;
}
.sidebar .brand-lockup img {
    width: 100%;
    max-height: 58px;
}
.sidebar .brand-lockup>div {
    display: none;
}
.sidebar nav {
    margin-top: 30px;
}
.sidebar nav a {
    border: 1px solid transparent;
    transition: .22s ease;
}
.sidebar nav a:hover {
    background: linear-gradient(90deg,rgba(11,83,203,.18),rgba(246,130,31,.045));
    border-color: rgba(111,168,255,.15);
    transform: translateX(3px);
}
.topbar {
    background: linear-gradient(90deg,rgba(5,11,22,.92),rgba(7,20,42,.9));
    box-shadow: 0 10px 35px rgba(0,0,0,.12);
}
.eyebrow {
    color: var(--brand-blue-soft);
}
.btn {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover {
    transform: translateY(-1px);
    border-color: rgba(111,168,255,.3);
}
.btn.primary {
    background: linear-gradient(135deg,var(--brand-blue-bright),var(--brand-blue));
    box-shadow: 0 14px 34px rgba(11,83,203,.28), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.btn.primary:hover {
    box-shadow: 0 17px 38px rgba(11,83,203,.36), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.stat-card, .panel, .glass-card, .event-card {
    box-shadow: 0 22px 60px rgba(0,0,0,.22), 0 1px 0 rgba(255,255,255,.025) inset;
}
.stat-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,var(--brand-blue),var(--brand-orange),transparent 72%);
    opacity: .75;
}
.event-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,var(--brand-blue),var(--brand-orange));
    opacity: .65;
}
.event-card:hover {
    box-shadow: 0 22px 55px rgba(11,83,203,.14);
}
.module-grid>a {
    position: relative;
    overflow: hidden;
}
.module-grid>a:after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -40px;
    bottom: -45px;
    border-radius: 50%;
    background: var(--brand-orange);
    filter: blur(55px);
    opacity: .08;
    pointer-events: none;
}
.module-grid>a>span, .module-tag {
    color: #b9d4ff;
    background: rgba(11,83,203,.14);
    border: 1px solid rgba(111,168,255,.12);
}
.avatar {
    background: linear-gradient(135deg,var(--brand-blue),var(--brand-orange));
}
.link-card button {
    color: var(--brand-orange-soft);
}
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(11,83,203,.15);
}
.tabs button.active {
    background: linear-gradient(135deg,rgba(11,83,203,.48),rgba(11,83,203,.25));
    box-shadow: 0 8px 22px rgba(11,83,203,.14);
}
.auth-bg, .guest-bg {
    background: radial-gradient(circle at 12% 8%,rgba(11,83,203,.22),transparent 34%), radial-gradient(circle at 92% 82%,rgba(246,130,31,.10),transparent 34%), linear-gradient(145deg,#040a15,#07152a 55%,#050b16);
}
.auth-visual>.brand-lockup, .guest-head .brand-lockup, .guest-nav .brand-lockup {
    width: min(300px,72vw);
    padding: 10px 13px;
    border-radius: 18px;
    background: linear-gradient(145deg,#fff,#eef5ff);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 18px 50px rgba(0,0,0,.24), 0 0 0 1px rgba(11,83,203,.08) inset;
}
.auth-visual>.brand-lockup img, .guest-head .brand-lockup img, .guest-nav .brand-lockup img {
    width: 100%;
    max-height: 72px;
}
.auth-visual>.brand-lockup>div, .guest-head .brand-lockup>div {
    display: none;
}
.guest-nav .brand-lockup>div {
    position: absolute;
    margin-top: 100px;
    padding-left: 2px;
}
.guest-nav .brand-lockup {
    position: relative;
    margin-bottom: 26px;
}
.guest-nav .brand-lockup>div b {
    font-size: 13px;
    color: #fff;
}
.guest-nav .brand-lockup>div span {
    font-size: 10px;
    color: var(--muted);
}
.hero-copy h1 {
    background: linear-gradient(120deg,#fff 10%,#cfe0ff 54%,#ffbd7e 110%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.orb.one {
    background: var(--brand-blue);
}
.orb.two {
    background: var(--brand-orange);
}
.auth-panel {
    background: linear-gradient(180deg,rgba(255,255,255,.03),rgba(11,83,203,.025));
}
.pass-card {
    background: radial-gradient(circle at 90% 10%,rgba(246,130,31,.17),transparent 35%), linear-gradient(135deg,#0b3f91,#082554 58%,#071a38);
    border-color: rgba(111,168,255,.2);
}
.pass-card:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border-top: 1px solid rgba(255,255,255,.15);
    pointer-events: none;
}
.pass-card {
    position: relative;
    overflow: hidden;
}
.status-pill i {
    background: #43e6a4;
}
.text-link {
    color: #9cc2ff;
}
.notice {
    border-color: rgba(11,83,203,.3);
    background: rgba(11,83,203,.11);
}
@media(max-width:820px) {
    .sidebar .brand-lockup {
        min-height: 70px;
    }
    .sidebar .brand-lockup img {
        max-height: 54px;
    }
    .auth-visual>.brand-lockup {
        width: min(270px,85vw);
    }
}
@media(max-width:560px) {
    .guest-nav {
        gap: 15px;
        align-items: flex-start;
    }
    .guest-nav .brand-lockup {
        width: min(225px,58vw);
        margin-bottom: 30px;
        padding: 8px 10px;
    }
    .guest-nav .brand-lockup>div {
        margin-top: 76px;
    }
    .guest-nav .brand-lockup>div span {
        max-width: 150px;
    }
}
/* RegisterMe V2 planning + access-control refinements */
.guest-pass-v2 {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 30px 34px;
    border-radius: 26px;
    background: radial-gradient(circle at 92% 12%,rgba(246,130,31,.18),transparent 34%), linear-gradient(135deg,#0b3f91,#071d40 70%);
    border: 1px solid rgba(111,168,255,.24);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
    margin-bottom: 20px;
}
.guest-pass-v2 h2 {
    font-size: clamp(28px,4vw,44px);
    margin: 12px 0 8px;
}
.guest-pass-v2 p {
    color: #c0d2ef;
    max-width: 520px;
}
.qr-frame {
    background: #fff;
    padding: 13px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: #152033;
    box-shadow: 0 16px 35px rgba(0,0,0,.25);
}
.qr-frame img {
    width: 190px;
    height: 190px;
    object-fit: contain;
}
.qr-frame small {
    font-weight: 800;
    margin-top: 7px;
}
.pass-download {
    display: inline-flex;
    margin-top: 10px;
}
.guest-module-stack {
    display: grid;
    gap: 18px;
}
.guest-module {
    padding: 28px;
}
.module-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}
.module-title h2 {
    margin: 10px 0 0;
}
.plan-status {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid;
}
.published-status {
    color: #79e5b5;
    background: rgba(67,230,164,.08);
    border-color: rgba(67,230,164,.2);
}
.pending-status {
    color: #9cc2ff;
    background: rgba(11,83,203,.1);
    border-color: rgba(111,168,255,.2);
}
.module-intro {
    color: #b8c1d3;
    max-width: 860px;
    line-height: 1.6;
}
.choice-cards {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin: 16px 0;
}
.choice-card {
    position: relative;
    display: block;
    cursor: pointer;
}
.choice-card input {
    position: absolute;
    opacity: 0;
}
.choice-card>div {
    height: 100%;
    padding: 16px 17px;
    border: 1px solid #1d304b;
    border-radius: 15px;
    background: #07162a;
    transition: .2s;
}
.choice-card input:checked+div {
    border-color: #397ff0;
    background: linear-gradient(135deg,rgba(11,83,203,.2),rgba(11,83,203,.07));
    box-shadow: 0 0 0 3px rgba(11,83,203,.12);
}
.choice-card b, .choice-card span, .choice-card small {
    display: block;
}
.choice-card span {
    color: #c3d0e4;
    margin-top: 6px;
}
.choice-card small {
    color: #7fa6df;
    margin-top: 5px;
}
.choice-card p {
    font-size: 13px;
    color: #929eb1;
    margin: 10px 0 0;
}
.preference-form>.btn {
    width: 100%;
    margin-top: 4px;
}
.accommodation-detail h3 {
    font-size: 26px;
    margin: 0 0 6px;
}
.address-line {
    color: #a8bddb;
}
.plan-facts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    margin: 16px 0;
}
.plan-facts span {
    padding: 13px;
    background: #07182c;
    border: 1px solid #1b2d48;
    border-radius: 12px;
    font-weight: 700;
}
.plan-facts small {
    display: block;
    color: #7690b3;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: 10px;
    margin-bottom: 5px;
}
.locked-note {
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(246,130,31,.07);
    border: 1px solid rgba(246,130,31,.16);
    color: #e6b17d;
    font-size: 13px;
}
.journey-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.journey-select {
    padding: 18px;
    background: rgba(4,14,29,.5);
    border: 1px solid #19283f;
    border-radius: 16px;
}
.journey-select h3 {
    margin: 0 0 8px;
    font-size: 17px;
}
.travel-choices {
    grid-template-columns: 1fr;
}
.itinerary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.detail-plan {
    padding: 18px;
    border: 1px solid #1d304b;
    background: #07162a;
    border-radius: 16px;
}
.detail-plan-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.detail-plan-head b {
    font-size: 18px;
}
.plan-type {
    font-size: 10px;
    letter-spacing: .09em;
    font-weight: 900;
    color: #9cc2ff;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(11,83,203,.13);
}
.detail-plan .plan-facts {
    grid-template-columns: 1fr 1fr;
}
.detail-plan p {
    color: #9ca9bd;
    line-height: 1.5;
}
.empty-small, .empty-state {
    color: #79869c;
    padding: 14px 0;
}
.admin-option-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}
.admin-option {
    border: 1px solid #202941;
    border-radius: 15px;
    background: #0c1022;
    overflow: hidden;
}
.admin-option summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 17px;
    list-style: none;
}
.admin-option summary::-webkit-details-marker {
    display: none;
}
.admin-option summary div {
    display: grid;
    gap: 5px;
}
.admin-option summary small {
    color: #8e98ae;
}
.option-edit, .admin-option>form {
    padding: 0 17px 17px;
}
.option-actions {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-top: 10px;
}
.option-actions form {
    margin: 0;
}
.btn.danger {
    border-color: rgba(255,98,98,.22);
    color: #ff9292;
    background: rgba(255,80,80,.06);
}
.assignment-list {
    display: grid;
    gap: 12px;
}
.travel-assignment {
    padding: 18px;
    border: 1px solid #202941;
    border-radius: 16px;
    background: #0b1021;
}
.assignment-guest {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}
.assignment-guest div {
    display: grid;
}
.assignment-guest span {
    color: #8f9aae;
}
.assignment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}
.assignment-grid label {
    font-size: 13px;
}
.assignment-grid label>small {
    display: block;
    color: #7f8aa0;
    margin: 4px 0 6px;
}
.access-layout {
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(320px,.65fr);
    gap: 18px;
}
.permission-modules {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}
.permission-module {
    padding: 16px;
    border: 1px solid #202941;
    border-radius: 15px;
    background: #0b1021;
}
.permission-module-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #73aaff;
}
.permission-module-title span {
    font-size: 11px;
    color: #68758d;
}
.permission-items {
    display: grid;
    gap: 8px;
}
.permission-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 10px;
    background: #081528;
    cursor: pointer;
}
.permission-item input {
    width: 17px;
    height: 17px;
}
.access-summary {
    margin-top: 18px;
}
.list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #1b2538;
}
.list-row>div {
    display: grid;
}
.list-row small {
    color: #7f8aa0;
    margin-top: 3px;
}
@media(max-width:980px) {
    .journey-sections, .itinerary-grid, .admin-option-grid, .permission-modules, .assignment-grid {
        grid-template-columns: 1fr;
    }
    .access-layout {
        grid-template-columns: 1fr;
    }
    .plan-facts {
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width:650px) {
    .guest-pass-v2 {
        grid-template-columns: 1fr;
        padding: 22px;
    }
    .qr-frame {
        justify-self: center;
    }
    .choice-cards {
        grid-template-columns: 1fr;
    }
    .plan-facts {
        grid-template-columns: 1fr;
    }
    .module-title {
        align-items: flex-start;
        flex-direction: column;
    }
    .guest-actions {
        display: flex;
        gap: 5px;
    }
    .detail-plan .plan-facts {
        grid-template-columns: 1fr;
    }
}
.option-edit-wrap {
    padding: 0 17px 17px;
}
.delete-form, .secondary-action {
    margin-top: 9px;
}
.delete-form .btn, .secondary-action .btn {
    width: 100%;
}
.travel-assignment>.stack>.btn {
    width: 100%;
    margin-top: 4px;
}
/* RegisterMe V3 - Guest Operations & Reporting */
.preference-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}
.preference-control form {
    display: flex;
    align-items: center;
    gap: 14px;
}
.switch-line {
    display: flex!important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(11,83,203,.08);
}
.switch-line input {
    width: 22px;
    height: 22px;
}
.planning-clean {
    align-items: start;
}
.manage-list {
    display: grid;
    gap: 12px;
}
.manage-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
    padding: 0 16px 16px;
}
.manage-item summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
.manage-item summary div {
    display: grid;
    gap: 4px;
}
.manage-item summary small {
    color: var(--muted);
}
.manage-item form+form {
    margin-top: 10px;
}
.btn.danger {
    border-color: rgba(239,68,68,.4);
    color: #fecaca;
    background: rgba(239,68,68,.08);
}
.btn.small {
    padding: 8px 12px;
    font-size: 12px;
}
.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}
.search-bar input {
    flex: 1;
}
.guest-admin-hero {
    margin-bottom: 20px;
}
.guest-identity {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-qr {
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-qr img {
    width: 110px;
    height: 110px;
    background: #fff;
    padding: 8px;
    border-radius: 16px;
}
.profile-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
}
.profile-grid>div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    display: grid;
    gap: 5px;
}
.profile-grid small {
    color: var(--muted);
}
.profile-grid .wide {
    grid-column: span 2;
}
.guest-management-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
    margin-top: 20px;
}
.ticket-center {
    margin-top: 20px;
}
.ticket-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}
.ticket-upload-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
}
.report-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
    margin: 20px 0;
}
.report-card p {
    min-height: 46px;
    color: var(--muted);
}
.admin-assignment-note {
    padding: 22px;
    border: 1px dashed rgba(246,130,31,.42);
    background: rgba(246,130,31,.07);
    border-radius: 18px;
}
.admin-assignment-note p {
    color: var(--muted);
    margin-bottom: 0;
}
.guest-ticket-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px;
    margin-top: 16px;
    border: 1px solid rgba(246,130,31,.35);
    background: linear-gradient(135deg,rgba(11,83,203,.11),rgba(246,130,31,.08));
    border-radius: 18px;
}
.table-wrap td small {
    display: block;
    color: var(--muted);
    margin-top: 3px;
}
@media(max-width:900px) {
    .preference-control, .guest-identity, .guest-ticket-strip {
        align-items: stretch;
        flex-direction: column;
    }
    .guest-management-grid, .report-grid, .ticket-grid, .profile-grid {
        grid-template-columns: 1fr;
    }
    .profile-grid .wide {
        grid-column: auto;
    }
    .admin-qr {
        justify-content: flex-start;
    }
    .search-bar {
        flex-wrap: wrap;
    }
}