/* 花花小站 — 糖太棕色系 */
@font-face {
  font-family: "openhuninn";
  src: url("/static/fonts/openhuninn.woff2") format("woff2");
  font-display: swap;
}

:root {
  --brown: #856441;
  --brown-dark: #6b4f33;
  --brown-2: #a1815c;
  --apricot: #fbc388;   /* 工作待辦 */
  --apricot-deep: #d99a4e;
  --sage: #9acaae;      /* 私人待辦 */
  --sage-deep: #5f9a78;
  --tan: #edcdb6;       /* TimeTree 行程 */
  --tan-deep: #b98d68;
  --blush: #ffddd7;     /* 經期淡色 */
  --rose: #e08e86;      /* 經期實記 */
  --rose-deep: #c96b62;
  --bg: #faf4ec;
  --card: #fffdf9;
  --line: #eee2d3;
  --text: #4a3728;
  --muted: #a08b77;
  --danger: #c0554a;
  --nav-h: 62px;
}

/* ===== 主題配色（人民幣色卡系列，經期粉紅全主題共用） ===== */
html[data-theme="red"] {      /* 發財紅 #CC4968 */
  --brown: #cc4968; --brown-dark: #a83651; --brown-2: #e07a92;
  --apricot: #f4a396; --apricot-deep: #c24a3c;
  --sage: #d2c8ac; --sage-deep: #9c9468;
  --tan: #e2b2d1; --tan-deep: #b37ba0;
  --bg: #fbf2f3; --card: #fffdfd; --line: #f0dbde;
  --text: #4c3038; --muted: #a9878f;
}
html[data-theme="pine"] {     /* 放青松 #518463 */
  --brown: #518463; --brown-dark: #3f6a4e; --brown-2: #7fae91;
  --apricot: #d2c8ac; --apricot-deep: #9c9468;
  --sage: #a7d3b2; --sage-deep: #5f9a78;
  --tan: #cbf2e0; --tan-deep: #6fae94;
  --bg: #f1f7f2; --card: #fdfffd; --line: #dce9de;
  --text: #31433a; --muted: #87a190;
}
html[data-theme="blue"] {     /* 不擺藍 #325969 */
  --brown: #325969; --brown-dark: #264552; --brown-2: #6b8fa7;
  --apricot: #f2cdb4; --apricot-deep: #c08a58;
  --sage: #9bb89a; --sage-deep: #66875f;
  --tan: #c7d6e0; --tan-deep: #6b8fa7;
  --bg: #f2f5f7; --card: #fdfeff; --line: #dce4e9;
  --text: #2e3e47; --muted: #84959e;
}
html[data-theme="purple"] {   /* 絕絕紫 #6C4D7E */
  --brown: #6c4d7e; --brown-dark: #573d66; --brown-2: #9a79ac;
  --apricot: #ecd9cb; --apricot-deep: #b98d68;
  --sage: #a9d1d9; --sage-deep: #5e9aa6;
  --tan: #dcc0da; --tan-deep: #b384b0;
  --bg: #f7f3f9; --card: #fefdff; --line: #e6deec;
  --text: #3f3449; --muted: #98889f;
}
html[data-theme="army"] {     /* 不焦綠 #566C44 */
  --brown: #566c44; --brown-dark: #445636; --brown-2: #7e9966;
  --apricot: #c8c7a7; --apricot-deep: #94925f;
  --sage: #bfd3a6; --sage-deep: #62804b;
  --tan: #dae2bc; --tan-deep: #969571;
  --bg: #f4f6ee; --card: #fdfefa; --line: #e0e4d2;
  --text: #38412e; --muted: #8e967e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "openhuninn", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
}
button, input, select, textarea { font: inherit; color: inherit; }

#appRoot { display: none; }

/* ===== 登入 / 首次設定 ===== */
.gate {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 24px;
}
.gate .logo { font-size: 64px; line-height: 1; }
.gate h1 { color: var(--brown); font-size: 28px; }
.gate p { color: var(--muted); text-align: center; }
.gate input {
  width: min(320px, 80vw); padding: 13px 16px;
  border: 2px solid var(--line); border-radius: 14px;
  background: var(--card); font-size: 18px; text-align: center;
}
.gate input:focus { outline: none; border-color: var(--brown); }
.gate .err { color: var(--danger); min-height: 24px; }

