:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#243537;background:#f4f6f6;font-size:14px;font-synthesis:none;--ink:#20383c;--muted:#7b8b8d;--line:#e4eaea;--teal:#24796b;--nav:#132e32}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button{border:0}button.primary{color:#fff;background:var(--teal);border-radius:8px;padding:12px 18px;font-weight:650}.secondary{background:white;border:1px solid #d8e3e1;border-radius:8px;padding:10px 15px;color:#385757}.danger{background:#a84743!important;color:white}.text-button{color:var(--teal);background:none;padding:6px 0;font-weight:600}.shell{min-height:100vh;display:grid;grid-template-columns:236px 1fr}.sidebar{background:var(--nav);color:#c4d3d3;padding:32px 18px 22px;position:fixed;inset:0 auto 0 0;width:236px;display:flex;flex-direction:column}.brand{padding:0 15px 31px;display:flex;gap:12px;align-items:center}.brand-symbol{border:1px solid #78bcae;width:35px;height:35px;border-radius:12px;display:grid;place-items:center;color:#a5efdf;font-size:25px}.brand strong{font-size:16px;letter-spacing:.8px;color:white;display:block}.brand small{display:block;font-size:10px;color:#90aaa9;letter-spacing:2px;margin-top:6px}.nav-label{font-size:10px;letter-spacing:1.6px;color:#7c9899;margin:16px 17px 11px}.nav-item{display:flex;align-items:center;gap:13px;background:transparent;color:#afc4c4;width:100%;padding:13px 16px;border-radius:8px;text-align:left;margin:4px 0;font-size:13px}.nav-item.active{background:#29474a;color:white}.nav-item.active:before{content:"";position:absolute;left:0;height:23px;width:3px;background:#86d8c1;border-radius:0 3px 3px 0}.nav-icon{width:18px;height:18px;opacity:.8}.nav-foot{margin-top:auto;border-top:1px solid #345054;padding:20px 15px 0;font-size:11px;line-height:1.8;color:#8fa9aa}.main-shell{grid-column:2;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.crumb{color:#839192;font-size:12px}.crumb b{font-weight:500;color:#395657;margin-left:16px}.operator{display:flex;align-items:center;gap:16px;font-size:12px}.env{border:1px solid #d6e5df;border-radius:20px;color:#4d7567;background:#f3f8f5;padding:6px 10px;font-size:10px}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#dfebe6;color:#386e61;font-size:11px;font-weight:700}.workspace{max-width:1500px;margin:auto;padding:32px 40px 50px}.preview-note{background:#e8f0ed;border:1px solid #d6e4dd;color:#547367;border-radius:7px;padding:10px 14px;font-size:11px;margin-bottom:25px;display:flex;justify-content:space-between;gap:12px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:#83a29d;font-weight:650}.page-head h1{margin:8px 0;font-size:27px;font-weight:650;letter-spacing:.02em}.sub{color:var(--muted);font-size:12px;line-height:1.8;margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 24px}.stat .label{color:#758786;font-size:11px}.stat strong{font-size:31px;font-weight:550;display:block;margin:12px 0 8px;letter-spacing:-.8px}.stat strong small{font-size:12px;color:#8a9998;margin-left:6px;font-weight:400;letter-spacing:0}.stat .detail{color:#80918d;font-size:10px}.grid-two{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:22px;margin-bottom:24px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 19px;gap:15px}.panel-head h2{font-size:14px;margin:0;font-weight:650}.panel-head p{font-size:11px;color:var(--muted);margin:8px 0 0}.panel-body{padding:0 24px 24px}.chart{height:158px;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:10px 6px 24px;position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent 36px,#eff3f1 36px,#eff3f1 37px)}.bar{background:#bad8ca;width:100%;max-width:30px;min-height:3px;border-radius:4px 4px 0 0;position:relative}.bar:last-child{background:#3a8974}.bar span{position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);font-size:9px;color:#8a9895;white-space:nowrap}.chart-caption{margin-top:13px;color:#85948e;font-size:10px}.attention{display:flex;align-items:flex-start;gap:13px;padding:15px 0;border-bottom:1px solid #edf1ee}.attention:last-child{border:0}.attention-dot{width:7px;height:7px;border-radius:50%;background:#c69858;margin-top:5px;flex:none}.attention strong{font-size:12px;font-weight:600}.attention p{color:#8a9995;font-size:10px;margin:7px 0 0;line-height:1.6}.attention .text-button{margin-left:auto;font-size:11px;white-space:nowrap}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 24px;border-block:1px solid var(--line);background:#fafcfb}.filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.search{width:260px;padding:10px 12px;border:1px solid #dce5e1;border-radius:7px;background:white;font-size:12px}.filters select,.page-head select{padding:9px 28px 9px 12px;border:1px solid #dce5e1;border-radius:7px;background:white;color:#51645e;font-size:11px}.count{font-size:11px;color:#84958c;white-space:nowrap}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{background:#fcfdfc;color:#8c9a94;font-size:10px;font-weight:500;white-space:nowrap;padding:14px 24px;border-bottom:1px solid var(--line)}td{padding:18px 24px;border-bottom:1px solid #edf1ef;vertical-align:middle}tbody tr:last-child td{border:0}td small{display:block;color:#93a099;font-size:10px;margin-top:5px}.member-name{display:flex;align-items:center;gap:11px}.member-name b{font-weight:600}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:5px 8px;background:#ecf5ee;color:#518267;font-size:10px;white-space:nowrap}.pill.gray{color:#8e8172;background:#f3f0ec}.pill.blue{background:#eaf1f5;color:#688496}.pill.orange{background:#f8f0e6;color:#aa834e}.row-action{background:none;color:#638578;font-size:11px}.empty{padding:50px;text-align:center;color:#8b9a94;font-size:12px}.footnote{color:#8d9b97;font-size:10px;line-height:1.8;margin-top:14px}.split{display:grid;grid-template-columns:1fr 1fr;gap:22px}.field{display:block;color:#61776c;font-size:11px;margin:17px 0}.field input,.field textarea,.field select{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #dce5df;border-radius:7px;background:#fff;color:#31473b}.field textarea{min-height:170px;resize:vertical;line-height:1.9}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:20px}.detail-list{display:grid;grid-template-columns:110px 1fr;gap:17px;margin:15px 0 25px;font-size:12px}.detail-list dt{color:#91a097}.detail-list dd{margin:0}.notice{background:#f5f8f6;border:1px solid #e4ece6;padding:14px;border-radius:7px;color:#78917f;font-size:11px;line-height:1.9}.email-preview{border:1px solid #e7ede7;border-radius:8px;padding:28px;margin-top:16px;white-space:pre-wrap;line-height:2;font-size:12px;background:#fff}.modal-shade{position:fixed;inset:0;background:#102d3266;display:grid;place-items:center;padding:24px;z-index:20;backdrop-filter:blur(3px)}dialog{border:0;border-radius:14px;padding:0;max-width:650px;width:100%;max-height:88vh;color:var(--ink);box-shadow:0 24px 70px #0b252d30}dialog::backdrop{background:#132e3270;backdrop-filter:blur(3px)}.dialog-head{padding:24px 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0;font-size:19px}.close{font-size:23px;background:none;color:#95a499}.dialog-body{padding:8px 28px 26px;overflow:auto}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);padding:13px 22px;background:#244c42;color:white;box-shadow:0 8px 30px #173f3422;border-radius:9px;z-index:100;font-size:12px}.error{color:#a44743}.ticket-subject{font-weight:600;color:#415950;background:none;text-align:left;padding:0}.ticket-message{font-size:12px;line-height:1.9;background:#f5f8f6;padding:15px;border-radius:7px;white-space:pre-wrap}.tag-line{display:flex;gap:6px;align-items:center;margin:15px 0}.mission-card{padding:24px;border:1px solid var(--line);border-radius:12px;background:white}.mission-card h2{font-size:18px;margin:15px 0 10px}.mission-mark{width:44px;height:44px;border-radius:13px;background:#e3efe9;color:#61967b;display:grid;place-items:center;font-size:24px}.mission-progress{background:#eaf0eb;border-radius:5px;height:6px;margin-top:22px;overflow:hidden}.mission-progress span{display:block;background:#76a68c;height:100%}.connection{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);font-size:12px}.connection small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.login-panel{width:420px;max-width:90vw;margin:15vh auto;background:white;padding:38px;border:1px solid var(--line);border-radius:14px}.login-panel h1{font-size:24px}@media(max-width:1150px){.sidebar{width:200px;padding-inline:12px}.shell{grid-template-columns:200px 1fr}.workspace{padding:28px 24px}.topbar{padding-inline:24px}.stat{padding:18px}.stats{gap:10px}.grid-two{grid-template-columns:1fr}.grid-two>.panel{margin-bottom:0}td,th{padding:14px 18px}.search{width:220px}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:auto;padding:18px}.brand{padding-bottom:15px}.sidebar nav{display:flex;overflow-x:auto}.nav-label,.nav-foot{display:none}.nav-item{white-space:nowrap;padding:9px 12px}.nav-item.active:before{display:none}.main-shell{display:block}.topbar{height:58px}.workspace{padding:20px 15px}.stats{grid-template-columns:1fr 1fr}.page-head{align-items:flex-start}.page-head h1{font-size:23px}.split{grid-template-columns:1fr}.operator>span:not(.env){display:none}.preview-note{display:block;line-height:1.7}.toolbar{padding:12px;align-items:flex-start}.search{width:100%}.filters{max-width:100%}.toast{left:50%;max-width:90vw}.grid-two{gap:15px}}
/* Existing notice/error colors as tokens for the operational state hooks below. */
:root {
  --admin-warning: #755119;
  --admin-warning-surface: #fff9ec;
  --admin-danger: #a84743;
  --admin-danger-surface: #fff3f1;
  --admin-unreadable: #465b6c;
  --admin-unreadable-surface: #f0f4f7;
  --admin-focus: #3975ad;
}

