:root {
  --ink: #182238;
  --muted: #647188;
  --line: #dce3eb;
  --surface: #ffffff;
  --page: #f4f6f8;
  --teal: #0c6a62;
  --teal-pale: #e0f2ed;
  --blue: #2c5fbd;
  --blue-pale: #e9effd;
  --orange: #a85614;
  --orange-pale: #fff0e3;
  --red: #b14042;
  --red-pale: #fff0f0;
  --green: #1f704d;
  --green-pale: #e5f4ea;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { background: var(--page); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100dvh; max-width: 1120px; margin: 0 auto; background: var(--page); }
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 84px;
  padding: calc(env(safe-area-inset-top) + 14px) 18px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.brand-lockup { display: flex; min-width: 0; align-items: center; gap: 10px; }
.brand-mark { flex: 0 0 auto; width: 44px; height: 44px; }
.brand-name { margin: 0 0 4px; color: var(--teal); font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.eyebrow { margin: 0 0 4px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 25px; line-height: 1.25; }
h2 { margin-bottom: 0; font-size: 20px; line-height: 1.3; }
h3 { font-size: 16px; line-height: 1.35; }
.header-priority {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 6px 8px;
  border: 1px solid #c9d4df;
  border-radius: 6px;
  color: #647188;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}
.header-priority strong { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff; background: #8b99a9; font-size: 12px; }
.header-priority.has-items { border-color: #e5ad70; color: #8b470c; background: #fff5e8; box-shadow: 0 4px 12px rgba(168, 86, 20, .14); }
.header-priority.has-items strong { background: #b14042; }
.profile-button {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #9dc7c0;
  color: var(--teal);
  background: var(--teal-pale);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
}
.icon-button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #9dc7c0; color: var(--teal); background: var(--teal-pale); border-radius: 50%; font-size: 14px; font-weight: 800; }
.app-content { padding: 20px 18px calc(94px + env(safe-area-inset-bottom)); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 24px 0 10px; }
.section-title:first-child { margin-top: 0; }
.section-title h2 { font-size: 16px; }
.section-title span { color: var(--muted); font-size: 12px; }
.command-board { display: grid; gap: 18px; min-height: 188px; padding: 20px; overflow: hidden; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--teal); border-radius: var(--radius); }
.command-copy { position: relative; z-index: 1; }
.command-copy h2 { max-width: 17em; margin-bottom: 6px; font-size: 23px; }
.command-copy > p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.signal-cluster { display: flex; align-items: flex-end; justify-content: space-between; min-height: 88px; gap: 12px; }
.signal { display: grid; width: 78px; height: 78px; padding: 0; place-items: center; align-content: center; border: 0; color: var(--ink); background: var(--surface); box-shadow: 0 7px 18px rgba(24, 34, 56, .12); text-align: center; }
.signal span { font-size: 11px; font-weight: 800; }.signal strong { margin-top: 2px; font-size: 29px; line-height: 1; }
.signal-review { color: #174b9b; background: var(--blue-pale); border-radius: 50%; }
.signal-priority { color: #9b3537; background: var(--red-pale); border-radius: 10px; transform: rotate(45deg); }
.signal-priority > * { transform: rotate(-45deg); }
.signal-active { color: #0f6249; background: var(--green-pale); border-radius: 4px; }
.signal:focus-visible, .state-node:focus-visible { outline: 3px solid #8db6f4; outline-offset: 3px; }
.home-status { margin-top: 22px; }
.status-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.state-node { display: grid; grid-template-columns: 16px 1fr; grid-template-rows: auto auto; align-items: center; gap: 2px 8px; min-width: 0; min-height: 76px; padding: 11px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); border-radius: 6px; text-align: left; }
.state-shape { grid-row: 1 / span 2; display: block; width: 14px; height: 14px; }
.state-node span:nth-child(2) { overflow: hidden; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.state-node strong { color: var(--ink); font-size: 21px; line-height: 1; }
.state-open .state-shape { background: var(--orange); border-radius: 50%; }.state-reviewing .state-shape { background: var(--blue); transform: rotate(45deg); }.state-active .state-shape { background: var(--teal); }
.case-list { display: grid; gap: 8px; }
.case-row {
  width: 100%;
  padding: 13px;
  text-align: left;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.case-row.status-open { border-left: 5px solid var(--orange); }
.case-row.status-reviewing { border-left: 5px solid var(--blue); }
.case-row.status-active { border-left: 5px solid var(--teal); }
.case-row.status-routine { border-left: 5px solid #7352a2; }
.case-row.status-waiting { border-left: 5px solid #876c25; }
.case-row.status-planned { border-left: 5px solid #8390a0; }
.case-row:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #8db6f4; outline-offset: 2px; }
.case-row-top, .case-row-bottom, .detail-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.case-row h3 { margin: 9px 0 7px; }
.case-row-bottom { color: var(--muted); font-size: 12px; }
.badge { display: inline-flex; align-items: center; width: fit-content; min-height: 22px; padding: 3px 7px; border-radius: 4px; font-size: 11px; font-weight: 800; }
.badge.company { color: #644c98; background: #f0eafd; }
.badge.hq { color: #1c5e55; background: var(--teal-pale); }
.badge.store { color: #8b470c; background: var(--orange-pale); }
.badge.external { color: #244fa0; background: var(--blue-pale); }
.badge.high { color: #973335; background: var(--red-pale); }
.badge.medium { color: #8b470c; background: var(--orange-pale); }
.badge.low { color: #1f704d; background: var(--green-pale); }
.status { color: #395064; font-size: 12px; font-weight: 700; }
.text-button, .text-link { padding: 0; border: 0; color: var(--teal); background: transparent; font-size: 12px; font-weight: 800; text-decoration: none; }
.domain-switcher { display: grid; gap: 8px; }
.domain-switch { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; min-height: 78px; padding: 13px 14px; border: 1px solid var(--line); border-left: 5px solid var(--teal); color: var(--ink); background: var(--surface); border-radius: var(--radius); text-align: left; }
.domain-switch span { color: var(--muted); font-size: 11px; font-weight: 700; }
.domain-switch strong { font-size: 15px; }.domain-switch em { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--teal); font-size: 12px; font-style: normal; font-weight: 800; }
.domain-switch.company { border-left-color: #7352a2; }.domain-switch.company em { color: #7352a2; }.domain-switch.store { border-left-color: var(--orange); }.domain-switch.store em { color: var(--orange); }.domain-switch.external { border-left-color: var(--blue); }.domain-switch.external em { color: var(--blue); }
.home-priority-list { display: grid; gap: 7px; }
.home-priority-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 70px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--surface); text-align: left; }
.priority-shape { width: 10px; height: 38px; background: var(--teal); border-radius: 2px; }.home-priority-row.status-reviewing .priority-shape { background: var(--blue); }.home-priority-row.status-open .priority-shape { background: var(--orange); }
.priority-main { display: grid; min-width: 0; gap: 4px; }.priority-main .badge { min-height: 18px; padding: 2px 5px; font-size: 9px; }.priority-main strong { overflow: hidden; font-size: 14px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.priority-meta { display: grid; justify-items: end; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; }.priority-meta b { color: #395064; font-size: 11px; }
.domain-tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.domain-tile { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 2px 8px; min-height: 86px; padding: 11px 42px 11px 11px; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 6px; color: var(--ink); background: var(--surface); text-align: left; }
.domain-shape { grid-row: 1 / span 2; display: block; width: 18px; height: 18px; background: var(--teal); border-radius: 50%; }.domain-tile span:nth-child(2) { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.domain-tile strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }.domain-tile em { position: absolute; right: 9px; bottom: 10px; color: var(--teal); font-size: 10px; font-style: normal; font-weight: 800; }
.domain-tile.company { border-top-color: #7352a2; }.domain-tile.company .domain-shape { background: #7352a2; }.domain-tile.company em { color: #7352a2; }.domain-tile.hq .domain-shape { border-radius: 2px; }.domain-tile.store { border-top-color: var(--orange); }.domain-tile.store .domain-shape { background: var(--orange); transform: rotate(45deg); }.domain-tile.store em { color: var(--orange); }.domain-tile.external { border-top-color: var(--blue); }.domain-tile.external .domain-shape { background: var(--blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; }.domain-tile.external em { color: var(--blue); }
.home-columns { display: grid; gap: 22px; }
.work-state-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.work-state-strip button { min-height: 58px; padding: 9px 11px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); border-radius: 6px; text-align: left; }
.work-state-strip span { display: block; font-size: 11px; font-weight: 800; }.work-state-strip strong { display: block; margin-top: 3px; color: var(--ink); font-size: 16px; }
.service-integrations { margin-top: 22px; }
.service-integration-grid { display: grid; gap: 8px; }
.service-link { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 76px; padding: 12px 13px; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: var(--radius); color: var(--ink); background: var(--surface); text-decoration: none; }
.service-link-mark { position: relative; display: block; width: 38px; height: 38px; overflow: hidden; border-radius: 5px; background: var(--teal-pale); }
.service-link-mark i { position: absolute; display: block; width: 10px; height: 10px; background: var(--teal); border-radius: 50%; }
.service-link-mark-sharing i:nth-child(1) { top: 7px; left: 14px; }.service-link-mark-sharing i:nth-child(2) { bottom: 7px; left: 7px; }.service-link-mark-sharing i:nth-child(3) { right: 7px; bottom: 7px; }
.service-link-mark-sharing::before, .service-link-mark-sharing::after { position: absolute; z-index: 0; width: 17px; height: 2px; background: var(--teal); content: ""; transform-origin: left center; }.service-link-mark-sharing::before { top: 16px; left: 18px; transform: rotate(34deg); }.service-link-mark-sharing::after { top: 16px; left: 18px; transform: rotate(146deg); }
.service-link-mark-shift { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 9px 8px; }.service-link-mark-shift i { position: static; width: auto; height: auto; min-height: 9px; background: var(--blue); border-radius: 0; }.service-link-mark-shift i:nth-child(1) { height: 10px; }.service-link-mark-shift i:nth-child(2) { height: 17px; }.service-link-mark-shift i:nth-child(3) { height: 24px; }
.service-link strong, .service-link small { display: block; }
.service-link strong { font-size: 16px; }
.service-link small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.service-link b { align-self: center; color: var(--teal); font-size: 12px; }
.service-link-shift { border-left-color: var(--blue); }
.service-link-shift .service-link-mark, .service-link-shift b { color: var(--blue); background: var(--blue-pale); }
.service-link-shift b { background: transparent; }
.project-grid { display: grid; gap: 9px; }
.project-card { padding: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.project-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.project-card h3 { margin: 0; }
.project-card p { margin: 8px 0 13px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.project-card button { padding: 0; border: 0; color: var(--teal); background: transparent; font-size: 13px; font-weight: 800; }
.filter-row { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; }
.filter-button { flex: 0 0 auto; min-height: 34px; padding: 7px 11px; border: 1px solid var(--line); color: #425466; background: var(--surface); border-radius: 5px; font-size: 12px; font-weight: 700; }
.filter-button.is-active { border-color: var(--teal); color: #fff; background: var(--teal); }
.file-card { display: flex; align-items: center; gap: 12px; padding: 13px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.file-symbol { display: grid; flex: 0 0 auto; width: 34px; height: 40px; place-items: center; color: var(--blue); background: var(--blue-pale); border-radius: 4px; font-size: 11px; font-weight: 800; }
.file-card p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.file-open { margin-left: auto; color: var(--teal); font-size: 12px; font-weight: 800; }
.empty-state { padding: 20px; color: var(--muted); text-align: center; background: var(--surface); border: 1px dashed #b5c0ce; border-radius: var(--radius); }
.empty-state p { margin: 0; font-size: 13px; }
.settings-list { display: grid; gap: 9px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.settings-row h3 { margin: 0; }
.settings-row p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.danger-button { border: 1px solid #dba6a7; padding: 8px 10px; color: var(--red); background: var(--red-pale); border-radius: 5px; font-size: 12px; font-weight: 800; }
.workflow-intro { padding: 18px; color: #fff; background: var(--teal); border-radius: var(--radius); }
.workflow-intro h2 { margin: 5px 0 8px; font-size: 22px; line-height: 1.35; }
.workflow-intro p:last-child { margin: 0; color: #e4f4f1; font-size: 13px; line-height: 1.65; }
.workflow-intro .eyebrow { color: #bde6df; }
.workflow-list, .guide-list { display: grid; gap: 10px; margin-top: 14px; }
.workflow-card, .guide-card, .workflow-note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.workflow-card { padding: 15px; }
.workflow-card header { display: flex; align-items: center; gap: 9px; }
.workflow-card header > span { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--teal); border-radius: 4px; font-size: 13px; font-weight: 800; }
.workflow-card h3 { margin: 0; font-size: 16px; }
.workflow-card ol { display: grid; gap: 8px; margin: 15px 0 0; padding: 0; list-style: none; }
.workflow-card li { position: relative; display: flex; align-items: center; gap: 9px; min-height: 35px; color: #425466; font-size: 13px; }
.workflow-card li:not(:last-child)::after { position: absolute; width: 1px; height: 9px; margin: 39px 0 0 11px; background: #b8d8d3; content: ""; }
.workflow-card li b { display: grid; flex: 0 0 auto; width: 23px; height: 23px; place-items: center; color: var(--teal); background: var(--teal-pale); border-radius: 50%; font-size: 11px; }
.guide-card { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px; }
.guide-card > span { display: grid; width: 32px; height: 32px; place-items: center; color: var(--blue); background: var(--blue-pale); border-radius: 4px; font-size: 14px; font-weight: 800; }
.guide-card h3, .workflow-note h3 { margin: 1px 0 5px; font-size: 15px; }
.guide-card p, .workflow-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.workflow-note { margin-top: 14px; padding: 15px; border-left: 4px solid var(--orange); }
.roadmap-intro { background: #1f5d77; }
.roadmap-decision { margin-top: 14px; padding: 15px; border: 1px solid #e4b477; border-left: 4px solid var(--orange); background: #fff8ee; border-radius: var(--radius); }
.roadmap-decision h3 { margin: 0 0 6px; font-size: 15px; }.roadmap-decision p { margin: 0; color: #59421f; font-size: 13px; line-height: 1.65; }
.roadmap-list { display: grid; gap: 10px; margin-top: 14px; }
.roadmap-card { padding: 15px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: var(--radius); }
.roadmap-card header { display: flex; align-items: flex-start; gap: 10px; }.roadmap-card header > span { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--teal); border-radius: 4px; font-size: 14px; font-weight: 800; }
.roadmap-card header p { margin: 0 0 2px; color: var(--muted); font-size: 11px; font-weight: 800; }.roadmap-card h3 { margin: 0; font-size: 16px; }
.roadmap-goal { margin: 12px 0 8px; color: #425466; font-size: 13px; line-height: 1.55; }.roadmap-first { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }.roadmap-first b { display: block; color: var(--teal); font-size: 11px; }
.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 720px);
  max-width: 720px;
  min-height: calc(65px + env(safe-area-inset-bottom));
  margin: 0 auto;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-item { min-width: 0; border: 0; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; }
.nav-item span { white-space: nowrap; }
.nav-item.is-active { color: var(--teal); }
.nav-add { display: grid; place-items: center; }
.nav-add span { display: grid; width: 42px; height: 42px; place-items: center; transform: translateY(-15px); color: #fff; background: var(--teal); border: 4px solid var(--page); border-radius: 50%; font-size: 28px; font-weight: 400; line-height: 1; }
.dialog { width: min(100%, 620px); max-width: 620px; min-height: 100dvh; margin: 0 0 0 auto; padding: 0; background: transparent; border: 0; }
.dialog::backdrop { background: rgba(18, 31, 45, .42); }
.dialog-panel { display: flex; min-height: 100dvh; flex-direction: column; padding: calc(env(safe-area-inset-top) + 20px) 18px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; background: var(--page); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.dialog label { display: grid; gap: 7px; margin: 0 0 16px; font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #b9c5d2; padding: 11px 12px; color: var(--ink); background: #fff; border-radius: 5px; font-size: 16px; }
textarea { resize: vertical; }
.file-input { padding: 12px; border: 1px dashed #aebdca; color: var(--teal); background: var(--teal-pale); border-radius: 5px; }
.file-input input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.file-list, .form-note { margin: -7px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 20px; }
.primary-button, .secondary-button { min-height: 42px; padding: 9px 14px; border-radius: 5px; font-size: 14px; font-weight: 800; }
.primary-button { border: 1px solid var(--teal); color: #fff; background: var(--teal); }
.secondary-button { border: 1px solid #aebdca; color: #46586b; background: #fff; }
.diagram-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.detail-title { margin: 7px 0 14px; font-size: 23px; line-height: 1.35; }
.detail-description { color: #425466; white-space: pre-wrap; font-size: 14px; line-height: 1.7; }
.detail-section { margin-top: 25px; }
.detail-section h3 { margin-bottom: 10px; }
.reference-link-list { display: grid; gap: 8px; }
.reference-link { display: flex; align-items: center; min-height: 42px; padding: 10px 12px; border: 1px solid #a8d5cf; border-radius: 6px; color: var(--teal); background: var(--teal-pale); font-size: 13px; font-weight: 800; text-decoration: none; }
.reference-link::after { margin-left: auto; content: "開く"; font-size: 11px; }
.status-control { display: flex; gap: 8px; }
.status-control select { min-height: 40px; font-size: 14px; }
.comment-list, .history-list { display: grid; gap: 8px; }
.comment, .history-item { padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.comment header { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; }
.comment p { margin: 8px 0 0; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.history-item { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 12px; }
.history-item span { font-size: 12px; }
.history-item time { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.comment-form { display: grid; gap: 8px; }
.comment-form textarea { font-size: 14px; }
.comment-form button { justify-self: end; }
.detail-close { align-self: flex-end; margin-bottom: 12px; }
.attachment-list { display: grid; gap: 6px; }
.attachment { padding: 10px; color: #425466; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; }
.sign-in-screen { display: grid; min-height: calc(100dvh - 170px); align-content: center; justify-items: center; padding: 40px 24px 110px; text-align: center; }
.sign-in-mark { width: 76px; height: 76px; margin-bottom: 22px; }
.sign-in-screen h2 { margin: 4px 0 12px; font-size: 28px; }
.sign-in-screen > p:not(.eyebrow):not(.sign-in-note) { max-width: 340px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.line-login-button { width: min(100%, 340px); min-height: 52px; margin-top: 26px; border: 0; border-radius: 6px; color: #fff; background: #06c755; font-size: 16px; font-weight: 800; }
.line-login-button:disabled { cursor: not-allowed; opacity: .55; }
.sign-in-note { max-width: 340px; margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

@media (min-width: 721px) {
  .app-shell { box-shadow: 0 0 0 1px #dfe6ee, 0 15px 40px rgba(25, 40, 57, .09); }
  .app-header { min-height: 94px; padding-right: 28px; padding-left: 28px; }
  .brand-mark { width: 50px; height: 50px; }
  .brand-name { font-size: 13px; }
  .header-priority { min-height: 46px; padding: 8px 11px; font-size: 12px; }
  .app-content { padding: 30px 32px 104px; }
  h1 { font-size: 29px; }
  .command-board { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: center; min-height: 184px; padding: 26px; }
  .command-copy h2 { font-size: 28px; }
  .signal-cluster { min-height: 118px; }
  .signal { width: 96px; height: 96px; }
  .signal span { font-size: 13px; }.signal strong { font-size: 35px; }
  .state-node { min-height: 86px; padding: 14px; }
  .state-node strong { font-size: 25px; }
  .work-state-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-columns { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: start; }
  .service-integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-row { min-height: 122px; padding: 17px; }
  .case-row h3 { font-size: 18px; }
  .domain-tile { min-height: 98px; padding: 14px; }
  .domain-tile strong { font-size: 17px; }
  .bottom-nav { width: min(100%, 1120px); max-width: 1120px; }
}
