.slip-studio {
  margin: 0;
  min-height: 100vh;
  background: #f8f7f2;
  color: #1d3733;
  font: 400 1rem/1.7 "PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
.slip-studio *, .slip-shelf * { box-sizing: border-box; }
.slip-studio [hidden], .slip-shelf [hidden] { display: none !important; }
.slip-studio a, .slip-shelf a { color: #245c50; text-underline-offset: .2em; }
.slip-studio a:focus-visible, .slip-studio button:focus-visible, .slip-studio textarea:focus-visible, .slip-shelf a:focus-visible { outline: 3px solid #b4682b; outline-offset: 4px; }
.slip-frame { width: min(100% - 2.4rem, 45rem); margin-inline: auto; }
.slip-bar { border-bottom: 1px solid #d4d9d0; }
.slip-bar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.4rem; }
.slip-bar .slip-brand { color: #183532; font: 700 1.7rem/1.1 "Songti SC","Noto Serif CJK SC","SimSun",serif; text-decoration: none; }
.slip-bar nav, .slip-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.05rem; }
.slip-bar nav a, .slip-studio footer a { font-size: .95rem; }
.slip-main { padding-block: clamp(2rem,7vh,4.5rem) 1rem; }
.slip-studio h1 { margin: 0; font: 600 clamp(2.5rem,6vw,4rem)/1.2 "Songti SC","Noto Serif CJK SC","SimSun",serif; }
.slip-intro { margin: .75rem 0 1.55rem; color: #465a51; }
#slip-context { padding-left: .85rem; border-left: 2px solid #a5b5a5; line-height: 1.7; font-size: .94rem; }
.slip-paper { border: 1px solid #d5d2be; border-radius: 3px 7px 3px 2px; background: #fffdf2; padding: clamp(1rem,3.5vw,1.9rem); box-shadow: 2px 4px 0 #e8e7db; }
.slip-paper label { display: block; margin-bottom: .65rem; color: #546253; font-size: .9rem; }
.slip-paper textarea { width: 100%; display: block; padding: .2rem .15rem; resize: vertical; min-height: 7rem; background: transparent; border: 0; color: #263d33; font: 400 1.12rem/1.85 "Songti SC","Noto Serif CJK SC","SimSun",serif; }
.slip-paper textarea::placeholder { color: #677369; }
#slip-privacy, .slip-status { font-size: .9rem; color: #526258; }
#slip-privacy { margin: 1rem 0; }
.slip-studio button { cursor: pointer; font: inherit; color: inherit; padding: .48rem 1.1rem; background: transparent; border: 1px solid #a2afa2; border-radius: .24rem; min-height: 2.75rem; }
.slip-studio .slip-primary { background: #21584e; border-color: #21584e; color: #fff; font-weight: 600; }
.slip-studio button.slip-primary:disabled { background: #dddcd0; border-color: #dddcd0; color: #526258; cursor: default; }
.slip-studio .slip-subtle { border: 0; padding-inline: .3rem; text-decoration: underline; text-underline-offset: .2em; }
.slip-status { min-height: 1.6em; }
#slip-confirm { padding: 1rem; border: 1px solid #b9bcae; background: #f2f0e5; }
#slip-confirm h2 { margin: 0; font-size: 1.15rem; }
#slip-confirm p { margin: .45rem 0 .7rem; }
.slip-studio footer { padding-block: 1.05rem 2rem; border-top: 1px solid #d4d9d0; }
.slip-shelf { margin: 1.65rem 0; padding: clamp(1rem,2vw,1.4rem); border: 1px solid #c9d1bf; background: #f1f1e7; }
.slip-shelf h2 { color: #183b32; margin: 0; font: 600 1.35rem/1.5 "Songti SC","Noto Serif CJK SC","SimSun",serif; }
.slip-shelf-hint, .slip-shelf [data-slip-list] > p { color: #506053; font-size: .94rem; margin: .4rem 0 .7rem; }
.slip-shelf [data-slip-list] ul { margin: .4rem 0 .7rem; padding: 0; list-style: none; }
.slip-shelf [data-slip-list] li { border-top: 1px solid #d1d7c8; }
.slip-shelf [data-slip-list] li a { display: block; padding: .7rem 0; text-decoration: none; }
.slip-shelf [data-slip-list] li a:hover strong { text-decoration: underline; }
.slip-shelf [data-slip-list] small { display: block; font-size: .85rem; color: #536453; }
.slip-shelf [data-slip-list] strong { font-weight: 500; overflow-wrap: anywhere; white-space: pre-line; }
.slip-shelf-new { display: inline-block; padding: .35rem 0; font-size: 1rem; }
@media(max-width: 32rem) {
  .slip-frame { width: calc(100% - 2rem); }
  .slip-bar nav, .slip-actions { gap: .8rem; }
  .slip-main { padding-top: 1.9rem; }
}
