:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#edf1f7;background:#101725;font-size:16px;line-height:1.5;--bg:#101725;--panel:#182232;--panel2:#1e2b3c;--line:#2b384a;--muted:#a6b3c5;--gold:#edc37b;--green:#7fdbb6;--red:#ffa7a7;--blue:#9ebef7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,input,select,textarea,a{outline-offset:4px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--gold)}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;letter-spacing:-.04em;line-height:1.25;margin-bottom:10px}h2{font-size:1.25rem;margin-bottom:12px}h3{font-size:1rem;margin-bottom:10px}a{color:inherit;text-decoration:none}small{font-size:.8125rem}.muted{color:var(--muted)}.eyebrow{display:block;color:var(--gold);font-weight:700;font-size:.75rem;letter-spacing:.12em;margin-bottom:10px}.app-shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{padding:34px 20px 20px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#111b2a;position:sticky;top:0;height:100vh}.brand,.login-brand{display:flex;align-items:center;gap:12px;letter-spacing:.12em;font-size:.625rem;line-height:1.6}.brand strong,.login-brand strong{font-size:.75rem;letter-spacing:.08em}.brand-mark{display:inline-flex;align-items:center;justify-content:center;border:1px solid #edc37b80;background:linear-gradient(135deg,#70563744,#edc37b11);border-radius:13px;color:var(--gold);width:46px;height:46px;font-size:1.6rem}.sidebar-label{color:#7d8da3;font-size:.7rem;letter-spacing:.15em;margin:42px 12px 14px;font-weight:700}.nav-item{border:0;background:none;color:#b8c5d7;width:100%;padding:13px 14px;margin-bottom:6px;border-radius:9px;display:flex;align-items:center;gap:12px;text-align:left;font-size:.9375rem}.nav-item span{width:20px;font-size:1.2rem}.nav-item:hover{background:#203047}.nav-item.active{background:#edc37b16;color:var(--gold);box-shadow:inset 3px 0 var(--gold)}.sidebar-guide{border-top:1px solid var(--line);margin-top:38px;padding:24px 12px 0}.sidebar-guide .eyebrow{color:#92a3b9;font-size:.6875rem}.sidebar-guide p{color:var(--muted);font-size:.875rem;line-height:2}.sidebar-bottom{margin-top:auto;padding:24px 10px 0;display:flex;gap:12px;flex-direction:column;color:#8c9bb0}.environment{background:#3154453b;border:1px solid #42735f80;border-radius:6px;color:#9ce2c1;padding:6px 9px;width:fit-content;font-size:.75rem}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:20px;background:#101725e8}.breadcrumb{font-size:.875rem;color:#8293ab}.breadcrumb span{margin:0 10px;color:#41516a}.breadcrumb strong{font-weight:500;color:#c5d0df}.topbar-actions{display:flex;align-items:center;gap:10px}.user-label{font-size:.8125rem;color:var(--muted);padding-right:12px}.quiet{border:1px solid var(--line);background:#182232;color:#c7d3e3;border-radius:7px;padding:8px 12px;font-size:.8125rem}.quiet:hover{background:#26354a}.primary,.secondary,.danger{border:1px solid transparent;border-radius:8px;padding:11px 17px;font-size:.875rem;font-weight:650;min-height:44px}.primary{color:#201a12;background:var(--gold)}.primary:hover{background:#f6d69f}.secondary{background:#233248;border-color:#384a64;color:#e3eaf4}.secondary:hover{background:#30445f}.danger{background:#66333340;border-color:#8a4444;color:#ffb3b3}.page-content{max-width:1560px;margin:0 auto;padding:38px 40px 24px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:30px}.page-heading p{font-size:.9375rem;color:var(--muted);margin-bottom:0;max-width:750px}.heading-actions,.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat-card,.panel,.campaign-card{background:var(--panel);border:1px solid var(--line);border-radius:12px}.stat-card{padding:22px}.stat-label{font-size:.875rem;color:var(--muted)}.stat-number{font-size:2.2rem;font-weight:650;letter-spacing:-.04em;margin:8px 0}.stat-note{font-size:.8125rem;color:#8193ac}.stat-card.featured{border-color:#806647;background:linear-gradient(135deg,#3b3329,#182232)}.panel{padding:24px;margin-bottom:22px}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.panel-header h2{margin:0}.panel-header p{margin:5px 0 0}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:22px}.workflow{display:grid;gap:18px}.workflow-item{display:flex;gap:12px}.workflow-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;border:1px solid #8b744f;color:var(--gold);border-radius:8px}.workflow-item p{font-size:.875rem;color:var(--muted);margin:4px 0 0}.filter-bar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.filter-bar input{flex:1;min-width:200px}.filter-bar select{width:auto;min-width:155px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:.75rem;color:#93a4bb;font-weight:600;padding:12px 14px;border-bottom:1px solid var(--line);letter-spacing:.03em}td{padding:17px 14px;border-bottom:1px solid #2b384a99;font-size:.875rem;vertical-align:middle}tr:last-child td{border-bottom:0}td:first-child{padding-left:0}th:first-child{padding-left:0}.cell-title{display:block;font-weight:600;color:#e6edf7}.cell-note{display:block;color:#90a0b6;font-size:.75rem;margin-top:4px}.badge{display:inline-flex;border-radius:5px;font-size:.75rem;padding:4px 9px;line-height:1.5;white-space:nowrap}.badge.draft{background:#8693a51c;color:#b3bfd0}.badge.active,.badge.published{background:#61c89f1a;color:#94e5bf}.badge.scheduled{background:#759ce21c;color:#adcbff}.badge.expired,.badge.archived{background:#a48fbc17;color:#baa6cf}.badge.error{background:#ff78781a;color:#ffabab}.empty{padding:38px 20px;text-align:center;color:var(--muted)}.empty-symbol{font-size:2.8rem;color:#6b7f9b;margin-bottom:10px}.empty h3{font-size:1.125rem;color:#d4deec}.empty p{max-width:540px;margin:0 auto 18px;font-size:.9375rem}.two-column{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.editor-grid .full{grid-column:1/-1}label{display:flex;flex-direction:column;gap:7px;font-size:.875rem;color:#c6d2e2}input,select,textarea{background:#111b2b;color:#eef2f8;border:1px solid #35445b;border-radius:7px;padding:10px 12px;width:100%;min-height:43px;font-size:.9375rem}input::placeholder,textarea::placeholder{color:#73839b}select{appearance:none;padding-right:35px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23b4c3d7' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center}textarea{resize:vertical;min-height:100px}.help{font-size:.8125rem;color:#8d9fb6;line-height:1.6;margin:0}.schedule-help{padding:13px 15px;border-radius:7px;background:#233248;font-size:.8125rem;color:#b4c3d7;margin-top:15px}.editor-aside .panel{position:sticky;top:20px}.editor-aside ul{padding-left:18px;color:var(--muted);font-size:.875rem;line-height:1.8}.form-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:20px}.form-section-heading h2{margin:0}.offer-block{border:1px solid #35445b;border-radius:9px;background:#142031;padding:18px;margin-bottom:16px}.offer-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:16px}.offer-heading h3{margin:0}.reward-list{display:grid;gap:10px;margin:10px 0 14px}.reward-row{display:grid;grid-template-columns:130px minmax(135px,1fr) 110px 35px;gap:9px;align-items:end}.reward-row label{font-size:.75rem}.reward-row input,.reward-row select{font-size:.875rem;padding:9px;min-height:39px}.icon-button{width:35px;min-height:39px;border:1px solid var(--line);border-radius:7px;background:#293244;color:#d4ddea;font-size:1.125rem;padding:0}.icon-button:hover{background:#5b3036;color:#fff}.reward-caption{font-size:.875rem;font-weight:600;margin-bottom:0}.reward-hint{font-size:.75rem;color:#92a4bb;margin:0 0 7px}.editor-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;background:#182232;border:1px solid var(--line);border-radius:10px;padding:17px;margin-top:18px;position:sticky;bottom:16px;z-index:2;box-shadow:0 8px 30px #0004}.validation{padding:15px;border:1px solid #527057;border-radius:8px;color:#ade2be;background:#34513b26;margin-top:16px;white-space:pre-wrap;overflow-wrap:anywhere}.validation.invalid{border-color:#8b4b50;background:#66333330;color:#ffbbbb}.validation ul{margin:8px 0 0;padding-left:20px}.notice,.error-banner{margin:20px 40px 0;padding:14px 18px;border-radius:8px;font-size:.875rem;overflow-wrap:anywhere}.notice{border:1px solid #426b5b;background:#24473945;color:#a5e9c8}.error-banner{border:1px solid #8b4b50;background:#66333330;color:#ffbbbb}.app-footer{display:flex;justify-content:space-between;margin:15px 40px 24px;border-top:1px solid var(--line);padding-top:18px;color:#72849c;font-size:.75rem}.calendar-list{display:grid;gap:15px}.calendar-row{display:grid;grid-template-columns:95px minmax(0,1fr) auto;gap:20px;align-items:center;padding:19px;border:1px solid var(--line);border-radius:9px;background:#152133}.calendar-date{border-right:1px solid var(--line);padding-right:18px;color:var(--gold);font-size:.875rem;font-weight:600}.calendar-row h3{margin-bottom:4px}.calendar-row p{margin:0;color:var(--muted);font-size:.8125rem}.history-item{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.history-item:last-child{border:0}.history-icon{width:34px;height:34px;border-radius:9px;background:#223248;color:var(--gold);display:flex;align-items:center;justify-content:center}.history-item p{color:var(--muted);font-size:.8125rem;margin:5px 0 0}.history-item .actions{margin-top:12px}.check-row{display:flex;gap:9px;align-items:center;flex-direction:row;min-height:43px}.check-row input{width:18px;height:18px;min-height:0;accent-color:var(--gold)}.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;background:radial-gradient(ellipse at 30% 20%,#334a6838,transparent 55%),radial-gradient(ellipse at 80% 90%,#a77a3221,transparent 50%),#101725}.login-brand{margin-bottom:34px}.login-card{width:min(100%,440px);background:#182232;border:1px solid #344359;border-radius:16px;padding:34px;box-shadow:0 20px 80px #0003}.login-card h1{font-size:1.75rem}.login-card>p{font-size:.9375rem}.login-card label{margin:20px 0}.login-card .primary{width:100%;margin-top:6px}.error-text{color:var(--red);font-size:.875rem;margin:14px 0 0;white-space:pre-wrap}.login-foot{margin:25px 0 0;color:#7f91aa;font-size:.8125rem}.preview-dialog{background:var(--panel);color:#edf1f7;border:1px solid #63718a;border-radius:14px;width:min(850px,calc(100% - 30px));max-height:88vh;padding:25px;box-shadow:0 30px 100px #0008}.preview-dialog::backdrop{background:#070c16b8}.preview-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:20px}.preview-dialog h2{margin:0}.preview-json{padding:16px;background:#111b2b;border:1px solid var(--line);border-radius:8px;overflow:auto;max-height:420px;white-space:pre-wrap;word-break:break-word;color:#a9c4e7;font-size:.8125rem}.preview-summary{display:grid;gap:8px;padding:16px;background:#203047;border-radius:8px;margin-bottom:16px;font-size:.875rem}.inline-warning{color:#efd19c;background:#6d512325;border:1px solid #705b37;padding:13px 15px;border-radius:7px;font-size:.8125rem;margin:0 0 18px}.loading-view{padding:70px;text-align:center;color:var(--muted)}.text-link{border:0;background:none;color:var(--gold);padding:0;font-size:.875rem;text-align:left}.list-toolbar-note{font-size:.8125rem;color:#8ea0b8;margin:15px 0 0}.detail-meta{display:grid;gap:12px}.detail-meta p{margin:0;font-size:.875rem}.detail-meta span{display:block;color:var(--muted);font-size:.75rem;margin-bottom:3px}.type-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.type-card{background:#142031;border:1px solid var(--line);border-radius:8px;padding:16px;color:#b8c7da;text-align:left}.type-card strong{display:block;font-size:.875rem;margin:9px 0 4px}.type-card small{color:#8396af}.type-card:hover{border-color:#a08351;color:var(--gold)}.type-symbol{font-size:1.45rem}.wheels-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wheels-grid .offer-block{margin-bottom:0}.weight-line{display:flex;align-items:center;gap:14px;justify-content:space-between}.weight-line label{width:130px}.probability{color:var(--gold);font-size:.875rem}.scope-pill{display:inline-block;padding:3px 7px;border:1px solid #3a4d66;border-radius:4px;margin-right:4px;font-size:.75rem;color:#b0c5e0}.dirty{color:var(--gold);font-size:.75rem;margin-left:12px}.divider{border:0;border-top:1px solid var(--line);margin:20px 0}@media(min-width:1800px){.page-content{padding-top:48px}}@media(max-width:1150px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:26px 13px}.page-content{padding:28px 24px}.topbar{padding:0 24px}.stats-grid{gap:12px}.stat-card{padding:18px}.two-column{grid-template-columns:minmax(0,1fr)}.editor-aside{display:none}.type-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.notice,.error-banner{margin-left:24px;margin-right:24px}.wheels-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:relative;height:auto;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand-mark{width:38px;height:38px;font-size:1.3rem}.sidebar-label,.sidebar-guide,.sidebar-bottom{display:none}.brand{margin-bottom:15px}.sidebar nav{display:flex;gap:5px;overflow:auto}.nav-item{white-space:nowrap;width:auto;flex:1;justify-content:center;padding:10px;font-size:.8125rem;margin:0}.nav-item span{display:none}.nav-item.active{box-shadow:inset 0 -2px var(--gold)}.topbar{height:auto;min-height:65px;padding:14px 16px;flex-wrap:wrap;gap:10px}.topbar-actions{gap:7px}.user-label{display:none}.page-content{padding:25px 16px}.page-heading{flex-direction:column;gap:16px;margin-bottom:24px}h1{font-size:1.7rem}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-number{font-size:1.9rem}.stat-card{padding:16px}.panel{padding:18px}.editor-grid{grid-template-columns:minmax(0,1fr)}.reward-row{grid-template-columns:minmax(105px,1fr) minmax(120px,1.3fr) 85px 32px;gap:6px}.reward-row input,.reward-row select{padding:8px 6px;font-size:.8125rem}.reward-row select{padding-right:22px;background-position:right 4px center}.reward-row .icon-button{width:32px}.calendar-row{grid-template-columns:75px minmax(0,1fr);gap:12px}.calendar-row>.actions{grid-column:2}.calendar-date{padding-right:8px}.type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-block{padding:13px}.notice,.error-banner{margin:16px 16px 0}.app-footer{margin:16px;gap:12px;flex-wrap:wrap}.editor-actions{bottom:8px;padding:12px;justify-content:flex-start}.editor-actions button{flex:1;white-space:nowrap}.preview-dialog{padding:18px}.login-card{padding:26px}.panel-header{align-items:flex-start}.filter-bar select{min-width:130px;flex:1}.type-card{padding:13px}}@media(max-width:430px){.reward-row{grid-template-columns:1fr 1fr 34px}.reward-row label:nth-child(1){grid-column:1}.reward-row label:nth-child(2){grid-column:2}.reward-row label:nth-child(3){grid-column:1/3}.reward-row .icon-button{grid-column:3;grid-row:1/3;align-self:end}.topbar-actions .quiet{font-size:.75rem;padding:7px 9px}}
:root{scrollbar-color:#52617a #101725}.upcoming-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid var(--line)}.upcoming-row:last-child{border-bottom:0}.upcoming-row>div{min-width:0}.upcoming-row .text-link{overflow-wrap:anywhere}.upcoming-row p{margin:6px 0 0}.wheels-grid .reward-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 35px}.wheels-grid .reward-row label:nth-child(1){grid-column:1}.wheels-grid .reward-row label:nth-child(2){grid-column:2}.wheels-grid .reward-row label:nth-child(3){grid-column:1/3}.wheels-grid .reward-row .icon-button{grid-column:3;grid-row:1/3;align-self:end}.wheels-grid .reward-row>label{min-width:0}

/* Readable operational labels */
.quiet,.help,.cell-note,.badge,.user-label,.environment,th{font-size:.875rem}

/* Named game rewards and catalog selection */
.reward-entry{border:1px solid #34465e;border-radius:10px;background:#101b2b;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0}.reward-identity{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.reward-name{min-width:0}.reward-name strong{display:block;overflow-wrap:anywhere;font-size:.9375rem}.reward-name small{display:block;color:#9baec7;font-size:.875rem;margin-top:3px}.item-avatar{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:#223047;border:1px solid #576b88;border-radius:8px;color:#ecc37b;overflow:hidden;font-size:1.3rem}.item-avatar img{display:block;max-width:100%;max-height:100%;object-fit:contain}.item-avatar.small{width:36px;height:36px;border-radius:7px}.reward-entry-controls{display:flex;align-items:flex-end;gap:8px;flex-shrink:0}.reward-entry-controls label{width:110px;font-size:.875rem}.reward-entry-controls input{min-height:40px;padding:8px}.reward-entry-controls>.quiet{height:40px}.reward-entry-controls .icon-button{height:40px}.item-picker-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:58vh;overflow:auto;padding-right:4px}.item-picker-results>.help,.item-picker-results>.empty,.item-picker-results>.quiet{grid-column:1/-1}.item-picker-option{display:flex;align-items:center;gap:11px;text-align:left;background:#142034;color:#e9f1fb;border:1px solid #354860;border-radius:9px;padding:11px;min-width:0}.item-picker-option:hover{border-color:#edc37b;background:#26364e}.item-picker-option>span:last-child{min-width:0}.item-picker-option strong{display:block;overflow-wrap:anywhere;font-size:.9375rem}.item-picker-option small{display:block;color:#a5b8d0;font-size:.875rem;margin-top:4px}.reward-chip-list{display:flex;gap:9px;flex-wrap:wrap;margin:9px 0 16px}.reward-chip{display:inline-flex;gap:9px;align-items:center;border:1px solid #3b4e69;background:#132034;border-radius:8px;padding:8px 10px;max-width:100%}.reward-chip-text{min-width:0}.reward-chip strong{display:block;font-size:.875rem;overflow-wrap:anywhere}.reward-chip small{display:block;color:#a0b3cc;font-size:.875rem}.scope-banner,.inheritance-banner{padding:13px 16px;border:1px solid #8d7650;border-radius:9px;background:#725a2425;color:#efd49e;font-size:.875rem;margin:0 0 18px;overflow-wrap:anywhere}.current-scope-form{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap}.current-scope-form>label{flex:1;min-width:180px}.current-scope-form>.primary{min-height:44px}.current-summary{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.current-card{border:1px solid #354760;background:#142033;border-radius:10px;padding:19px;margin:14px 0}.current-card .panel-header{margin-bottom:14px}.current-card h3{margin:0}.current-rows{min-width:0}.carry-forward{margin-top:17px;padding-top:15px;border-top:1px solid #34455d}.carry-forward .check-row{align-items:flex-start}.carry-forward .check-row input{margin-top:4px;flex-shrink:0}.inheritance-controls{border:1px solid #4b5d75;border-radius:9px;padding:16px;background:#1b2d43;margin-bottom:20px}.inheritance-controls .inheritance-banner{margin:12px 0 0}.inheritance-controls>.help{margin-top:8px}.wheels-grid .reward-entry{flex-direction:column;align-items:stretch}.wheels-grid .reward-entry-controls{width:100%}.wheels-grid .reward-entry-controls>label{flex:1;width:auto}.wheels-grid .reward-identity{width:100%}
@media(max-width:760px){.reward-entry{align-items:stretch;flex-direction:column}.reward-entry-controls{width:100%}.reward-entry-controls>label{flex:1;width:auto}.item-picker-results{grid-template-columns:minmax(0,1fr)}.current-scope-form>label{min-width:100%;width:100%}.current-scope-form>.primary{width:100%}.current-card{padding:15px}.reward-chip{width:100%}.scope-banner,.inheritance-banner{font-size:.875rem}.filter-bar input,.filter-bar select{min-width:0}.current-summary{gap:8px}.reward-entry-controls .quiet{min-width:60px}}


/* Compact functional admin workspace. */
:root{font-size:14px;line-height:1.4}h1{font-size:20px;line-height:1.3;letter-spacing:-.01em;margin-bottom:2px}h2{font-size:16px;margin-bottom:8px}h3{font-size:14px;margin-bottom:6px}
.eyebrow,.sidebar-label,.sidebar-guide,.login-foot,.reward-hint,.empty-symbol{display:none}
.help,.cell-note,.badge,.user-label,.environment,th,small,label,.stat-note,.dirty,.scope-pill,.history-item p,.calendar-row p,.preview-json,.inline-warning,.schedule-help,.list-toolbar-note,.breadcrumb,.detail-meta span,.reward-name small,.reward-chip small,.reward-chip strong,.item-picker-option small,.text-link,.probability,.scope-banner,.inheritance-banner{font-size:13px}.help{line-height:1.4}
.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:12px 10px}.brand,.login-brand{gap:8px;font-size:12px;letter-spacing:.06em;line-height:1.2;margin-bottom:12px}.brand strong,.login-brand strong{font-size:12px}.brand-mark{width:30px;height:30px;font-size:16px;border-radius:8px}
.nav-item{padding:7px 10px;margin-bottom:2px;min-height:36px;font-size:13px;gap:8px;border-radius:6px}.nav-item span{width:16px;font-size:14px}.sidebar-bottom{padding:10px 4px 0;gap:6px}
.topbar{height:52px;padding:0 16px}.page-content{max-width:none;padding:16px}.page-heading{margin-bottom:12px;gap:12px;align-items:center}.page-heading p{font-size:13px}
.notice,.error-banner{margin:10px 16px 0;padding:8px 12px;font-size:13px}.app-footer{margin:8px 16px 12px;padding-top:8px;font-size:13px}
.primary,.secondary,.danger,.quiet{min-height:36px;padding:6px 12px;font-size:13px;border-radius:6px}input,select,textarea{min-height:36px;padding:6px 9px;font-size:14px;border-radius:6px}select{padding-right:28px;background-position:right 8px center}textarea{min-height:72px}label{gap:4px}
.panel{padding:12px 14px;margin-bottom:12px;border-radius:8px}.panel-header{margin-bottom:8px;gap:10px}.panel-header p{margin-top:2px}
.filter-bar{gap:8px;margin-bottom:8px}.filter-bar input{min-width:180px}.filter-bar select{min-width:120px}
th{padding:6px 8px}td{padding:6px 8px;font-size:13px}td:first-child,th:first-child{padding-left:8px}
.stats-grid{gap:10px;margin-bottom:12px}.stat-card{padding:10px 12px}.stat-number{font-size:22px;margin:2px 0}.dashboard-grid{gap:12px}.workflow{gap:8px}.type-card{padding:10px}.type-symbol{font-size:16px}
.calendar-list{gap:6px}.calendar-row{padding:8px 10px;gap:12px}.upcoming-row{padding:6px 0;gap:10px}.upcoming-row p{margin-top:2px}.history-item{padding:8px 0}.history-icon{width:26px;height:26px}.empty{padding:16px}.empty h3{font-size:14px}.empty p{margin-bottom:8px;font-size:13px}.divider{margin:10px 0}
.editor-grid{gap:10px}.two-column{grid-template-columns:minmax(0,1fr) 220px;gap:12px}.editor-aside .panel{top:8px}
#campaignEditor .two-column>div:first-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:12px;align-items:start}#campaignEditor .two-column>div:first-child>.panel{margin:0}#contentEditor,#validationResult{grid-column:1/-1}#validationResult:empty{display:none}
.schedule-help{padding:8px 10px;margin-top:8px}.inline-warning,.scope-banner,.inheritance-banner{padding:8px 10px;margin:0 0 10px}.inheritance-controls{padding:10px;margin-bottom:10px}.inheritance-controls .inheritance-banner{margin-top:8px}.carry-forward{margin-top:8px;padding-top:8px}.check-row{min-height:36px}
.offer-block{padding:10px 12px;margin-bottom:8px;border-radius:8px}.offer-heading{margin-bottom:6px}.offer-block>.editor-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}
.reward-caption{font-size:13px;margin-top:6px}.reward-list{gap:6px;margin:6px 0 8px}.reward-entry{padding:6px 8px;gap:8px;border-radius:6px}.item-avatar{width:34px;height:34px}.item-avatar.small{width:28px;height:28px}.reward-name strong{font-size:14px}.reward-entry-controls{gap:6px}.reward-entry-controls label{width:96px}.reward-entry-controls input,.reward-entry-controls>.quiet,.reward-entry-controls .icon-button{min-height:36px;height:36px}.icon-button{width:36px;min-height:36px}.weight-line label{width:120px}
.validation{padding:8px 10px;margin-top:8px}.editor-actions{padding:8px;gap:6px;margin-top:10px;bottom:8px;border-radius:8px;align-items:center}
.preview-dialog{padding:14px;border-radius:10px}.preview-dialog>header{padding-bottom:8px;margin-bottom:10px}.preview-summary{padding:8px 10px;gap:4px;margin-bottom:10px}.item-picker-option{padding:7px}
.login-screen{padding:16px}.login-card{padding:20px;border-radius:10px}.login-card h1{font-size:20px}.login-card label{margin:10px 0}.current-scope-form{gap:8px}.current-scope-form>.primary{min-height:36px}
.current-summary-line{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:6px 10px;margin-bottom:8px;border:1px solid var(--line);border-radius:6px;background:var(--panel);font-size:13px;color:var(--muted);overflow-wrap:anywhere}.current-summary-line strong{color:var(--gold);font-weight:600}
.current-upcoming{border:1px solid var(--line);border-radius:6px;background:var(--panel);padding:0 10px;margin-bottom:8px}.current-upcoming>summary{cursor:pointer;padding:8px 0;font-size:13px;font-weight:600}.current-upcoming[open]>summary{border-bottom:1px solid var(--line)}.current-upcoming>.help{padding:6px 0}
.current-pager{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:6px 0}.pager-text{font-size:13px;color:var(--muted)}.current-pager button:disabled{cursor:not-allowed;opacity:.45}
.compact-table{white-space:normal}.compact-table td{vertical-align:top}.compact-table .actions{gap:4px}.compact-table .actions button{padding:4px 8px}
.current-table{min-width:920px}.current-table th:nth-child(1){width:24%}.current-table th:nth-child(2){width:18%}.current-table th:nth-child(3){width:26%}.current-table th:nth-child(4){width:15%}
.cur-name strong{display:block;overflow-wrap:anywhere;font-weight:600}.cur-name .scope-pill{margin-top:3px}.cur-limits div{margin-bottom:2px;overflow-wrap:anywhere}.empty-cell{text-align:center;color:var(--muted);padding:16px}
.compact-chips{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.cchip{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:2px 7px 2px 2px;border:1px solid #3b4e69;border-radius:6px;background:#132034;font-size:13px;line-height:1.25}.cchip-name{overflow-wrap:anywhere;min-width:0}.cchip-amt{color:var(--gold);font-weight:600;white-space:nowrap}.item-avatar.tiny{width:26px;height:26px;border-radius:5px;font-size:13px}
.compact-more>summary{list-style:none;cursor:pointer;padding:3px 7px;border:1px dashed #4b5d75;border-radius:6px;color:var(--blue);font-size:13px}.compact-more>summary::-webkit-details-marker{display:none}.compact-more[open]{flex-basis:100%}.compact-more>.compact-chips{margin-top:4px}
.preview-table{min-width:560px}.document-reward-preview{margin-bottom:12px}
.compact-workbench{display:grid;grid-template-columns:220px minmax(0,1fr);gap:10px;align-items:start;margin-bottom:8px}.compact-rail{position:sticky;top:8px;display:flex;flex-direction:column;gap:6px;max-height:calc(100vh - 110px);padding:8px;border:1px solid var(--line);border-radius:8px;background:#142031}.compact-rail-head{display:flex;justify-content:space-between;align-items:baseline;gap:6px;font-size:13px}.compact-rail-nav{display:flex;flex-direction:column;gap:2px;overflow:auto;min-height:0}
.compact-rail-item{display:block;width:100%;min-height:36px;padding:5px 8px;text-align:left;border:1px solid transparent;border-radius:6px;background:none;color:#c7d3e3}.compact-rail-item:hover{background:#203047}.compact-rail-item[aria-pressed=true]{background:#edc37b16;border-color:#806647;color:var(--gold)}.compact-rail-item strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.compact-rail-item small{display:block;color:var(--muted);overflow-wrap:anywhere}
.compact-main{min-width:0}.compact-current{display:flex;align-items:center;gap:6px;margin-bottom:6px}.compact-current h3{flex:1;margin:0;min-width:0;overflow-wrap:anywhere}.compact-record-details>.offer-block{margin-bottom:0}.compact-record-details.wheels-grid{display:block}
@media(max-width:1150px){.two-column{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.sidebar{padding:8px 10px}.brand{margin-bottom:6px}.nav-item{min-height:40px;padding:8px 10px}.topbar{height:auto;min-height:52px;padding:6px 10px}.page-content{padding:10px}h1{font-size:18px}.page-heading{flex-direction:column;align-items:stretch;gap:8px;margin-bottom:10px}.primary,.secondary,.danger,.quiet,input,select,textarea,.icon-button,.compact-rail-item,.check-row{min-height:40px}.reward-entry-controls input,.reward-entry-controls>.quiet,.reward-entry-controls .icon-button{min-height:40px;height:40px}.icon-button{width:40px}.panel{padding:10px}.offer-block>.editor-grid{grid-template-columns:minmax(0,1fr)}#campaignEditor .two-column>div:first-child{display:flex;flex-direction:column}.compact-workbench{grid-template-columns:minmax(0,1fr)}.compact-rail{position:static;max-height:none}.compact-rail-nav{max-height:176px}.editor-actions{padding:6px;bottom:6px}.editor-actions button{flex:1 1 30%;padding:6px 8px;white-space:normal}.notice,.error-banner{margin:8px 10px 0}.app-footer{margin:8px 10px}.filter-bar input{flex:1 1 100%;min-width:0}.filter-bar select{flex:1 1 40%;min-width:0}.current-pager{justify-content:space-between}.pager-text{flex:1;text-align:center}.preview-dialog{padding:10px}.current-table{min-width:0}.current-table thead{display:none}.current-table tr{display:block;border-bottom:1px solid var(--line);padding:6px 0}.current-table td{display:block;border:0;padding:3px 8px}.current-table td[data-label]::before{content:attr(data-label);display:block;color:var(--muted);font-size:13px;margin-bottom:2px}}

/* Native select arrows obey the same-origin image policy. */
select{appearance:auto;background-image:none;padding-right:9px}


/* Keep the server context in one toolbar, and stretch mobile form panels. */
.current-page-toolbar{align-items:center;gap:12px;margin-bottom:8px}.current-page-toolbar h1{margin:0}.current-page-toolbar .current-scope-form{flex:0 1 auto;flex-wrap:nowrap;margin:0;gap:8px}.current-page-toolbar .current-scope-form>label{flex:none;flex-direction:row;align-items:center;min-width:0;gap:8px}.current-page-toolbar .current-scope-form select{width:180px}.current-page-toolbar .current-scope-form>.primary{flex:none;width:auto}
@media(max-width:760px){#campaignEditor .two-column>div:first-child{width:100%;min-width:0;align-items:stretch}#campaignEditor .two-column>div:first-child>.panel{width:100%;min-width:0;align-self:stretch}.current-page-toolbar{align-items:stretch}.current-page-toolbar .current-scope-form{width:100%}.current-page-toolbar .current-scope-form>label{flex:1;width:auto;min-width:0}.current-page-toolbar .current-scope-form select{width:100%;min-width:0}.current-page-toolbar .current-scope-form>.primary{width:auto;min-width:64px}}
