/* The operator portal (FR-OPS-001; design/mockups Operator, ADR 0125): a desk page for our own staff, on its own host,
   in the same shell as the product. Its views are the sidebar; a customer's settings are white panels in two columns,
   read down each column. */
.d-nav:empty,.d-me:empty{display:none}
.d-icons #who{display:flex;align-items:center;gap:10px;font-weight:600;font-size:14px;white-space:nowrap}
.d-icons #who button{min-height:36px;padding:0 12px;font-size:14px}
@media (max-width:760px){.d-icons #who{font-size:0}}
#app{display:block;min-width:0;columns:2 440px;column-gap:20px}
#app>*{break-inside:avoid;margin:0 0 16px}
#app>p,#app>ul,#app>nav,#app>.actions,#app>h1,#app>.table-wrap{column-span:all}
#app>p{max-width:90ch;overflow-wrap:anywhere}
#app>p:has(>a.button){margin-bottom:20px}
.row{display:flex;flex-direction:column;gap:12px;min-width:0;padding:20px;background:var(--surface);
  border:1px solid var(--rule);border-radius:var(--r-panel)}
.row>h2{font-size:16px}
.row>p,.row li{overflow-wrap:anywhere}
.row>button,.row>a,.row details>button{align-self:flex-start}
.row details{display:flex;flex-direction:column;gap:10px;padding-top:12px;border-top:1px solid var(--rule)}
.row details>*+*{margin-top:10px}
.row details>button{display:inline-flex;margin-right:8px}
.field input:not([type=checkbox]),.field select,.field textarea{width:100%}
p[role=status]:empty{display:none}
.actions{display:flex;flex-wrap:wrap;gap:10px}
.list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.list:empty{display:none}
#app>.list{padding:8px 20px 8px 40px;background:var(--surface);border:1px solid var(--rule);border-radius:var(--r-panel)}
#app>.list>li{padding:6px 0}
.list button{min-height:36px;margin-left:8px;font-size:14px;padding:0 10px}
fieldset{border:1px solid var(--rule);border-radius:var(--r-control);display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;
  padding:10px 14px}
legend{font-weight:600;font-size:14px;padding:0 4px}
.check{display:flex;align-items:center;gap:8px;min-height:36px}
.check label{flex-direction:row;color:var(--ink)}
table{font-size:13px}
/* D2: the customer's sections as tabs, each a panel laid in two columns; the revisions, the plan and what operators
   did as tables; the branding tiers as a strip; the customer's app on a phone. */
#app>.tabs,#app>.tabpanel{column-span:all}
.tabpanel{columns:2 440px;column-gap:20px}
.tabpanel>*{break-inside:avoid;margin:0 0 16px}
.tabpanel[hidden]{display:none}
.revisions .sub{display:block;font-size:12px;color:var(--ink-3)}
.activity{display:flex;flex-direction:column;gap:12px}
.activity caption{text-align:left;font-size:12px;color:var(--ink-3);padding:0 0 6px}
.activity td.mono{white-space:nowrap;width:1%;font-family:var(--mono)}
.activity tr.refused td{color:var(--critical-ink)}
.tiers{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.tiers li{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid var(--rule);border-radius:10px;font-size:12px;
  color:var(--ink-3)}
.tiers li b{font:700 13px var(--mono);color:var(--ink-2)}
.tiers li.had{background:var(--good-soft);color:var(--ink-2)}
.tiers li.on{border:2px solid var(--accent);background:var(--accent-soft);color:var(--ink)}
.phone{margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.phone[hidden]{display:none}
.phone .screen{--phone-accent:var(--accent);--phone-accent-ink:#fff;width:220px;min-height:380px;display:flex;flex-direction:column;
  gap:16px;padding:20px 16px;border:8px solid var(--ink);border-radius:28px;background:var(--surface)}
.phone .top{display:flex;align-items:center;gap:8px}
.phone .top img{height:24px;width:auto}
.phone .cta{margin-top:auto;display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:var(--r-control);
  background:var(--phone-accent);color:var(--phone-accent-ink);font-weight:600}
.phone small{font-size:11px;color:var(--ink-3);text-align:center}
.phone figcaption{font-size:12px;color:var(--ink-3);max-width:60ch}
@media (max-width:600px){.tiers{grid-template-columns:repeat(2,minmax(0,1fr))}}
.activity td:last-child{overflow-wrap:anywhere;word-break:break-word;min-width:0}
.activity table{table-layout:fixed;width:100%}
.activity th:first-child{width:96px}
.activity caption{padding:10px 16px 6px}