.login-shell{min-height:100vh;display:grid;place-items:center;padding:32px;background:#edf3f2}.login-card{width:min(100%,480px);padding:38px}.login-card h1{margin:12px 0}.login-card .field{margin-top:24px}.login-card .form-actions{margin:24px 0 8px}

/* Headquarters workspace only; the login shell keeps its original rules. */
.shell :is(.page-head,.panel-head,.toolbar){flex-wrap:wrap}
.shell :is(.page-head,.panel-head)>*{min-width:0}
.shell .page-head>button{flex:none}
.shell :is(.panel,.stat,.panel-body,.attention>div){min-width:0}
.shell :is(.panel-body,.panel-head,.stat .detail){overflow-wrap:anywhere;line-height:1.8}
.shell .attention .text-button{flex:none}
.shell .toolbar .filters{flex:1;min-width:0}
.shell .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.shell :is(th,td){padding:16px 14px;line-height:1.7}
.shell th{color:#61776c;font-weight:600}
.shell td{overflow-wrap:anywhere}
.shell td small{color:#758786;line-height:1.7}
.shell .row-action{min-height:36px;padding:8px 4px;white-space:nowrap}
.shell .row-action:focus-visible{outline:2px solid var(--teal)}

/* Keep one member per table row, with the same columns on the overview. */
.shell table:has(.member-name){table-layout:fixed;min-width:900px}
.shell table:has(.member-name) :is(th,td):nth-child(1){width:25%}
.shell table:has(.member-name) :is(th,td):nth-child(2){width:10%}
.shell table:has(.member-name) :is(th,td):nth-child(3){width:14%}
.shell table:has(.member-name) :is(th,td):nth-child(4){width:12%}
.shell table:has(.member-name) :is(th,td):nth-child(5){width:13%}
.shell table:has(.member-name) :is(th,td):nth-child(6){width:13%}
.shell table:has(.member-name) :is(th,td):nth-child(7){width:13%;text-align:right}
.shell .member-name{gap:10px}
.shell .member-name .avatar{flex:none}
.shell .member-name>div{min-width:0}
.shell .member-name b{display:block;color:var(--ink);line-height:1.6}
.shell .member-name small{font-size:11px}
.shell table:has(.member-name) td:nth-child(3){background:#f3f8f5;background-clip:content-box;color:#4d7567;text-align:center;font-size:11px;font-weight:650;line-height:2;padding:16px 8px}
.shell table:has(.member-name) td:nth-child(4){white-space:nowrap;font-variant-numeric:tabular-nums;color:#395657}
.shell table:has(.member-name) tbody tr:hover{background:#fafcfb}

/* Only mail statuses use a neutral label; failures retain the existing red. */
.shell:has([data-view="broadcasts"][aria-current="page"]) #page-content table{table-layout:fixed;min-width:900px}
.shell:has([data-view="broadcasts"][aria-current="page"]) #page-content :is(th,td):nth-child(1){width:25%}
.shell:has([data-view="broadcasts"][aria-current="page"]) #page-content :is(th,td):nth-child(2){width:18%}
.shell:has([data-view="broadcasts"][aria-current="page"]) #page-content :is(th,td):nth-child(3){width:25%}
.shell:has([data-view="broadcasts"][aria-current="page"]) #page-content :is(th,td):nth-child(4){width:18%;font-variant-numeric:tabular-nums}
.shell:has([data-view="broadcasts"][aria-current="page"]) #page-content :is(th,td):nth-child(5){width:14%;text-align:right}
.shell:has([data-view="broadcasts"][aria-current="page"]) .pill,
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog .pill{background:#f4f6f6;color:#51645e;border:1px solid var(--line);font-weight:600;line-height:1.5}
.shell:has([data-view="broadcasts"][aria-current="page"]) .pill.orange,
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog .pill.orange{background:#f3f0ec;color:#a44743;border-color:#a44743}
.shell:has([data-view="broadcasts"][aria-current="page"]) #page-content>.panel:first-child td:nth-child(3)>small{margin-top:10px;padding-left:10px;border-left:3px solid #a44743;color:#a44743;font-size:11px}
.shell:has([data-view="broadcasts"][aria-current="page"]) #page-content>.panel:nth-child(2) tr:has(.pill.orange)>td:nth-child(3){color:#a44743}
.shell [data-action="login-guide-retry"]{border:1px solid var(--teal);border-radius:8px;padding-inline:10px;color:var(--teal);font-weight:600;white-space:normal}

/* Dialogs are siblings of the workspace, so explicitly require its presence. */
#admin-root:has(>.shell)>dialog{max-width:min(760px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow-y:auto}
#admin-root:has(>.shell)>dialog :is(.dialog-head h2,.dialog-body){overflow-wrap:anywhere}
#admin-root:has(>.shell)>dialog .dialog-head{gap:16px}
#admin-root:has(>.shell)>dialog .close{flex:none;min-width:36px;min-height:36px}
#admin-root:has(>.shell)>dialog .detail-list{grid-template-columns:110px minmax(0,1fr);line-height:1.8}
#admin-root:has(>.shell)>dialog .detail-list dd{min-width:0;white-space:pre-wrap}
#admin-root:has(>.shell)>dialog .form-actions{flex-wrap:wrap;gap:12px;padding-top:18px;border-top:1px solid var(--line);margin-bottom:20px}
#admin-root:has(>.shell)>dialog .form-actions button{min-height:42px;line-height:1.6}
#admin-root:has(>.shell)>dialog .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin-top:14px;border:1px solid var(--line);border-radius:8px}
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog table{table-layout:fixed;min-width:760px;line-height:1.7}
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog :is(th,td){padding:14px;overflow-wrap:anywhere}
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog :is(th,td):nth-child(1){width:27%}
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog :is(th,td):nth-child(2){width:20%}
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog :is(th,td):nth-child(3){width:30%}
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog :is(th,td):nth-child(4){width:23%;font-variant-numeric:tabular-nums}
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog td small{color:#758786;line-height:1.7}
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog tr:has(.pill.orange)>td:nth-child(3){color:#a44743}
#admin-root:has(>.shell)>dialog .email-preview{max-width:100%;overflow-wrap:anywhere;padding:22px}
#admin-root:has(>.shell)>dialog [role="alert"]:not(:empty){padding:12px 14px;border:1px solid #a44743;border-left-width:4px;border-radius:7px;line-height:1.8}

/* Existing account controls identify a withdrawn detail, without guessing from gray pills. */
#admin-root:has(>.shell)>dialog:has([data-action="account"]):not(:has([data-action="qualification"])) .dialog-head{border-left:6px solid #8e8172;background:#f3f0ec}
#admin-root:has(>.shell)>dialog [data-action="withdraw"]{border-color:#a84743;color:#a44743}

/* Separate preparation from sending, while preserving button order and labels. */
#admin-root:has(>.shell)>dialog [data-action="login-guide"],
#admin-root:has(>.shell)>dialog [data-action="send-broadcast"]{background:var(--teal);color:#fff;border:1px solid var(--teal);border-radius:8px;padding:12px 18px;font-weight:650}
#admin-root:has(>.shell)>dialog:has([data-action="send-broadcast"]) button[type="submit"]{background:white;color:#385757;border:1px solid #d8e3e1}
#admin-root:has(>.shell)>dialog .dialog-body:has(>.notice):not(:has(.field,.detail-list,.table-wrap)) button[type="submit"]{background:var(--nav);border:1px solid var(--nav);min-width:180px;padding:12px 22px;font-weight:650}
#admin-root:has(>.shell)>dialog .dialog-body:has(>.notice):not(:has(.field,.detail-list,.table-wrap))>.notice{border-left:4px solid var(--teal);color:#385757}
#admin-root:has(>.shell)>dialog .dialog-body:has(.email-preview)>p.notice:has(br){border-left:4px solid #a44743;color:#a44743}

@media(max-width:1000px){
  .shell .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shell .operator{gap:10px}
  .shell .page-head{gap:14px}
  .shell .toolbar{gap:12px}
  .shell .toolbar .filters{flex-basis:100%}
  .shell .filters .search{flex:1;min-width:180px;max-width:100%}
  .shell .filters select{max-width:100%}
}
@media(max-width:760px){
  #admin-root:has(>.shell)>dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
  #admin-root:has(>.shell)>dialog .dialog-head{padding:18px}
  #admin-root:has(>.shell)>dialog .dialog-body{padding:8px 18px 20px}
  #admin-root:has(>.shell)>dialog .form-actions button{flex:1 1 160px}
}
/* メールと原本を共有するアプリ内お知らせの追加欄。 */
.app-notice-settings,.app-notice-ledger{min-width:0;margin:20px 0;padding:18px;border:1px solid var(--line,#dce6e0);border-radius:14px;background:var(--paper,#f7faf6)}
.app-notice-settings legend{padding:0 7px;font-weight:700;font-size:14px}
.app-notice-toggle{display:flex;align-items:center;gap:9px;margin-bottom:16px;font-size:14px;font-weight:650}
.app-notice-toggle input{width:18px;height:18px;margin:0;accent-color:var(--green,#287463)}
.app-notice-settings .field{margin-top:12px}
.app-notice-ledger p{overflow-wrap:anywhere;line-height:1.7}
.mail-schedule-summary{display:block;margin-top:8px;color:#4d7567;line-height:1.7}
.mail-schedule-state{border-left:4px solid var(--teal)}
.mail-schedule-confirmation{margin:22px 0;padding:18px;border:1px solid #b9d5ca;border-radius:10px;background:#f3f8f5}
.mail-schedule-confirmation[hidden]{display:none}
.mail-schedule-confirmation h3{margin:0 0 14px;font-size:15px}
.mail-schedule-confirmation .detail-list{margin-bottom:16px}
@media(max-width:760px){.mail-schedule-confirmation{padding:14px}.mail-schedule-confirmation .detail-list{grid-template-columns:1fr;gap:7px}.mail-schedule-confirmation .detail-list dd{margin-bottom:9px}}
.mail-step-status{border-left:4px solid var(--teal)}
.mail-step-version{margin:12px 0 24px}
.mail-step-card{margin:14px 0;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fbfdfc}
fieldset.mail-step-card{min-width:0}
.mail-step-card legend{padding:0 7px;font-weight:700;color:var(--ink)}
.mail-step-card strong,.mail-step-card small{display:block}
.mail-step-card small{margin-top:5px;color:var(--muted);line-height:1.6}
.mail-step-card p{margin:12px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.mail-step-manual{margin:24px 0;padding:18px;border:1px solid var(--line);border-radius:10px}
@media(max-width:760px){.mail-step-card,.mail-step-manual{padding:14px}.mail-step-version .tag-line{align-items:flex-start;flex-direction:column}}

/* Delivery ledgers have five or six columns, unlike the four-column mail detail layout. */
#admin-root .shell:has([data-view="broadcasts"][aria-current="page"]) #page-content table.delivery-ledger,
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog table.delivery-ledger{
  table-layout:auto;
}
#admin-root .shell:has([data-view="broadcasts"][aria-current="page"]) #page-content table.delivery-ledger :is(th,td),
#admin-root:has(>.shell [data-view="broadcasts"][aria-current="page"])>dialog table.delivery-ledger :is(th,td){
  width:auto;
}
#admin-root .shell #page-content table.delivery-ledger :is(th,td):nth-child(3),
#admin-root>dialog table.delivery-ledger :is(th,td):nth-child(3){
  min-width:220px;
}
#admin-root .shell #page-content table.delivery-ledger :is(th,td):nth-child(5),
#admin-root>dialog table.delivery-ledger :is(th,td):nth-child(5){
  min-width:145px;
}

/* Membership attention keeps urgency visible without changing its wording or order. */
.shell [data-attention] [data-attention-item]{margin:7px 0;padding:14px 12px;border:1px solid var(--line);border-inline-start:4px solid #8a9a96;border-radius:9px;background:#fbfcfc}
.shell [data-attention] [data-attention-kind="renewal-overdue"],
.shell [data-attention] [data-attention-kind="declined-due"]{border-color:#dcaaa7;border-inline-start-color:#a84743;background:#fff6f5}
.shell [data-attention] [data-attention-kind="renewal-overdue"] .attention-dot,
.shell [data-attention] [data-attention-kind="declined-due"] .attention-dot{background:#a84743;box-shadow:0 0 0 4px #f6dfdd}
.shell [data-attention] [data-attention-kind="renewal-soon"],
.shell [data-attention] [data-attention-kind="declined-pending"]{border-color:#e4c991;border-inline-start-color:#b57a23;background:#fffaf0}
.shell [data-attention] [data-attention-kind="renewal-soon"] .attention-dot,
.shell [data-attention] [data-attention-kind="declined-pending"] .attention-dot{background:#b57a23;box-shadow:0 0 0 4px #f8eacb}
.shell [data-attention] > [data-attention-empty]{padding:13px 14px;border:1px solid #cce2d8;border-radius:8px;background:#f4faf7;color:#4d7467}
.shell [data-attention] > [data-attention-withdrawals-error],
.shell [data-attention] > .sub:not([data-attention-empty]):not([data-attention-withdrawals-error]){padding:13px 14px;border:1px solid #dcb3b0;border-inline-start:4px solid #a84743;border-radius:8px;background:#fff6f5;color:#8c403c}

/* Renewal events read as a chronological record instead of a reused connection list. */
#admin-root:has(>.shell)>dialog [data-renewal-history]{margin:26px 0;padding-top:20px;border-top:1px solid var(--line)}
#admin-root:has(>.shell)>dialog [data-renewal-history] h3{margin:0 0 12px;font-size:14px}
#admin-root:has(>.shell)>dialog [data-renewal-history] .connection{position:relative;display:block;margin-left:7px;padding:13px 12px 13px 28px;border:0;border-left:2px solid #c9ddd6;background:#fbfdfc;line-height:1.7}
#admin-root:has(>.shell)>dialog [data-renewal-history] .connection::before{content:"";position:absolute;left:-6px;top:20px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:var(--teal);box-shadow:0 0 0 1px #9fc8bb}
#admin-root:has(>.shell)>dialog [data-renewal-history] .connection:last-of-type{border-left-color:transparent}
#admin-root:has(>.shell)>dialog [data-renewal-history] .connection small{margin-top:5px;line-height:1.65}
#admin-root:has(>.shell)>dialog [data-renewal-history] > .sub{padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#f7f9f9}

/* Destructive confirmation and ledger second-stage confirmation stay visually separate. */
#admin-root:has(>.shell)>dialog button.primary.danger{min-height:44px;border:2px solid #87332f;background:#a84743!important;box-shadow:0 4px 12px #7a282329;font-weight:750}
#admin-root:has(>.shell)>dialog button.primary.danger:hover:not(:disabled){background:#8f3935!important}
#admin-root:has(>.shell)>dialog button.primary.danger:focus-visible{outline:3px solid #3975ad;outline-offset:3px}
#admin-root:has(>.shell)>dialog [data-due-confirmation]{margin-top:24px;border-color:#8fb9ad;border-inline-start:5px solid var(--teal);background:#f1f8f5;box-shadow:0 6px 18px #244c4212}
#admin-root:has(>.shell)>dialog [data-due-confirmation] h3{color:#285e52}
#admin-root:has(>.shell)>dialog [data-due-confirmation] [data-due-confirm]{min-width:190px;box-shadow:0 3px 9px #244c421f}
#admin-root:has(>.shell)>dialog [data-action="soft-bounce-release"]{border:1px solid #c59043;border-radius:8px;padding:10px 14px;color:#7c551c;background:#fff9ed;font-weight:650}

/* A checked auth-mail hold blocks login codes, so keep its impact adjacent and prominent. */
#admin-root:has(>.shell)>dialog .app-notice-toggle:has(input[name="holdAuthMail"]:checked){padding:13px 14px;border:2px solid #a84743;border-radius:9px;background:#fff4f3;color:#7e3733}
#admin-root:has(>.shell)>dialog input[name="holdAuthMail"]{flex:none;width:20px;height:20px;accent-color:#a84743}
#admin-root:has(>.shell)>dialog [data-hold-warning]:not([hidden]){margin:10px 0 16px;padding:14px 16px;border:1px solid #a84743;border-inline-start:5px solid #a84743;border-radius:8px;background:#fff1ef;color:#7e3733;font-size:12px;font-weight:700;line-height:1.8}

/* Semantic state hooks supplied by the view; unknown data is not a member decision. */
#admin-root>dialog .detail-list dd:is([data-renewal-state],[data-mail-state]) {
  box-sizing:border-box; min-width:0; padding:10px 12px;
  border:1px solid #c8d8d3; border-inline-start:4px solid #55796e;
  border-radius:8px; background:#f4faf7; color:#315e50;
  line-height:1.75; overflow-wrap:anywhere;
}
#admin-root>dialog .detail-list dd[data-renewal-state="declined"],
#admin-root>dialog .detail-list dd[data-mail-state="soft-bounce"][data-mail-state-value="suppressed"] {
  border-color:#dec38e; border-inline-start-color:#996818; background:#fff9ec; color:#755119;
}
#admin-root>dialog .detail-list dd[data-mail-state="recipient"][data-mail-state-value="suppressed"] {
  border-color:#d8aaa6; border-inline-start-color:#a84743; background:#fff3f1; color:#873b36;
}
#admin-root>dialog .detail-list dd[data-renewal-state="unavailable"],
#admin-root>dialog .detail-list dd[data-mail-state-value="unavailable"] {
  border-color:#b8c4cf; border-inline-start-color:#617487; border-style:dashed;
  background:#f0f4f7; color:#465b6c;
}
#admin-root:has(>.shell)>dialog [data-renewal-history-state="loading"]>.sub { border-style:dashed; color:#657778; }
#admin-root:has(>.shell)>dialog [data-renewal-history-state="empty"]>.sub { border-color:#cbded6; background:#f4faf7; color:#4d7467; }
#admin-root:has(>.shell)>dialog [data-renewal-history-state="error"]>.sub {
  border-color:#b8c4cf; border-inline-start:4px dashed #617487; background:#f0f4f7; color:#465b6c;
}
#admin-root small[data-mail-hint] {
  display:block; width:fit-content; max-width:100%; margin-top:6px; padding:4px 8px;
  border:1px solid #dec38e; border-inline-start:3px solid #996818;
  border-radius:6px; background:#fff9ec; color:#755119; font-size:12px; line-height:1.65;
  overflow-wrap:anywhere;
}
#admin-root small[data-mail-hint="recipient-suppressed"] { border-color:#d8aaa6; border-inline-start-color:#a84743; background:#fff3f1; color:#873b36; }
#admin-root [data-mail-hint][hidden] { display:none; }

/* Daily operations: use the existing DOM hooks, including device data-action values. */
#admin-root :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid var(--admin-focus);
  outline-offset: 3px;
}
#admin-root :is([data-member-sweep], [data-daily-digest]) .attention {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 10px 12px;
  padding: 12px 0 0;
}
#admin-root :is([data-member-sweep], [data-daily-digest]) .attention-dot { margin-top: 8px; }
#admin-root :is([data-member-sweep], [data-daily-digest]) .attention > div { min-width: 0; }
#admin-root :is([data-member-sweep], [data-daily-digest]) .attention strong { font-size: 14px; color: var(--ink); }
#admin-root :is([data-member-sweep], [data-daily-digest]) .attention :is(p, small) {
  display: block;
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.8;
}
#admin-root :is([data-member-sweep], [data-daily-digest]) .text-button {
  grid-column: 2;
  justify-self: start;
  max-width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  white-space: normal;
  text-align: left;
}
#admin-root [data-daily-digest] [data-action="daily-digest-test"],
#admin-root :is([data-device-revoke], [data-action="device-revoke"], [data-digest-test-send], [data-digest-confirm]) {
  padding: 10px 14px;
  border: 1px solid var(--admin-warning);
  border-inline-start-width: 3px;
  border-radius: 8px;
  background: var(--admin-warning-surface);
  color: var(--admin-warning);
  font-weight: 650;
  white-space: normal;
}
#admin-root :is([data-digest-confirmation], [data-digest-test-confirmation]):not([hidden]),
#admin-root > dialog .dialog-body:has([data-member-sweep-candidate]) > .notice,
#admin-root > dialog .dialog-body:has(> .detail-list):has(> .field input[name="reason"]):has(> .form-actions > .danger) > .notice {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid var(--admin-warning);
  border-inline-start-width: 4px;
  border-radius: 8px;
  background: var(--admin-warning-surface);
  color: var(--admin-warning);
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
#admin-root :is([data-digest-confirmation], [data-digest-test-confirmation]) .notice {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
#admin-root :is([data-digest-confirmation], [data-digest-test-confirmation])[hidden] { display: none; }
#admin-root :is([data-member-sweep-legacy], [data-daily-digest-legacy], [data-daily-digest-unreadable], [data-member-sweep-error], [data-digest-test-error]),
#admin-root :is([data-member-sweep], [data-daily-digest]) > .sub:not([data-member-sweep-legacy], [data-daily-digest-legacy]) {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid currentColor;
  border-inline-start-width: 3px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
#admin-root :is([data-member-sweep-legacy], [data-daily-digest-legacy]) {
  border-style: dashed;
  color: var(--ink);
  background: var(--line);
}
#admin-root [data-daily-digest-unreadable],
#admin-root :is([data-member-sweep], [data-daily-digest]) > .sub:not([data-member-sweep-legacy], [data-daily-digest-legacy]) {
  color: var(--admin-unreadable);
  background: var(--admin-unreadable-surface);
}
#admin-root :is([data-member-sweep-error], [data-digest-test-error]) {
  color: var(--admin-danger);
  background: var(--admin-danger-surface);
}
#admin-root :is([data-member-sweep-legacy], [data-daily-digest-legacy], [data-daily-digest-unreadable], [data-member-sweep-error], [data-digest-test-error])::before,
#admin-root :is([data-member-sweep], [data-daily-digest]) > .sub:not([data-member-sweep-legacy], [data-daily-digest-legacy])::before {
  position: absolute;
  inset-inline-start: 16px;
  font-weight: 700;
}
#admin-root :is([data-member-sweep-legacy], [data-daily-digest-legacy])::before { content: "—" / ""; }
#admin-root [data-daily-digest-unreadable]::before,
#admin-root :is([data-member-sweep], [data-daily-digest]) > .sub:not([data-member-sweep-legacy], [data-daily-digest-legacy])::before { content: "?" / ""; }
#admin-root :is([data-member-sweep-error], [data-digest-test-error])::before { content: "!" / ""; }
#admin-root :is([data-member-sweep-empty], [data-digest-test-preview]) {
  padding: 12px 14px;
  border-inline-start: 3px solid var(--teal);
  color: var(--ink);
  background: var(--line);
  font-size: 13px;
}
#admin-root > dialog table:has([data-member-sweep-candidate]) {
  table-layout: fixed;
  min-width: 0;
  font-size: 12px;
}
#admin-root > dialog table:has([data-member-sweep-candidate]) :is(th, td) {
  padding: 16px 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
#admin-root > dialog table:has([data-member-sweep-candidate]) th { color: var(--ink); font-weight: 600; }
#admin-root > dialog [data-member-sweep-candidate] > td:last-child { font-variant-numeric: tabular-nums; }
#admin-root > dialog .connection:has(:is([data-device-revoke], [data-device-restore], [data-action="device-revoke"], [data-action="device-restore"])) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  padding: 16px 0;
  line-height: 1.7;
}
#admin-root > dialog .connection:has(:is([data-action="device-revoke"], [data-action="device-restore"])) > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
#admin-root > dialog .connection > :is([data-device-revoke], [data-device-restore], [data-action="device-revoke"], [data-action="device-restore"]) {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 42px;
  max-width: 100%;
  white-space: normal;
}
#admin-root > .toast {
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overflow-wrap: anywhere;
  line-height: 1.8;
}

/* App bundles: keep delivery state, expiry, and the irreversible confirmation distinct. */
#admin-root .panel:has(> .panel-body[data-app-bundles]) {
  border-color: color-mix(in srgb, var(--teal) 24%, var(--line));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--nav) 4%, transparent);
}
#admin-root .panel:has(> .panel-body[data-app-bundles]) > .panel-head {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--teal) 3%, white);
}
#admin-root .panel:has(> .panel-body[data-app-bundles]) > .panel-head h2::before {
  content: "◆" / "";
  margin-inline-end: 8px;
  color: var(--teal);
  font-size: 10px;
}
#admin-root [data-app-bundles] {
  padding-top: 18px;
}
#admin-root [data-app-bundles] > .attention {
  padding: 15px 16px;
  border: 1px solid color-mix(in srgb, var(--teal) 28%, var(--line));
  border-inline-start: 4px solid var(--teal);
  border-radius: 9px;
  background: color-mix(in srgb, var(--teal) 7%, white);
}
#admin-root [data-app-bundles] > .attention .attention-dot {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  background: var(--teal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 16%, white);
}
#admin-root [data-app-bundles] > .attention strong {
  color: var(--teal);
  font-size: 13px;
  line-height: 1.7;
}
#admin-root [data-app-bundles] > .attention p {
  color: var(--muted);
  font-size: 11px;
}
#admin-root :is([data-app-bundles-unreadable], [data-app-bundles-legacy]) {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 43px;
  border: 1px solid currentColor;
  border-inline-start-width: 4px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.8;
}
#admin-root :is([data-app-bundles-unreadable], [data-app-bundles-legacy])::before {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 16px;
  font-weight: 800;
}
#admin-root [data-app-bundles-unreadable] {
  border-style: dashed;
  color: var(--admin-unreadable);
  background: var(--admin-unreadable-surface);
}
#admin-root [data-app-bundles-unreadable]::before { content: "?" / ""; }
#admin-root [data-app-bundles-legacy] {
  color: var(--admin-warning);
  background: var(--admin-warning-surface);
}
#admin-root [data-app-bundles-legacy]::before { content: "!" / ""; }