/* ===== 主框架 ===== */
.shell { max-width: 1080px; margin: 0 auto; padding: 16px 14px calc(var(--nav-h) + 24px); }
.topbar { display: flex; align-items: baseline; gap: 10px; padding: 6px 4px 14px; }
.topbar h1 { color: var(--brown); font-size: 24px; }
.topbar .date { color: var(--muted); font-size: 15px; }
.reload-btn {
  margin-left: auto; align-self: center;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card);
  color: var(--brown); font-size: 21px; line-height: 1; cursor: pointer;
}
.reload-btn:active { background: var(--bg); }
.reload-btn.spinning { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex; background: var(--card);
  border-top: 1px solid var(--line);
}
.nav button {
  flex: 1; border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--muted); font-size: 12.5px;
}
.nav button .ico { font-size: 22px; }
.nav button.on { color: var(--brown); font-weight: bold; }

/* 桌面版：側邊欄 */
@media (min-width: 900px) {
  body { font-size: 18px; }
  .shell { padding: 24px 24px 40px 120px; }
  .nav {
    top: 0; bottom: 0; right: auto; width: 96px; height: auto;
    flex-direction: column; justify-content: flex-start; gap: 6px;
    padding: 18px 0; border-top: none; border-right: 1px solid var(--line);
  }
  .nav button { flex: 0 0 72px; font-size: 14px; border-radius: 16px; margin: 0 10px; }
  .nav button.on { background: var(--bg); }
  .nav button .ico { font-size: 26px; }
}

/* ===== 通用元件 ===== */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 16px; margin-bottom: 14px;
}
.card h2 { color: var(--brown); font-size: 18px; margin-bottom: 10px; }
.btn {
  border: none; border-radius: 12px; padding: 10px 18px; cursor: pointer;
  background: var(--brown); color: #fff; font-size: 16px;
}
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: var(--bg); color: var(--brown); border: 1.5px solid var(--brown); }
.btn.rose { background: var(--rose-deep); }
.btn.small { padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.muted { color: var(--muted); font-size: 14.5px; }
.tag {
  display: inline-block; border-radius: 8px; padding: 1px 8px;
  font-size: 13px; color: var(--text);
}
.tag.work { background: var(--apricot); color: var(--text); }
.tag.personal { background: var(--sage); color: var(--text); }
.tag.event { background: var(--tan); color: var(--text); }
.tag.period { background: var(--blush); color: var(--rose-deep); }
.tag.shared { background: var(--brown); color: #fff; }
.todo-item.shared .todo-check.c { background: var(--brown); border-color: var(--brown); }
.todo-item.readonly .todo-check { cursor: default; opacity: .55; }
.invite-url {
  word-break: break-all; background: var(--bg); border: 1.5px dashed var(--brown);
  border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 10px 0;
}
.friend-row { flex-wrap: wrap; row-gap: 6px; }
.list li.friend-row .grow { flex: 1 1 100%; }
.ordbtns { white-space: nowrap; margin-right: 2px; }
.ordbtns .icon-btn { font-size: 15px; padding: 2px; }
.ordbtns .icon-btn:disabled { opacity: .25; cursor: default; }
.switch { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--brown); }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px); transform: translateX(-50%);
  background: var(--brown); color: #fff; padding: 10px 20px; border-radius: 14px;
  z-index: 50; opacity: 0; transition: opacity .25s; pointer-events: none;
  max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; }

