/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.fixed{position:fixed}.start{inset-inline-start:var(--spacing)}.grid{display:grid}.italic{font-style:italic}}:root{--ink:#172b3f;--muted:#68798b;--line:#dfe7ea;--surface:#fff;--page:#f5f8f9;--brand:#186e73;--brand-dark:#11565a;--soft:#e8f4f3}*{box-sizing:border-box}html{min-width:320px}body{background:var(--page);color:var(--ink);margin:0;font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px;line-height:1.5}button,input,textarea{font:inherit}a,button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #60a9ac}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;height:76px;padding:0 clamp(20px,4vw,56px)}.brand,.topbar{align-items:center;display:flex}.brand{letter-spacing:-.03em;gap:12px;font-size:19px;font-weight:700}.brand-mark{background:var(--brand);color:#fff;border-radius:11px;place-items:center;width:38px;height:38px;font-size:21px;display:grid}.account{color:var(--muted);align-items:center;gap:22px;font-size:14px;display:flex}.account a{color:var(--brand);font-weight:600}.account-name{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.layout{grid-template-columns:236px minmax(0,1fr);max-width:1600px;min-height:calc(100vh - 76px);margin:0 auto;display:grid}.sidebar{border-right:1px solid var(--line);background:#fff;padding:32px 18px}.sidebar-label{color:#8c9ba9;letter-spacing:.12em;margin:0 14px 14px;font-size:12px;font-weight:700}.nav{text-align:left;color:#506275;background:0 0;border:0;border-radius:10px;width:100%;min-height:46px;margin-bottom:5px;padding:12px 16px;font-weight:600;display:block}.nav.active,.nav:hover{background:var(--soft);color:var(--brand-dark)}.sidebar-note{border-top:1px solid var(--line);color:var(--muted);margin:46px 10px 0;padding-top:24px;font-size:13px}.sidebar-note span,.sidebar-note strong{display:block}.sidebar-note strong{color:var(--ink);margin-bottom:8px}.content{min-width:0;padding:clamp(24px,4vw,54px)}.section-head{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px;display:flex}.eyebrow{color:var(--brand);letter-spacing:.14em;margin:0 0 8px;font-size:12px;font-weight:800}.section-head h1{letter-spacing:-.04em;margin:0 0 9px;font-size:clamp(27px,3vw,38px);line-height:1.2}.subtle{color:var(--muted);margin:0;font-size:14px}.primary,.secondary{border:1px solid #0000;border-radius:10px;min-height:46px;padding:10px 20px;font-weight:700;transition:background .18s,box-shadow .18s}.primary{background:var(--brand);color:#fff}.primary:hover{background:var(--brand-dark);box-shadow:0 5px 14px #186e7326}.secondary{color:var(--ink);background:#fff;border-color:#cad7da}.secondary:hover{background:#f1f7f7}.record-grid{grid-template-columns:repeat(auto-fill,minmax(254px,1fr));gap:22px;display:grid}.record-card{border:1px solid var(--line);background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 5px 22px #193e5008}.record-thumb{aspect-ratio:1.3;background:#dce7e8;justify-content:center;align-items:center;display:flex;overflow:hidden}.record-thumb img{object-fit:cover;object-position:center 26%;width:100%;height:100%}.record-body{padding:20px}.record-body h2{margin:10px 0 4px;font-size:18px}.record-body p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:0 0 8px;font-size:13px;overflow:hidden}.record-body small{color:#80909d;font-size:12px}.badge{border-radius:20px;padding:4px 9px;font-size:11px;font-weight:700;display:inline-block}.badge.complete{color:#217045;background:#e6f5ed}.badge.pending{color:#9b610e;background:#fff2dc}.record-actions{align-items:center;gap:17px;margin-top:18px;display:flex}.record-actions .secondary{min-height:40px;padding:7px 13px;font-size:13px}.text-button,.text-link{color:var(--brand);font-size:13px;font-weight:700}.text-button{background:0 0;border:0;padding:8px 0}.empty{text-align:center;color:var(--muted);background:#fff;border:1px dashed #bdcfd1;border-radius:18px;padding:72px 20px}.empty-shape{background:var(--soft);width:58px;height:58px;color:var(--brand);border-radius:18px;place-items:center;margin:0 auto 17px;font-size:32px;display:grid}.empty h2{color:var(--ink);margin:0 0 6px;font-size:20px}.empty p{margin:0 0 20px;font-size:14px}.editor-grid{grid-template-columns:minmax(340px,520px) minmax(300px,1fr);align-items:start;gap:28px;display:grid}.form-panel,.preview-panel{border:1px solid var(--line);background:#fff;border-radius:17px;padding:28px;box-shadow:0 5px 22px #193e5008}.step{align-items:flex-start;gap:14px;margin:4px 0 18px;display:flex}.step:not(:first-child){margin-top:32px}.step>span{background:var(--soft);width:30px;height:30px;color:var(--brand);border-radius:9px;flex:none;place-items:center;font-size:11px;font-weight:800;display:grid}.step h2{margin:2px 0 3px;font-size:17px;line-height:1.25}.step p{color:var(--muted);margin:0;font-size:12px}.template-choice{border:2px solid var(--brand);border-radius:12px;align-items:center;gap:14px;padding:12px;display:flex}.template-mini{color:#fff;background:#18395b;border-radius:6px;flex-direction:column;justify-content:space-between;width:78px;height:96px;padding:10px;font-size:8px;display:flex}.template-mini b{font-size:10px}.template-choice strong{font-size:14px}.template-choice p{color:var(--muted);margin:3px 0;font-size:12px}.selected-dot{background:var(--brand);border:4px solid #cfebea;border-radius:50%;width:18px;height:18px;margin-left:auto}.field{margin:0 0 17px;font-size:13px;font-weight:700;display:block}.field input,.field textarea{width:100%;min-height:46px;color:var(--ink);resize:vertical;background:#fff;border:1px solid #cbd8db;border-radius:9px;margin-top:7px;padding:11px 12px;font-weight:400;display:block}.field input::placeholder,.field textarea::placeholder{color:#98a7ad}.upload-field{cursor:pointer;background:#fafdfe;border:1px dashed #b7cbd0;border-radius:10px;margin-bottom:12px;padding:15px;font-size:13px;font-weight:700;display:block}.upload-field input{width:100%;margin-top:11px;font-size:12px;display:block}.upload-field small{color:var(--muted);margin-top:7px;font-weight:400;display:block}.optional,.required{margin-left:7px;font-size:11px;font-weight:600}.required{color:#ab493d}.optional{color:var(--brand)}.generate{width:100%;margin-top:18px}.notice{color:#8b3a30;background:#fff1ec;border-radius:9px;padding:10px 12px;font-size:13px}.preview-panel{position:sticky;top:22px}.preview-title{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:20px;display:flex}.preview-title strong{font-size:16px}.preview-hint,.preview-title p{color:var(--muted);margin:3px 0 0;font-size:12px}.preview-title span{color:#536e79;white-space:nowrap;background:#eff4f5;border-radius:20px;padding:5px 10px;font-size:11px}.preview-panel canvas{width:min(100%,470px);height:auto;margin:auto;display:block;box-shadow:0 18px 40px #1b36482b}.preview-hint{text-align:center;margin-top:20px}.modal-backdrop{z-index:10;background:#12253bcc;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{text-align:center;background:#fff;border-radius:19px;width:min(100%,430px);padding:38px 32px;position:relative;box-shadow:0 25px 90px #0005}.modal-close{color:#6d7f8e;background:0 0;border:0;width:44px;height:44px;font-size:27px;position:absolute;top:12px;right:14px}.success-mark{color:#217045;background:#e6f5ed;border-radius:50%;place-items:center;width:60px;height:60px;margin:0 auto 18px;font-size:31px;font-weight:700;display:grid}.modal h2{margin:0 0 9px;font-size:22px}.modal p{color:var(--muted);margin:0 0 25px;font-size:14px}.modal-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}@media (max-width:970px){.layout{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line);gap:8px;padding:10px 18px;display:flex}.sidebar-label,.sidebar-note{display:none}.nav{width:auto;margin:0;padding:9px 13px}.content{padding:27px 20px}.editor-grid{grid-template-columns:1fr 1fr;gap:18px}.form-panel,.preview-panel{padding:20px}}@media (max-width:700px){.topbar{height:64px;padding:0 16px}.brand{font-size:16px}.brand-mark{width:34px;height:34px}.account-name{display:none}.layout{min-height:calc(100vh - 64px)}.section-head{flex-direction:column;align-items:flex-start;gap:17px}.section-head .primary{width:100%}.editor-grid{grid-template-columns:1fr}.preview-panel{order:-1;position:static}.form-panel,.preview-panel{padding:19px}.preview-panel canvas{width:min(100%,310px)}.content{padding:24px 16px 60px}.record-grid{grid-template-columns:1fr}.record-thumb{max-height:290px}.modal-actions>*{width:100%}}@media (prefers-reduced-motion:reduce){*,:after,:before{transition-duration:.01ms!important;animation-duration:.01ms!important}}.login-shell{background:linear-gradient(135deg,#eaf4f3,#f6f9fa 56%,#e8eff4);min-height:100vh;padding:28px}.login-brand{align-items:center;gap:12px;max-width:1080px;margin:auto;font-size:18px;font-weight:700;display:flex}.login-card{border:1px solid var(--line);background:#fff;border-radius:20px;width:min(100%,430px);margin:clamp(56px,12vh,130px) auto 40px;padding:clamp(24px,4vw,40px);box-shadow:0 20px 70px #224f5a14}.login-card h1{letter-spacing:-.04em;margin:0 0 9px;font-size:28px}.login-card .subtle{margin-bottom:30px}.login-card .field{margin-top:20px}.login-card .text-button{margin:13px auto 0;display:block}.login-note{color:var(--muted);text-align:center;margin:24px 0 0;font-size:12px}.auth-tabs{background:#eff4f5;border-radius:10px;grid-template-columns:1fr 1fr;gap:6px;margin:24px 0;padding:5px;display:grid}.auth-tabs button{color:#667887;background:0 0;border:0;border-radius:7px;min-height:42px;font-weight:700}.auth-tabs button.active{color:var(--brand-dark);background:#fff;box-shadow:0 2px 7px #193e5012}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:410px;padding:2px 4px 8px 2px;display:grid;overflow-y:auto}.template-card{text-align:left;background:#fff;border:1px solid #d5e0e2;border-radius:11px;grid-template-rows:1fr 1fr;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:2px 10px;min-height:88px;padding:9px;display:grid}.template-card.selected,.template-card:hover{border-color:var(--brand);background:#f0f8f7}.template-card.selected{box-shadow:inset 0 0 0 1px var(--brand)}.template-card img{object-fit:cover;object-position:top;border-radius:3px;grid-row:1/3;width:52px;height:70px}.template-card strong{align-self:end;font-size:12px}.template-card span,.template-card strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.template-card span{color:var(--muted);align-self:start;font-size:11px}@media (max-width:700px){.template-grid{max-height:310px}.template-card{grid-template-columns:46px minmax(0,1fr);min-height:76px}.template-card img{width:46px;height:62px}}.color-choice{border:1px solid #cbd8db;border-radius:10px;margin:18px 0 20px;padding:14px 16px}.color-choice legend{padding:0 5px;font-size:13px;font-weight:700}.color-choice label{cursor:pointer;align-items:center;gap:9px;margin:9px 0;font-size:13px;display:flex}.color-choice input{accent-color:#1b51a7;width:16px;height:16px;margin:0}.color-choice small{color:var(--muted);margin-top:8px;font-size:11px;display:block}.blue-swatch{background:#1b51a7;border:1px solid #0e3fa8;border-radius:50%;width:15px;height:15px}