@font-face {
  font-family: Noto;
  src: url("./NotoSansArabic-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #172e36;
  --muted: #586b72;
  --bg: #f3f6f7;
  --surface: #fff;
  --line: #dce4e7;
  --nav: #152b32;
  --accent: #006e65;
  --accent-hover: #00534b;
  --good: #155d45;
  --bad: #a12c32;
  --amber: #78530e;
  --radius: 8px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  font:
    14px/1.5 system-ui,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}
::selection {
  background: #b8e5dc;
  color: #112e28;
}
:focus-visible {
  outline: 3px solid #258bde;
  outline-offset: 3px;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.16s ease;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.primary {
  background: var(--accent);
  color: #fff;
}
.primary:hover:not(:disabled) {
  background: var(--accent-hover);
}
.secondary {
  background: #fff;
  border-color: #b6c5cb;
}
.secondary:hover:not(:disabled) {
  background: #edf3f4;
}
.quiet {
  background: transparent;
  color: inherit;
}
.quiet:hover:not(:disabled) {
  background: #e4edef;
}
.danger {
  color: var(--bad);
}
input,
select {
  background: white;
  border: 1px solid #a9bbc2;
  border-radius: 6px;
  padding: 9px 12px;
  min-height: 44px;
  max-width: 100%;
  color: var(--ink);
  caret-color: var(--accent);
}
input::placeholder {
  color: #65767c;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  line-height: 1.6;
}
h2 {
  font-size: 19px;
}
h3 {
  font-size: 15px;
}
p {
  color: var(--muted);
  max-width: 75ch;
}
.hint,
small {
  font-size: 12px;
  color: var(--muted);
}
.identifier,
code {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.identifier {
  font-size: 13px;
}
code {
  font-size: 12px;
}
.boot {
  padding: 15vh 10vw;
  font-size: 18px;
}
.brand {
  display: block;
  color: inherit;
  text-decoration: none;
  font-size: 25px;
  line-height: 1.4;
  font-weight: 700;
  direction: ltr;
  text-align: left;
}
.brand span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 6px;
  direction: rtl;
  color: #b7cbd1;
}
.login-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.login-story {
  background: var(--nav);
  color: white;
  padding: 50px 12%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
}
.login-story h1 {
  font-size: 48px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.login-story p {
  color: #bdcdd2;
  max-width: 38ch;
}
.pipeline-legend {
  display: flex;
  align-items: center;
  direction: ltr;
  gap: 10px;
  margin-top: 42px;
  font-size: 12px;
  color: #cee3df;
}
.pipeline-legend i {
  height: 1px;
  background: #567976;
  flex: 1;
}
.login-foot {
  font-size: 12px;
}
.login-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-form-wrap form {
  width: 100%;
  max-width: 360px;
}
.login-form-wrap h2 {
  font-size: 26px;
}
.login-form-wrap form > p {
  margin: 8px 0 28px;
}
.login-form-wrap label {
  margin: 18px 0 7px;
}
.login-form-wrap input {
  width: 100%;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-inline-end: 70px;
}
.password-field button {
  position: absolute;
  inset-inline-end: 3px;
  top: 3px;
  padding: 6px 10px;
  font-size: 12px;
}
.login-form-wrap .primary {
  width: 100%;
  margin-top: 26px;
  min-height: 46px;
}
.login-form-wrap .hint {
  margin: 14px 0;
  text-align: center;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 226px;
  background: var(--nav);
  color: #dce6e9;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  z-index: 2;
}
nav {
  display: grid;
  gap: 6px;
  margin-top: 42px;
}
nav a {
  color: #c9d9de;
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
nav a:hover {
  background: #203d47;
}
nav a[aria-current="page"] {
  background: #2a4c53;
  color: white;
}
nav a span {
  font-size: 11px;
  color: #c4d8da;
}
.account {
  margin-top: auto;
  border-top: 1px solid #395058;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.account button {
  font-size: 11px;
  padding: 7px;
}
.account button:hover {
  background: #29444e;
}
main {
  margin-inline-start: 226px;
  padding: 30px 34px 20px;
  min-height: 100vh;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
header p {
  font-size: 13px;
  margin-top: 5px;
}
.breadcrumb {
  font-size: 12px;
  margin-bottom: 3px;
}
.statusline {
  margin: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.statusline time {
  font-variant-numeric: tabular-nums;
}
.error {
  padding: 12px 15px;
  background: #fff0ef;
  color: #98282b;
  border: 1px solid #edc2c0;
  border-radius: 6px;
  margin: 14px 0;
}
.notice {
  padding: 13px 16px;
  background: #fff6e3;
  border: 1px solid #e4d3ae;
  color: #6c4b0c;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 13px;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  justify-content: space-between;
  margin: 22px 0 14px;
  flex-wrap: wrap;
}
.toolbar input {
  width: 290px;
}
.toolbar select {
  min-width: 155px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 26px 0 12px;
}
.section-head:first-child {
  margin-top: 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-scroll {
  overflow: auto;
  scrollbar-color: #9caeb5 transparent;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px;
}
th {
  color: #62757d;
  background: #f9fbfc;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
td,
th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafcfc;
}
td .sub {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
td a {
  font-weight: 600;
  text-decoration: none;
}
td a:hover {
  text-decoration: underline;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  background: #edf2f5;
  color: #455e69;
}
.badge.good {
  background: #e4f3ec;
  color: var(--good);
}
.badge.bad {
  background: #fdebed;
  color: var(--bad);
}
.badge.pending {
  background: #fff2d8;
  color: var(--amber);
}
.resources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.resource {
  padding: 18px 20px;
  border-inline-end: 1px solid var(--line);
}
.resource:last-child {
  border: 0;
}
.resource span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.resource strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin: 5px 0;
  font-variant-numeric: tabular-nums;
}
.resource small {
  display: block;
  font-size: 11px;
}
.meter {
  height: 5px;
  background: #e4ebed;
  margin-top: 12px;
  overflow: hidden;
}
.meter progress {
  width: 100%;
  height: 5px;
  display: block;
  border: 0;
  appearance: none;
}
.meter progress::-webkit-progress-bar {
  background: #e4ebed;
}
.meter progress::-webkit-progress-value {
  background: var(--accent);
}
.meter progress::-moz-progress-bar {
  background: var(--accent);
}
.empty {
  padding: 35px 24px;
  text-align: center;
  color: var(--muted);
}
.empty p {
  margin: 7px auto 15px;
}
.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 22px;
}
.project-main,
.project-side {
  min-width: 0;
}
.panel-body {
  padding: 22px;
}
.panel-body h2 {
  margin-bottom: 15px;
}
.form-row {
  margin: 15px 0;
}
.form-row label {
  margin-bottom: 7px;
}
.form-row select {
  width: 100%;
  direction: ltr;
}
.form-row .hint {
  margin-top: 6px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 400;
  margin-top: 16px;
}
.checkbox input {
  min-height: 0;
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}
.facts {
  margin: 0;
  display: grid;
  gap: 16px;
}
.facts dt {
  font-size: 12px;
  color: var(--muted);
}
.facts dd {
  margin: 3px 0;
  font-size: 13px;
}
.image-row {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.image-row:last-child {
  border: 0;
}
.image-row .identifier {
  font-size: 12px;
  margin-top: 5px;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 15px;
}
.timeline time {
  font-size: 11px;
  color: var(--muted);
}
.timeline p {
  font-size: 13px;
  margin-top: 4px;
}
.job-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.job-summary p {
  font-size: 13px;
  margin-top: 6px;
}
.step-strip {
  display: flex;
  gap: 0;
  margin: 20px 0;
}
.step-strip span {
  flex: 1;
  border-bottom: 3px solid #d7e0e4;
  padding: 9px;
  text-align: center;
  font-size: 12px;
}
.step-strip .done {
  border-color: var(--accent);
  color: var(--accent);
}
.step-strip .current {
  border-color: var(--amber);
  color: var(--amber);
}
.step-strip .failure {
  border-color: var(--bad);
  color: var(--bad);
}
footer {
  margin: 35px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: min(440px, calc(100vw - 48px));
  padding: 13px 20px;
  background: var(--nav);
  color: white;
  border-radius: 6px;
  box-shadow: 0 6px 22px #152b3226;
  z-index: 5;
  font-size: 13px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  width: min(580px, calc(100vw - 30px));
  max-height: 90svh;
  overflow: auto;
  color: var(--ink);
  background: white;
}
dialog::backdrop {
  background: #0c222c80;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dialog-head h2 {
  font-size: 20px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 22px 0;
}
legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.radio {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  margin: 9px 0;
  border-radius: 6px;
}
.radio:has(input:checked) {
  border-color: var(--accent);
  background: #f2faf7;
}
.radio input {
  min-height: 0;
  accent-color: var(--accent);
  margin-top: 7px;
}
.radio strong,
.radio small {
  display: block;
}
.radio small {
  font-weight: 400;
  margin-top: 5px;
}
.radio:has(input:disabled) {
  opacity: 0.6;
}
#build-summary {
  padding: 14px;
  background: #f4f7f8;
  border-radius: 6px;
}
#build-summary p {
  font-size: 13px;
  margin: 4px 0;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (min-width: 1600px) {
  main {
    padding-inline: 48px;
    max-width: 1800px;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 200px;
    padding: 25px 15px;
  }
  main {
    margin-inline-start: 200px;
    padding: 25px 22px;
  }
  .resources {
    grid-template-columns: repeat(2, 1fr);
  }
  .resource:nth-child(2) {
    border-inline-end: 0;
  }
  .resource:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .project-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 40px 10%;
  }
  .login-story h1 {
    font-size: 39px;
  }
}
@media (max-width: 680px) {
  aside {
    position: static;
    width: auto;
    padding: 17px 18px;
    display: block;
  }
  .brand {
    font-size: 22px;
    text-align: left;
  }
  .brand span {
    display: block;
    font-size: 11px;
    margin: 4px 0 0;
  }
  nav {
    display: flex;
    overflow: auto;
    gap: 4px;
    margin-top: 18px;
  }
  nav a {
    flex: none;
    font-size: 11px;
    padding: 8px 10px;
  }
  nav a span {
    margin-inline-start: 6px;
  }
  .account {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    border: 0;
    padding: 0;
  }
  .account > span {
    display: none;
  }
  .account button {
    font-size: 10px;
  }
  main {
    margin: 0;
    padding: 22px 16px;
  }
  h1 {
    font-size: 23px;
  }
  header {
    gap: 10px;
    align-items: start;
  }
  header .secondary {
    font-size: 11px;
    padding: 7px 10px;
  }
  header p {
    font-size: 12px;
  }
  .statusline {
    align-items: start;
    flex-direction: column;
    gap: 3px;
    margin: 18px 0;
  }
  .resource {
    padding: 14px;
  }
  .resource strong {
    font-size: 17px;
  }
  td,
  th {
    padding: 12px 14px;
  }
  .table-scroll table {
    min-width: 680px;
  }
  .toolbar {
    gap: 10px;
  }
  .toolbar input {
    width: 100%;
  }
  .toolbar > label {
    width: 100%;
  }
  .section-head h2 {
    font-size: 17px;
  }
  .panel-body {
    padding: 18px;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .login-layout {
    display: block;
  }
  .login-story {
    min-height: 0;
    padding: 24px;
  }
  .login-story > div {
    display: none;
  }
  .login-foot {
    display: none;
  }
  .login-form-wrap {
    padding: 44px 25px;
  }
  .login-form-wrap h2 {
    font-size: 25px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
  .step-strip span {
    font-size: 11px;
    padding: 8px 4px;
  }
  .job-summary .actions {
    margin-top: 0;
  }
  .actions button {
    flex: 1;
  }
  .breadcrumb {
    margin-bottom: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Project-first English console: one application, one operational workspace. */
:root {
  --bg: #f6f7f9;
  --ink: #202b38;
  --muted: #627083;
  --line: #e1e6ec;
  --nav: #16242f;
  --radius: 7px;
}
h1 {
  letter-spacing: -0.025em;
  font-weight: 650;
}
main {
  max-width: 1700px;
}
nav a {
  font-size: 14px;
}
.statusline {
  font-size: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.project-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}
.project-summary p {
  margin: 7px 0 0;
}
.project-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.project-tab {
  background: transparent;
  border-radius: 0;
  padding: 13px 2px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.project-tab[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--ink);
  font-weight: 650;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 18px;
  min-width: 0;
}
.service-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.service-head strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.service-image {
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}
.service-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.settings-panel {
  max-width: 720px;
}
#build-summary label {
  display: block;
  margin-top: 20px;
}
#build-branch {
  width: 100%;
  margin: 8px 0 16px;
}
#build-summary .hint {
  display: block;
}
.build-commit {
  display: block;
  overflow-wrap: anywhere;
  margin: 5px 0 20px;
}
.login-story h1 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.12;
}
@media (max-width: 680px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .project-summary {
    align-items: start;
  }
  .project-summary > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .project-summary > button {
    flex: none;
  }
  .project-tabs {
    gap: 20px;
  }
}
/* Operator controls share the console's existing component vocabulary. */
.mobile-nav { display: none; }
.breadcrumb { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 8px; font-size:12px; color:var(--muted); }
.breadcrumb a { padding:0; border-radius:0; color:var(--accent); font-size:12px; }
.breadcrumb a:hover { background:transparent; text-decoration:underline; }
.breadcrumb > * + *::before { content:'/'; margin-right:8px; color:var(--muted); }
.badge.neutral { color:#425b63; background:#edf1f2; }
.manage-container { margin-top:16px; }
.select-control { position:relative; min-width:180px; }
.select-trigger { width:100%; min-height:42px; display:flex; align-items:center; justify-content:space-between; background:white; border:1px solid var(--line); color:var(--ink); text-align:left; padding:10px 12px; }
.select-trigger::after { content:''; width:7px; height:7px; border-bottom:1.5px solid currentColor; border-right:1.5px solid currentColor; transform:rotate(45deg); margin:0 3px 4px 16px; flex:none; }
.select-popover { position:fixed; margin:0; padding:8px; background:white; border:0; border-radius:6px; box-shadow:0 8px 30px #132b3233; z-index:20; overflow:auto; }
.select-popover input { width:100%; margin-bottom:6px; }
.select-popover [role=listbox] { max-height:220px; overflow:auto; }
.select-option { display:block; width:100%; text-align:left; background:white; padding:10px; color:var(--ink); overflow-wrap:anywhere; }
.select-option.active,.select-option:hover { background:#edf4f3; }
.select-option[aria-selected=true] { font-weight:650; color:var(--accent); }
#build-summary .select-control { margin:8px 0 16px; }
#container-dialog { width:min(820px, calc(100% - 28px)); }
#container-title { overflow-wrap:anywhere; min-width:0; font-size:18px; }
#container-dialog .dialog-head button { flex:none; }
.container-facts { display:grid; grid-template-columns:130px minmax(0,1fr); gap:12px 20px; margin:22px 0; }
.container-facts dt { color:var(--muted); font-size:13px; }
.container-facts dd { margin:0; overflow-wrap:anywhere; font-size:13px; }
.environment-list { margin:18px 0; }
.environment-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:12px 0; border-bottom:1px solid var(--line); }
.environment-row label { grid-column:1 / -1; font-size:12px; overflow-wrap:anywhere; }
.environment-row input { width:100%; min-width:0; }
.environment-row[hidden] { display:none; }
#container-detail form > input { width:100%; }
.project-tab[aria-pressed=true] { color:var(--ink); border-bottom-color:var(--accent); font-weight:650; }
#operation-summary { overflow-wrap:anywhere; }
@media (max-width:680px) {
  .mobile-nav { display:inline-flex; }
  #nav-open { margin-bottom:20px; gap:8px; }
  #sidebar { position:fixed; inset:0 auto 0 0; width:min(290px,85vw); height:100dvh; display:flex; flex-direction:column; padding:20px; z-index:11; transform:translateX(-100%); visibility:hidden; transition:transform 180ms ease-out,visibility 180ms; }
  .nav-open #sidebar { transform:translateX(0); visibility:visible; }
  #nav-close { align-self:flex-end; margin-bottom:20px; color:white; }
  #sidebar nav { display:grid; overflow:visible; gap:6px; margin-top:30px; }
  #sidebar nav a { padding:13px 14px; font-size:14px; }
  #sidebar .account { position:static; margin-top:auto; border-top:1px solid #395058; padding-top:18px; }
  #sidebar .account > span { display:block; }
  #sidebar .account button { font-size:12px; }
  .nav-backdrop { position:fixed; inset:0; z-index:10; border:0; border-radius:0; background:#0b202aa3; }
  body.navigation-open { overflow:hidden; }
  .breadcrumb { display:flex; overflow:visible; margin:0 0 8px; }
  .breadcrumb a { flex:initial; padding:0; font-size:12px; }
  .container-facts { grid-template-columns:1fr; gap:4px; }
  .container-facts dd { margin-bottom:12px; }
  .select-control { min-width:0; }
}
@media (prefers-reduced-motion:reduce) { #sidebar { transition:none; } }
/* Mobile is the primary operating surface; larger screens gain columns. */
body { font-size:15px; }
button { min-height:44px; }
header { align-items:flex-start; }
header h1 { overflow-wrap:anywhere; }
header #refresh { min-height:44px; }
.project-health { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:0 0 16px; }
.build-availability { color:var(--muted); font-size:14px; margin:0 0 20px; }
.project-tabs { gap:24px; }
.project-tab { font-size:15px; min-height:48px; }
.service-workspace-head { margin:20px 0; }
#container-detail { max-width:900px; }
.service-runtime { padding:20px; border:1px solid var(--line); border-radius:10px; background:white; }
.service-runtime .actions { margin-top:20px; }
.container-facts { background:white; padding:20px; border:1px solid var(--line); border-radius:10px; }
.container-facts dt,.container-facts dd { font-size:14px; }
.environment-row { background:white; padding:16px; border:1px solid var(--line); border-radius:8px; margin-bottom:10px; }
.environment-row label { font-size:14px; font-weight:600; }
.environment-row input { font-size:16px; }
#container-detail form { padding-bottom:24px; }
#container-detail form > .primary { margin-top:20px; width:100%; position:sticky; bottom:16px; box-shadow:0 5px 16px #152b3224; }
.service-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 16px; padding:18px; }
.service-card .service-head { grid-column:1 / -1; align-items:center; }
.service-head strong { font-size:15px; }
.service-card .service-image { grid-column:1 / -1; margin:0; font-size:13px; }
.service-card .service-facts { margin:0; padding:0; border:0; gap:6px; flex-direction:column; justify-content:center; font-size:13px; }
.service-card .manage-container { margin:0; align-self:center; }
.statusline { flex-wrap:wrap; gap:6px 18px; font-size:12px; }
@media (max-width:680px) {
  main { padding:16px; }
  #nav-open { margin-bottom:16px; }
  header h1 { font-size:25px; line-height:1.25; }
  header p { font-size:14px; }
  header .secondary { font-size:13px; }
  .breadcrumb { font-size:12px; }
  .breadcrumb > span { overflow:hidden; text-overflow:ellipsis; max-width:190px; white-space:nowrap; }
  .project-summary { flex-wrap:wrap; gap:16px; margin:20px 0; }
  .project-summary > div { flex:1 1 180px; }
  .project-summary > button { width:100%; }
  .project-summary a { font-size:14px; }
  .project-summary .hint { font-size:13px; }
  .project-health { font-size:14px; }
  .project-tabs { gap:20px; }
  .project-tab { font-size:14px; }
  .hint,.notice { font-size:14px; }
  .table-scroll { overflow:visible; background:transparent; border:0; }
  .table-scroll table { min-width:0; width:100%; display:block; }
  .table-scroll thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .table-scroll tbody { display:grid; gap:12px; }
  .table-scroll tr { display:grid; padding:16px; background:white; border:1px solid var(--line); border-radius:10px; }
  .table-scroll td { display:grid; grid-template-columns:105px minmax(0,1fr); gap:12px; padding:7px 0; border:0; font-size:14px; min-width:0; overflow-wrap:anywhere; }
  .table-scroll td::before { content:attr(data-label); color:var(--muted); font-size:12px; align-self:center; }
  .table-scroll td > * { min-width:0; }
  .project-list td:first-child { display:block; padding:0 0 12px; }
  .project-list td:first-child::before { display:none; }
  .project-list td:first-child a { font-size:17px; font-weight:650; text-decoration:none; }
  .project-list td:first-child .sub { font-size:12px; margin-top:3px; }
  .project-list td:last-child { display:block; border-top:1px solid var(--line); margin-top:10px; padding-top:10px; }
  .project-list td:last-child::before { display:none; }
  .project-list td:last-child a { display:flex; align-items:center; min-height:44px; font-weight:600; text-decoration:none; }
  .toolbar,.filters { display:grid; grid-template-columns:1fr; width:100%; }
  .toolbar label,.toolbar input,.filters > * { width:100%; }
  .container-facts { grid-template-columns:1fr; }
  .container-facts dt { font-size:12px; }
  .container-facts dd { font-size:14px; margin-bottom:16px; }
  .service-runtime .actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .service-runtime button { padding:10px 6px; }
  #container-detail .notice { padding:14px; }
  #container-detail form > .actions { display:grid; grid-template-columns:1fr; }
  #container-detail .actions input { width:100%; }
  .environment-row { padding:14px; }
  footer { font-size:12px; margin-top:32px; }
}