/* ===== 今天 ===== */
.hero {
  background: linear-gradient(135deg, var(--brown), var(--brown-2));
  color: #fff; border: none;
}
.hero .big { font-size: 26px; margin: 2px 0 6px; }
.hero .sub { opacity: .9; font-size: 15px; }
.hero.fertile { background: linear-gradient(135deg, var(--rose), #eeb0a8); }
.hero.period { background: linear-gradient(135deg, var(--rose-deep), var(--rose)); }

.list { list-style: none; }
.list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 2px; border-bottom: 1px solid var(--line);
}
.list li:last-child { border-bottom: none; }
.list .time { color: var(--muted); font-size: 14px; white-space: nowrap; }
.list .grow { flex: 1; min-width: 0; overflow-wrap: anywhere; }

/* ===== 待辦 ===== */
.seg { display: flex; background: var(--bg); border-radius: 14px; padding: 4px; margin-bottom: 12px; }
.seg button {
  flex: 1; border: none; background: none; padding: 9px; border-radius: 11px;
  cursor: pointer; color: var(--muted); font-size: 16px;
}
.seg button.on.work { background: var(--apricot); color: var(--text); font-weight: bold; }
.seg button.on.personal { background: var(--sage); color: var(--text); font-weight: bold; }

.addrow { display: flex; gap: 8px; margin-bottom: 12px; }
.addrow input[type=text] {
  flex: 1; min-width: 0; padding: 11px 14px;
  border: 2px solid var(--line); border-radius: 12px; background: var(--card);
}
.addrow input[type=text]:focus { outline: none; border-color: var(--brown); }
.addrow input[type=date] {
  width: 46px; padding: 0; border: 2px solid var(--line); border-radius: 12px;
  background: var(--card) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23a08b77" stroke-width="2"><rect x="3" y="5" width="18" height="16" rx="3"/><path d="M3 10h18M8 3v4M16 3v4"/></svg>') center no-repeat;
  color: transparent;
}
.addrow input[type=date].hasval { border-color: var(--brown); }

.todo-item { touch-action: pan-y; }
.todo-item.done .grow { text-decoration: line-through; color: var(--muted); }
.todo-check {
  width: 26px; height: 26px; flex: none; border-radius: 9px;
  border: 2px solid var(--line); background: var(--card); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff;
}
.todo-item.work .todo-check.c { background: var(--apricot-deep); border-color: var(--apricot-deep); }
.todo-item.personal .todo-check.c { background: var(--sage-deep); border-color: var(--sage-deep); }
.due { font-size: 13px; color: var(--muted); }
.due.overdue { color: var(--danger); font-weight: bold; }
.icon-btn { border: none; background: none; cursor: pointer; font-size: 17px; color: var(--muted); padding: 4px; }

/* ===== 日曆 ===== */
.calhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.calhead h2 { color: var(--brown); font-size: 20px; }
.calhead button {
  border: 1px solid var(--line); background: var(--card); border-radius: 10px;
  width: 38px; height: 38px; cursor: pointer; font-size: 17px; color: var(--brown);
}
.calcard { padding: 12px 0 10px; }
@media (max-width: 899px) {
  .calcard { margin: 0 -14px; border-left: none; border-right: none; border-radius: 0; }
}
@media (min-width: 900px) { .calcard { padding: 16px; } }
.calcard .calhead { padding: 0 12px; }
.calcard .legend { margin: 12px 12px 0; }
.calgrid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .calgrid { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
}
.evdot {
  display: inline-block; width: 10px; height: 10px; border-radius: 3px;
  margin-right: 5px; vertical-align: baseline;
}
.calgrid .wd { text-align: center; color: var(--muted); font-size: 13px; padding: 4px 0; background: var(--card); }
.day {
  position: relative; min-height: 92px; padding: 2px 0 3px;
  background: var(--card); border: none;
  cursor: pointer; text-align: center; overflow: hidden;
}
@media (min-width: 900px) { .day { min-height: 122px; padding: 3px 2px; } }
.day.dim { opacity: .45; }
.day .n { font-size: 14.5px; }
.chips { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
.chip {
  display: block; border-radius: 3px; padding: 0 1px;
  font-size: 10px; line-height: 15.5px; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
  color: var(--text); background: var(--bg); font-weight: 600;
}
@media (min-width: 900px) { .chip { font-size: 13px; line-height: 20px; border-radius: 6px; padding: 0 5px; } }
.chip.event { background: var(--tan); color: var(--text); }
.chip.work { background: var(--apricot); color: var(--text); }
.chip.personal { background: var(--sage); color: var(--text); }
.chip.shared { background: var(--brown); color: #fff; }
.chip.more { background: none; color: var(--muted); }
.day.p-actual .chip.more { color: #fff; }
.day.today .n {
  display: inline-block; min-width: 24px; border-radius: 999px;
  background: var(--brown); color: #fff;
}
.day.p-actual { background: var(--rose); }
.day.p-actual .n, .day.p-actual .dots i { color: #fff; }
.day.p-pred { background: var(--blush); }
.day.fertile { background: #fff3f0; box-shadow: inset 0 0 0 1.5px var(--blush); }
.day .ovu { position: absolute; top: 2px; right: 3px; font-size: 10px; }
.dots { display: flex; gap: 3px; justify-content: center; margin-top: 3px; flex-wrap: wrap; }
.dots i { width: 7px; height: 7px; border-radius: 999px; display: inline-block; }
.dots i.event { background: var(--tan-deep); }
.dots i.work { background: var(--apricot-deep); }
.dots i.personal { background: var(--sage-deep); }
.dots i.shared { background: var(--brown); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

/* ===== 經期 ===== */
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.pstats .v { font-size: 24px; color: var(--rose-deep); }
.pstats .k { font-size: 13px; color: var(--muted); }
.pbtns { display: flex; gap: 10px; margin-top: 4px; }
.pbtns .btn { flex: 1; }
textarea.import {
  width: 100%; min-height: 110px; padding: 12px;
  border: 2px solid var(--line); border-radius: 12px; background: var(--card);
  resize: vertical;
}
textarea.import:focus { outline: none; border-color: var(--brown); }

/* ===== 靈感 ===== */
.bookgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .bookgrid { grid-template-columns: repeat(4, 1fr); } }
.book-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 14px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 4px;
}
.book-card:active { background: var(--bg); }
.book-card .bico { font-size: 26px; }
.book-card .bname { font-size: 17px; font-weight: bold; color: var(--brown); overflow-wrap: anywhere; }
.book-card .bcount { font-size: 13px; color: var(--muted); }
.inspo-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.inspo-head h2 { color: var(--brown); font-size: 19px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.note-card { padding: 14px 16px; }
.note-card .note-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.note-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }

/* ===== 設定 ===== */
.form label { display: block; color: var(--muted); font-size: 14px; margin: 10px 0 4px; }
.form input, .form select {
  width: 100%; padding: 11px 14px; border: 2px solid var(--line);
  border-radius: 12px; background: var(--card);
}
.form input:focus, .form select:focus { outline: none; border-color: var(--brown); }
.statusline { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.dot-ok { width: 10px; height: 10px; border-radius: 999px; background: var(--sage-deep); }
.dot-bad { width: 10px; height: 10px; border-radius: 999px; background: var(--danger); }

.modal-bg {
  position: fixed; inset: 0; background: rgba(74, 55, 40, .45); z-index: 40;
  display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 900px) { .modal-bg { align-items: center; } }
.modal {
  background: var(--card); border-radius: 22px 22px 0 0; padding: 20px 18px 30px;
  width: 100%; max-width: 560px; max-height: 80vh; overflow-y: auto;
}
@media (min-width: 900px) { .modal { border-radius: 22px; } }
.modal h3 { color: var(--brown); margin-bottom: 12px; }

/* ===== 收折卡片標題 ===== */
.fold-head {
  color: var(--brown); font-size: 18px; font-weight: bold;
  cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 8px;
}
.fold-head::-webkit-details-marker { display: none; }
.fold-head::after { content: "▸"; margin-left: auto; color: var(--muted); transition: transform .2s; }
details[open] > .fold-head::after { transform: rotate(90deg); }
details[open] > .fold-head { margin-bottom: 10px; }

/* ===== 主題選擇器 ===== */
.themes { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.theme-btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 13px; padding: 4px;
}
.theme-btn .sw { width: 42px; height: 42px; border-radius: 999px; border: 3px solid var(--line); }
.theme-btn.on .sw { border-color: var(--text); }
.theme-btn.on { color: var(--text); font-weight: bold; }

/* ===== 🎨 做圖 ===== */
.art .art-lb { font-weight: 700; color: var(--brown-dark); margin: 14px 0 6px; font-size: 16px; }
.art .art-lb:first-child { margin-top: 0; }
.art-in { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px;
  font-size: 16px; font-family: inherit; background: var(--card); color: var(--text); margin-bottom: 4px; }
.art-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; }
.chip { border: 1.5px solid var(--line); background: var(--card); color: var(--text);
  border-radius: 20px; padding: 8px 14px; font-size: 15px; font-family: inherit; }
.chip.on { background: var(--brown); border-color: var(--brown); color: #fff; font-weight: 700; }
.art-cup { font-size: 15px; margin: 4px 0 8px; color: var(--text); }
.art-cup input { width: 74px; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 8px; font-size: 16px; text-align: center; background: var(--card); color: var(--text); }
.art-hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.art-chk { display: flex; align-items: center; gap: 8px; font-size: 15.5px;
  color: var(--text); margin: 10px 0 4px; cursor: pointer; }
.art-chk input { width: 20px; height: 20px; accent-color: var(--brown); }
.art-cutbox { border: 1.5px dashed var(--brown-2); border-radius: 12px;
  padding: 10px 12px 12px; margin: 4px 0 8px; }
.art-lb2 { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.art-decos, .art-stys { display: flex; flex-wrap: wrap; gap: 6px; max-height: 42vh;
  overflow-y: auto; margin-bottom: 8px; }
.art-dsel { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.art-dc { border: 1.5px solid var(--line); border-radius: 16px; padding: 6px 11px;
  font-size: 14px; background: #fff; color: var(--text); cursor: pointer;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.art-dc.on { background: var(--brown); border-color: var(--brown); color: #fff; }
.art-boards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.art-bd { border: 2px solid var(--line); border-radius: 10px; overflow: hidden;
  cursor: pointer; background: #fff; }
.art-bd.on { border-color: var(--brown); box-shadow: 0 0 0 2px var(--brown-2); }
.art-bd i { display: block; height: 34px; }
.art-bd span { display: block; font-size: 10.5px; color: var(--text); padding: 3px 4px 4px;
  line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-mut { color: var(--muted); font-weight: 400; font-size: 13px; }
.art-sel { background: var(--brown); color: #fff; border-radius: 14px; padding: 3px 10px;
  font-size: 13.5px; font-weight: 700; }
.art-sel b { margin-left: 6px; cursor: pointer; }
.art-open { width: 100%; border: 1.5px dashed var(--brown-2); background: transparent;
  color: var(--brown-dark); border-radius: 12px; padding: 10px; font-size: 15px;
  font-family: inherit; margin: 2px 0 8px; }
.art-fonts { display: grid; grid-template-columns: 1fr; gap: 8px; max-height: 55vh;
  overflow-y: auto; margin-bottom: 8px; }
.art-fc { border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
  position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.art-fc.on { border-color: var(--brown); box-shadow: 0 0 0 2px var(--brown-2); }
.art-star { position: absolute; top: 4px; right: 6px; font-size: 18px; z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.art-fimg { overflow: hidden; aspect-ratio: 2.28/1; }
.art-fimg img { width: 200%; display: block; }
.art-fmeta { padding: 6px 10px 8px; font-size: 14px; color: var(--text); }
.art-fmeta span { color: var(--muted); font-size: 12px; margin-left: 6px; }
.art-pals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 55vh;
  overflow-y: auto; margin-bottom: 8px; }
.art-pc { border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
  position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.art-pc.on { border-color: var(--brown); box-shadow: 0 0 0 2px var(--brown-2); }
.art-fimg img { -webkit-user-drag: none; pointer-events: none; }
.art-sws { display: flex; height: 40px; }
.art-sws i { flex: 1; }
.art-hist { display: flex; flex-direction: column; gap: 6px; max-height: 45vh;
  overflow-y: auto; margin-bottom: 8px; }
.art-hr { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 8px 10px; background: #fff; }
.art-hmain { flex: 1; cursor: pointer; min-width: 0; }
.art-hmain b { display: block; font-size: 15px; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-hmain span { font-size: 12.5px; color: var(--muted); }
.art-hdel { border: none; background: transparent; font-size: 18px; padding: 6px; cursor: pointer; }
.art-go { width: 100%; margin-top: 14px; font-size: 18px; }
.art-copy { width: 100%; margin-top: 8px; font-size: 17px; background: var(--sage-deep); }
#aPrompt { margin-top: 12px; font-size: 14.5px; line-height: 1.6; }
