@charset "UTF-8";
:root {
  --paper: #f7f4ee;
  --ink: #1a1a1a;
  --red: #e60012;
  --red-dark: #b90010;
  --muted: #787772;
  --line: #e6e3dc;
  --white: #fff;
  --soft: #f0eee8;
  --green: #37785c;
  --sidebar: 230px;
  font-family:
    Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #b34449;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -1.4px;
  line-height: 1.35;
}
h2 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.45;
}
h3 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: var(--muted);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 36px 20px 24px;
  border-right: 1px solid var(--line);
  z-index: 20;
}
.brand-link {
  display: block;
  padding: 0 13px;
}
.brand-logo {
  width: 145px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}
.brand-subtitle {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #89847e;
  margin: 10px 13px 30px;
}
.nav-label {
  font-size: 10px;
  color: #aaa59c;
  margin: 21px 15px 10px;
  letter-spacing: 1px;
}
.nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 5px;
  color: #696761;
  font-size: 13px;
  font-weight: 500;
}
.nav-link > span {
  display: flex;
  align-items: center;
  gap: 13px;
}
.nav-icon {
  font-size: 20px;
  line-height: 1;
  width: 20px;
  text-align: center;
  font-weight: 400;
}
.nav-link:hover {
  background: #f7f5f1;
}
.nav-link.active {
  background: #fcf0ed;
  color: var(--red);
}
.sidebar > .nav-label {
  margin-top: 0;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 25px 15px 0;
  color: #969087;
  font-size: 11px;
}
.sidebar-bottom p {
  margin: 9px 0 3px;
}
.connection-symbol {
  font-family: Georgia, serif;
  font-size: 22px;
  color: #45413c;
  letter-spacing: -1px;
}
.connection-symbol span {
  color: var(--red);
  margin: 0 5px;
}
.sidebar-bottom small {
  letter-spacing: 2px;
  font-size: 9px;
}
.main-shell {
  margin-left: var(--sidebar);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  gap: 15px;
}
.topbar-title {
  font-size: 12px;
  color: #6c6963;
  display: flex;
  gap: 10px;
  align-items: center;
}
.red-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.topbar-right,
.account-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}
.account-text {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}
.account-text strong {
  font-size: 12px;
  font-weight: 500;
}
.account-text small {
  font-size: 10px;
  color: var(--muted);
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.quiet-button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
}
.main {
  padding: 36px 42px 60px;
  width: 100%;
  max-width: 1580px;
  margin: auto;
  flex: 1;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 42px;
  background: #f1eee6;
  font-size: 10px;
  color: #8a8170;
}
.demo-bar > span:first-child {
  font-weight: 600;
  color: #75664c;
  border-right: 1px solid #d6cebd;
  padding-right: 12px;
  white-space: nowrap;
}
.demo-bar a {
  margin-left: auto;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 21px;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  min-height: 44px;
  transition: background 0.15s;
}
.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.button.secondary {
  background: transparent;
  border-color: #d8d3c9;
  color: var(--ink);
}
.button.secondary:hover {
  background: #eee9df;
}
.button.compact {
  padding: 10px 15px;
  font-size: 11px;
  min-height: 38px;
}
.button.light {
  background: #fff;
  color: var(--red);
  border-color: #fff;
}
.full {
  width: 100%;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.actions .text-link {
  margin: 0 4px;
}
.text-link {
  font-size: 12px;
  color: var(--red);
  font-weight: 550;
  white-space: nowrap;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 340px;
  background: var(--paper);
  gap: 40px;
  align-items: center;
  margin: 4px 0 35px;
}
.hero-copy {
  padding: 17px 0;
}
.hero .eyebrow {
  color: var(--red);
  margin-bottom: 22px;
  font-size: 9px;
}
.hero h1 {
  font-size: clamp(32px, 3.15vw, 52px);
  line-height: 1.35;
  letter-spacing: -2px;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-description {
  font-size: 13px;
  color: #77736c;
  line-height: 1.9;
  max-width: 370px;
  margin: 20px 0 26px;
}
.hero-note {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #9b958b;
  margin-top: 28px;
}
.hero-photo {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-radius: 3px;
}
.hero-photo > img {
  width: 100%;
  height: 100%;
  object-position: 58% center;
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #101a2270);
  pointer-events: none;
}
.photo-caption {
  position: absolute;
  bottom: 20px;
  left: 22px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  z-index: 1;
}
.japan-stamp {
  position: absolute;
  right: 18px;
  top: 18px;
  background: #f7f4eef2;
  color: var(--red);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 78px;
  z-index: 1;
}
.japan-stamp > span {
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 28px;
  letter-spacing: 4px;
  writing-mode: vertical-rl;
  line-height: 1.3;
}
.japan-stamp small {
  font-size: 5px;
  letter-spacing: 1px;
  margin-top: 12px;
  white-space: nowrap;
}
.theme-bar {
  border-block: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
}
.theme-link {
  font-size: 11px;
  white-space: nowrap;
}
.theme-link:hover {
  color: var(--red);
}
.content-section {
  margin-top: 42px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 21px;
}
.section-heading p {
  font-size: 11px;
  margin-top: 6px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.resource-card {
  background: #fff;
  border: 1px solid #e9e6df;
  border-radius: 5px;
  overflow: hidden;
  height: 100%;
  transition: border-color 0.15s;
}
.card-link:hover .resource-card {
  border-color: #bfa69b;
}
.card-image {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: #e7e4db;
}
.card-image > img {
  width: 100%;
  height: 100%;
  transition: transform 0.25s;
}
.card-link:hover .card-image > img {
  transform: scale(1.025);
}
.image-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: #ffffffed;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 2px;
}
.image-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  font-family: serif;
  font-size: 24px;
  color: #948373;
}
.card-body {
  padding: 20px 18px 0;
}
.card-meta {
  font-size: 9px;
  display: flex;
  justify-content: space-between;
  color: #958a7b;
  margin-bottom: 9px;
}
.card-meta > span:first-child {
  color: var(--red);
}
.card-body > h3 {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.card-body > p {
  font-size: 11px;
  line-height: 1.85;
  min-height: 40px;
}
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.tag {
  font-size: 9px;
  color: #878176;
  background: #f5f3ed;
  padding: 3px 7px;
  border-radius: 2px;
}
.card-foot {
  border-top: 1px solid var(--line);
  padding: 13px 0;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #6c665d;
}
.card-foot > span:last-child {
  color: var(--red);
  font-size: 14px;
}
.person-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 235px;
}
.person-card .card-body {
  padding: 22px 20px 0;
}
.person-portrait {
  margin: 20px 0 20px 20px;
  background: #eee8db;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #7a6454;
  border-radius: 3px;
  gap: 15px;
  min-height: 178px;
}
.person-portrait > span {
  font-size: 40px;
  font-family: "Songti SC", serif;
  line-height: 1;
}
.person-portrait > small {
  font-size: 8px;
  letter-spacing: 1px;
  opacity: 0.65;
}
.person-card .card-body > p {
  min-height: auto;
}
.person-card .card-foot {
  margin-top: 15px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.article-card {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 20px;
  background: white;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 5px;
  height: 100%;
}
.article-card > img {
  height: 100%;
  min-height: 155px;
  width: 135px;
  border-radius: 2px;
}
.article-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.article-card h3 {
  font-size: 15px;
  margin: 9px 0;
}
.article-card p.muted {
  font-size: 11px;
  margin-bottom: 13px;
}
.article-card .eyebrow {
  font-size: 8px;
  color: #a08b75;
}
.article-card .text-link {
  font-size: 10px;
  margin-top: auto;
}
.partner-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #7f1d27;
  color: #fff;
  padding: 32px 34px;
  margin-top: 45px;
  border-radius: 4px;
}
.partner-banner .eyebrow {
  color: #d2a4a5;
  font-size: 8px;
  margin-bottom: 10px;
}
.partner-banner h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.partner-banner p:not(.eyebrow) {
  font-size: 11px;
  color: #d4b2b2;
  margin-top: 10px;
}
.partner-banner .button {
  white-space: nowrap;
}
.footer {
  border-top: 1px solid var(--line);
  margin: 0 42px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  color: #a09a90;
  font-size: 9px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 5px 0 30px;
}
.page-heading .eyebrow {
  margin-bottom: 14px;
  font-size: 8px;
}
.page-heading h1 {
  font-size: 32px;
}
.page-heading p.muted {
  font-size: 12px;
  margin-top: 10px;
}
.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  background: #fff;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 20px;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  border: 1px solid #ded9cf;
  min-height: 44px;
  border-radius: 4px;
  background: #fff;
}
.search-field > span {
  font-size: 24px;
  padding: 0 12px;
  color: #969087;
}
.search-field > input {
  width: 100%;
  border: 0;
  padding: 10px 8px;
  outline-offset: 0;
  background: transparent;
  min-width: 0;
}
.filter-bar .field {
  width: 160px;
  font-size: 10px;
  gap: 4px;
}
.filter-bar .field > span {
  font-size: 10px;
}
.results-label {
  font-size: 11px;
  margin: 22px 0;
  color: #736b60;
}
.breadcrumb {
  color: #8b8478;
  font-size: 10px;
  margin-bottom: 25px;
}
.breadcrumb a:hover {
  color: var(--red);
}
.profile-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.profile-image {
  min-height: 340px;
  background: #e7e1d4;
}
.profile-image > img {
  height: 100%;
  width: 100%;
}
.profile-intro {
  padding: 36px 30px 36px 0;
}
.profile-intro h1 {
  font-size: 32px;
  letter-spacing: -0.7px;
  margin: 12px 0;
}
.profile-meta {
  font-size: 11px;
  color: #8c8171;
  margin-top: 15px;
}
.intro-line {
  color: #746e64;
  font-size: 13px;
  line-height: 1.8;
}
.role-title {
  font-size: 14px;
  color: var(--red);
  margin-bottom: 10px;
}
.profile-intro .tag {
  font-size: 10px;
}
.is-person {
  grid-template-columns: 230px 1fr;
}
.portrait-large {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #e9e1d1;
  font-size: 75px;
  font-family: "Songti SC", serif;
  color: #7b604c;
  gap: 25px;
  margin: 25px;
  border-radius: 3px;
  min-height: 265px;
}
.portrait-large small {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 1px;
  opacity: 0.7;
}
.demo-inline {
  font-size: 10px;
  color: #9e937f;
  margin: 13px 0 25px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 25px;
  margin-top: 25px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 27px;
  margin-bottom: 24px;
}
.panel > h2 {
  font-size: 18px;
  margin-bottom: 20px;
}
.panel > p + p {
  margin-top: 15px;
}
.panel .card-grid {
  gap: 16px;
}
.panel .resource-card {
  border-color: #eeeae3;
}
.panel .card-grid:not(.two-cols) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail-aside .panel {
  padding: 23px;
}
.prose {
  font-size: 13px;
  line-height: 2;
  color: #655e54;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.prose p + p {
  margin-top: 20px;
}
.verified {
  font-size: 10px;
  color: var(--green);
  margin-bottom: 20px;
}
.facts {
  font-size: 12px;
  margin: 0 0 25px;
}
.facts > div {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.facts dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}
.facts dd {
  margin: 0;
  line-height: 1.8;
}
.gate-card {
  padding: 28px;
  background: #eee8db;
  border: 1px solid #e4dac6;
  border-radius: 5px;
  margin-bottom: 25px;
}
.gate-card h2 {
  font-size: 20px;
  margin: 13px 0;
}
.gate-card p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  color: #8a7963;
  margin-bottom: 22px;
}
.topic-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.topic-list > div {
  display: flex;
  gap: 15px;
}
.topic-list h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.topic-list p {
  font-size: 11px;
}
.topic-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 9px;
  flex-shrink: 0;
}
.timeline-item {
  border-left: 1px solid #ddd3c3;
  padding: 0 0 27px 24px;
  position: relative;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: -4px;
  top: 5px;
  background: var(--red);
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.timeline-item span {
  font-size: 10px;
  color: #9b8d77;
}
.timeline-item p {
  font-size: 13px;
  margin-top: 7px;
}
.itinerary {
  padding: 0;
  list-style: none;
}
.itinerary li {
  display: flex;
  gap: 25px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.itinerary li > span {
  font-size: 10px;
  color: var(--red);
  white-space: nowrap;
}
.narrow {
  max-width: 820px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field > span {
  font-size: 12px;
  color: #6f675b;
}
.required {
  color: var(--red);
}
input,
select,
textarea {
  border: 1px solid #ddd7cd;
  border-radius: 4px;
  background: #fdfcf9;
  color: var(--ink);
  padding: 11px 13px;
  min-width: 0;
  width: 100%;
  line-height: 1.6;
  font-size: 12px;
}
textarea {
  resize: vertical;
}
select {
  min-height: 44px;
}
.wide {
  grid-column: 1/-1;
}
.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.form-status {
  color: var(--green);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.form-status.error {
  color: var(--red);
}
.check-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: #786e60;
}
.check-field input {
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--red);
  margin-top: 3px;
}
.notice {
  border-left: 3px solid #c3ab80;
  background: #f0eadd;
  padding: 14px 18px;
  color: #8d7857;
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 24px;
}
.badge {
  display: inline-flex;
  background: #f4eee2;
  color: #9b7d47;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 10px;
  white-space: nowrap;
}
.badge.good {
  background: #eaf1ea;
  color: var(--green);
}
.empty {
  text-align: center;
  padding: 65px 25px;
  background: #fff;
  border: 1px dashed #d9d2c5;
  border-radius: 5px;
  margin: 25px 0;
}
.empty-mark {
  font-size: 28px;
  color: #b9ad99;
}
.empty h3 {
  margin: 12px 0;
}
.empty p {
  font-size: 12px;
  margin-bottom: 23px;
}
.onboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.onboard-grid .panel h2 {
  font-size: 17px;
}
.onboard-grid p {
  font-size: 12px;
}
.member-row,
.project-row,
.record-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.member-row:last-child,
.record-row:last-child {
  border-bottom: 0;
}
.small-button {
  padding: 6px 12px;
  min-height: 34px;
  font-size: 10px;
}
.project-row {
  background: #fff;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-bottom: 16px;
}
.project-row h3 {
  margin: 7px 0;
}
.project-row .muted {
  font-size: 12px;
}
.row-arrow {
  font-size: 20px;
  color: var(--red);
  margin-left: 25px;
}
.quote-total {
  font-size: 30px;
  color: var(--red);
  font-weight: 600;
}
.quote-items {
  padding: 0;
  list-style: none;
  font-size: 11px;
  margin: 20px 0;
}
.quote-items li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.reading-layout {
  max-width: 850px;
  margin: auto;
}
.reading-sheet {
  background: #fff;
  padding: 46px 55px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.reading-sheet h1 {
  font-size: 32px;
  margin: 18px 0;
}
.reading-sheet > .muted {
  font-size: 11px;
  margin-bottom: 30px;
}
.article-cover {
  width: 100%;
  max-height: 340px;
  margin: 25px 0 35px;
  border-radius: 3px;
}
.source-note {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 20px;
  font-size: 11px;
  color: var(--muted);
}
.source-note a {
  margin: 0 7px;
  color: var(--red);
}
.workspace-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #dcd5c9;
  margin-bottom: 30px;
  overflow: auto;
}
.workspace-tabs a {
  white-space: nowrap;
  padding: 13px 0;
  font-size: 12px;
  color: #877d6d;
  border-bottom: 2px solid transparent;
}
.workspace-tabs a.active {
  border-bottom-color: var(--red);
  color: var(--red);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.metric-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 24px;
  gap: 12px;
}
.metric-card .muted {
  font-size: 11px;
}
.metric-card strong {
  font-size: 35px;
  font-weight: 500;
  line-height: 1.2;
}
.metric-card .text-link {
  font-size: 10px;
}
.review-card {
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.review-card:first-of-type {
  border-top: 0;
}
.review-card > p {
  font-size: 12px;
  margin: 10px 0 20px;
}
.review-card textarea {
  background: #fbfaf7;
}
.review-card .section-heading {
  margin-bottom: 10px;
}
.review-card .actions {
  margin-top: 12px;
}
.record-row strong {
  font-size: 13px;
  font-weight: 500;
}
.record-row:hover strong {
  color: var(--red);
}
.record-row p {
  margin-top: 6px;
}
.record-list {
  overflow-wrap: anywhere;
}
.login-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
}
.login-option {
  border: 1px dashed #d8d2c8;
  padding: 25px;
  border-radius: 4px;
}
.login-option h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.login-option p {
  font-size: 11px;
}
.demo-roles {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: #29241f;
  color: #fff;
  border-radius: 5px;
  padding: 14px 24px;
  font-size: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 40px);
  overflow-wrap: anywhere;
}
.toast.visible {
  opacity: 1;
}
.loading {
  padding: 65px;
  text-align: center;
  color: #9f9585;
  font-size: 12px;
}
.file-link {
  display: block;
  padding: 12px 0;
  color: var(--red);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.skip {
  position: fixed;
  top: -60px;
  left: 20px;
  background: var(--red);
  color: #fff;
  padding: 10px;
  z-index: 200;
}
.skip:focus {
  top: 10px;
}
details {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-size: 12px;
  color: #796b56;
}
details .prose {
  margin-top: 15px;
}
@media (min-width: 1600px) {
  .main {
    padding-top: 45px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 65px;
  }
  .hero-photo {
    height: 390px;
  }
  .card-image {
    height: 190px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 205px;
  }
  .sidebar {
    padding-inline: 14px;
  }
  .main {
    padding: 30px 28px 45px;
  }
  .topbar {
    padding: 0 28px;
  }
  .demo-bar {
    padding-inline: 28px;
  }
  .hero {
    gap: 25px;
  }
  .hero-photo {
    height: 315px;
  }
  .card-grid {
    gap: 14px;
  }
  .card-body {
    padding-inline: 15px;
  }
  .card-body > h3 {
    font-size: 14px;
  }
  .article-card {
    grid-template-columns: 90px 1fr;
    gap: 15px;
    padding: 14px;
  }
  .article-card > img {
    width: 90px;
  }
  .person-card {
    grid-template-columns: 93px 1fr;
  }
  .person-portrait {
    margin-left: 15px;
  }
  .person-card .card-body {
    padding: 20px 15px 0;
  }
  .profile-hero {
    grid-template-columns: 260px 1fr;
    gap: 25px;
  }
  .profile-intro {
    padding: 28px 20px 28px 0;
  }
  .profile-intro h1 {
    font-size: 28px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
  }
  .panel {
    padding: 23px;
  }
  .panel .card-grid {
    grid-template-columns: 1fr;
  }
  .partner-banner {
    padding: 25px;
  }
  .partner-banner h2 {
    font-size: 19px;
  }
  .footer {
    margin-inline: 28px;
  }
}
@media (max-width: 900px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    position: static;
    width: auto;
    padding: 14px 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .brand-link {
    padding: 0;
  }
  .brand-logo {
    width: 118px;
    height: 33px;
  }
  .brand-subtitle,
  .sidebar > .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 10px;
    margin-top: 10px;
    scrollbar-width: none;
  }
  .sidebar nav > .nav-label {
    display: none;
  }
  .nav-link {
    flex: none;
    margin-bottom: 0;
    border-radius: 0;
    padding: 12px 8px;
    font-size: 11px;
    border-bottom: 2px solid transparent;
  }
  .nav-link.active {
    background: transparent;
    border-color: var(--red);
  }
  .nav-icon {
    display: none;
  }
  .topbar {
    height: 64px;
    padding-inline: 22px;
  }
  .topbar-title {
    font-size: 10px;
  }
  .topbar-right {
    gap: 12px;
  }
  .language {
    display: none;
  }
  .demo-bar {
    padding: 7px 22px;
    font-size: 9px;
    gap: 8px;
  }
  .demo-bar a {
    font-size: 9px;
  }
  .main {
    padding: 26px 22px 40px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-photo {
    height: 310px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero .button {
    padding: 10px 15px;
    font-size: 11px;
  }
  .card-grid {
    gap: 15px;
  }
  .profile-hero {
    grid-template-columns: 240px 1fr;
  }
  .profile-intro {
    padding: 25px 20px 25px 0;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-bar {
    gap: 20px;
  }
  .theme-bar > .muted {
    width: 100%;
  }
  .footer {
    margin-inline: 22px;
  }
  .main-shell {
    margin-left: 0;
  }
  .article-card {
    grid-template-columns: 90px 1fr;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 13px;
  }
  .sidebar {
    padding-inline: 18px;
  }
  .topbar {
    padding: 0 18px;
  }
  .topbar-title {
    font-size: 9px;
    max-width: 150px;
  }
  .topbar-right .compact {
    font-size: 10px;
    padding: 8px 12px;
  }
  .account-text small {
    max-width: 125px;
  }
  .demo-bar {
    padding: 8px 18px;
    flex-wrap: wrap;
    gap: 3px 8px;
  }
  .demo-bar > span:nth-child(2) {
    font-size: 8px;
    flex: 1;
  }
  .demo-bar a {
    display: none;
  }
  .main {
    padding: 24px 18px 35px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
  }
  .hero-copy {
    padding: 6px 0;
  }
  .hero h1 {
    font-size: 40px;
    letter-spacing: -1.8px;
  }
  .hero .eyebrow {
    margin-bottom: 18px;
  }
  .hero-description {
    font-size: 12px;
    max-width: 310px;
    margin: 17px 0 22px;
  }
  .hero-note {
    margin-top: 21px;
    font-size: 8px;
  }
  .hero-photo {
    height: 230px;
  }
  .japan-stamp {
    width: 64px;
    padding: 12px;
  }
  .japan-stamp > span {
    font-size: 23px;
  }
  .japan-stamp small {
    font-size: 4px;
  }
  .theme-bar {
    gap: 13px 20px;
    padding: 15px 0;
    font-size: 10px;
  }
  .theme-bar > .muted {
    width: auto;
    margin-right: 50px;
  }
  .theme-link {
    font-size: 10px;
  }
  .content-section {
    margin-top: 30px;
  }
  .section-heading {
    gap: 10px;
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading p {
    font-size: 10px;
    max-width: 245px;
  }
  .section-heading > .text-link {
    font-size: 10px;
    margin-top: 5px;
  }
  .card-grid,
  .card-grid.two-cols,
  .article-grid {
    grid-template-columns: 1fr;
  }
  .card-image {
    height: 205px;
  }
  .card-body {
    padding: 20px 20px 0;
  }
  .card-body > h3 {
    font-size: 18px;
  }
  .card-body > p {
    font-size: 12px;
    min-height: 0;
  }
  .card-meta {
    font-size: 10px;
  }
  .tag {
    font-size: 10px;
  }
  .card-foot {
    font-size: 11px;
  }
  .person-card {
    grid-template-columns: 112px 1fr;
    min-height: 220px;
  }
  .person-portrait {
    margin: 18px 0 18px 18px;
    min-height: 175px;
  }
  .person-card .card-body {
    padding: 20px 18px 0;
  }
  .person-card h3 {
    font-size: 18px;
  }
  .article-card {
    grid-template-columns: 105px 1fr;
    padding: 16px;
  }
  .article-card > img {
    width: 105px;
    min-height: 150px;
  }
  .article-card h3 {
    font-size: 15px;
  }
  .partner-banner {
    display: block;
    padding: 27px 24px;
    margin-top: 30px;
  }
  .partner-banner h2 {
    font-size: 22px;
  }
  .partner-banner > .button {
    margin-top: 23px;
  }
  .footer {
    margin: 0 18px;
    display: block;
    font-size: 8px;
  }
  .footer > span {
    display: block;
    margin-bottom: 5px;
  }
  .page-heading {
    display: block;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading > .button {
    margin-top: 18px;
  }
  .page-heading > .badge {
    margin-top: 15px;
  }
  .filter-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 15px;
    gap: 12px;
  }
  .search-field {
    grid-column: 1/-1;
  }
  .filter-bar .field {
    width: auto;
  }
  .results-label {
    font-size: 10px;
  }
  .profile-hero,
  .profile-hero.is-person {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .profile-image {
    min-height: 0;
    height: 220px;
  }
  .profile-intro {
    padding: 26px 23px;
  }
  .profile-intro h1 {
    font-size: 29px;
  }
  .profile-intro .actions {
    gap: 8px;
  }
  .profile-intro .button {
    padding: 10px 14px;
    font-size: 11px;
  }
  .portrait-large {
    min-height: 0;
    margin: 25px 25px 0;
    height: 230px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-aside {
    display: flex;
    flex-direction: column;
  }
  .detail-layout > .detail-aside {
    order: -1;
  }
  .panel {
    padding: 23px 20px;
    margin-bottom: 20px;
  }
  .panel h2 {
    font-size: 18px;
  }
  .panel .card-grid.two-cols {
    grid-template-columns: 1fr;
  }
  .prose {
    font-size: 12px;
  }
  .gate-card {
    padding: 25px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wide {
    grid-column: auto;
  }
  .field > span {
    font-size: 11px;
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .onboard-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .login-options {
    grid-template-columns: 1fr;
  }
  .project-row {
    padding: 21px;
    gap: 15px;
  }
  .project-row .eyebrow {
    font-size: 8px;
  }
  .project-row h3 {
    font-size: 15px;
  }
  .project-row .muted {
    font-size: 10px;
  }
  .project-row > div:last-child {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-direction: column;
  }
  .row-arrow {
    margin: 0;
  }
  .reading-sheet {
    padding: 28px 22px;
  }
  .reading-sheet h1 {
    font-size: 27px;
  }
  .reading-sheet .actions {
    gap: 8px;
  }
  .reading-sheet .button {
    font-size: 10px;
    padding: 10px 13px;
  }
  .workspace-tabs {
    gap: 25px;
  }
  .metric-grid {
    gap: 13px;
  }
  .metric-card {
    padding: 20px;
    gap: 8px;
  }
  .metric-card strong {
    font-size: 30px;
  }
  .review-card .section-heading {
    gap: 15px;
  }
  .review-card .section-heading h3 {
    font-size: 15px;
  }
  .review-card .actions .button {
    font-size: 10px;
    padding: 10px 15px;
  }
  .record-row {
    gap: 12px;
  }
  .record-row strong {
    font-size: 12px;
  }
  .breadcrumb {
    font-size: 9px;
    margin-bottom: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 640px) {
  .panel .card-grid:not(.two-cols) {
    grid-template-columns: 1fr;
  }
}
.system-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.system-shortcuts > a {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fbfaf7;
}
.system-shortcuts h3 {
  font-size: 16px;
  margin-bottom: 9px;
}
.system-shortcuts p {
  font-size: 12px;
  margin-bottom: 15px;
}
.metric-card strong {
  overflow-wrap: anywhere;
}
.publication-fields {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.publication-fields h3 {
  margin-bottom: 10px;
}
.publication-fields p {
  font-size: 12px;
  margin-bottom: 18px;
}
@media (max-width: 640px) {
  .system-shortcuts {
    grid-template-columns: 1fr;
  }
  .metric-card strong {
    font-size: 25px;
  }
}
/* Business system: dense navigation, records, forms and standalone authentication. */
:root {
  --paper: #f4f6f8;
  --line: #e4e8ed;
  --muted: #717b89;
  --sidebar: 224px;
}
body {
  font-size: 13px;
}
.main {
  max-width: none;
  margin: 0;
  padding: 26px 30px 40px;
}
.topbar {
  height: 64px;
  padding: 0 30px;
}
.sidebar {
  padding: 25px 16px;
}
.brand-logo {
  width: 140px;
  height: 36px;
}
.brand-subtitle {
  font-size: 8px;
  margin-bottom: 24px;
}
.nav-link {
  font-size: 13px;
  padding: 11px 13px;
}
.nav-label {
  font-size: 10px;
}
.sidebar-bottom {
  font-size: 10px;
}
.connection-symbol {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
}
.page-heading h1 {
  font-size: 25px;
  letter-spacing: 0;
}
.page-heading .eyebrow {
  display: none;
}
.page-heading p.muted {
  margin-top: 7px;
  font-size: 12px;
}
.page-heading {
  margin-bottom: 22px;
}
.panel {
  padding: 22px;
  border-radius: 6px;
}
.panel > h2 {
  font-size: 17px;
  margin-bottom: 18px;
}
.filter-bar {
  padding: 18px;
  align-items: flex-end;
}
.filter-bar .field {
  width: 145px;
}
.table-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.table-toolbar {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.table-toolbar strong {
  font-weight: 600;
}
.table-toolbar .muted {
  font-size: 12px;
}
.table-scroll {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 12px;
}
.data-table th {
  background: #f8fafc;
  color: #697587;
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  padding: 13px 16px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 18px 16px;
  border-bottom: 1px solid #edf0f3;
  color: #4a5565;
  vertical-align: middle;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: #fafbfd;
}
.table-name {
  font-weight: 600;
  color: #273448;
  display: block;
  min-width: 150px;
}
.table-name:hover {
  color: var(--red);
}
.table-subtitle {
  display: block;
  font-size: 10px;
  color: #8a94a2;
  max-width: 230px;
  margin-top: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.row-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  white-space: nowrap;
}
.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-top: 17px;
}
.profile-hero,
.profile-hero.is-person {
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 22px;
  border-radius: 6px;
}
.profile-image {
  height: 130px;
  min-height: 0;
  border-radius: 5px;
  overflow: hidden;
}
.profile-intro {
  padding: 0;
}
.profile-intro .eyebrow {
  display: none;
}
.profile-intro h1 {
  font-size: 24px;
  letter-spacing: 0;
  margin: 8px 0;
}
.profile-meta {
  margin-top: 0;
  font-size: 11px;
}
.intro-line {
  font-size: 12px;
}
.profile-intro .tags {
  margin-top: 10px;
}
.profile-intro .actions {
  margin-top: 14px;
}
.portrait-large {
  margin: 0;
  min-height: 130px;
  height: 130px;
  font-size: 42px;
  gap: 10px;
}
.portrait-large small {
  font-size: 8px;
}
.detail-layout {
  margin-top: 20px;
}
.demo-inline {
  font-size: 10px;
  margin-bottom: 16px;
}
.metric-card {
  padding: 21px;
}
.metric-card strong {
  font-size: 28px;
}
.system-shortcuts > a {
  background: #fff;
  padding: 20px;
}
.system-shortcuts h3 {
  font-size: 14px;
}
.system-shortcuts p {
  font-size: 11px;
}
.reading-sheet {
  border-radius: 6px;
}
.standalone-login {
  min-height: 100vh;
  max-width: 520px;
  margin: 0 auto;
  padding: 70px 20px 35px;
}
.standalone-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.standalone-brand > img {
  width: 150px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}
.standalone-main {
  padding: 0;
  width: 100%;
  margin: 0;
}
.standalone-login .page-heading h1 {
  font-size: 26px;
}
.standalone-login .page-heading p {
  font-size: 12px;
}
.standalone-login .login-options {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}
.standalone-login .login-option {
  padding: 20px;
  background: #fafbfd;
  border: 1px solid var(--line);
}
.standalone-login .login-option h3 {
  font-size: 14px;
}
.standalone-login .panel {
  padding: 24px;
  margin-bottom: 20px;
}
.standalone-login .demo-login {
  font-size: 12px;
  border: 0;
  padding: 12px 0;
}
.standalone-login .demo-login summary {
  color: #8a94a2;
  font-size: 11px;
}
.standalone-login .demo-login p {
  font-size: 11px;
  color: #8a94a2;
  margin: 15px 0;
}
.standalone-login .demo-roles {
  gap: 8px;
}
.standalone-login .demo-roles .button {
  font-size: 10px;
  padding: 8px 12px;
  min-height: 36px;
}
.standalone-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
}
.standalone-content .reading-sheet {
  padding: 38px;
}
.standalone-content .breadcrumb {
  margin-bottom: 15px;
}
.standalone-content .page-heading .eyebrow {
  display: none;
}
@media (max-width: 900px) {
  .main {
    padding: 24px 20px;
  }
  .standalone-main {
    padding: 0;
  }
  .sidebar {
    padding: 14px 20px 0;
  }
  .topbar {
    padding: 0 20px;
  }
}
@media (max-width: 640px) {
  .standalone-login {
    padding-top: 42px;
  }
  .standalone-content {
    padding: 22px 16px;
  }
  .standalone-content .reading-sheet {
    padding: 25px 20px;
  }
  .data-table thead {
    display: none;
  }
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }
  .data-table tr {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }
  .data-table td {
    padding: 5px 0;
    border: 0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
  }
  .data-table td:before {
    content: attr(data-label);
    color: #8a94a2;
    font-size: 11px;
    min-width: 75px;
  }
  .data-table td:first-child {
    display: block;
    padding: 0 0 12px;
  }
  .data-table td:first-child:before {
    display: none;
  }
  .table-subtitle {
    max-width: 100%;
    white-space: normal;
  }
  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
  .filter-bar .field {
    width: auto;
  }
  .filter-bar .search-field {
    grid-column: 1/-1;
  }
  .table-pagination {
    gap: 12px;
  }
  .profile-hero,
  .profile-hero.is-person {
    grid-template-columns: 70px 1fr;
    padding: 18px;
    gap: 15px;
  }
  .profile-image,
  .portrait-large {
    height: 80px;
    min-height: 0;
  }
  .portrait-large {
    font-size: 28px;
  }
  .portrait-large small {
    display: none;
  }
  .profile-intro h1 {
    font-size: 21px;
  }
  .profile-intro .actions {
    margin-left: -85px;
    padding-top: 12px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .table-scroll {
    overflow: visible;
  }
  .table-panel {
    overflow: hidden;
  }
  .main {
    padding: 22px 16px;
  }
  .standalone-main {
    padding: 0;
  }
}
/* Vertical system navigation on desktop; off-canvas drawer on compact screens. */
.menu-toggle,
.drawer-backdrop {
  display: none;
}
.topbar-title {
  flex: 1;
}
.system-subnav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 12px 20px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.system-subnav a {
  font-size: 11px;
  color: #7e8998;
  padding: 8px;
}
.system-subnav a.active {
  color: var(--red);
  font-weight: 600;
}
.privacy-section {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 22px;
}
.privacy-section > p {
  font-size: 12px;
  margin: 10px 0 18px;
}
.permission-table {
  border: 1px solid var(--line);
}
.permission-table td {
  padding: 10px 16px;
}
.permission-table td:first-child {
  width: 45%;
}
.permission-table select {
  max-width: 260px;
  font-size: 12px;
  padding: 8px 10px;
}
.masked-notice {
  margin: 18px 0;
}
.masked-notice .text-link {
  margin-left: 12px;
}
.workspace-tabs {
  display: none;
}
@media (max-width: 1100px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 250px;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 28px 18px;
    background: #fff;
    border-right: 1px solid var(--line);
    z-index: 80;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.18s;
  }
  .sidebar .brand-link {
    padding: 0 10px;
  }
  .sidebar .brand-logo {
    width: 145px;
    height: 42px;
  }
  .sidebar .brand-subtitle {
    display: block;
    margin: 10px 10px 25px;
  }
  .sidebar > .nav-label,
  .sidebar nav > .nav-label {
    display: block;
  }
  .sidebar nav {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 0;
    gap: 3px;
  }
  .sidebar .nav-link {
    display: block;
    width: 100%;
    flex: none;
    border: 0;
    border-radius: 5px;
    font-size: 13px;
    padding: 12px 13px;
    margin-bottom: 3px;
  }
  .sidebar .nav-link.active {
    background: #fcf0ed;
    color: var(--red);
  }
  .sidebar .nav-icon {
    display: inline-block;
  }
  .sidebar-bottom {
    display: block;
    margin-top: auto;
  }
  .menu-open .sidebar {
    transform: translateX(0);
    visibility: visible;
  }
  .main-shell {
    margin-left: 0;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff;
    color: #667488;
    font-size: 19px;
    flex: none;
  }
  .topbar {
    gap: 12px;
  }
  .topbar-title {
    font-size: 11px;
  }
  .menu-open .drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: #17233166;
    z-index: 70;
    width: 100%;
    height: 100%;
  }
  body.drawer-open {
    overflow: hidden;
  }
  .brand-subtitle {
    white-space: nowrap;
  }
  .system-subnav {
    flex: none;
    margin-left: 22px;
  }
  .permission-table td {
    display: table-cell;
    width: auto;
    padding: 9px 10px;
  }
  .permission-table td:before {
    display: none;
  }
  .permission-table tr {
    display: table-row;
    border: 0;
    padding: 0;
  }
  .permission-table tbody {
    display: table-row-group;
  }
  .permission-table {
    display: table;
  }
  .permission-table select {
    max-width: 100%;
    min-width: 0;
  }
  .permission-table td:first-child {
    width: 42%;
    display: table-cell;
  }
  .permission-table thead {
    display: table-header-group;
  }
  .permission-table th {
    font-size: 10px;
  }
  .permission-table tr td {
    font-size: 11px;
  }
  .table-pagination {
    padding-bottom: 10px;
  }
}
.portrait-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
