/* Private workbench. System typography stays crisp on macOS and mobile. */
.workbench {
  --bg: #f5f4ef;
  --card: #fffefa;
  --ink: #243c34;
  --dim: #73796e;
  --line: #e3e5dc;
  --brand: #285442;
  --brand-ink: #fff;
  --brand-soft: #e9eee3;
  --shadow: 0 4px 18px #243c3405;
  background: var(--bg);
  font-size: 15px;
  letter-spacing: 0.01em;
}
.workbench[data-theme="dark"] {
  --bg: #141d19;
  --card: #1d2822;
  --ink: #e6ecdf;
  --dim: #a8b4a6;
  --line: #334036;
  --brand: #b8d5af;
  --brand-ink: #18291e;
  --brand-soft: #2c3c30;
  --shadow: none;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  .workbench:not([data-theme="light"]) {
    --bg: #141d19;
    --card: #1d2822;
    --ink: #e6ecdf;
    --dim: #a8b4a6;
    --line: #334036;
    --brand: #b8d5af;
    --brand-ink: #18291e;
    --brand-soft: #2c3c30;
    --shadow: none;
    color-scheme: dark;
  }
}
.workbench * {
  box-sizing: border-box;
}
.workbench button,
.workbench a,
.workbench input,
.workbench textarea {
  -webkit-tap-highlight-color: transparent;
}
.workbench button {
  touch-action: manipulation;
}
.workbench :focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
.workbench a {
  color: inherit;
}
.workbench p {
  margin: 0;
}
.workbench h1,
.workbench h2,
.workbench h3 {
  line-height: 1.35;
}
.workbench button svg,
.workbench a svg {
  flex-shrink: 0;
}
.ico {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  padding: 34px 22px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 20;
  background: var(--bg);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  margin: 0 8px 49px;
}
.brand strong {
  font-size: 19px;
  letter-spacing: 0.05em;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.17em;
  color: var(--dim);
  margin-top: 2px;
}
.nav-label {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.12em;
  padding: 0 14px;
  margin-bottom: 12px;
}
.side-links {
  display: grid;
  gap: 6px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 11px;
  color: var(--dim) !important;
  font-size: 14px;
}
.side-link:hover {
  background: var(--card);
}
.side-link.active {
  background: var(--brand-soft);
  color: var(--ink) !important;
  font-weight: 600;
}
.side-link .count {
  margin-left: auto;
  font: 11px var(--mono);
  opacity: 0.65;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-note {
  margin: 20px 14px 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--dim);
}
.sidebar-note b {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 5px;
}
.workspace {
  margin-left: 232px;
  max-width: 1800px;
}
.desk-top {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
}
#breadcrumb {
  color: var(--dim);
  font-size: 13px;
}
#nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  color: var(--dim);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}
.icon-button:hover {
  background: var(--brand-soft);
  color: var(--ink);
}
.account-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.mobile-brand,
.mobile-nav {
  display: none;
}
#app {
  max-width: 1390px;
  margin: auto;
  padding: 42px 48px 56px;
  min-height: calc(100dvh - 157px);
}
.desk-footer {
  padding: 21px 48px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--dim);
  display: flex;
  justify-content: space-between;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
  font-weight: 600;
}
.welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.welcome h1 {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -0.04em;
  margin: 8px 0 10px;
}
.welcome p {
  color: var(--dim);
  font-size: 14px;
}
.date-stamp {
  text-align: right;
  font-size: 12px;
  color: var(--dim);
  white-space: nowrap;
  line-height: 1.8;
}
.date-stamp span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(250px, 1fr);
  gap: 20px;
  margin: 0 0 37px;
}
.feature {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 30px 32px;
  border-radius: 19px;
  background: #284e40;
  color: #f5f3e6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature .eyebrow {
  color: #c5d2b8;
}
.feature h2 {
  font-size: 27px;
  font-weight: 500;
  max-width: 75%;
  margin: 20px 0 9px;
  letter-spacing: -0.025em;
}
.feature p {
  color: #ced9ca;
  font-size: 13px;
  max-width: 72%;
  line-height: 1.9;
}
.feature .feature-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  color: #f2f3df;
  font-size: 13px;
  font-weight: 500;
  z-index: 1;
}
.feature-ornament {
  position: absolute;
  right: 25px;
  bottom: 28px;
  color: #c8d7b3;
  opacity: 0.7;
  transform: rotate(-12deg);
  width: 99px;
  height: 113px;
  border: 1px solid currentColor;
  border-radius: 9px;
}
.feature-ornament:before {
  content: "";
  position: absolute;
  inset: 12px -11px -12px 11px;
  border: 1px solid currentColor;
  border-radius: 9px;
}
.feature-ornament:after {
  content: "＋";
  position: absolute;
  inset: 17px 0;
  text-align: center;
  font-size: 44px;
  font-weight: 200;
}
.note-preview {
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mini-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mini-heading h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.note-lines {
  margin: 22px 0 18px !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  color: var(--dim);
  line-height: 2;
  background: repeating-linear-gradient(
    transparent 0,
    transparent 25px,
    var(--line) 25px,
    var(--line) 26px
  );
  min-height: 78px;
}
.note-preview > a {
  margin-top: auto;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 30px 0 17px;
}
.section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.section-head h2 span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  font-weight: 400;
  margin-left: 10px;
}
.text-link {
  font-size: 12px;
  color: var(--dim) !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.workbench .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.tool-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  position: relative;
  min-width: 0;
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.tool-card:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  transform: translateY(-2px);
}
.tool-main {
  display: block;
  padding: 22px 22px 17px;
  height: 100%;
  min-height: 190px;
}
.tool-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--brand-soft);
  border-radius: 13px;
  font-size: 23px;
  margin-bottom: 16px;
}
.tool-card[data-category="party"] .tool-icon {
  background: #f5e9d7;
}
.tool-card[data-category="study"] .tool-icon {
  background: #e7edf3;
}
.tool-card[data-category="doc"] .tool-icon {
  background: #eee9e2;
}
.tool-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 7px;
  overflow-wrap: anywhere;
  padding-right: 6px;
}
.tool-card p {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.7;
  min-height: 40px;
}
.tool-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.03em;
}
.tool-meta .ico {
  width: 16px;
  height: 16px;
}
.favorite {
  position: absolute;
  right: 9px;
  top: 10px;
  z-index: 1;
}
.favorite[aria-pressed="true"] {
  color: var(--brand);
}
.favorite[aria-pressed="true"] svg {
  fill: var(--brand-soft);
}
.tool-card.locked {
  background: color-mix(in srgb, var(--card) 65%, var(--bg));
}
.tool-card.locked .tool-icon {
  filter: grayscale(0.5);
}
.tool-card.locked .tool-main {
  padding-bottom: 65px;
}
.request-button {
  position: absolute;
  bottom: 17px;
  left: 22px;
  min-height: 36px;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.package {
  display: block;
  padding: 24px 26px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--brand-soft);
}
.package h3 {
  font-size: 16px;
  margin: 10px 0 8px;
  font-weight: 550;
}
.package p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
}
.package .text-link {
  margin-top: 17px;
  color: var(--ink) !important;
}
.update-list {
  border-top: 1px solid var(--line);
}
.update-row {
  padding: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.update-row time {
  font-size: 11px;
  color: var(--dim);
  min-width: 80px;
}
.update-row p {
  font-size: 13px;
}
.update-row p span {
  display: block;
  font-size: 12px;
  color: var(--dim);
  margin-top: 5px;
}
.filters {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}
.filter {
  flex: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 15px;
  min-height: 42px;
  cursor: pointer;
  font-size: 13px;
  color: var(--dim);
}
.filter.active {
  background: var(--brand);
  color: var(--brand-ink);
}
.filter:not(.active):hover {
  border-color: var(--line);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  padding: 0 15px;
  max-width: 410px;
  width: 100%;
  height: 48px;
}
.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 14px;
  min-width: 0;
}
.search-box:focus-within {
  outline: 2px solid var(--brand);
}
.search-box kbd {
  font: 11px var(--mono);
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--dim);
}
.empty-state {
  padding: 30px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 15px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.9;
}
.empty-state b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 7px;
}
.empty-state a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.workbench .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}
.workbench .btn.sm {
  min-height: 36px;
}
.workbench .btn.pri:hover {
  color: var(--brand-ink);
}
.workbench .center {
  max-width: 460px;
  margin: 30px auto;
}
.workbench .card {
  padding: 28px;
  border-radius: 17px;
}
.workbench .f input,
.workbench .f textarea {
  font-size: 16px;
  min-height: 48px;
}
.workbench .f label {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 12px;
}
.workbench .hint {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.85;
}
.workbench .msg {
  font-size: 13px;
  line-height: 1.8;
}
.workbench .tabs {
  gap: 12px;
}
.workbench .tabs button {
  min-height: 46px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1000px;
  margin: 42px auto;
}
.auth-story h1 {
  font-size: 43px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.04em;
  margin: 22px 0;
}
.auth-story > p {
  font-size: 14px;
  line-height: 2;
  color: var(--dim);
  max-width: 320px;
}
.auth-points {
  display: grid;
  gap: 21px;
  margin-top: 36px;
}
.auth-points > div {
  display: flex;
  gap: 14px;
  font-size: 13px;
}
.auth-points .ico {
  color: var(--brand);
  margin-top: 2px;
}
.auth-points small {
  display: block;
  color: var(--dim);
  margin-top: 3px;
}
.auth-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  min-width: 0;
}
.auth-panel h2 {
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 550;
}
.auth-panel .tabs {
  margin-top: 20px;
}
.auth-panel .f {
  margin-bottom: 18px;
}
.auth-footer {
  font-size: 11px;
  color: var(--dim);
  line-height: 1.9;
  margin-top: 20px !important;
}
.auth-forgot {
  display: block;
  margin: 14px auto 0;
  border: none;
  background: transparent;
  color: var(--dim);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.auth-forgot:hover {
  color: var(--ink);
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 60px !important;
}
.password-toggle {
  position: absolute;
  right: 4px;
  top: 3px;
  border: none;
  background: transparent;
  color: var(--dim);
  min-width: 48px;
  height: 42px;
  font-size: 12px;
  cursor: pointer;
}
.full {
  width: 100%;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.account-grid .card {
  align-self: start;
}
.account-grid h2 {
  font-size: 17px;
  margin: 0 0 15px;
}
.account-grid .hint {
  margin: 8px 0 20px;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
}
.editor-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 17px;
  overflow: hidden;
}
.editor-toolbar {
  padding: 17px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.editor-toolbar span {
  font-size: 12px;
  color: var(--dim);
}
.note-editor {
  width: 100%;
  min-height: 350px;
  resize: vertical;
  border: 0;
  background: transparent;
  padding: 25px;
  color: var(--ink);
  font:
    16px/2 system-ui,
    -apple-system,
    "PingFang SC",
    sans-serif;
  outline-offset: -4px !important;
}
.editor-actions {
  padding: 17px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.editor-aside {
  padding: 23px 0;
  font-size: 12px;
  color: var(--dim);
  line-height: 2;
}
.editor-aside h3 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 550;
  margin: 0 0 12px;
}
.editor-aside p {
  margin-bottom: 15px;
}
.editor-message {
  padding: 0 22px;
}
.check-item {
  display: flex;
  gap: 13px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 14px;
  align-items: flex-start;
}
.check-item input {
  accent-color: var(--brand);
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
}
.check-item small {
  display: block;
  color: var(--dim);
  font-size: 12px;
  margin-top: 4px;
}
.check-item:has(:checked) strong {
  text-decoration: line-through;
  color: var(--dim);
}
.project-title {
  font: inherit;
  font-size: 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 100%;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.project-progress {
  height: 4px;
  background: var(--line);
}
.project-progress span {
  display: block;
  height: 100%;
  background: var(--brand);
}
.cloud-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 16px;
  background: var(--bg);
  max-height: 260px;
  overflow: auto;
  font-size: 13px;
}
.boot-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 300px;
  font-size: 14px;
  color: var(--dim);
}
.loading-dot {
  width: 9px;
  height: 9px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 1s infinite alternate;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  font-size: 13px;
  z-index: 80;
  max-width: calc(100vw - 32px);
  box-shadow: var(--shadow);
}
#toast:empty {
  display: none;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: var(--card);
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
@keyframes pulse {
  to {
    opacity: 0.2;
  }
}
@media (min-width: 1550px) {
  .workbench .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .feature {
    min-height: 250px;
  }
  .feature h2 {
    font-size: 32px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 200px;
    padding: 30px 15px;
  }
  .workspace {
    margin-left: 200px;
  }
  .desk-top {
    padding: 0 30px;
  }
  #app {
    padding: 32px 30px 44px;
  }
  .desk-footer {
    padding: 20px 30px;
  }
  .workbench .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth-layout {
    gap: 35px;
  }
  .auth-story h1 {
    font-size: 33px;
  }
  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 15px;
  }
  .feature {
    padding: 26px;
  }
  .feature h2 {
    font-size: 24px;
  }
  .feature-ornament {
    width: 60px;
    height: 80px;
    right: 24px;
    bottom: 39px;
  }
  .note-preview {
    padding: 22px;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-aside {
    padding: 0;
  }
  .date-stamp {
    display: none;
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .desk-top {
    height: 72px;
    padding: 0 21px;
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 20;
  }
  #breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
  }
  #nav {
    gap: 6px;
  }
  .account-link > span:last-child {
    display: none;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: var(--card);
    border-top: 1px solid var(--line);
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    min-height: 48px;
    justify-content: center;
    color: var(--dim);
    font-size: 10px;
  }
  .mobile-nav a.active {
    color: var(--brand);
    font-weight: 600;
  }
  .mobile-nav a.active .ico {
    stroke-width: 2.4;
  }
  #app {
    padding: 27px 21px 35px;
    min-height: calc(100dvh - 220px);
  }
  .desk-footer {
    padding: 20px 21px calc(90px + env(safe-area-inset-bottom));
    font-size: 10px;
  }
  .welcome {
    display: block;
    margin-bottom: 24px;
  }
  .welcome h1 {
    font-size: 28px;
    margin: 6px 0 10px;
  }
  .welcome p {
    font-size: 13px;
    line-height: 1.8;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    margin-bottom: 29px;
    gap: 14px;
  }
  .feature {
    min-height: 222px;
    padding: 25px;
  }
  .feature h2 {
    font-size: 26px;
  }
  .feature p {
    max-width: 77%;
    font-size: 12px;
  }
  .feature-ornament {
    width: 65px;
    height: 82px;
    right: 29px;
    bottom: 35px;
  }
  .note-preview {
    padding: 21px;
    min-height: 160px;
  }
  .note-lines {
    margin: 13px 0 !important;
    min-height: 52px;
    -webkit-line-clamp: 2;
  }
  .workbench .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .tool-main {
    padding: 18px 15px 14px;
    min-height: 207px;
  }
  .tool-icon {
    width: 40px;
    height: 40px;
    font-size: 21px;
    margin-bottom: 17px;
    border-radius: 12px;
  }
  .tool-card h3 {
    font-size: 14px;
    line-height: 1.55;
    padding: 0;
  }
  .tool-card p {
    font-size: 11px;
    min-height: 38px;
  }
  .tool-meta {
    margin-top: 14px;
    font-size: 9px;
  }
  .favorite {
    top: 7px;
    right: 4px;
  }
  .favorite .ico {
    width: 17px;
    height: 17px;
  }
  .section-head {
    margin-top: 27px;
  }
  .section-head h2 {
    font-size: 17px;
  }
  .package-grid {
    grid-template-columns: 1fr;
  }
  .package {
    padding: 21px;
  }
  .search-box {
    margin-top: 20px;
    max-width: none;
  }
  .search-box kbd {
    display: none;
  }
  .filters {
    margin-bottom: 6px;
  }
  .filter {
    padding: 8px 13px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0 auto;
    max-width: 460px;
  }
  .auth-story h1 {
    font-size: 28px;
    margin: 9px 0;
  }
  .auth-story h1 br {
    display: none;
  }
  .auth-story > p {
    font-size: 12px;
    max-width: none;
  }
  .auth-points {
    display: none;
  }
  .auth-panel {
    padding: 24px 22px;
  }
  .auth-panel h2 {
    font-size: 20px;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .workbench .card {
    padding: 22px;
  }
  .editor-toolbar {
    padding: 16px;
    flex-wrap: wrap;
  }
  .note-editor {
    padding: 18px;
    min-height: 310px;
  }
  .editor-actions {
    padding: 16px;
  }
  .editor-message {
    padding: 0 16px;
  }
  .request-button {
    left: 15px;
  }
  .update-row {
    gap: 12px;
  }
  .update-row time {
    min-width: 67px;
    font-size: 10px;
  }
  .update-row p {
    font-size: 12px;
  }
  #toast {
    left: 50%;
    bottom: calc(87px + env(safe-area-inset-bottom));
    width: max-content;
  }
  .empty-state {
    padding: 22px;
  }
  .check-item {
    padding: 18px 16px;
  }
  .project-title {
    padding: 19px 16px;
  }
}
@media (max-width: 359px) {
  #app {
    padding-left: 15px;
    padding-right: 15px;
  }
  .desk-top {
    padding: 0 15px;
  }
  .tool-main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .welcome h1 {
    font-size: 26px;
  }
  .feature h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.brand small {
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: 0.12em;
}
@media (max-width: 760px) {
  .tool-card p {
    font-size: 12px;
    line-height: 1.75;
    min-height: 42px;
  }
  .tool-meta {
    font-size: 10px;
  }
  .tool-main {
    min-height: 218px;
  }
  .tool-card h3 {
    font-size: 14px;
  }
  .feature-ornament {
    opacity: 0.35;
  }
  .feature p {
    position: relative;
    z-index: 1;
  }
}
.announcement-board {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
  margin: 2px 0 28px;
  box-shadow: var(--shadow);
}
.announcement-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: var(--brand-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.announcement-label .ico {
  width: 18px;
  height: 18px;
  color: var(--brand);
}
.announcement-label span {
  display: grid;
  gap: 2px;
}
.announcement-label small {
  font: 8px var(--mono);
  letter-spacing: 0.14em;
  color: var(--dim);
}
.announcement-items {
  min-width: 0;
}
.announcement-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 20px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}
.announcement-item:last-child {
  border-bottom: 0;
}
.announcement-item h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
}
.announcement-item p {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.65;
}
.announcement-item time {
  font: 10px var(--mono);
  color: var(--dim);
  white-space: nowrap;
}
.announcement-item.warn {
  box-shadow: inset 3px 0 #b76549;
}
.announcement-item.warn h2 {
  color: #9b4f38;
}
@media (max-width: 760px) {
  .announcement-board {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }
  .announcement-label {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }
  .announcement-label span {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .announcement-item {
    align-items: flex-start;
    padding: 15px 16px;
    gap: 12px;
  }
  .announcement-item h2 {
    font-size: 13px;
  }
  .announcement-item p {
    font-size: 11px;
  }
  .announcement-item time {
    padding-top: 2px;
  }
}
