/* Current console presentation. Loaded after the historical iOS base. */
:root {
  --blue:#0969da;--blue-pressed:#0859b9;--ink:#192334;--muted:#596579;--tertiary:#647084;
  --canvas:#f5f7fa;--surface:#fff;--separator:#e3e8ef;--glass:#fff;
  --shadow:0 2px 8px #19233406;--radius-xl:10px;--radius-lg:10px;
  font-size:14px;line-height:1.5;
}
body{grid-template-columns:224px minmax(0,1fr);background:var(--canvas)}
h1,h2,h3{letter-spacing:0;line-height:1.35;text-wrap:balance}
h1{font-size:28px;font-weight:700}h2{font-size:20px}h3{font-size:15px}
main{padding:24px 32px 20px}
.rail{padding:24px 14px;background:#fff;border-right:1px solid var(--separator);box-shadow:none;backdrop-filter:none}
.brand{gap:10px;margin:0 10px 28px}.brand b{font-size:20px}.brand small{font-size:11px;color:var(--muted)}
.mark{width:34px;height:34px;border-radius:7px;background:var(--blue);box-shadow:none}
.rail-label{font-size:12px;margin-bottom:8px}
.rail nav button{min-height:40px;padding:8px 12px;border-radius:6px;gap:10px;font-size:14px;font-weight:500}
.rail nav button.active{background:#edf4ff;color:var(--blue);box-shadow:none;font-weight:600}
.nav-icon,.rail nav button.active .nav-icon{width:20px;height:20px;border-radius:0;background:transparent;color:inherit}
.nav-icon svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rail-foot{left:24px;right:24px;bottom:24px;padding:12px 0;border:0;border-top:1px solid var(--separator);border-radius:0;background:transparent}
.rail-foot b{font-size:12px}.rail-foot small{font-size:11px}.pulse{box-shadow:none;width:7px;height:7px}
.topbar{align-items:center;min-height:48px;padding-bottom:16px;margin-bottom:20px;border-bottom:1px solid var(--separator);gap:16px}
.topbar p{display:none}.header-actions{align-items:center;gap:8px}
.tenant-chip{min-width:150px;min-height:38px;display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--separator);background:#fff;border-radius:6px;box-shadow:none;backdrop-filter:none}
.tenant-chip span{font-size:12px}.tenant-chip b{font-size:13px;font-weight:600}
.login-button{min-height:38px;padding:8px 14px;border-radius:6px;font-size:13px;font-weight:600;box-shadow:none}
footer{font-size:11px;padding-top:24px}
.panel,.hero,.metric,.guide-card{background:#fff;border:1px solid var(--separator);box-shadow:none;backdrop-filter:none;border-radius:10px}
.panel{padding:20px}.panel-head{gap:16px;margin-bottom:16px;align-items:center}
.panel-head p{font-size:13px;margin-top:4px;line-height:1.6}.panel-index{display:none}
.hero{min-height:0;padding:24px}.hero::before,.hero-orb{display:none}
.hero-copy{max-width:760px}.hero h2{font-size:28px;line-height:1.35;letter-spacing:0;max-width:100%}
.hero p{font-size:14px;margin:10px 0 20px}.eyebrow{border-radius:4px;margin-bottom:12px}
.metrics{gap:12px;margin:16px 0}.metric{min-height:106px;padding:16px}
.dashboard-grid{align-items:start}
.metric-head{font-size:12px}.metric strong{font-size:24px;margin-top:10px;letter-spacing:0}.metric small{font-size:11px}
.status-dot.ok{box-shadow:none}.activity-row{min-height:46px;padding:8px 0;gap:10px}
.activity-icon{width:28px;height:28px;border-radius:6px}.activity-row time{font-size:11px}
.empty{min-height:96px;font-size:13px;background:#f8fafc;border-radius:6px}.empty.compact{min-height:64px}
label{font-size:13px;gap:6px;font-weight:600}label>span{font-size:12px;color:var(--muted)}
input,textarea,select{min-height:38px;padding:8px 11px;border:1px solid #d5dce5;border-radius:6px;background:#fff;font-size:13px;line-height:20px}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0969da16}
input[type=file]::file-selector-button{border-radius:5px}
/* A checkbox must not inherit text-field height, padding, or width. */
input[type=checkbox]:not(.switch-row input){width:16px;height:16px;min-height:16px;padding:0;margin:0;border-radius:3px;accent-color:var(--blue);flex:0 0 16px}
.stack{gap:16px}.field-row{gap:12px}
.primary,.secondary,.text-button,.actions button{min-height:36px;padding:7px 13px;border-radius:6px;font-size:13px;font-weight:600;line-height:20px;box-shadow:none}
.primary{border:1px solid var(--blue)}
.secondary,.actions button{color:#344256;background:#fff;border:1px solid #d5dce5}
.secondary:hover,.actions button:hover{background:#f3f6fa;border-color:#b4c1d2}
.actions .primary{color:#fff;background:var(--blue);border-color:var(--blue)}
.text-button{border:0;background:transparent;padding:4px 0;min-height:28px}
button:disabled{cursor:default!important;opacity:.48}.secondary:disabled{background:#f5f7fa;color:#647084;border-color:var(--separator)}
.primary:active,.secondary:active,.login-button:active,.tenant-chip:active,nav button:active{transform:none}
.row-actions button,.generated-secret button{border-radius:5px;font-size:12px;min-height:28px;padding:4px 8px}
.notice{border-radius:6px;font-size:12px;line-height:1.6;margin-bottom:16px;padding:10px 12px;color:#805300;background:#fff7e8}
.badge,.status-pill,.activation-pill{border-radius:4px;font-size:11px;line-height:18px;min-height:0;padding:2px 7px;font-weight:600}
.badge{margin-bottom:6px;white-space:nowrap;flex-shrink:0}.status-pill{color:#217344;background:#edf8f1}.status-pill.suspended,.status-pill.disabled,.status-pill.warning{color:#805300;background:#fff4db}.status-pill.revoked{color:#b42318;background:#fff0ee}
.code-value,.generated-secret,details{border-radius:6px}.privacy-note{font-size:12px}
dialog,.card-management-dialog{border-radius:12px;background:#fff;backdrop-filter:none}
dialog::backdrop{background:#19233455;backdrop-filter:blur(3px)}dialog form{padding:24px;gap:16px}
.dialog-mark{width:36px;height:36px;border-radius:7px;background:var(--blue)}
.dialog-head p{font-size:12px}.toast{border-radius:8px;background:#fff;font-size:13px;backdrop-filter:none}
.application-list{margin-top:16px}.application-card{gap:14px;padding:16px 0}.app-icon{width:40px;height:40px;border-radius:7px;font-size:20px}
.app-summary h3{font-size:18px}.app-summary p{font-size:13px}.app-summary small{font-size:12px}
.workspace-header{margin-bottom:18px}.application-identity{margin:8px 0 14px;gap:12px}
.application-identity h2{font-size:20px}.application-identity p{font-size:12px;margin-top:3px}.application-identity code{font-size:11px}
.app-tabs{padding:0;gap:4px;background:transparent;border-radius:0;border-bottom:1px solid var(--separator);width:100%}
.app-tabs button{min-height:38px;border-radius:5px 5px 0 0;padding:8px 16px;font-size:13px;border-bottom:2px solid transparent}
.app-tabs button.active,.app-tabs button.active:hover{color:var(--blue);background:#edf4ff;border-bottom-color:var(--blue);box-shadow:none}
.plan-row{padding:14px 0}.plan-row p{font-size:13px}.plan-row small{font-size:12px}
.guide-card{padding:20px 20px 20px 66px;min-height:130px}.guide-card::before{left:20px;top:20px;width:30px;height:30px;border-radius:6px}
.guide-card p{font-size:13px}.setup-step b{font-size:13px}.setup-step p{font-size:12px}
.docs-context{margin-bottom:16px}.docs-context p{font-size:13px}.docs-body{padding:24px}.docs-body>h2{font-size:24px}
.docs-toc button{border-radius:6px;padding:9px 12px}.docs-example pre{border-radius:6px}.docs-endpoint p{font-size:13px}.docs-endpoint small{font-size:12px}
.card-generation>summary{padding:8px 13px;border-radius:6px}.license-search{border-radius:8px;padding:14px;gap:10px}
.card-table-scroll{border-radius:8px}.card-management-table{font-size:12px}.card-management-table th{font-size:12px;padding:9px 10px;line-height:20px}
.card-management-table td{padding:9px 10px;line-height:20px}.card-management-table small{font-size:11px}
.table-card-actions button{border-radius:5px;font-size:12px;min-height:28px}.card-key-cell code{font-size:12px}
.card-list-summary,.license-pagination{font-size:12px}.managed-card,.card-management-dialog .card-times{border-radius:8px}
.cloud-history .panel-head{margin-bottom:0}.cloud-toolbar{margin:16px 0 12px;gap:12px;flex-wrap:wrap}
.cloud-toolbar input[type=search]{min-height:36px;height:36px;width:210px;padding:7px 11px}
.cloud-dropzone{border-radius:8px}.cloud-dropzone.dragging{border-width:1px;box-shadow:0 0 0 2px #0969da22}
.cloud-drop-hint{padding:8px 12px;line-height:20px;font-size:12px;background:#f7faff}
.cloud-dropzone .docs-table-wrap{margin:0}
.cloud-table{min-width:1000px;font-size:13px;line-height:20px;margin:0;border-collapse:collapse}
.cloud-table th{padding:9px 12px;font-size:13px;font-weight:600;color:#344256;background:#f6f8fb;vertical-align:middle}
.cloud-table td{padding:8px 12px;font-size:13px;vertical-align:middle;font-variant-numeric:tabular-nums}
.cloud-table th:first-child{width:40px;min-width:40px;padding:9px 12px}.cloud-table th:nth-child(2){min-width:240px}
.cloud-table tbody tr:hover{background:#f8faff}.cloud-table tbody tr:has(input:checked){background:#f0f6ff}
.cloud-table td:last-child,.cloud-table th:last-child{white-space:nowrap}
.cloud-table .cloud-id{display:block;margin-top:3px;font-size:11px;line-height:16px;color:var(--muted)}
.cloud-table .cloud-date{font-size:12px;white-space:nowrap}.cloud-table .cloud-row-actions{gap:6px}
.cloud-table .secondary{min-height:28px;padding:3px 8px;font-size:12px;line-height:20px;border-radius:5px}
.cloud-table .cloud-checkbox-cell input[type=checkbox]{width:16px;min-height:16px;height:16px;padding:0;margin:0;vertical-align:middle;box-shadow:none}
.cloud-delete-button:not(:disabled){color:#c0352b;border-color:#e9cac5;background:#fff}
.cloud-list-footer{font-size:12px;margin-top:10px;gap:12px}
.cloud-crypto-info{margin-top:16px;padding:14px 16px;border-radius:8px;background:#f8fafc;color:var(--muted)}
.cloud-key-heading b{font-size:13px}.cloud-key-heading .secondary{min-height:30px;padding:4px 10px;font-size:12px}
.cloud-crypto-info p{margin:6px 0;font-size:12px}.cloud-public-key{font-size:11px;margin:8px 0 0}
dialog.cloud-drawer{padding:24px;border-radius:12px 0 0 12px;background:#fff}
.cloud-drawer .cloud-editor{padding:0;gap:18px}.cloud-editor textarea{padding:12px;border-radius:6px;background:#fafbfd;font:13px/1.6 ui-monospace,Consolas,monospace}
dialog.cloud-conflict,dialog.cloud-confirm{border-radius:12px;padding:24px}
.cloud-conflict-actions{margin-top:20px}.cloud-confirm>p{font-size:13px}
.release-dropzone{padding:20px 16px;border-radius:8px;background:#f8fbff;border-color:#adc9ee}
.release-dropzone b{font-size:15px}.release-dropzone p{font-size:13px;margin:7px 0 12px}
.release-dropzone.dragging{border-width:1px;box-shadow:0 0 0 2px #0969da22}
@media(max-width:1100px){main{padding:20px 24px}.cloud-toolbar{align-items:flex-start}.hero-copy{max-width:100%}}
@media(max-width:760px){
  body{display:block;padding-bottom:82px}.rail{inset:auto 10px 10px;height:64px;padding:5px;background:#fff;border:1px solid var(--separator);border-radius:10px}
  .rail nav{height:100%;gap:0}.rail nav button{height:52px;min-height:0;padding:4px;gap:3px;border-radius:5px;font-size:11px;display:grid}
  .rail nav button.active{background:#edf4ff}.nav-icon{width:20px;height:20px}.brand,.rail-label,.rail-foot{display:none}
  main{padding:18px 16px}.topbar{align-items:center;gap:12px;padding-bottom:14px;margin-bottom:16px}.topbar h1{font-size:24px}
  .header-actions{flex-direction:row}.tenant-chip{min-width:0;max-width:140px}.tenant-chip span{display:none}.tenant-chip b{font-size:12px}
  .login-button{font-size:12px;padding:8px 10px}.panel{padding:16px}.panel-head{align-items:flex-start}
  .primary,.secondary,.login-button,.tenant-chip,input:not([type=checkbox]),select{min-height:44px}
  .cloud-toolbar input[type=search]{min-height:44px;height:44px}.cloud-table .secondary{min-height:36px;padding:7px 9px}
  .cloud-toolbar{align-items:stretch;flex-direction:column;margin-top:14px}.cloud-toolbar .cloud-row-actions:last-child{flex-wrap:nowrap}
  .cloud-history .panel-head{flex-wrap:wrap;gap:6px}.cloud-history .panel-head>div{flex:1 1 240px}
  .cloud-toolbar input[type=search]{width:100%;flex:1;min-width:0}.cloud-list-footer{flex-direction:column;gap:4px}
  .app-tabs{height:auto;gap:0}.app-tabs button{padding:9px 12px;min-height:40px;font-size:13px;flex:0 0 auto}
  .application-identity code{font-size:11px}.hero{padding:20px}.hero h2{font-size:24px}.hero h2,.hero p{max-width:100%}
  dialog.cloud-drawer{border-radius:0;padding:20px}.cloud-drawer .cloud-editor textarea{min-height:280px}
  .docs-body{padding:18px}.docs-body>h2{font-size:22px}.guide-card{padding:18px 18px 18px 60px}
}
@media(max-width:500px){
  .topbar{display:flex;flex-wrap:wrap}.topbar h1{font-size:24px}.header-actions{width:auto;display:flex;margin-left:auto}
  .metric{min-height:100px;padding:14px}.metric strong{font-size:22px}.metric-head{font-size:12px}
  .application-identity{align-items:center}.app-icon{width:36px;height:36px;font-size:18px}.application-identity h2{font-size:19px}
}

/* License key selection shares the compact resource list layout. */
.function-source{min-height:280px;resize:vertical;font:13px/1.6 Consolas,monospace;white-space:pre;tab-size:4}
.license-toolbar{display:flex;align-items:center;gap:8px;margin:12px 0}
.license-toolbar small{color:var(--text-secondary);margin-left:4px}
.card-management-table .card-select-cell{width:40px;min-width:40px;padding:8px 12px}
.card-management-table th:nth-child(2),.card-management-table td:nth-child(2){position:sticky;left:40px;background:#fff;z-index:1}
.card-management-table th:nth-child(2){background:#f6f7f9;z-index:2}
button.danger{color:#c63232;background:#fff5f5;border-color:#f1d4d4}
button.primary.danger{background:#d33d3d;color:#fff;border-color:#d33d3d}
.license-confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}
@media(max-width:760px){.license-toolbar{flex-wrap:wrap}.license-toolbar small{width:100%;margin:0}.card-management-table th:nth-child(2),.card-management-table td:nth-child(2){position:static}}
