/* GENERATED by tools/build-css-bundle.mjs — do not edit.
   Sources, in cascade order: styles, ui, theme
   Edit those files; this one is rebuilt on every build. */
/*styles.css*/
:root {
--bg: #ffffff; --card: #ffffff; --surface: #f7f7f7;
--ink-strong: #1a1a1a; --ink: #333333; --muted: #6b6b6b; --ghost: #a0a0a0;
--line: #dddddd; --line-faint: #eeeeee;
--btn-bg: #1f1f1f; --btn-bg-hover: #000000; --btn-text: #ffffff;
--radius: 12px; --pill: 100px;
--shadow: 0 2px 8px rgba(0,0,0,.06); --shadow-hover: 0 6px 20px rgba(0,0,0,.12);
--serif: 'Lora', Georgia, serif; --sans: 'Inter', -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body {
margin: 0; font: 15px/1.65 var(--sans); color: var(--ink); background: var(--bg); min-height: 100vh;
}
a { color: var(--ink-strong); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink-strong); font-weight: 700; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 20px clamp(18px,4vw,40px) 90px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -.3px; color: var(--ink-strong); }
.brand span { color: var(--ink-strong); }
.badge { background: var(--pf-surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: var(--pill); font-size: 12.5px; font-weight: 500; color: var(--muted); }
.badge b { color: var(--ink-strong); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
@media (hover: hover) {.card:hover { box-shadow: var(--shadow-hover); }}
.grid { display: grid; gap: 16px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }
h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 8px 0 4px; line-height: 1.15; }
.muted { color: var(--muted); }
label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-strong); margin: 14px 0 6px; }
input, textarea, select {
width: 100%; background: var(--pf-surface-2); border: 1px solid var(--line); color: var(--ink);
border-radius: 8px; padding: 12px 14px; font: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink-strong); }
textarea { min-height: 90px; resize: vertical; }
button, .btn {
cursor: pointer; border: 0; border-radius: var(--pill); padding: 12px 28px; font: inherit; font-weight: 700;
background: var(--btn-bg); color: var(--btn-text); transition: opacity .2s, background .2s;
text-decoration: none; display: inline-block; font-size: 14.5px;
}
@media (hover: hover) {button:hover, .btn:hover { background: var(--btn-bg-hover); color: var(--btn-text); }}
button.ghost, .btn.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink-strong); }
@media (hover: hover) {button.ghost:hover, .btn.ghost:hover { background: var(--ink-strong); color: var(--pf-bg); border-color: var(--ink-strong); }}
button:disabled { opacity: .4; cursor: not-allowed; }
.btn.ic, button.ic { display: inline-flex; align-items: center; gap: 7px; }
.ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 0 14px; border-bottom: 1px solid var(--line-faint); margin-bottom: 14px; }
.tbar > * { margin: 0 !important; }
.tbar > .tbar-title { font-weight: 700; margin-right: 8px !important; display: inline-flex; align-items: center; gap: 6px; }
.tbar > .tbar-spacer { flex: 1; min-width: 0; }
.tbar .chk { display: inline-flex !important; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-strong); white-space: nowrap; cursor: pointer; font-weight: 600; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--pf-surface); }
@media (hover: hover) {.tbar .chk:hover { border-color: var(--ink-strong); }}
.tbar .chk input { width: 15px; height: 15px; margin: 0; cursor: pointer; accent-color: var(--ink-strong); }
.tbar .sel-count { font-size: 12.5px; color: var(--muted); white-space: nowrap; padding: 6px 12px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line-faint); }
.tbar select, .tbar input[type="search"], .tbar input[type="text"] {
width: auto; min-width: 130px; max-width: 200px; padding: 0 30px 0 12px; font-size: 13px; height: 34px;
border-radius: var(--pill); background: var(--pf-surface-2);
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
background-repeat: no-repeat; background-position: right 12px center;
-webkit-appearance: none; appearance: none;
}
.tbar input[type="search"], .tbar input[type="text"] { background-image: none; padding: 0 14px; }
.tbar .btn, .tbar button { padding: 0 18px; font-size: 13.5px; height: 36px; line-height: 1; border-radius: var(--pill); }
.tbar .divider { width: 1px; height: 20px; background: var(--line); }
@media (max-width: 640px) {
.tbar select { min-width: 100%; max-width: 100%; flex: 1 0 100%; }
.tbar .tbar-spacer { display: none; }
}
.pkg { text-align: center; position: relative; }
.pkg.popular { border-color: var(--ink-strong); border-width: 2px; }
.pkg .price { font-family: var(--serif); font-size: 40px; font-weight: 700; margin: 6px 0; color: var(--ink-strong); }
.pkg ul { list-style: none; padding: 0; margin: 14px 0; text-align: left; }
.pkg li { padding: 6px 0 6px 24px; position: relative; color: var(--muted); font-size: 14px; }
.pkg li::before { content: "✓"; color: var(--ink-strong); font-weight: 700; position: absolute; left: 0; }
.pkg li .pkg-amount {
color: var(--ink-strong);
font-weight: 700;
}
.tag { position: absolute; top: -11px; right: 16px; background: var(--ink-strong); color: var(--pf-bg); font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: var(--pill); }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink-strong); color: var(--pf-bg); padding: 12px 22px; border-radius: var(--pill); box-shadow: var(--shadow-hover); z-index: 100; font-size: 14px; }
.preview { border-radius: 16px; padding: 32px; text-align: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.preview img { max-width: 100%; border-radius: 10px; margin: 14px 0; }
.preview .p-title { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink-strong); }
.preview .p-msg { white-space: pre-wrap; margin: 12px 0; }
.preview .p-sign { font-style: italic; color: var(--muted); }
.mediapick img { width: 100%; height: 84px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.mediapick img.sel, .mediachip.sel { border-color: var(--ink-strong); }
.mediachip { height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; text-align: center; background: var(--surface); border: 2px solid transparent; border-radius: 8px; cursor: pointer; color: var(--muted); padding: 4px; }
.preview .w-couple { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--ink-strong); margin-bottom: 10px; }
.preview .w-couple span { color: var(--muted); margin: 0 6px; }
.preview .w-details { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.gcc-chat { margin-bottom: 8px; }
@media (hover: hover) {.ai-opts .ai-opt:hover { background: var(--surface); }}
.gcl-wrap > :first-child { margin-top: 0; }
.gcl-nav { display: flex; align-items: center; gap: 28px; justify-content: flex-end; padding: 0 0 8px; flex-wrap: wrap; }
@media (max-width: 620px) {
.gcl-nav { gap: 10px; flex-wrap: nowrap; padding-bottom: 0; }
.gcl-nav .btn { padding-inline: 14px; font-size: 14px; white-space: nowrap; }
header.top { gap: 10px; padding: 12px 0; }
}
.gcl-nav a { color: var(--ink-strong); text-decoration: none; font-weight: 500; font-size: 14.5px; }
@media (hover: hover) {.gcl-nav a:hover { color: var(--muted); }}
.gcl-hero { border: 1px solid var(--line); border-radius: 20px; padding: clamp(56px,8vw,96px) clamp(28px,5vw,80px); text-align: center; margin: 10px 0 clamp(56px,7vw,88px); }
.gcl-badge { display: inline-block; border: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; padding: 5px 16px; border-radius: var(--pill); margin-bottom: 22px; color: var(--muted); }
.gcl-h1 { font-family: var(--serif); font-size: clamp(2rem,5.5vw,3.4rem); font-weight: 700; margin: 0 0 18px; line-height: 1.12; }
.gcl-sub { font-size: clamp(.95rem,2.2vw,1.1rem); color: var(--muted); max-width: 640px; margin: 0 auto 26px; line-height: 1.75; }
.gcl-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.gcl-pill { border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; font-weight: 500; padding: 5px 14px; border-radius: var(--pill); }
.gcl-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.gcl-section { margin-bottom: 72px; }
.gcl-h2 { font-family: var(--serif); font-size: clamp(1.5rem,3.5vw,2.2rem); font-weight: 700; text-align: center; margin: 0 0 10px; line-height: 1.25; }
.gcl-lead { text-align: center; color: var(--muted); font-size: .98rem; max-width: 560px; margin: 0 auto 40px; line-height: 1.75; }
.gcl-types-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.gcl-type-card { border: 1px solid var(--line); border-radius: 16px; padding: 36px 28px; text-align: center; transition: box-shadow .2s; }
@media (hover: hover) {.gcl-type-card:hover { box-shadow: var(--shadow-hover); }}
.gcl-type-card.wedding { border-style: dashed; }
.gcl-type-icon { font-size: 2.8rem; margin-bottom: 14px; display: block; }
.gcl-type-card h3 { font-size: 1.35rem; margin: 0 0 10px; }
.gcl-type-card p { color: var(--muted); font-size: .92rem; margin: 0 0 18px; line-height: 1.72; }
.gcl-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.gcl-tag { border: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: var(--pill); }
.gcl-tag.w { border-style: dashed; }
.gcl-feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gcl-feat { border: 1px solid var(--line); border-radius: 14px; padding: 26px 20px; transition: box-shadow .2s; }
@media (hover: hover) {.gcl-feat:hover { box-shadow: var(--shadow-hover); }}
.gcl-feat.dark { border-color: var(--ink-strong); }
.gcl-feat-icon { font-size: 1.9rem; margin-bottom: 12px; display: block; }
.gcl-feat h3 { font-size: 1rem; margin: 0 0 8px; line-height: 1.35; }
.gcl-feat p { color: var(--muted); font-size: .86rem; margin: 0; line-height: 1.7; }
.gcl-steps { display: flex; flex-direction: column; max-width: 720px; margin: 40px auto 0; }
.gcl-step { display: flex; gap: 22px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--line-faint); }
.gcl-step:last-child { border-bottom: none; }
.gcl-step-n { width: 42px; height: 42px; flex-shrink: 0; margin-top: 2px; background: var(--ink-strong); color: var(--pf-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 1rem; }
.gcl-step h3 { font-size: 1.05rem; margin: 0 0 5px; }
.gcl-step p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.65; }
.gcl-cta { border: 1px solid var(--line); border-radius: 20px; padding: clamp(52px,7vw,80px) clamp(32px,5vw,72px); text-align: center; }
.gcl-cta h2 { font-family: var(--serif); font-size: clamp(1.55rem,4vw,2.3rem); font-weight: 700; margin: 0 0 14px; }
.gcl-cta p { color: var(--muted); font-size: .97rem; margin: 0 auto 6px; max-width: 520px; line-height: 1.72; }
.gcl-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.gcl-btn-primary, .gcl-btn-dark { display: inline-block; background: var(--btn-bg); color: var(--btn-text); font-weight: 700; font-size: 15.5px; padding: 15px 40px; border-radius: var(--pill); text-decoration: none; transition: opacity .2s; }
@media (hover: hover) {.gcl-btn-primary:hover, .gcl-btn-dark:hover { opacity: .82; color: var(--btn-text); }}
.gcl-btn-ghost, .gcl-btn-outline { display: inline-block; background: transparent; border: 1.5px solid var(--line); color: var(--ink-strong); font-weight: 700; font-size: 15px; padding: 13px 34px; border-radius: var(--pill); text-decoration: none; transition: all .2s; }
@media (hover: hover) {.gcl-btn-ghost:hover, .gcl-btn-outline:hover { border-color: var(--ink-strong); }}
.gcl-ai-grid { display: flex; flex-direction: column; margin: 40px 0 28px; max-width: 720px; margin-left: auto; margin-right: auto; }
.gcl-ai-step { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--line-faint); }
.gcl-ai-step:last-child { border-bottom: none; }
.gcl-ai-num { width: 42px; height: 42px; flex-shrink: 0; background: var(--btn-bg); color: var(--btn-text); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin-top: 2px; }
.gcl-ai-step h3 { font-size: 1.05rem; margin: 0 0 6px; }
.gcl-ai-step p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.65; }
.gcl-ai-note { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; max-width: 720px; margin: 0 auto; }
.gcl-ai-note-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.gcl-ai-note p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.7; }
.gcl-ai-note strong { color: var(--ink-strong); }
.gcl-ai-pill { display: inline-block; background: var(--btn-bg); color: var(--btn-text); font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: var(--pill); vertical-align: middle; margin-left: 6px; }
.gcl-track-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
.gcl-track-item { text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 26px 18px; transition: box-shadow .2s; }
@media (hover: hover) {.gcl-track-item:hover { box-shadow: var(--shadow-hover); }}
.gcl-track-item .ti { font-size: 2rem; display: block; margin-bottom: 10px; }
.gcl-track-item h3 { font-size: .98rem; margin: 0 0 7px; }
.gcl-track-item p { color: var(--muted); font-size: .85rem; margin: 0; line-height: 1.65; }
.gcl-theme-callout { border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; align-items: center; gap: 22px; margin-bottom: 56px; }
.gcl-theme-dots { display: flex; gap: 7px; flex-shrink: 0; }
.gcl-dot { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); }
.gcl-theme-text h3 { font-size: 1.1rem; margin: 0 0 5px; }
.gcl-theme-text p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.7; }
.gcl-security { border: 1px solid var(--line); border-radius: 20px; padding: clamp(48px,7vw,80px) clamp(28px,5vw,64px); margin-bottom: 72px; }
.gcl-priv-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-bottom: 20px; }
.gcl-priv-item { border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; transition: box-shadow .2s; }
@media (hover: hover) {.gcl-priv-item:hover { box-shadow: var(--shadow-hover); }}
.gcl-priv-item .pi { font-size: 1.9rem; margin-bottom: 10px; display: block; }
.gcl-priv-item h3 { font-size: 1rem; margin: 0 0 7px; }
.gcl-priv-item p { color: var(--muted); font-size: .86rem; margin: 0; line-height: 1.7; }
.gcl-priv-note { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.gcl-priv-note p { color: var(--muted); font-size: .9rem; margin: 0; }
.gcl-priv-note strong, .gcl-feat p strong, .gcl-step p strong { color: var(--ink-strong); }
@media (max-width: 900px) { .gcl-feat-grid, .gcl-track-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 800px) { .gcl-types-grid, .gcl-priv-grid { grid-template-columns: 1fr; } .gcl-theme-callout { flex-direction: column; align-items: flex-start; } }
.gcl-type-icon svg,
.gcl-feat-icon svg,
.gcl-track-item .ti svg,
.gcl-ai-note-icon svg {
width: 1em; height: 1em; display: block;
fill: none; stroke: currentColor; stroke-width: 1.5;
stroke-linecap: round; stroke-linejoin: round;
}
.gcl-type-icon svg, .gcl-track-item .ti svg { margin: 0 auto; }
.gcl-feat-icon svg { margin: 0; }
.gcl-types-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
.gcl-types-grid, .gcl-types-grid.three { grid-template-columns: 1fr; }
.gcl-feat-grid, .gcl-track-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
.gcl-feat-grid, .gcl-track-grid { grid-template-columns: 1fr; }
}
footer .fnav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
:root[data-theme="dark"] input,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] select {
background: var(--pf-surface-2);
color: var(--pf-ink);
border-color: var(--pf-line);
}