#admin-root .panel:has([data-app-bundles]) > .table-wrap {
  margin-top: 0;
  border-block: 1px solid var(--line);
  background: white;
}
#admin-root .panel:has([data-app-bundles]) > .table-wrap table {
  min-width: 900px;
  table-layout: fixed;
}
#admin-root .panel:has([data-app-bundles]) > .table-wrap :is(th, td):nth-child(1) { width: 17%; }
#admin-root .panel:has([data-app-bundles]) > .table-wrap :is(th, td):nth-child(2) { width: 16%; }
#admin-root .panel:has([data-app-bundles]) > .table-wrap :is(th, td):nth-child(3) { width: 14%; }
#admin-root .panel:has([data-app-bundles]) > .table-wrap :is(th, td):nth-child(4) { width: 19%; }
#admin-root .panel:has([data-app-bundles]) > .table-wrap :is(th, td):nth-child(5) { width: 17%; }
#admin-root .panel:has([data-app-bundles]) > .table-wrap :is(th, td):nth-child(6) { width: 17%; }
#admin-root [data-app-bundle-row] {
  box-shadow: inset 4px 0 0 var(--muted);
}
#admin-root [data-app-bundle-row] > td:first-child {
  position: relative;
  padding-inline-start: 38px;
  color: var(--ink);
  font-weight: 650;
}
#admin-root [data-app-bundle-row] > td:first-child::before {
  content: "—" / "";
  position: absolute;
  inset-inline-start: 15px;
  inset-block-start: 19px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: white;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
