.ops-shell{background:#061425;color:#eaf5ff}.ops-shell .main{background:transparent;min-height:100vh}.ops-shell .sidebar{background:linear-gradient(180deg,rgba(5,16,31,.98),rgba(9,26,46,.99));border-right:1px solid rgba(112,173,255,.12)}.ops-shell .brand-copy p{color:#9ab6d4}.ops-shell .nav a{color:rgba(234,245,255,.78);border-radius:14px}.ops-shell .nav a.active{background:linear-gradient(135deg,rgba(32,194,255,.18),rgba(13,124,255,.16));border-color:rgba(117,179,255,.2);color:#fff}.ops-shell .user-box{background:rgba(255,255,255,.06);border-color:rgba(117,179,255,.14)}.ops-shell .brand-mark-frame{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(10,27,47,.08));border-color:rgba(117,179,255,.16)}.ops-shell .sidebar .brand-copy h1{font-size:16px;line-height:1.5}.ops-shell .sidebar .brand-logo-mark{max-width:48px}.ops-shell .sidebar .brand-mark-frame{width:56px;height:56px;min-width:56px}.ops-shell .main.no-sidebar{background:transparent}.ops-shell .flash{color:#d8f8ef;background:rgba(45,216,163,.12);border-color:rgba(45,216,163,.26)}.ops-shell .flash-error{color:#ffd6dc;background:rgba(255,127,144,.12);border-color:rgba(255,127,144,.3)}
.ops-shell .sidebar{overflow-y:auto;gap:18px;box-shadow:28px 0 60px rgba(0,4,14,.22)}.ops-shell .nav{gap:3px}.ops-shell .nav a{padding:9px 12px;font-size:13px}.ops-shell .user-box{border-radius:14px}.ops-shell .sidebar .nav-shortcuts{padding-top:10px}.ops-shell .nav-shortcut-link{border-radius:12px;padding:9px 12px}.ops-shell .sidebar-footer{flex-shrink:0}
.ops-shell .sidebar .brand-copy h1,.ops-shell .sidebar .user-box strong{color:#f1f7ff}.ops-shell .sidebar .user-box span{color:#9ab6d4}.ops-context{padding:12px 14px;background:rgba(32,194,255,.08);border:1px solid rgba(112,173,255,.18);border-radius:12px;margin-top:14px;font-size:12px;line-height:1.8;color:#c7e8ff}
.ops{--ink:#eaf5ff;--muted:#9ab6d4;--line:rgba(112,173,255,.18);--green:#2dd8a3;max-width:1440px;margin:0 auto;color:var(--ink);font-size:14px;letter-spacing:0}
.ops *{box-sizing:border-box;min-width:0}.ops [hidden]{display:none!important}.ops h2{font-size:28px;line-height:1.25;margin:5px 0 8px;letter-spacing:0}.ops h3{font-size:17px;margin:0 0 14px}.ops h4{font-size:14px;margin:16px 0 10px}.ops p{line-height:1.65}.ops a{color:#8fd9ff}.ops small,.ops .muted{font-size:12px;color:var(--muted)}
.ops-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px 26px;border:1px solid rgba(139,194,255,.16);border-radius:24px;background:linear-gradient(135deg,rgba(18,39,68,.9),rgba(9,24,45,.95));box-shadow:0 24px 80px rgba(0,8,22,.28);margin:0 0 22px}.ops-kicker{font-size:11px;font-weight:700;color:#20c2ff;text-transform:uppercase;letter-spacing:0}.ops-head p{margin:0;color:var(--muted)}
.ops-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}.ops-tabs a{padding:12px 0;color:var(--muted);white-space:nowrap}.ops-tabs a.active{border-bottom:3px solid #20c2ff;color:#eaf5ff;font-weight:700}
.ops-entryways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px}.ops-entryways>a{display:grid;gap:6px;padding:15px 16px;background:linear-gradient(180deg,rgba(13,29,50,.8),rgba(8,19,34,.88));border:1px solid var(--line);border-radius:16px;text-decoration:none;color:var(--ink);transition:border-color .18s,transform .18s}.ops-entryways>a:hover{border-color:rgba(32,194,255,.48);transform:translateY(-1px)}.ops-entryways>a>span{font-size:10px;font-weight:700;color:#2dd8a3}.ops-entryways strong{font-size:14px}.ops-entryways small{line-height:1.5;color:var(--muted)}
.ops-queue-preview{scroll-margin-top:20px}.ops-order-list{display:grid;gap:8px}.ops-order-list article{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:12px}.ops-order-list article>div{display:grid;gap:5px;min-width:0}.ops-order-list article strong{overflow-wrap:anywhere}.ops-order-list article span{font-size:12px;color:var(--muted)}
.ops-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-bottom:20px}.ops-toolbar label{flex:1 1 160px}.ops label{display:grid;gap:7px;font-size:12px;font-weight:600;color:#c7d9eb}.ops input,.ops select,.ops textarea{background:rgba(255,255,255,.06);border:1px solid rgba(139,194,255,.24);border-radius:12px;padding:10px 11px;color:var(--ink);font:inherit;width:100%;line-height:1.4}.ops select option{background:#0c1d33;color:var(--ink)}.ops input:focus,.ops select:focus,.ops textarea:focus{outline:2px solid rgba(32,194,255,.6);outline-offset:1px}.ops input::placeholder,.ops textarea::placeholder{color:#9ab6d4;font-weight:400;opacity:.8}.ops input[type=checkbox],.ops input[type=radio]{width:16px;height:16px;flex-shrink:0;accent-color:#20c2ff}
.ops button,.ops .ops-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 15px;background:linear-gradient(135deg,#20c2ff,#0d7cff);color:#fff;border:1px solid rgba(117,179,255,.28);border-radius:12px;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer;white-space:normal;text-align:center;box-shadow:0 12px 26px rgba(13,124,255,.16)}.ops button.secondary,.ops .ops-btn.secondary{background:rgba(255,255,255,.06);color:#d8ebff;border-color:rgba(139,194,255,.24);box-shadow:none}.ops button:disabled{opacity:.5;cursor:not-allowed}.ops button.danger{background:rgba(255,127,144,.1);color:#ffd6dc;border-color:rgba(255,127,144,.3);box-shadow:none}
.ops-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:30px}.ops-section{padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid var(--line)}.ops-form{display:grid;gap:15px}.ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ops-grid .full{grid-column:1/-1}.ops-step{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:rgba(32,194,255,.14);color:#8fd9ff;font-size:12px;border-radius:8px;margin-right:8px}
.ops-summary{background:linear-gradient(180deg,rgba(13,29,50,.86),rgba(8,19,34,.9));border:1px solid var(--line);border-radius:18px;padding:20px;align-self:start;position:sticky;top:18px}.ops-summary dl,.ops-facts{margin:0}.ops-summary dl>div,.ops-facts>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}.ops dt{color:var(--muted)}.ops dd{margin:0;text-align:right;overflow-wrap:anywhere}.ops-amount{font-size:26px;line-height:1.3;font-weight:700;color:#2dd8a3;margin:14px 0 5px}.ops-check{display:flex!important;align-items:flex-start;gap:9px;line-height:1.6;font-weight:400!important}.ops-note{padding:12px 14px;border-left:3px solid #f7bf58;background:rgba(247,191,88,.1);color:#f8d997;font-size:12px;line-height:1.7;margin:14px 0}.ops-note.success{border-color:#2dd8a3;background:rgba(45,216,163,.1);color:#b8f5de}
.ops-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:rgba(8,19,34,.56)}.ops table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;margin:0}.ops th{background:rgba(255,255,255,.045);color:#b8d0e8;font-weight:600;padding:13px;text-align:left}.ops td{padding:14px 13px;border-top:1px solid rgba(112,173,255,.12);color:#eaf5ff}.ops td small{display:block;margin-top:5px}.ops .ops-empty{padding:40px 16px;text-align:center;color:var(--muted);white-space:normal}.ops-state{display:inline-block;padding:4px 8px;background:rgba(139,194,255,.1);color:#c7e8ff;border-radius:8px;font-size:12px}.ops-state.processing,.ops-state.authorized{background:rgba(45,216,163,.12);color:#9ef0ce}.ops-state.awaiting_funds,.ops-state.disputed{background:rgba(247,191,88,.13);color:#f8d997}.ops-state.cancelled,.ops-state.refunded{background:rgba(255,127,144,.12);color:#ffc0ca}
.ops-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ops-option{display:flex!important;gap:10px;align-items:center!important;padding:11px;border:1px solid var(--line);border-radius:12px;font-weight:400!important;background:rgba(255,255,255,.035)}.ops-option strong{margin-left:auto;color:#9ef0ce;white-space:nowrap}.ops-option:has(input:checked){border-color:rgba(32,194,255,.52);background:rgba(32,194,255,.08)}.ops-detail-list{display:grid;gap:8px}.ops-detail-list>div{padding:9px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.ops-detail-list span{color:var(--muted);font-size:12px;display:block;margin-bottom:5px}.ops-proof{display:flex;gap:10px;flex-wrap:wrap}.ops-proof img{width:120px;height:120px;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.04)}.ops-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.ops-price-form{display:grid;grid-template-columns:150px 90px 150px 110px 80px 66px;gap:8px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.ops-price-form input,.ops-price-form select{padding:7px}.ops-price-form .ops-check{align-items:center}.ops-audit{display:grid;grid-template-columns:145px 1fr;gap:14px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.ops-audit time{color:var(--muted)}.ops-inline{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ops-count{font-size:13px;color:var(--muted);font-weight:400;margin-left:8px}
.ops-auth{width:min(460px,100%);margin:7vh auto;padding:25px;background:linear-gradient(180deg,rgba(13,29,50,.9),rgba(8,19,34,.92));border:1px solid var(--line);border-radius:20px}.ops-auth .ops-head{display:block}.ops-auth h2{font-size:24px}.ops-auth form+form{margin-top:18px}.ops-auth .ops-inline input{flex:1 1 150px}
@media(max-width:1150px){.ops-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.ops-price-form{grid-template-columns:1fr 90px 1fr}.ops-options{grid-template-columns:1fr}}
@media(max-width:760px){.ops-head{align-items:flex-start;flex-direction:column;padding:20px;gap:12px}.ops h2{font-size:23px}.ops-layout,.ops-grid{grid-template-columns:1fr}.ops-summary{position:static;grid-row:auto}.ops-toolbar label{flex-basis:100%}.ops-toolbar button{flex:1}.ops-price-form{grid-template-columns:1fr 1fr}.ops-audit{grid-template-columns:1fr;gap:5px}.ops-auth{margin:20px auto;padding:18px}.ops-tabs{gap:20px}.ops-options,.ops-entryways{grid-template-columns:1fr}.ops-order-list article{align-items:flex-start;flex-direction:column}.ops-order-list .ops-btn{width:100%}.ops-table-wrap{max-width:100%}}

/* Keep service pages on the same type scale and spacing rhythm as ledger.html. */
.ops{max-width:none;width:100%;font-size:14px}
.ops-head{padding:26px 28px;border-radius:30px;margin-bottom:22px}
.ops-head h2{font-size:34px;line-height:1.25;margin:0 0 6px}
.ops-head p{line-height:1.75}
.ops-kicker{font-size:11px}
.ops-tabs{gap:24px;margin-bottom:22px}
.ops-tabs a{padding:12px 0;font-size:14px}
.ops-entryways{gap:16px;margin-bottom:22px}
.ops-entryways>a{padding:18px 20px;border-radius:20px}
.ops-entryways strong{font-size:15px}
.ops-toolbar{gap:12px;margin-bottom:22px;padding:18px;border:1px solid rgba(139,194,255,.18);border-radius:24px;background:linear-gradient(180deg,rgba(12,27,48,.82),rgba(8,19,35,.9));box-shadow:0 24px 80px rgba(0,8,22,.2)}
.ops-toolbar label{font-size:13px}
.ops input,.ops select,.ops textarea{border-radius:16px;padding:13px 14px}
.ops button,.ops .ops-btn{min-height:0;padding:12px 18px;border-radius:16px;font-size:14px}
.ops-section{padding:22px;margin:0 0 22px;border:1px solid rgba(139,194,255,.15);border-radius:28px;background:linear-gradient(180deg,rgba(13,29,50,.78),rgba(8,19,34,.86));box-shadow:0 24px 80px rgba(0,8,22,.2)}
.ops-section>h3{font-size:24px;line-height:1.35;margin:0 0 16px}
.ops-section>h3 .ops-count{font-size:14px}
.ops-order-list article{padding:14px 16px;border-radius:14px}
.ops-layout{gap:18px}
.ops-summary{padding:22px;border-radius:24px}
.ops-summary h3{font-size:24px;line-height:1.35}
.ops-table-wrap{border-radius:20px}
.ops table{font-size:13px}
.ops th{font-size:13px;padding:12px 10px}
.ops td{padding:14px 10px}
.ops-options{gap:12px}
.ops-option{padding:13px 14px;border-radius:14px}
.ops-auth{border-radius:28px}
.ops input[type=checkbox],.ops input[type=radio]{padding:0;min-width:16px;max-width:16px;min-height:16px;max-height:16px}
.ops-price-form-global{grid-template-columns:minmax(0,1fr) 120px 80px 80px}
.ops-price-form-global>span{overflow-wrap:anywhere}
@media(max-width:760px){.ops-price-form-global{grid-template-columns:minmax(0,1fr) 100px}.ops-price-form-global>span{grid-column:1/-1}}
@media(max-width:760px){
  .ops-head{padding:22px 20px;border-radius:24px}
  .ops-head h2{font-size:28px}
  .ops-toolbar{padding:16px;border-radius:20px}
  .ops-section{padding:18px;border-radius:24px}
  .ops-section>h3{font-size:21px}
}
