:root {
  font-family:
    system-ui,
    -apple-system,
    "Noto Sans JP",
    sans-serif;
  color: #193333;
  background: #f4f7f6;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #13765d;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  background: #14785e;
  color: white;
  padding: 12px 18px;
  font-weight: 700;
}
button:hover {
  background: #105d49;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: #e7f3ed;
  color: #145b48;
}
button.danger {
  background: #fff0ed;
  color: #9e3e2b;
}
.shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
aside {
  background: #143433;
  color: #e3f1eb;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.brand {
  color: #e3f1eb;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 1px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #77a798;
  margin: 0;
}
nav {
  display: grid;
  gap: 20px;
}
nav a {
  background: #2b5850;
  padding: 14px;
  border-radius: 10px;
  color: white;
}
nav span {
  font-size: 12px;
  line-height: 1.7;
}
.side-note {
  margin-top: auto;
  border: 1px solid #42635c;
  border-radius: 12px;
  padding: 18px;
  font-size: 13px;
}
.side-note p {
  line-height: 1.8;
  color: #afccc0;
}
main {
  padding: 24px 38px;
  max-width: 1300px;
  width: 100%;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #dfe8e3;
  padding-bottom: 22px;
  font-size: 12px;
  color: #64817b;
}
#identity {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-wrap: anywhere;
}
#identity button {
  font-size: 12px;
  padding: 8px;
}
h1 {
  font-size: clamp(27px, 4vw, 38px);
  letter-spacing: -0.03em;
  margin: 16px 0;
}
h2 {
  font-size: 19px;
  margin: 0 0 18px;
}
p {
  line-height: 1.8;
}
#app {
  padding-top: 34px;
}
.intro {
  max-width: 660px;
}
.intro > p {
  color: #617e75;
}
.kicker {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #1b9470;
}
.card {
  background: white;
  border: 1px solid #dde8e2;
  border-radius: 17px;
  padding: 28px;
  margin: 24px 0;
  box-shadow: 0 10px 28px #15382c04;
}
.auth {
  max-width: 520px;
  margin: 24px auto;
}
.auth h1 {
  font-size: 30px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
input {
  width: 100%;
  border: 1px solid #cbdcd3;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: #193333;
}
input:focus {
  border-color: #13765d;
}
.help {
  font-size: 12px;
  color: #5c786e;
}
.links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.project {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.project button {
  align-self: flex-start;
}
.badge {
  display: inline-block;
  border-radius: 20px;
  background: #e9f7f0;
  color: #177654;
  padding: 5px 11px;
  font-size: 12px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #edf2ef;
  padding: 14px 0;
}
.row:last-child {
  border: 0;
}
.row div {
  overflow-wrap: anywhere;
}
.row button {
  padding: 8px 12px;
  font-size: 12px;
}
.empty {
  padding: 28px;
  border: 1px dashed #b3ccbe;
  border-radius: 12px;
  color: #607b6c;
}
.warning {
  background: #fff6e7;
  border: 1px solid #f0dcb4;
  border-radius: 10px;
  padding: 18px;
  font-size: 14px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.detail-columns .card {
  margin: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
#notice {
  color: #177654;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-height: 24px;
}
#notice.error {
  color: #9d3b28;
}
footer {
  border-top: 1px solid #dfe8e3;
  padding-top: 18px;
  margin-top: 40px;
  color: #698278;
  font-size: 12px;
  line-height: 1.8;
}
.back {
  display: inline-block;
  margin-bottom: 18px;
}
@media (max-width: 800px) {
  .shell {
    grid-template-columns: 1fr;
  }
  aside {
    padding: 20px;
    gap: 14px;
  }
  .side-note,
  aside .eyebrow,
  nav .muted {
    display: none;
  }
  nav a {
    padding: 10px;
  }
  main {
    padding: 20px;
  }
  .detail-columns {
    grid-template-columns: 1fr;
  }
  header {
    flex-wrap: wrap;
  }
  .auth {
    margin-top: 0;
  }
  .card {
    padding: 22px;
  }
  .row {
    align-items: flex-start;
  }
  h1 {
    font-size: 28px;
  }
}

.business-workspace {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.link-row {
  padding: 18px 0;
  border-top: 1px solid #dfe8e3;
}
.link-row button {
  margin: 8px 8px 0 0;
}
.url-text {
  overflow-wrap: anywhere;
  font-size: 13px;
  color: #527064;
}
select {
  width: 100%;
  border: 1px solid #cadad3;
  border-radius: 9px;
  padding: 12px;
  background: white;
  font: inherit;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkbox-row input {
  width: auto;
  min-height: auto;
}
input[readonly] {
  background: #f2f8f5;
  font-size: 13px;
}
.business-workspace button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
