:root { --chalk:#194f45; --chalk-deep:#103e37; --leaf:#356e57; --cream:#fff9e9; --paper:#fffdf7; --sun:#f8c63f; --coral:#c9503f; --ink:#193d38; --muted:#5d7168; --line:#e5ddc9; --shadow:0 18px 46px rgba(24,66,55,.12); }
* { box-sizing:border-box; }
body { min-width:320px; min-height:100vh; margin:0; color:var(--ink); background:radial-gradient(circle at 11% 16%,rgba(248,198,63,.22),transparent 28%),radial-gradient(circle at 89% 78%,rgba(111,158,114,.18),transparent 30%),var(--cream); font-family:'Nunito','Noto Sans SC','Microsoft YaHei','Segoe UI',sans-serif; }
button,input,textarea { font:inherit; }
button { cursor:pointer; }
button:focus-visible,input:focus-visible,textarea:focus-visible { outline:3px solid rgba(248,198,63,.48); outline-offset:3px; }
.hero { position:relative; overflow:hidden; color:var(--paper); background:linear-gradient(120deg,var(--chalk-deep),var(--chalk) 56%,#39745a); }
.hero::before,.hero::after { position:absolute; content:''; border:1px solid rgba(255,249,233,.2); border-radius:50%; }
.hero::before { width:350px; height:350px; top:-246px; right:8%; }.hero::after { width:220px; height:220px; right:24%; bottom:-170px; }
.hero-inner { width:min(1380px,calc(100% - 52px)); min-height:176px; margin:0 auto; padding:54px 0 29px; display:flex; align-items:center; justify-content:space-between; gap:28px; position:relative; z-index:1; }
.back-link { position:absolute; top:13px; left:0; padding:7px 12px; border:1px solid rgba(255,249,233,.68); border-radius:999px; background:rgba(255,253,247,.1); color:var(--paper); font-size:13px; font-weight:800; text-decoration:none; }.back-link:hover { background:rgba(255,253,247,.21); }
.brand { display:flex; align-items:center; gap:16px; }.brand-icon { width:65px; height:65px; display:grid; place-items:center; border:1px solid rgba(255,249,233,.35); border-radius:19px; background:rgba(255,253,247,.14); font-size:32px; }.brand h1,h2 { margin:0; font-family:'DM Serif Display','Noto Sans SC',serif; font-weight:400; }.brand h1 { font-size:clamp(30px,3vw,42px); line-height:1; }.brand p { margin:4px 0 0; color:rgba(255,253,247,.84); font-size:16px; }.hero-note { padding:11px 15px; border:1px solid rgba(255,249,233,.26); border-radius:999px; background:rgba(255,253,247,.1); color:#ffe49a; font-size:13px; font-weight:800; }
.workspace { width:min(1380px,calc(100% - 52px)); margin:-22px auto 0; padding-bottom:42px; position:relative; z-index:2; }.card { border:1px solid var(--line); border-radius:22px; background:var(--paper); box-shadow:var(--shadow); }
.library-tabs { display:flex; align-items:center; gap:8px; padding:8px; overflow:auto; }.library-tabs a,.library-tabs span { flex:0 0 auto; padding:10px 13px; border-radius:12px; color:var(--muted); font-size:13px; font-weight:900; text-decoration:none; }.library-tabs a:hover { color:var(--chalk); background:#f5f8eb; }.library-tabs .active { background:var(--chalk); color:#fffdf7; }.library-tabs span { color:#87928a; }.library-tabs small { margin-left:5px; color:#a9ad9e; font-size:10px; letter-spacing:.04em; text-transform:uppercase; }
.intro { margin-top:19px; padding:22px 25px; display:flex; align-items:center; justify-content:space-between; gap:22px; }.eyebrow { margin:0 0 5px; color:var(--leaf); font-size:12px; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }h2 { font-size:25px; line-height:1.16; }.intro p:not(.eyebrow) { max-width:790px; margin:7px 0 0; color:var(--muted); font-size:14px; line-height:1.55; }.intro-badges { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }.intro-badges span,.ready-badge,.item-total { padding:7px 10px; border:1px solid #d5e1c5; border-radius:999px; background:#edf5df; color:var(--leaf); font-size:12px; font-weight:900; white-space:nowrap; }
.preset-library { margin-top:19px; padding:23px; }.preset-note { color:var(--muted); font-size:12px; font-weight:800; }.preset-lists { margin-top:16px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; }.preset-list { min-width:0; padding:15px; border:1px solid #d8e5c7; border-radius:15px; background:linear-gradient(145deg,#fffef9,#f7f9ed); }.preset-list h3 { margin:0; color:var(--chalk); font-size:15px; line-height:1.2; }.preset-list p { min-height:54px; margin:7px 0 10px; color:var(--muted); font-size:12px; line-height:1.42; }.preset-meta { margin-bottom:12px; color:#7e5112; font-size:11px; font-weight:900; }.preset-button { width:100%; padding:8px 10px; border:1px solid #c5d8af; border-radius:9px; background:#edf5df; color:var(--chalk); font-size:12px; font-weight:900; }.preset-button:hover { background:#fff2c6; border-color:#e7a81f; }
.layout { margin-top:19px; display:grid; grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr); gap:20px; align-items:start; }.builder,.preview,.saved,.account { padding:23px; }.section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }.item-total { background:#fff2c6; border-color:#f3d67b; color:#7e5112; }.ready-badge { font-size:11px; }.preview-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; }.print-button { min-height:36px; padding:7px 11px; white-space:nowrap; }.print-list-heading { display:none; }
.metadata-grid { margin-top:18px; display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:10px; }.metadata-grid label,.source-label { display:grid; gap:5px; color:var(--chalk); font-size:12px; font-weight:900; }.metadata-grid input,.builder textarea { width:100%; border:1px solid #d7dfcf; border-radius:11px; background:#fffdf7; color:var(--ink); }.metadata-grid input { min-height:40px; padding:8px 10px; }.source-label { margin-top:16px; }.builder textarea { min-height:260px; padding:11px; resize:vertical; font-size:14px; line-height:1.55; }.metadata-grid input:focus,.builder textarea:focus { border-color:#e7a81f; box-shadow:0 0 0 3px rgba(248,198,63,.18); }.field-help,.status { min-height:18px; margin:7px 2px 0; color:var(--muted); font-size:11px; line-height:1.45; }.status { color:var(--leaf); font-weight:800; }
.button-row { margin-top:15px; display:flex; flex-wrap:wrap; align-items:center; gap:9px; }.btn { min-height:42px; padding:9px 13px; border:1px solid transparent; border-radius:12px; font-size:13px; font-weight:900; transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }.btn:hover:not(:disabled) { transform:translateY(-2px); }.btn:disabled,.text-button:disabled { cursor:not-allowed; opacity:.5; }.btn-primary { background:var(--coral); box-shadow:0 5px 0 #9d392f; color:white; }.btn-secondary { border-color:#d8e5c7; background:#fffef9; color:var(--chalk); }.text-button { padding:7px 4px; border:0; background:transparent; color:var(--leaf); font-size:12px; font-weight:900; text-decoration:underline; text-underline-offset:3px; }
.table-wrap { margin-top:18px; overflow:auto; border:1px solid #e5ddc9; border-radius:14px; }table { width:100%; border-collapse:collapse; font-size:13px; }th,td { padding:11px 13px; border-bottom:1px solid #eee7d8; text-align:left; vertical-align:top; }th { background:#f5f8eb; color:var(--chalk); font-size:11px; letter-spacing:.04em; text-transform:uppercase; }tbody tr:last-child td { border-bottom:0; }.empty-row td { padding:34px 13px; color:var(--muted); text-align:center; }.uses-panel { margin-top:18px; padding:16px; border:1px solid #d8e5c7; border-radius:15px; background:#fffef9; }.uses-panel ul { margin:8px 0 0; padding-left:19px; color:var(--muted); font-size:13px; line-height:1.58; }.uses-panel strong { color:var(--chalk); }
.saved { margin-top:19px; }.storage-note { max-width:300px; color:var(--muted); font-size:11px; text-align:right; }.saved-lists { margin-top:16px; display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:11px; }.saved-empty { margin:0; padding:18px; border:1px dashed #cbdac2; border-radius:14px; color:var(--muted); font-size:13px; text-align:center; }.saved-list { padding:14px; border:1px solid #d8e5c7; border-radius:14px; background:#fffef9; }.saved-list h3 { margin:0; color:var(--chalk); font-size:15px; }.saved-list p { margin:5px 0 11px; color:var(--muted); font-size:12px; }.saved-actions { display:flex; gap:8px; }.small-button { padding:6px 9px; border:1px solid #d8e5c7; border-radius:8px; background:#fffdf7; color:var(--chalk); font-size:11px; font-weight:900; }.small-button.danger { border-color:#edc4bc; color:#a63f33; }
.account { margin-top:19px; display:flex; align-items:center; justify-content:space-between; gap:20px; border-color:#d5e1c5; background:linear-gradient(130deg,#f9fcef,#fffdf7); }.account p:not(.eyebrow) { max-width:670px; margin:7px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }.account-actions { min-width:215px; display:grid; gap:8px; }.coming-soon-label { justify-self:end; padding:4px 8px; border:1px solid #d8dfd2; border-radius:999px; background:#f1f3ee; color:#7b887f; font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }.account-link { width:100%; min-height:40px; padding:9px 12px; border:1px solid #cfd6cc; border-radius:10px; background:#e4e8e2; color:#788078; font-size:12px; font-weight:900; text-align:left; }.account-link:disabled { cursor:not-allowed; opacity:1; }.account-link.microsoft { background:#eef0ee; }
@media (max-width:1100px) { .preset-lists { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:960px) { .layout { grid-template-columns:1fr; }.preview { min-height:0; } }
@media (max-width:720px) { .hero-inner,.workspace { width:calc(100% - 28px); }.hero-inner { min-height:153px; padding-top:48px; }.hero-note { display:none; }.intro,.account { align-items:flex-start; flex-direction:column; }.intro-badges { justify-content:flex-start; }.metadata-grid { grid-template-columns:1fr; }.storage-note { text-align:left; }.section-heading { align-items:flex-start; }.preview-actions { justify-content:flex-start; }.builder,.preview,.saved,.preset-library,.account { padding:18px; }.account-actions { width:100%; } }
@media (max-width:480px) { .hero-inner,.workspace { width:calc(100% - 20px); }.brand-icon { width:52px; height:52px; border-radius:16px; font-size:27px; }.brand h1 { font-size:29px; }.brand p { font-size:13px; }.button-row .btn { width:100%; }.text-button { width:100%; }.intro { padding:18px; border-radius:18px; }.preset-lists { grid-template-columns:1fr; }.library-tabs { border-radius:16px; }.library-tabs a,.library-tabs span { padding:9px 10px; font-size:12px; } }

@media print {
  @page { size:A4 portrait; margin:16mm; }
  html,body { width:auto; min-height:0; background:#fff !important; }
  .hero,.intro,.preset-library,.builder,.saved,.account { display:none !important; }
  .workspace { width:auto; margin:0; padding:0; }
  .layout { display:block; margin:0; }
  .preview { display:block; padding:0; border:0; border-radius:0; background:#fff; box-shadow:none; }
  .preview .section-heading,.preview .uses-panel { display:none; }
  .print-list-heading { display:block; margin:0 0 7mm; color:#173f37; }
  .print-list-heading p { margin:0 0 3mm; color:#6b7a70; font-size:10pt; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
  .print-list-heading h1 { margin:0; font-family:'DM Serif Display','Noto Sans SC',serif; font-size:25pt; font-weight:400; line-height:1.15; }
  .print-list-heading span { display:block; margin-top:2mm; color:#53665e; font-size:10pt; }
  .table-wrap { overflow:visible; border:1px solid #c8d5c3; border-radius:0; }
  table { font-size:11pt; }
  th,td { padding:3.4mm 3.8mm; }
  th { background:#edf4df !important; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  thead { display:table-header-group; }
  tr { break-inside:avoid; page-break-inside:avoid; }
}