/*ui.css*/
:root {
--s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-8: 48px;
--r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-pill: 999px;
--fs-xs: 11px; --fs-sm: 12.5px; --fs-md: 14px; --fs-lg: 16px; --fs-xl: 20px; --fs-2xl: 28px;
--ok: #16a34a;    --ok-bg: #f0fdf4;   --ok-border: #bbf7d0;
--warn: #d97706;  --warn-bg: #fffbeb; --warn-border: #fde68a;
--danger: #dc2626;--danger-bg: #fef2f2; --danger-border: #fecaca;
--info: #2563eb;  --info-bg: #eff6ff;  --info-border: #bfdbfe;
--focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.2);
--surface-hover: #f5f5f5;
--ease: cubic-bezier(.2,.7,.2,1);
--dur: .15s;
}
*, *::before, *::after { box-sizing: border-box; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-md); }
.text-xs { font-size: var(--fs-xs); } .text-sm { font-size: var(--fs-sm); }
.text-md { font-size: var(--fs-md); } .text-lg { font-size: var(--fs-lg); }
.text-muted { color: var(--muted); }  .text-strong { color: var(--ink-strong); font-weight: 600; }
.btn, button.btn, a.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
height: 36px; padding: 0 18px; font: 600 var(--fs-md)/1 var(--sans, Inter, sans-serif);
border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer;
background: var(--ink-strong); color: var(--bg);
transition: opacity var(--dur) var(--ease), background var(--dur), transform var(--dur), border-color var(--dur);
text-decoration: none; white-space: nowrap; user-select: none;
}
@media (hover: hover) {.btn:hover { opacity: 0.88; }}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: var(--card); color: var(--ink-strong); border-color: var(--line); }
@media (hover: hover) {.btn.ghost:hover { border-color: var(--ink-strong); background: var(--surface-hover); opacity: 1; }}
.btn.subtle { background: var(--surface); color: var(--ink-strong); }
@media (hover: hover) {.btn.subtle:hover { background: var(--surface-hover); opacity: 1; }}
.btn.danger { background: var(--danger); color: #fff; }
.btn.ghost.danger { background: var(--card); color: var(--danger); border-color: var(--danger-border); }
@media (hover: hover) {.btn.ghost.danger:hover { background: var(--danger-bg); border-color: var(--danger); }}
.btn.sm { height: 30px; padding: 0 12px; font-size: var(--fs-sm); gap: 6px; }
.btn.icon-only { width: 36px; padding: 0; }
.btn.icon-only.sm { width: 30px; }
.btn .ico { width: 16px; height: 16px; flex-shrink: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); }
.field-label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-strong); }
.field-required::after { content: " *"; color: var(--danger); }
.field-help { font-size: var(--fs-xs); color: var(--muted); }
.field-error { font-size: var(--fs-xs); color: var(--danger); display: none; }
.field.has-error .field-error { display: block; }
.field-input, .field input, .field textarea, .field select {
width: 100%; height: 40px; padding: 0 14px; font: 400 var(--fs-md)/1.4 var(--sans);
background: var(--card); color: var(--ink-strong); border: 1px solid var(--line); border-radius: var(--r-md);
transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field select { padding-right: 34px;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
background-repeat: no-repeat; background-position: right 12px center;
-webkit-appearance: none; appearance: none;
}
@media (hover: hover) {.field input:hover, .field textarea:hover, .field select:hover { border-color: #b8b8b8; }}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink-strong); box-shadow: var(--focus-ring); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); }
.card-hover { transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur); cursor: pointer; }
@media (hover: hover) {.card-hover:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: var(--line); transform: translateY(-1px); }}
.card-title { font: 700 var(--fs-lg)/1.3 var(--serif, Lora, serif); margin: 0 0 var(--s-3); display: flex; align-items: center; gap: 8px; }
.card-sub { color: var(--muted); font-size: var(--fs-sm); margin-top: -8px; margin-bottom: var(--s-4); }
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-md); }
.tbl th { text-align: left; padding: 12px 14px; font-weight: 600; font-size: var(--fs-sm); color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1; text-transform: uppercase; letter-spacing: .3px; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-faint); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr { transition: background var(--dur); }
@media (hover: hover) {.tbl tbody tr:hover { background: var(--surface); }}
.tbl .row-actions { display: flex; gap: 4px; justify-content: flex-end; opacity: 0; transition: opacity var(--dur); }
@media (hover: hover) {.tbl tr:hover .row-actions { opacity: 1; }}
.tbl .col-select { width: 42px; padding-right: 0; }
.tbl input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--ink-strong); cursor: pointer; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; font-size: var(--fs-xs); font-weight: 600; border-radius: var(--r-pill); background: var(--surface); color: var(--muted); border: 1px solid var(--line-faint); }
.chip.ok { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-border); }
.chip.warn { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-border); }
.chip.danger { color: var(--danger); background: var(--danger-bg); border-color: var(--danger-border); }
.chip.info { color: var(--info); background: var(--info-bg); border-color: var(--info-border); }
.chip.solid { background: var(--ink-strong); color: var(--bg); border-color: var(--ink-strong); }
.empty { text-align: center; padding: var(--s-8) var(--s-4); color: var(--muted); }
.empty .ico { width: 40px; height: 40px; opacity: .4; margin-bottom: var(--s-3); }
.empty h3 { font: 600 var(--fs-lg)/1.3 var(--sans); color: var(--ink-strong); margin: 0 0 6px; }
.empty p { font-size: var(--fs-sm); margin: 0 0 var(--s-4); }
.skeleton { background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%); background-size: 200% 100%; animation: sk 1.5s infinite; border-radius: var(--r-md); }
@keyframes sk { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--ink-strong); border-radius: 50%; animation: sp .6s linear infinite; }
@keyframes sp { to { transform: rotate(360deg) } }
.loading-overlay { position: absolute; inset: 0; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; z-index: 10; backdrop-filter: blur(2px); }
.ui-scrim { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 900; opacity: 0; transition: opacity var(--dur); backdrop-filter: blur(4px); }
.ui-scrim.open { opacity: 1; }
.ui-modal { position: fixed; z-index: 901; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.96); opacity: 0;
background: var(--card); border-radius: var(--r-lg); box-shadow: 0 20px 60px rgba(0,0,0,.24); min-width: 380px; max-width: min(560px, calc(100vw - 32px));
max-height: calc(100vh - 40px); display: flex; flex-direction: column; transition: opacity var(--dur), transform var(--dur); }
.ui-modal.open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ui-modal-header { padding: var(--s-5) var(--s-5) var(--s-3); display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); }
.ui-modal-title { font: 700 var(--fs-lg)/1.3 var(--serif); margin: 0; }
.ui-modal-close { background: none; border: none; cursor: pointer; padding: 4px; border-radius: var(--r-sm); color: var(--muted); }
@media (hover: hover) {.ui-modal-close:hover { background: var(--surface-hover); color: var(--ink-strong); }}
.ui-modal-body { padding: 0 var(--s-5); overflow-y: auto; flex: 1; }
.ui-modal-footer { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line-faint); margin-top: var(--s-4); }
.ui-drawer { position: fixed; z-index: 901; top: 0; right: 0; height: 100vh; width: min(520px, 92vw); background: var(--card); box-shadow: -10px 0 40px rgba(0,0,0,.18); transform: translateX(100%); transition: transform var(--dur) var(--ease); display: flex; flex-direction: column; }
.ui-drawer.open { transform: translateX(0); }
.ui-toasts { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.ui-toast { min-width: 260px; max-width: 400px; background: var(--ink-strong); color: var(--bg); padding: 12px 16px; border-radius: var(--r-md); box-shadow: 0 8px 24px rgba(0,0,0,.2); font-size: var(--fs-md); display: flex; align-items: center; gap: 12px; animation: toast-in .2s var(--ease); }
.ui-toast.ok { background: var(--ok); color: #fff; }
.ui-toast.warn { background: var(--warn); color: #fff; }
.ui-toast.danger { background: var(--danger); color: #fff; }
.ui-toast .undo { background: rgba(255,255,255,.2); color: #fff; border: none; padding: 4px 10px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
@media (hover: hover) {.ui-toast .undo:hover { background: rgba(255,255,255,.3); }}
@keyframes toast-in { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ui-toast.leaving { animation: toast-out .2s var(--ease) forwards; }
@keyframes toast-out { to { transform: translateY(20px); opacity: 0; } }
.kbd { display: inline-block; padding: 2px 6px; font: 600 11px/1 ui-monospace, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.search-input { position: relative; }
.search-input input { padding-left: 36px !important; }
.search-input .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-3); }
.fx-folder { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px 14px; background: var(--card); border: 1px solid transparent; border-radius: var(--r-md); cursor: pointer; text-align: center; transition: background var(--dur), border-color var(--dur), transform var(--dur); font: inherit; }
@media (hover: hover) {.fx-folder:hover { background: var(--surface-hover); border-color: var(--line); }}
.fx-folder:active { transform: scale(.98); }
.fx-folder-name { font-size: 13px; font-weight: 600; color: var(--ink-strong); line-height: 1.3; word-break: break-word; }
.fx-folder-meta { font-size: 11px; color: var(--muted); }
.mx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s-3); }
.mx-item { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--card); cursor: pointer; transition: border-color var(--dur), transform var(--dur); }
@media (hover: hover) {.mx-item:hover { border-color: var(--ink-strong); }}
.mx-item.selected { border-color: var(--ink-strong); box-shadow: 0 0 0 2px var(--ink-strong); }
.mx-thumb { position: relative; aspect-ratio: 1; background: var(--surface); }
.mx-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-thumb .mx-icon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; color: var(--muted); font-size: 12px; font-weight: 600; }
.mx-thumb .m-lock-badge {
position: absolute; top: 6px; right: 6px; z-index: 2;
display: inline-flex; align-items: center; justify-content: center;
width: 22px; height: 22px; border-radius: 999px;
background: rgba(0,0,0,.68); color: #fff; font-size: 11px;
pointer-events: none;
}
.mx-item[data-locked="1"] .mx-thumb img { filter: brightness(.62) saturate(.6); }
.mx-thumb .m-sel { position: absolute; top: 6px; left: 6px; width: 18px; height: 18px; cursor: pointer; accent-color: var(--ink-strong); background: var(--card); border-radius: 4px; }
.mx-name { padding: 8px 10px; font-size: 12px; color: var(--ink-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-top: 1px solid var(--line-faint); }
.hstack { display: flex; align-items: center; gap: var(--s-3); }
.vstack { display: flex; flex-direction: column; gap: var(--s-3); }
.gap-2 { gap: var(--s-2); } .gap-4 { gap: var(--s-4); }
.mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); }
.hidden { display: none !important; }