#admin-root [data-app-bundle-row][data-app-bundle-state="published"] {
  box-shadow: inset 4px 0 0 var(--teal);
  background: color-mix(in srgb, var(--teal) 5%, white);
}
#admin-root [data-app-bundle-row][data-app-bundle-state="published"] > td:first-child::before {
  content: "✓" / "";
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}
#admin-root [data-app-bundle-row][data-app-bundle-state="published"] > td:nth-child(4) {
  color: var(--teal);
  font-weight: 700;
}
#admin-root [data-app-bundle-row][data-app-bundle-state="held"] {
  box-shadow: inset 4px 0 0 var(--muted);
  background: color-mix(in srgb, var(--muted) 5%, white);
}
#admin-root [data-app-bundle-row][data-app-bundle-state="held"] > td:nth-child(4) {
  color: var(--muted);
  font-weight: 700;
}
#admin-root [data-app-bundle-row][data-app-bundle-expiry="expired"] {
  box-shadow: inset 4px 0 0 var(--admin-warning);
  background: var(--admin-warning-surface);
}
#admin-root [data-app-bundle-row][data-app-bundle-expiry="expired"] > td:first-child::before {
  content: "!" / "";
  border-color: var(--admin-warning);
  background: var(--admin-warning);
  color: white;
}
#admin-root [data-app-bundle-row][data-app-bundle-expiry="expired"] > :is(td:nth-child(4), td:nth-child(5)) {
  color: var(--admin-warning);
}
#admin-root [data-app-bundle-row][data-app-bundle-expiry="expired"] td small {
  color: var(--admin-warning);
}
#admin-root [data-app-bundle-row][data-app-bundle-expiry="unknown"] > td:nth-child(5) {
  color: var(--admin-unreadable);
  text-decoration: underline dashed var(--muted);
  text-underline-offset: 4px;
}
#admin-root [data-app-bundle-origin] {
  margin: 16px 24px 22px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--teal) 24%, var(--line));
  border-inline-start: 4px solid var(--teal);
  border-radius: 8px;
  background: color-mix(in srgb, var(--teal) 6%, white);
  color: var(--teal);
  font-size: 11px;
  overflow-wrap: anywhere;
}
#admin-root [data-action="app-bundle-register"] {
  min-height: 42px;
  border: 2px solid color-mix(in srgb, var(--admin-danger) 78%, var(--nav));
  background: var(--admin-danger) !important;
  color: white;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--admin-danger) 24%, transparent);
  font-weight: 750;
}
#admin-root [data-action="app-bundle-register"]:hover:not(:disabled) { background: color-mix(in srgb, var(--admin-danger) 82%, var(--nav)) !important; }

