/* Council Operations Dashboard — view shell for admin.html. */
.registry-v2 .ops-view-shell{display:none;width:min(1740px,calc(100% - 64px));margin:32px auto 0}
.registry-v2 .ops-view-shell.is-active{display:block}
.registry-v2 .ops-view-shell[data-view="registry"]{width:100%;margin:0}
.registry-v2 .ops-view-shell[data-view="registry"]>.registry-page-heading{margin-top:34px!important}
.registry-v2 .ops-view-shell[data-view="registry"]>.registry-layout{margin-bottom:42px!important}
.registry-v2 #dashboard-summary.ops-legacy-summary{display:none!important}
.registry-v2 .ops-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.registry-v2 .ops-heading__eyebrow{margin:0 0 8px;color:#cba650;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.registry-v2 .ops-heading h2{margin:0;color:#f5f5f2;font-size:34px;font-weight:800;letter-spacing:-.035em}
.registry-v2 .ops-heading p{margin:7px 0 0;color:#92959d;font-size:14px}
.registry-v2 .ops-heading__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.registry-v2 .ops-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 15px;border:1px solid #3a3c42;border-radius:9px;background:#17191d;color:#dcdddf;font:600 13px Kanit,sans-serif;transition:.18s ease;cursor:pointer}
.registry-v2 .ops-btn:hover{border-color:#9b7a36;background:#211c12;color:#f1d58d;transform:translateY(-1px)}
.registry-v2 .ops-btn--gold{border-color:#c8a24f;background:#c8a24f;color:#101113}
.registry-v2 .ops-btn--gold:hover{background:#dfbd6b;color:#090a0b}
.registry-v2 .ops-btn--danger{border-color:#6d3035;background:#281316;color:#f0a3a7}
.registry-v2 .ops-btn--small{min-height:34px;padding:0 11px;font-size:12px}
.registry-v2 .ops-icon-btn{width:40px;padding:0}

.registry-v2 .ops-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}
.registry-v2 .ops-summary-card{position:relative;min-height:126px;padding:18px;border:1px solid #34312a;border-radius:14px;background:linear-gradient(145deg,#15171b,#0e1013);overflow:hidden}
.registry-v2 .ops-summary-card:after{content:"";position:absolute;right:-30px;bottom:-48px;width:110px;height:110px;border-radius:50%;background:#c8a24f0a;box-shadow:0 0 70px #c8a24f0d}
.registry-v2 .ops-summary-card.is-urgent{border-color:#713036;background:linear-gradient(145deg,#211316,#111114)}
.registry-v2 .ops-summary-card.is-info{border-color:#315b61}
.registry-v2 .ops-summary-card__top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9a9da4;font-size:12px;font-weight:600}
.registry-v2 .ops-summary-card__icon{display:grid;place-items:center;width:28px;height:28px;border:1px solid #4d4129;border-radius:8px;background:#211c12;color:#e3c678;font-size:14px}
.registry-v2 .ops-summary-card strong{display:block;margin-top:13px;color:#f2d17e;font-size:31px;line-height:1;font-weight:800;letter-spacing:-.04em}
.registry-v2 .ops-summary-card.is-urgent strong{color:#ef777d}
.registry-v2 .ops-summary-card small{display:block;margin-top:8px;color:#73767e;font-size:11px;line-height:1.45}

.registry-v2 .ops-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(350px,.75fr);gap:16px;margin-top:16px}
.registry-v2 .ops-stack{display:grid;gap:16px;align-content:start}
.registry-v2 .ops-panel{border:1px solid #34312a;border-radius:15px;background:#111317;box-shadow:0 18px 45px #0003;overflow:hidden}
.registry-v2 .ops-panel__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 18px;border-bottom:1px solid #2b2924}
.registry-v2 .ops-panel__head h3{margin:0;color:#f1f1ee;font-size:16px;font-weight:750}
.registry-v2 .ops-panel__head p{margin:3px 0 0;color:#73767d;font-size:11px}
.registry-v2 .ops-panel__body{padding:8px 18px 12px}
.registry-v2 .ops-panel__body--flush{padding:0}
.registry-v2 .ops-count-chip{display:inline-flex;min-width:25px;height:25px;align-items:center;justify-content:center;padding:0 8px;border:1px solid #5d4922;border-radius:999px;background:#251f13;color:#e5c779;font-size:11px;font-weight:800}
.registry-v2 .ops-empty{display:grid;place-items:center;min-height:150px;padding:28px;color:#686b72;font-size:13px;text-align:center}
.registry-v2 .ops-loading{min-height:180px;background:linear-gradient(100deg,#111317 20%,#191b20 38%,#111317 58%);background-size:200% 100%;animation:ops-shimmer 1.2s linear infinite}
@keyframes ops-shimmer{to{background-position:-200% 0}}

.registry-v2 .ops-task{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px 0;border-bottom:1px solid #26272b}
.registry-v2 .ops-task:last-child{border-bottom:0}
.registry-v2 .ops-task__mark{width:9px;height:9px;border-radius:50%;background:#d0a64c;box-shadow:0 0 0 5px #d0a64c13}
.registry-v2 .ops-task.is-critical .ops-task__mark{background:#e45e66;box-shadow:0 0 0 5px #e45e6614}
.registry-v2 .ops-task.is-info .ops-task__mark{background:#65aeb5;box-shadow:0 0 0 5px #65aeb514}
.registry-v2 .ops-task strong{display:block;color:#e9e9e6;font-size:13px;font-weight:700}
.registry-v2 .ops-task p{margin:3px 0 0;color:#858890;font-size:11px;line-height:1.45}
.registry-v2 .ops-task__time{color:#d4b567!important}

.registry-v2 .ops-log{display:grid;grid-template-columns:34px minmax(0,1fr);gap:11px;padding:13px 0;border-bottom:1px solid #26272b}
.registry-v2 .ops-log:last-child{border-bottom:0}
.registry-v2 .ops-log__avatar{display:grid;place-items:center;width:32px;height:32px;border:1px solid #4b3d22;border-radius:9px;background:#201b12;color:#e2c275;font-size:11px;font-weight:800}
.registry-v2 .ops-log strong{display:block;color:#dedfdd;font-size:12px}
.registry-v2 .ops-log p{margin:3px 0;color:#7f8289;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.registry-v2 .ops-log time{color:#5f6269;font-size:10px}

.registry-v2 .ops-health{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:14px 18px 18px}
.registry-v2 .ops-health>div{padding:13px;border:1px solid #2f3034;border-radius:10px;background:#0c0e11}
.registry-v2 .ops-health span{display:block;color:#777a82;font-size:10px;text-transform:uppercase}
.registry-v2 .ops-health strong{display:block;margin-top:5px;color:#e7ca82;font-size:20px}

.registry-v2 .ops-filterbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;border:1px solid #34312a;border-radius:13px;background:#111317;margin-bottom:16px}
.registry-v2 .ops-search{flex:1 1 300px;min-height:42px;padding:0 14px;border:1px solid #34373d;border-radius:9px;background:#090b0e;color:#f0f0ee;font:400 14px Kanit,sans-serif;outline:none}
.registry-v2 .ops-search:focus{border-color:#9b7a36;box-shadow:0 0 0 3px #9b7a3617}
.registry-v2 .ops-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.registry-v2 .ops-tab{min-height:36px;padding:0 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:#8d9097;font:600 12px Kanit,sans-serif;cursor:pointer}
.registry-v2 .ops-tab:hover{color:#e8d099;background:#1b1811}
.registry-v2 .ops-tab.is-active{border-color:#665125;background:#292216;color:#efd18a}
.registry-v2 .ops-tab em{margin-left:5px;font-style:normal;color:#d2b66e}

.registry-v2 .ops-request-list{display:grid;gap:10px}
.registry-v2 .ops-status-list{display:block;border:1px solid #303137;border-radius:12px;background:#111317;overflow:hidden}
.registry-v2 .ops-status-table-head{display:grid;grid-template-columns:32px minmax(0,1fr) minmax(210px,auto);gap:12px;padding:7px 13px;margin-bottom:6px;color:#666970;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.registry-v2 .ops-status-table-head.is-cooldown{grid-template-columns:minmax(185px,1.35fr) minmax(145px,1fr) minmax(120px,.8fr) minmax(125px,.85fr) minmax(165px,1fr) minmax(80px,.55fr) minmax(105px,.65fr);gap:12px;padding-left:14px;padding-right:14px}
.registry-v2 .ops-request{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px;border:1px solid #303137;border-radius:12px;background:#111317}
.registry-v2 .ops-request__mark{display:grid;place-items:center;width:50px;height:50px;border:1px solid #5c4924;border-radius:12px;background:#211c12;color:#e7c77a;font-weight:800}
.registry-v2 .ops-request h3{margin:0;color:#eee;font-size:15px}
.registry-v2 .ops-request p{margin:4px 0 0;color:#7f8289;font-size:11px}
.registry-v2 .ops-request__actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}

.registry-v2 .ops-status-filterbar{align-items:center}
.registry-v2 .ops-status-filterbar .ops-search{flex:0 1 430px}
.registry-v2 .ops-status-filterbar .ops-tabs{flex:1 1 620px}
.registry-v2 #ops-status-summary{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:14px}
.registry-v2 #ops-status-summary .ops-summary-card{min-height:94px;padding:13px 15px;border-radius:11px}
.registry-v2 #ops-status-summary .ops-summary-card strong{margin-top:8px;font-size:24px}
.registry-v2 #ops-status-summary .ops-summary-card small{margin-top:5px;font-size:10px}
.registry-v2 #ops-status-summary .ops-summary-card__icon{width:24px;height:24px;font-size:12px}
.registry-v2 .ops-status-card{display:grid;grid-template-columns:32px minmax(0,1fr) minmax(210px,auto);gap:12px;align-items:center;min-height:58px;padding:8px 13px;border:0;border-bottom:1px solid #292b30;background:#111317}
.registry-v2 .ops-status-card:last-child{border-bottom:0}
.registry-v2 .ops-status-card:hover{background:#17191d}
.registry-v2 .ops-status-card__icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid #4f4329;border-radius:8px;background:#1e1a12;color:#e0c174;font-size:11px}
.registry-v2 .ops-status-card.is-danger{box-shadow:inset 3px 0 #73343a;background:#151012}
.registry-v2 .ops-status-card.is-danger:hover{background:#1b1214}
.registry-v2 .ops-status-card.is-info{box-shadow:inset 3px 0 #346169}
.registry-v2 .ops-status-card h3{margin:0;color:#e9e9e7;font-size:13px;line-height:1.25}
.registry-v2 .ops-status-card p{margin:2px 0 0;color:#81848b;font-size:10px;line-height:1.3}
.registry-v2 .ops-status-card__meta{display:flex;align-items:center;justify-content:flex-end;gap:10px;text-align:right;color:#c8aa61;font-size:11px;font-weight:700;white-space:nowrap}
.registry-v2 .ops-status-card__meta>div{margin-top:0!important}
.registry-v2 .ops-status-card__meta .ops-btn{min-height:30px;padding:0 10px;font-size:11px}
.registry-v2 .ops-cooldown-row{display:grid;grid-template-columns:minmax(185px,1.35fr) minmax(145px,1fr) minmax(120px,.8fr) minmax(125px,.85fr) minmax(165px,1fr) minmax(80px,.55fr) minmax(105px,.65fr);gap:12px;align-items:center;min-height:58px;padding:8px 14px;border-bottom:1px solid #292b30;background:#111317;color:#b9bbc0;font-size:11px}
.registry-v2 .ops-cooldown-row:last-child{border-bottom:0}
.registry-v2 .ops-cooldown-row:hover{background:#17191d}
.registry-v2 .ops-cooldown-person{display:flex;align-items:center;gap:11px;min-width:0}
.registry-v2 .ops-cooldown-person strong{overflow:hidden;color:#e9e9e7;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.registry-v2 .ops-cooldown-type{color:#73bdf0;font-weight:700;white-space:nowrap}
.registry-v2 .ops-cooldown-type.is-locked{color:#e0b863}
.registry-v2 .ops-cooldown-expiry{color:#e3ad55;font-weight:700;white-space:nowrap}
.registry-v2 .ops-cooldown-remaining{color:#eadb65;font-weight:800;white-space:nowrap}
.registry-v2 .ops-cooldown-action{display:flex;justify-content:flex-end}
.registry-v2 .ops-cooldown-locked{color:#777a82;font-size:10px;font-weight:700;text-align:right}

.registry-v2 .ops-registry-directory{width:min(1536px,calc(100% - 64px));margin:0 auto 18px}
.registry-v2 .ops-registry-directory .ops-filterbar{margin-bottom:12px}
.registry-v2 .ops-registry-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 2px 12px;color:#858890;font-size:11px}
.registry-v2 .ops-unit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.registry-v2 .ops-unit-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;min-height:102px;padding:14px;border:1px solid #303137;border-radius:12px;background:linear-gradient(145deg,#14161a,#0e1013);text-align:left;cursor:pointer;transition:.18s ease}
.registry-v2 .ops-unit-card:hover{border-color:#8a6d31;background:#191711;transform:translateY(-2px)}
.registry-v2 .ops-unit-card.is-alert{border-color:#653238;background:linear-gradient(145deg,#1d1214,#101114)}
.registry-v2 .ops-unit-card__logo{display:grid;place-items:center;width:45px;height:45px;border:1px solid #4b4029;border-radius:11px;background:#0a0b0d;color:#d8ba70;font-weight:800;overflow:hidden}
.registry-v2 .ops-unit-card__logo img{width:100%;height:100%;object-fit:cover}
.registry-v2 .ops-unit-card h4{margin:0;color:#eee;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.registry-v2 .ops-unit-card p{margin:4px 0 0;color:#777a82;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.registry-v2 .ops-unit-card__badges{grid-column:1/-1;display:flex;gap:5px;flex-wrap:wrap;margin-top:2px}
.registry-v2 .ops-badge{display:inline-flex;align-items:center;min-height:21px;padding:0 7px;border:1px solid #3c3e43;border-radius:999px;color:#9da0a7;font-size:9px;font-weight:700}
.registry-v2 .ops-badge--gold{border-color:#5f4b24;background:#251f14;color:#dfc174}
.registry-v2 .ops-badge--red{border-color:#633036;background:#291316;color:#eb8d92}
.registry-v2 .ops-badge--blue{border-color:#31535a;background:#101d20;color:#82c0c6}
.registry-v2 .ops-load-more{display:flex;justify-content:center;margin-top:14px}

.registry-v2 .registry-top-nav .registry-nav-item[data-ops-view].is-active{color:#f1d796!important;border-bottom-color:#d0a64a!important}
.registry-v2 .registry-top-nav .registry-nav-item[data-ops-view]:not(.is-active){border-bottom-color:transparent!important}
.registry-v2 .ops-nav-alert{margin-left:3px;display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border:1px solid #77343a;border-radius:999px;background:#321519;color:#f39499;font-size:9px;font-weight:800}

@media(max-width:1400px){.registry-v2 .ops-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.registry-v2 .ops-unit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.registry-v2 #ops-status-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){.registry-v2 .ops-view-shell{width:calc(100% - 38px)}.registry-v2 .ops-dashboard-grid{grid-template-columns:1fr}.registry-v2 .ops-registry-directory{width:calc(100% - 38px)}.registry-v2 .ops-unit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.registry-v2 .ops-status-list:has(.ops-cooldown-row){overflow-x:auto}.registry-v2 .ops-status-table-head.is-cooldown,.registry-v2 .ops-cooldown-row{min-width:1040px}}
@media(max-width:700px){.registry-v2 .ops-view-shell{width:calc(100% - 24px);margin-top:22px}.registry-v2 .ops-heading{align-items:flex-start;flex-direction:column}.registry-v2 .ops-heading h2{font-size:28px}.registry-v2 .ops-heading__actions{width:100%;justify-content:flex-start}.registry-v2 .ops-summary-grid,.registry-v2 #ops-status-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.registry-v2 .ops-summary-card{min-height:116px;padding:14px}.registry-v2 #ops-status-summary .ops-summary-card{min-height:90px}.registry-v2 .ops-dashboard-grid{gap:12px}.registry-v2 .ops-request,.registry-v2 .ops-status-card{grid-template-columns:32px minmax(0,1fr)}.registry-v2 .ops-request__mark{width:40px;height:40px}.registry-v2 .ops-request__actions,.registry-v2 .ops-status-card__meta{grid-column:1/-1;text-align:left;justify-content:flex-start}.registry-v2 .ops-status-table-head{display:none}.registry-v2 .ops-health{grid-template-columns:1fr}.registry-v2 .ops-registry-directory{width:calc(100% - 24px)}.registry-v2 .ops-unit-grid{grid-template-columns:1fr}.registry-v2 .ops-filterbar{align-items:stretch}.registry-v2 .ops-tabs{width:100%}}
@media(max-width:700px){.registry-v2 .ops-status-list:has(.ops-cooldown-row){overflow:visible}.registry-v2 .ops-cooldown-row{min-width:0;grid-template-columns:1fr 1fr;gap:12px;padding:14px}.registry-v2 .ops-cooldown-row>div:not(.ops-cooldown-person):before{content:attr(data-label);display:block;margin-bottom:3px;color:#62656c;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.registry-v2 .ops-cooldown-person{grid-column:1/-1;padding-bottom:10px;border-bottom:1px solid #292b30}.registry-v2 .ops-cooldown-action{justify-content:flex-start}.registry-v2 .ops-cooldown-locked{text-align:left}}