/*theme.css*/
:root:not([data-theme="light"]) {
--pf-bg:            #0d0d0d;
--pf-surface:       #161616;
--pf-surface-2:     #1f1f1f;
--pf-surface-3:     #2a2a2a;
--pf-ink-strong:    #f4f4f4;
--pf-ink:           #e4e4e4;
--pf-ink-muted:     #a0a0a0;
--pf-ink-ghost:     #6b6b6b;
--pf-line:          #5a5a5a;
--pf-line-faint:    #333333;
--pf-line-strong:   #757575;
--pf-btn-bg:        #f0f0f0;
--pf-btn-bg-hover:  #ffffff;
--pf-btn-text:      #111111;
--pf-accent:        #4aa3ff;
--pf-accent-soft:   #16283d;
--pf-accent-ring:   rgba(74, 163, 255, .28);
--pf-on-accent:     #0b1622;
--pf-success:       #46c97a;
--pf-warning:       #ffb340;
--pf-danger:        #ff6b60;
--pf-overlay:       rgba(0, 0, 0, .72);
--pf-shadow:        0 2px 10px rgba(0, 0, 0, .55);
--pf-shadow-hover:  0 8px 26px rgba(0, 0, 0, .68);
}
:root[data-theme="light"] {
--pf-bg:            #ffffff;
--pf-surface:       #ffffff;
--pf-surface-2:     #f7f7f7;
--pf-surface-3:     #eeeeee;
--pf-ink-strong:    #1a1a1a;
--pf-ink:           #333333;
--pf-ink-muted:     #6b6b6b;
--pf-ink-ghost:     #a0a0a0;
--pf-line:          #dddddd;
--pf-line-faint:    #eeeeee;
--pf-line-strong:   #bbbbbb;
--pf-btn-bg:        #1f1f1f;
--pf-btn-bg-hover:  #000000;
--pf-btn-text:      #ffffff;
--pf-accent:        #0a84ff;
--pf-accent-soft:   #eff6ff;
--pf-accent-ring:   rgba(10, 132, 255, .18);
--pf-on-accent:     #ffffff;
--pf-success:       #1a7f37;
--pf-warning:       #b8860b;
--pf-danger:        #b91c1c;
--pf-overlay:       rgba(0, 0, 0, .55);
--pf-shadow:        0 2px 8px rgba(0, 0, 0, .06);
--pf-shadow-hover:  0 6px 20px rgba(0, 0, 0, .12);
}
:root {
--pf-serif: 'Lora', Georgia, serif;
--pf-sans:  'Inter', -apple-system, "Segoe UI", Roboto, sans-serif;
--pf-mono:  ui-monospace, "SF Mono", Menlo, Consolas, monospace;
--pf-radius: 12px;
--pf-pill:   100px;
}
:root {
--bg:            var(--pf-bg);
--card:          var(--pf-surface);
--surface:       var(--pf-surface-2);
--ink-strong:    var(--pf-ink-strong);
--ink:           var(--pf-ink);
--muted:         var(--pf-ink-muted);
--ghost:         var(--pf-ink-ghost);
--line:          var(--pf-line);
--line-faint:    var(--pf-line-faint);
--btn-bg:        var(--pf-btn-bg);
--btn-bg-hover:  var(--pf-btn-bg-hover);
--btn-text:      var(--pf-btn-text);
--radius:        var(--pf-radius);
--pill:          var(--pf-pill);
--shadow:        var(--pf-shadow);
--shadow-hover:  var(--pf-shadow-hover);
--serif:         var(--pf-serif);
--sans:          var(--pf-sans);
}
:root {
--gcc-bg:            var(--pf-bg);
--gcc-bg-alt:        var(--pf-surface-2);
--gcc-surface:       var(--pf-surface);
--gcc-surface-1:     var(--pf-surface-2);
--gcc-surface-2:     var(--pf-surface-3);
--gcc-ink-strong:    var(--pf-ink-strong);
--gcc-ink:           var(--pf-ink);
--gcc-ink-muted:     var(--pf-ink-muted);
--gcc-ink-ghost:     var(--pf-ink-ghost);
--gcc-line:          var(--pf-line);
--gcc-line-faint:    var(--pf-line-faint);
--gcc-text:          var(--pf-ink);
--gcc-border-color:  var(--pf-line);
--gac-bg:            var(--pf-surface);
--gac-bg-soft:       var(--pf-surface-2);
--gac-text:          var(--pf-ink);
--gac-text-light:    var(--pf-ink-muted);
--gac-border:        var(--pf-line);
}
html {
background: var(--pf-bg);
}
:root:not([data-theme="light"]) { color-scheme: dark; }
:root[data-theme="light"]       { color-scheme: light; }
body {
background: var(--pf-bg);
color: var(--pf-ink);
transition: background-color .2s ease, color .2s ease;
}
@media (prefers-reduced-motion: reduce) {
body { transition: none; }
}
:root:not([data-theme="light"]) .gcc-col--preview,
:root:not([data-theme="light"]) .gcc-live-preview,
:root:not([data-theme="light"]) .gcc-card-preview {
color-scheme: light;
--pf-bg:            #ffffff;
--pf-surface:       #ffffff;
--pf-surface-2:     #f7f7f7;
--pf-surface-3:     #eeeeee;
--pf-ink-strong:    #1a1a1a;
--pf-ink:           #333333;
--pf-ink-muted:     #6b6b6b;
--pf-ink-ghost:     #a0a0a0;
--pf-line:          #dddddd;
--pf-line-faint:    #eeeeee;
--pf-line-strong:   #bbbbbb;
--pf-btn-bg:        #1f1f1f;
--pf-btn-bg-hover:  #000000;
--pf-btn-text:      #ffffff;
--pf-accent:        #0a84ff;
--pf-accent-soft:   #eff6ff;
--pf-on-accent:     #ffffff;
--bg: var(--pf-bg);            --card: var(--pf-surface);
--surface: var(--pf-surface-2);
--ink: var(--pf-ink);          --ink-strong: var(--pf-ink-strong);
--muted: var(--pf-ink-muted);  --ghost: var(--pf-ink-ghost);
--line: var(--pf-line);        --line-faint: var(--pf-line-faint);
--btn-bg: var(--pf-btn-bg);    --btn-bg-hover: var(--pf-btn-bg-hover);
--btn-text: var(--pf-btn-text);
--gcc-surface: var(--pf-surface);       --gcc-surface-1: var(--pf-surface-2);
--gcc-surface-2: var(--pf-surface-3);
--gcc-ink: var(--pf-ink);               --gcc-ink-strong: var(--pf-ink-strong);
--gcc-ink-muted: var(--pf-ink-muted);   --gcc-ink-ghost: var(--pf-ink-ghost);
--gcc-ink-faint: var(--pf-ink-ghost);
--gcc-line: var(--pf-line);             --gcc-line-faint: var(--pf-line-faint);
--gcc-text: var(--pf-ink);
--gcc-ink-inverse: #ffffff;             --gcc-ink-inverse-hover: #ffffff;
--gcc-ink-inverse-muted: rgba(255, 255, 255, .72);
--gcc-c-bg: var(--pf-surface);          --gcc-c-surface: var(--pf-surface-2);
--gcc-c-surface-2: var(--pf-surface-3);
--gcc-c-border: var(--pf-line-faint);   --gcc-c-border-2: var(--pf-line);
--gcc-c-text: var(--pf-ink-strong);     --gcc-c-text-2: var(--pf-ink-muted);
--gcc-c-text-3: var(--pf-ink-ghost);
--gcc-c-accent: #1f1f1f;                --gcc-c-accent-h: #000000;
color: var(--pf-ink);
}