#admin-root [data-app-bundle-confirmation]:not([hidden]) {
  position: relative;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--admin-warning) 42%, var(--line));
  border-inline-start: 5px solid var(--admin-warning);
  border-radius: 10px;
  background: var(--admin-warning-surface);
  box-shadow: 0 7px 20px color-mix(in srgb, var(--admin-warning) 8%, transparent);
}
#admin-root [data-app-bundle-confirmation] h3 {
  margin: 0 0 16px;
  color: var(--admin-warning);
  font-size: 16px;
}
#admin-root [data-app-bundle-confirmation] .detail-list {
  grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
  gap: 0;
  margin: 0 0 18px;
  border: 1px solid color-mix(in srgb, var(--admin-warning) 28%, var(--line));
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
#admin-root [data-app-bundle-confirmation] .detail-list :is(dt, dd) {
  min-width: 0;
  margin: 0;
  padding: 11px 13px;
  border-bottom: 1px solid color-mix(in srgb, var(--admin-warning) 12%, var(--line));
  line-height: 1.7;
  overflow-wrap: anywhere;
}
#admin-root [data-app-bundle-confirmation] .detail-list dt {
  background: var(--admin-warning-surface);
  color: var(--admin-warning);
  font-weight: 650;
}
#admin-root [data-app-bundle-confirmation] .detail-list dd {
  color: var(--ink);
}
#admin-root [data-app-bundle-confirmation] .detail-list :is(dt, dd):nth-last-child(-n + 2) {
  border-bottom: 0;
}
#admin-root [data-app-bundle-confirmation] [data-app-bundle-expiry="valid"] {
  color: var(--teal);
  font-weight: 700;
}
#admin-root [data-app-bundle-confirmation] [data-app-bundle-expiry="expired"] {
  color: var(--admin-danger);
  background: var(--admin-danger-surface);
  font-weight: 700;
}
#admin-root [data-app-bundle-confirmation] [data-app-bundle-expiry="unknown"] {
  color: var(--admin-unreadable);
  background: var(--admin-unreadable-surface);
}
#admin-root [data-app-bundle-confirmation] > .notice {
  margin: 12px 0 0;
  border-color: color-mix(in srgb, var(--admin-warning) 30%, var(--line));
  background: color-mix(in srgb, var(--admin-warning-surface) 55%, white);
  color: var(--admin-warning);
}
#admin-root [data-app-bundle-confirmation] > .notice + .notice {
  border: 2px solid var(--admin-warning);
  border-inline-start-width: 6px;
  background: var(--admin-warning-surface);
  color: var(--admin-warning);
  font-size: 12px;
  font-weight: 700;
}
#admin-root [data-app-bundle-confirmation] > .footnote {
  color: var(--muted);
}
#admin-root [data-app-bundle-confirmation] .form-actions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--admin-warning) 30%, var(--line));
}
#admin-root [data-app-bundle-confirm] {
  min-height: 44px;
  border: 2px solid color-mix(in srgb, var(--admin-danger) 78%, var(--nav));
  background: var(--admin-danger) !important;
  color: white;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--admin-danger) 24%, transparent);
  font-weight: 750;
}
#admin-root [data-app-bundle-confirm]:hover:not(:disabled) { background: color-mix(in srgb, var(--admin-danger) 82%, var(--nav)) !important; }
#admin-root [data-app-bundle-confirm]:focus-visible {
  outline: 3px solid var(--admin-focus);
  outline-offset: 3px;
}

@media(max-width:760px) {
  #admin-root [data-app-bundles] { padding: 14px; }
  #admin-root .panel:has([data-app-bundles]) > .table-wrap table { min-width: 820px; }
  #admin-root [data-app-bundle-origin] { margin: 14px; }
  #admin-root [data-app-bundle-confirmation]:not([hidden]) { padding: 15px; }
  #admin-root [data-app-bundle-confirmation] .detail-list { grid-template-columns: 1fr; }
  #admin-root [data-app-bundle-confirmation] .detail-list :is(dt, dd) { border-bottom: 0; }
  #admin-root [data-app-bundle-confirmation] .detail-list dt:not(:first-child) { border-top: 1px solid color-mix(in srgb, var(--admin-warning) 12%, var(--line)); }
  #admin-root [data-app-bundle-confirmation] .detail-list dd { padding-top: 8px; }
  #admin-root [data-app-bundle-confirmation] .form-actions { justify-content: stretch; }
  #admin-root [data-app-bundle-confirm] { width: 100%; white-space: normal; }
}
