:root {
  --ink: #211d2b;
  --ink-soft: #625b6f;
  --muted: #8d8797;
  --line: #e9e4ee;
  --paper: #fbfafc;
  --white: #ffffff;
  --plum: #37243e;
  --plum-deep: #23182c;
  --plum-soft: #5c4568;
  --marigold: #edaa45;
  --marigold-dark: #bf7b22;
  --coral: #e26e5f;
  --lavender: #ece5f3;
  --mint: #c7e6d8;
  --shadow: 0 18px 50px rgba(41, 27, 57, .08);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 80% 0%, rgba(245,235,244,.5), transparent 24%), var(--paper); }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(226, 110, 95, .35); outline-offset: 3px; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: 0 0 248px; min-height: 100vh; padding: 28px 20px 22px; background: var(--plum-deep); color: #eee7f1; display: flex; flex-direction: column; position: sticky; top: 0; }
.brand-lockup { display: flex; align-items: center; gap: 12px; padding: 0 10px; }
.brand-mark { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; align-items: end; }
.brand-mark span { display: block; width: 8px; border-radius: 6px 6px 2px 2px; background: var(--marigold); transform: rotate(-12deg); }
.brand-mark span:nth-child(1) { height: 18px; opacity: .65; }
.brand-mark span:nth-child(2) { height: 28px; background: var(--coral); }
.brand-mark span:nth-child(3) { height: 22px; background: #f5d275; transform: rotate(12deg); }
.brand-name { font: 600 21px Georgia, serif; letter-spacing: -.04em; }
.brand-caption { color: #a99cb0; font-size: 9px; text-transform: uppercase; letter-spacing: .17em; margin-top: 2px; }
.sidebar-rule { height: 1px; background: rgba(255,255,255,.11); margin: 30px 10px 26px; }
.workspace-label, .section-kicker { color: #a49aaa; letter-spacing: .16em; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.workspace-label { padding: 0 12px; margin-bottom: 13px; }
.side-nav { display: grid; gap: 6px; }
.side-link { display: flex; width: 100%; align-items: center; gap: 12px; background: transparent; color: #b5aabd; border-radius: 10px; text-align: left; padding: 11px 12px; font-size: 13px; transition: .2s ease; position: relative; }
.side-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.side-link.active { color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 2px 0 0 var(--marigold); }
.nav-icon { width: 18px; text-align: center; color: #9888a2; font-size: 16px; }
.side-link.active .nav-icon { color: var(--marigold); }
.nav-active-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--marigold); margin-left: auto; }
.sidebar-footer { margin-top: auto; }
.privacy-seal { display: flex; align-items: center; gap: 10px; padding: 13px 12px; margin: 0 0 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: rgba(255,255,255,.04); }
.seal-dot, .pulse-dot { width: 7px; height: 7px; background: #7fd8a4; border-radius: 99px; display: inline-block; box-shadow: 0 0 0 4px rgba(127,216,164,.12); }
.privacy-seal strong { display:block; font-size: 11px; font-weight: 600; color: #ede6ef; }
.privacy-seal small { display:block; margin-top: 3px; color: #8f8396; font-size: 10px; }
.side-link.subtle { color: #a69aab; font-size: 11px; }
.sidebar-version { padding: 24px 12px 0; color: #66576d; font: 10px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.sidebar-version span { color: #9b5572; }
.main-content { flex: 1; min-width: 0; }
.topbar { height: 72px; border-bottom: 1px solid var(--line); padding: 0 46px; display: flex; align-items: center; justify-content: space-between; background: rgba(251,250,252,.9); }
.breadcrumb { color: #a29ba8; font-size: 12px; display: flex; gap: 10px; align-items: center; }
.breadcrumb strong { color: var(--ink-soft); font-weight: 600; }
.crumb-slash { color: #c4bdc9; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.offline-pill { border: 1px solid #dcefe4; background: #f4fbf7; color: #4f8870; border-radius: 30px; padding: 7px 11px; font-size: 11px; display: flex; align-items: center; gap: 7px; }
.pulse-dot { width: 6px; height: 6px; box-shadow: none; }
.pulse-dot.small { width: 5px; height: 5px; }
.icon-button { color: #8d8593; background: transparent; padding: 7px; border-radius: 8px; font-size: 15px; }
.icon-button:hover { background: #f1edf4; color: var(--ink); }
.avatar-button { width: 31px; height: 31px; border-radius: 50%; color: white; background: var(--coral); font-size: 10px; font-weight: 800; }
.content-wrap { padding: 38px 46px 32px; max-width: 1500px; margin: 0 auto; position: relative; }
.content-wrap::before { content:""; position:absolute; width:420px; height:420px; border:1px solid rgba(231,215,231,.55); border-radius:50%; right:-230px; top:180px; pointer-events:none; }
.hero-row { display: grid; grid-template-columns: minmax(280px, 1.35fr) minmax(220px, .72fr) auto; align-items: end; gap: 28px; margin-bottom: 29px; }
.hero-copy-block { min-width: 0; }
.eyebrow { color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.eyebrow-line { width: 23px; height: 2px; background: var(--coral); border-radius: 5px; }
h1, h2, h3, p { margin: 0; }
h1 { font: 500 clamp(35px, 4vw, 55px)/1.02 Georgia, serif; letter-spacing: -.055em; color: var(--plum-deep); }
h1 em { font-style: italic; color: var(--coral); }
.hero-copy { color: var(--ink-soft); font-size: 14px; line-height: 1.65; max-width: 570px; margin-top: 14px; }
.hero-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 9px; padding-bottom: 4px; }
.hero-visual { min-height: 145px; position:relative; overflow:hidden; border:1px solid rgba(222,204,224,.85); border-radius:16px; padding:17px 18px 13px; background:linear-gradient(135deg,#f6edf5 0%,#fffdfa 100%); box-shadow:0 15px 35px rgba(65,39,75,.07); transform:rotate(-1deg); }
.hero-visual::after { content:""; position:absolute; width:150px; height:150px; border:1px solid rgba(220,184,214,.7); border-radius:50%; right:-52px; bottom:-72px; }
.hero-visual-glow { position:absolute; width:95px; height:95px; border-radius:50%; background:rgba(237,170,69,.22); filter:blur(9px); right:34px; top:28px; }
.hero-visual-top, .hero-visual-foot { display:flex; justify-content:space-between; align-items:center; position:relative; z-index:1; }
.hero-visual-top { color:#a08ba4; font-size:9px; letter-spacing:.13em; font-weight:800; }
.hero-visual-top b { color:#579276; font-size:8px; letter-spacing:.1em; display:flex; align-items:center; gap:5px; }
.hero-visual-top b i { width:5px; height:5px; border-radius:50%; background:#7cd3a2; }
.hero-quote { position:relative; z-index:1; max-width:190px; color:#59445e; font:italic 16px/1.25 Georgia,serif; margin-top:17px; }
.hero-visual-orbit { position:absolute; right:30px; top:39px; width:82px; height:82px; border-radius:50%; border:1px solid rgba(213,174,208,.8); display:grid; place-items:center; color:#a36d75; font:16px Georgia,serif; }
.hero-visual-orbit::before { content:""; position:absolute; inset:10px; border-radius:50%; border:1px dashed rgba(221,166,106,.9); }
.hero-visual-orbit strong { position:relative; z-index:1; }
.orbit-ring { position:absolute; width:108px; height:45px; border:1px solid rgba(237,170,69,.65); border-radius:50%; transform:rotate(33deg); }
.orbit-dot { position:absolute; z-index:2; width:7px; height:7px; border-radius:50%; background:#e07a69; }
.dot-a { top:10px; left:13px; }.dot-b { right:5px; bottom:24px; background:#efb45c; }.dot-c { left:11px; bottom:8px; background:#9b7dad; }
.hero-visual-foot { position:absolute; bottom:12px; left:18px; right:18px; color:#958497; font-size:9px; }
.video-showcase { display:grid; grid-template-columns:minmax(230px,.72fr) minmax(360px,1.28fr); align-items:center; gap:28px; margin:0 0 14px; padding:18px 22px 18px 24px; border:1px solid #eadfe8; border-radius:var(--radius); background:linear-gradient(100deg,#f7eef4 0%,#fffdfa 70%); position:relative; overflow:hidden; }
.video-showcase::before { content:""; position:absolute; width:300px; height:300px; border:1px solid rgba(214,186,213,.6); border-radius:50%; left:-170px; top:-180px; }
.video-copy { position:relative; z-index:1; }
.video-copy .section-kicker { color:#aa747b; }
.video-copy h2 { color:var(--plum-deep); font:500 25px Georgia,serif; letter-spacing:-.04em; margin-top:7px; }
.video-copy p { color:#796d7d; font-size:12px; line-height:1.6; max-width:340px; margin-top:10px; }
.video-proof { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; margin-top:16px; color:#9c8e9f; font-size:10px; }
.video-proof-dot { width:7px; height:7px; border-radius:50%; background:var(--coral); box-shadow:0 0 0 4px rgba(226,110,95,.12); }
.video-proof a { color:var(--coral); font-weight:700; text-decoration:none; }
.video-proof a:hover { color:var(--plum); }
.video-frame-wrap { position:relative; z-index:1; }
.video-glow { position:absolute; inset:10% -4% -15% 10%; background:rgba(226,110,95,.16); filter:blur(24px); border-radius:30px; }
.video-frame { position:relative; overflow:hidden; aspect-ratio:16 / 8.8; border-radius:13px; background:#281b31; border:6px solid rgba(255,255,255,.8); box-shadow:0 18px 32px rgba(50,28,58,.16); }
.video-poster { display:block; text-decoration:none; isolation:isolate; transition:transform .22s ease, box-shadow .22s ease; }
.video-poster:hover { transform:translateY(-3px) scale(1.01); box-shadow:0 22px 38px rgba(50,28,58,.23); }
.video-poster img { display:block; width:100%; height:100%; object-fit:cover; filter:saturate(.82) contrast(.96); }
.video-overlay { position:absolute; inset:0; background:linear-gradient(115deg,rgba(38,24,48,.6),rgba(38,24,48,.12) 58%,rgba(226,110,95,.2)); transition:background .22s ease; }
.video-poster:hover .video-overlay { background:linear-gradient(115deg,rgba(38,24,48,.48),rgba(38,24,48,.06) 58%,rgba(226,110,95,.28)); }
.video-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:58px; height:58px; padding-left:3px; border-radius:50%; color:#fff; background:var(--coral); border:6px solid rgba(255,255,255,.8); box-shadow:0 8px 20px rgba(34,20,41,.28); font-size:18px; transition:transform .22s ease, background .22s ease; }
.video-poster:hover .video-play { transform:translate(-50%,-50%) scale(1.1); background:#d86154; }
.video-watch-label { position:absolute; left:16px; bottom:13px; color:#fff8f2; font-size:10px; font-weight:800; letter-spacing:.03em; text-shadow:0 1px 7px rgba(26,14,31,.5); }
.video-watch-label span { color:#f7c474; margin-left:3px; }
.button { border-radius: 10px; padding: 12px 15px; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 9px; transition: transform .18s, box-shadow .18s, background .18s; white-space: nowrap; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { background: var(--coral); color: white; box-shadow: 0 9px 18px rgba(226,110,95,.2); }
.button-primary:hover { background: #d86154; box-shadow: 0 11px 22px rgba(226,110,95,.27); }
.button-ghost { background: transparent; color: var(--ink-soft); }
.button-ghost:hover { color: var(--coral); background: #fff; }
.button-glyph { color: #ffd89b; }
.profile-banner { min-height: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; gap: 19px; padding: 15px 21px; box-shadow: 0 8px 27px rgba(47,30,64,.03); position: relative; overflow: hidden; }
.profile-banner::after { content:""; position:absolute; width: 250px; height:250px; border-radius:50%; right: 115px; top:-180px; background: #f7ede5; opacity: .75; }
.profile-portrait { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; position: relative; background: #edb46c; color: white; font: 500 21px Georgia, serif; z-index: 1; box-shadow: inset 0 -9px 0 rgba(189,103,51,.13); }
.portrait-halo { position: absolute; inset: -6px; border: 1px solid #f2c895; border-radius: 50%; z-index: -1; }
.profile-portrait i { position:absolute; right:-4px; bottom: 1px; color: #fff0ba; font-size: 12px; font-style: normal; }
.profile-copy { flex: 1; min-width: 0; z-index: 1; }
.profile-name-row { display:flex; align-items:center; gap: 13px; margin: 5px 0 4px; }
.profile-name-row h2 { font: 500 24px Georgia, serif; color: var(--plum-deep); letter-spacing: -.03em; }
.text-button { color: var(--coral); background: transparent; font-size: 11px; font-weight: 700; padding: 3px 0; }
.text-button:hover { color: var(--plum); }
.profile-copy p { color: #8c8491; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-copy p span { color: #cfc6d1; margin: 0 5px; }
.profile-tags { display:flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.profile-tags span { background: #f8f3f8; color: #87728b; padding: 5px 8px; border-radius: 5px; font-size: 10px; }
.profile-meta { min-width: 112px; border-left: 1px solid var(--line); padding-left: 24px; display: flex; flex-direction: column; gap: 4px; z-index:1; }
.meta-label { font-size: 9px; color: #aaa2ae; letter-spacing: .12em; font-weight: 800; }
.profile-meta strong { font: 500 20px Georgia,serif; color: var(--plum); }
.profile-meta span { font-size: 10px; color: var(--coral); }
.profile-menu { align-self: flex-start; margin-left: 8px; z-index:1; }
.stats-grid { display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 13px; }
.stat-card { background:#fff; border:1px solid var(--line); border-radius: 13px; padding: 15px 16px 14px; min-height: 104px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.stat-card:hover { transform:translateY(-4px); box-shadow:0 14px 26px rgba(55,36,62,.07); border-color:#ded1e1; }
.stat-top { display:flex; align-items:center; gap:8px; color: #817888; }
.stat-icon { width:22px; height:22px; border-radius:7px; display:grid; place-items:center; font-size:12px; }
.stat-icon.warm { color: #c36a3d; background: #fae4db; }
.stat-icon.gold { color: #bb7a22; background: #fdf0d7; }
.stat-icon.violet { color: #76608b; background: #eee7f4; }
.stat-icon.mint { color: #558d73; background: #e0f2e9; }
.stat-label { font-size:10px; font-weight: 700; }
.stat-card > strong { display:block; margin: 9px 0 2px 1px; font: 500 22px Georgia,serif; color: var(--plum-deep); }
.stat-foot { font-size: 10px; color: #a19aa7; }
.ready-chip { margin-left:auto; color: #5a9b7c; background: #eef9f2; padding: 4px 5px; font-size: 8px; letter-spacing: .08em; border-radius: 4px; font-weight:800; }
.section-heading { display:flex; justify-content:space-between; align-items: end; gap: 20px; margin: 39px 0 17px; }
.section-heading h2 { color: var(--plum-deep); font: 500 25px Georgia,serif; margin-top: 7px; letter-spacing: -.035em; }
.heading-note { color: #a59da9; font-size: 10px; }
.tiny-lock { color: #a18ca6; font-size: 13px; }
.dashboard-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.panel { background:#fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 23px; position: relative; overflow: hidden; transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.panel:hover { transform:translateY(-3px); box-shadow:0 16px 34px rgba(55,36,62,.065); border-color:#e1d5e5; }
.panel-head { display:flex; justify-content:space-between; align-items:flex-start; gap: 12px; }
.panel-head h3 { color: var(--plum-deep); font: 500 19px Georgia,serif; letter-spacing: -.03em; margin-top: 7px; }
.panel-step { color: #bcb3c0; font: 10px ui-monospace, monospace; }
.panel-intro { color: #817987; font-size: 12px; line-height: 1.6; max-width: 450px; margin-top: 13px; }
.composer-panel { min-height: 298px; background: #fffdfa; }
.composer-panel::before { content:""; position:absolute; width: 190px; height:190px; border-radius:50%; right:-75px; bottom:-85px; background: #fff1da; }
.composer-controls { margin-top: 17px; position:relative; }
.control-label { color: #827985; font-size: 10px; font-weight:700; margin-bottom: 8px; }
.tone-row { display:flex; gap: 7px; flex-wrap:wrap; }
.tone-chip { border: 1px solid #e9e0e7; background:#fff; color:#857986; padding: 7px 10px; border-radius: 8px; font-size: 10px; }
.tone-chip { transition:.18s ease; }
.tone-chip:hover { transform:translateY(-1px); border-color:#ddb4ad; color:var(--coral); }
.tone-chip.active { border-color: #e5a69b; color: var(--coral); background:#fff6f2; box-shadow: inset 0 0 0 1px #e5a69b, 0 5px 12px rgba(226,110,95,.1); }
.include-row { display:flex; gap: 13px; flex-wrap:wrap; }
.include-row label { display:flex; gap:5px; align-items:center; color:#8b818d; font-size:10px; }
.include-row input { accent-color: var(--coral); }
.composer-footer { display:flex; align-items:center; justify-content:space-between; margin-top: 20px; position:relative; }
.button-dark { background: var(--plum); color:#fff; box-shadow: 0 8px 16px rgba(55,36,62,.15); }
.button-dark:hover { background:#4b3055; }
.sparkle { color: #f4bf62; }
.model-footnote { color:#9e97a4; font-size: 10px; display:flex; align-items:center; gap:7px; }
.output-panel { min-height: 298px; background: #f5eef3; border-color:#e8dbe8; }
.output-panel .panel-head h3 { color:#513859; }
.draft-card { margin-top: 15px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.8); border-radius: 12px; min-height: 152px; padding: 19px 21px; text-align: center; display:flex; flex-direction:column; justify-content:center; box-shadow: 0 10px 24px rgba(77,43,80,.05); transition: .25s ease; }
.draft-card.generating { opacity: .6; transform: scale(.99); }
.draft-card.generating::after { content:""; width:34px; height:34px; border:2px solid #e3c6d2; border-top-color:var(--coral); border-radius:50%; animation:spin .7s linear infinite; margin:12px auto 0; }
@keyframes spin { to { transform:rotate(360deg); } }
.draft-ornament { color:#d89c65; letter-spacing: 3px; font-size: 11px; margin-bottom: 10px; }
.draft-card p { font: italic 15px/1.55 Georgia,serif; color:#5a4760; }
.draft-rule { width: 30px; height: 1px; background:#dcb4b7; margin: 12px auto 8px; }
.draft-signoff { color: #a67d85; font-size:10px; }
.output-footer { margin-top: 15px; display:flex; align-items:center; justify-content:space-between; color:#9a8a9f; font-size: 10px; }
.timeline-panel { min-height: 268px; }
.timeline { margin-top: 16px; display: grid; gap: 0; }
.timeline-item { display:grid; grid-template-columns: 58px 20px 1fr; gap: 10px; min-height: 57px; }
.timeline-date { color:#a59ca6; font-size: 10px; padding-top: 2px; }
.timeline-node-wrap { position:relative; display:flex; justify-content:center; }
.timeline-node { width: 8px; height:8px; border-radius: 50%; background: var(--marigold); margin-top: 4px; box-shadow: 0 0 0 4px #fff5e6; z-index:1; }
.timeline-line { position:absolute; top: 13px; bottom: -4px; width:1px; background:#eee6ef; }
.timeline-item:last-child .timeline-line { display:none; }
.timeline-item strong { display:block; color:#594c5c; font: 500 13px Georgia,serif; margin-bottom: 3px; }
.timeline-item p { color:#9a929f; font-size:10px; line-height:1.4; }
.model-panel { min-height: 268px; background: var(--plum); border-color:var(--plum); color:#fff; }
.model-panel-bg { position:absolute; inset:0; background: radial-gradient(circle at 88% 0%, rgba(237,170,69,.22), transparent 35%), radial-gradient(circle at 3% 100%, rgba(222,111,96,.15), transparent 40%); opacity:.8; }
.model-panel > *:not(.model-panel-bg) { position:relative; }
.model-panel .section-kicker { color:#bcaabe; }
.model-panel .panel-head h3 { color:#fff4f1; }
.status-led { display:flex; align-items:center; gap:6px; color:#a8dfbd; font-size: 9px; font-weight:800; letter-spacing:.13em; }
.status-led span { width:6px; height:6px; border-radius:50%; background:#80d7a2; }
.model-identity { display:flex; align-items:center; gap:11px; margin-top:19px; }
.model-orbit { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; color:#f8c46d; border:1px solid rgba(248,196,109,.5); box-shadow: inset 0 0 0 5px rgba(248,196,109,.06); }
.model-identity strong { font-size:12px; font-weight:700; color:#fff2ef; }
.model-identity p { color:#bdaebf; font-size:10px; margin-top:3px; }
.model-meter { margin-top:17px; }
.meter-row { display:flex; justify-content:space-between; color:#bbaebb; font-size:10px; }
.meter-row strong { color:#f6ca7e; font-weight:600; }
.meter-track { height:5px; background:rgba(255,255,255,.12); border-radius:20px; margin-top:7px; overflow:hidden; }
.meter-track span { display:block; width:100%; height:100%; background: linear-gradient(90deg, #dd7c69, #efb55e); border-radius:inherit; }
.model-facts { display:grid; grid-template-columns:1.15fr .65fr 1fr; gap:12px; margin-top:17px; }
.model-facts div { display:flex; flex-direction:column; gap:4px; min-width:0; }
.model-facts span { color:#9e8aa4; font-size:8px; letter-spacing:.13em; }
.model-facts strong { color:#e8dce8; font: 10px ui-monospace, monospace; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.button-outline-light { color:#f5e7e9; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.05); margin-top:18px; padding:9px 11px; font-size:10px; }
.button-outline-light:hover { background:rgba(255,255,255,.12); }
.ofrenda-preview { margin-top: 14px; min-height: 248px; border-radius: var(--radius); background: #f6e8df; display:flex; align-items:center; justify-content:space-between; overflow:hidden; position:relative; padding: 28px 39px 28px 34px; }
.ofrenda-preview::before { content:""; position:absolute; inset:0; background: linear-gradient(100deg, rgba(246,232,223,1) 0%, rgba(246,232,223,.86) 43%, rgba(246,232,223,0) 72%); z-index:1; }
.ofrenda-copy { position:relative; z-index:2; max-width: 395px; }
.ofrenda-copy .section-kicker { color:#a97672; }
.ofrenda-copy h2 { color:#523844; font:500 28px Georgia,serif; letter-spacing:-.04em; margin-top:7px; }
.ofrenda-copy p { color:#866c72; font-size:12px; line-height:1.6; margin:11px 0 18px; max-width: 330px; }
.altar-mini { width: 48%; height: 190px; position:relative; z-index:0; background: linear-gradient(160deg,#553b5a 0%,#35263d 100%); border-radius: 50% 50% 8px 8px; box-shadow: 20px 24px 35px rgba(112,70,73,.17); overflow:hidden; transform: rotate(2deg); }
.altar-mini::after { content:""; position:absolute; inset:auto 0 0; height:45%; background:#271e31; }
.altar-sky { position:relative; height:80px; border-bottom: 1px solid rgba(255,255,255,.08); }
.moon { position:absolute; right:24px; top:13px; color:#ffd690; font-size:34px; transform: rotate(-20deg); }
.paper-cut { position:absolute; color:#efb66a; opacity:.4; font-size:30px; }
.cut-one { left:35px; top:12px; transform:rotate(-20deg); }
.cut-two { left:88px; top:27px; transform:rotate(20deg); }
.altar-shelf { position:relative; z-index:2; margin: 0 20px; background:#825564; height:40px; display:flex; align-items:center; justify-content:space-around; box-shadow:0 5px 0 rgba(22,12,27,.25); }
.shelf-bottom { background:#6a4657; margin-top: 10px; height:33px; }
.candle { width:8px; height:24px; background:#fae2b1; border-radius:2px; position:relative; }
.candle::before { content:""; position:absolute; width:5px; height:7px; background:#ffd37a; border-radius:50% 50% 50% 0; transform:rotate(45deg); top:-6px; left:2px; box-shadow:0 0 9px #ffc45c; }
.marigold, .flower-row { color:#f1ad4e; text-shadow:0 0 7px rgba(241,173,78,.35); }
.marigold { font-size:21px; }
.frame { width:34px; height:43px; margin-top:-18px; background:#b2763b; border:4px solid #f4c36d; display:grid; place-items:center; color:#fff4ce; font: 11px Georgia,serif; box-shadow: 0 5px 0 rgba(25,11,28,.2); }
.food-bowl, .music-note { color:#d9a7a1; font-size:20px; }
.flower-row { font-size:11px; letter-spacing:1px; }
.main-footer { display:flex; justify-content:space-between; gap:20px; color:#aca5b0; font-size:10px; padding: 25px 2px 3px; }
.footer-dot { color:#d4cbd6; padding: 0 7px; }
.toast { position:fixed; bottom:23px; left:50%; transform:translate(-50%, 20px); background:var(--plum-deep); color:#fff; font-size:12px; padding:11px 15px; border-radius:9px; box-shadow:var(--shadow); opacity:0; pointer-events:none; transition:.25s; z-index:20; }
.toast.show { opacity:1; transform:translate(-50%, 0); }
.modal-backdrop { position:fixed; inset:0; background:rgba(27,17,34,.48); display:grid; place-items:center; padding:20px; z-index:30; backdrop-filter:blur(4px); }
.modal-backdrop[hidden] { display:none; }
.modal { width:min(560px, 100%); max-height: min(690px, 90vh); overflow:auto; background:#fffdfa; border-radius:20px; padding:28px; position:relative; box-shadow:0 30px 90px rgba(31,16,39,.25); }
.modal-close { position:absolute; right:17px; top:14px; background:transparent; color:#9e929f; font-size:26px; line-height:1; }
.modal h2 { color:var(--plum-deep); font:500 27px Georgia,serif; letter-spacing:-.04em; margin-bottom:9px; }
.modal p { color:#776d7b; font-size:13px; line-height:1.65; }
.modal .section-kicker { color:#b47d77; margin-bottom:9px; }
.modal-grid { margin-top:20px; display:grid; gap:10px; }
.modal-card { background:#f8f2f7; border:1px solid #eee3ed; border-radius:12px; padding:14px; }
.modal-card strong { display:block; color:#59435e; font-size:12px; margin-bottom:5px; }
.modal-card span { color:#8f8191; font-size:11px; line-height:1.5; }
.modal-code { margin-top:18px; padding:15px; border-radius:11px; background:#2c1d35; color:#eac37e; font:11px/1.6 ui-monospace,monospace; overflow:auto; }
.form-field { display:grid; gap:7px; margin-top:15px; }
.form-field label { color:#736879; font-size:11px; font-weight:700; }
.form-field input, .form-field textarea { border:1px solid #e7dfe9; background:#fff; color:var(--ink); border-radius:8px; padding:10px; font-size:12px; }
.form-field textarea { min-height:88px; resize:vertical; }
.modal-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:22px; }

@media (max-width: 1080px) {
  .content-wrap, .topbar { padding-left: 28px; padding-right:28px; }
  .sidebar { width:215px; flex-basis:215px; }
  .hero-row { grid-template-columns: 1fr .8fr; }
  .hero-actions { grid-column:1 / -1; flex-direction:row; align-items:center; justify-content:flex-start; }
  .video-showcase { grid-template-columns:1fr 1.2fr; }
  .model-facts { gap:7px; }
  .model-facts strong { font-size:9px; }
}
@media (max-width: 840px) {
  .sidebar { width:66px; flex-basis:66px; padding:22px 10px; }
  .brand-lockup { justify-content:center; padding:0; }
  .brand-lockup > div:last-child, .workspace-label, .side-link span:not(.nav-icon), .privacy-seal div, .sidebar-version { display:none; }
  .sidebar-rule { margin:24px 6px; }
  .side-link { justify-content:center; padding:12px 8px; }
  .nav-active-dot { position:absolute; right:7px; top:8px; }
  .privacy-seal { justify-content:center; padding:13px 8px; }
  .hero-row { align-items:stretch; grid-template-columns:1fr; }
  .hero-visual { max-width:420px; }
  .video-showcase { grid-template-columns:1fr; gap:18px; }
  .video-copy p { max-width:520px; }
  .hero-actions { padding:0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns:1fr; }
  .ofrenda-preview { padding-left:25px; }
}
@media (max-width: 560px) {
  .topbar { height:61px; padding:0 16px; }
  .breadcrumb { font-size:10px; }
  .topbar-actions { gap:8px; }
  .offline-pill { padding:6px 8px; font-size:9px; }
  .content-wrap { padding:27px 16px 24px; }
  .hero-copy { font-size:13px; }
  .hero-actions { width:100%; justify-content:space-between; gap:4px; flex-direction:row; align-items:center; }
  .video-showcase { padding:18px 16px; }
  .video-copy h2 { font-size:22px; }
  .video-frame { aspect-ratio:16 / 9; }
  .hero-actions .button { font-size:10px; padding:10px 9px; }
  .profile-banner { align-items:flex-start; flex-wrap:wrap; padding:16px; }
  .profile-portrait { width:54px; height:54px; font-size:17px; }
  .profile-copy { width:calc(100% - 80px); }
  .profile-name-row h2 { font-size:20px; }
  .profile-meta { width:100%; border-left:0; border-top:1px solid var(--line); padding:12px 0 0; flex-direction:row; align-items:center; gap:10px; }
  .profile-meta .meta-label { margin-right:auto; }
  .profile-menu { position:absolute; top:9px; right:8px; }
  .section-heading { align-items:flex-start; flex-direction:column; gap:7px; margin-top:31px; }
  .panel { padding:19px 17px; }
  .panel-head h3 { font-size:18px; }
  .composer-footer, .output-footer { align-items:flex-start; flex-direction:column; gap:11px; }
  .model-facts { grid-template-columns:1fr 1fr; }
  .model-facts div:last-child { grid-column:1 / -1; }
  .ofrenda-preview { min-height: 385px; align-items:flex-start; padding:25px 20px; }
  .ofrenda-preview::before { background:linear-gradient(180deg, rgba(246,232,223,1) 0%, rgba(246,232,223,.75) 52%, rgba(246,232,223,0) 78%); }
  .ofrenda-copy { max-width:100%; }
  .altar-mini { position:absolute; width:86%; bottom:-16px; right:-20px; height:190px; opacity:.93; }
  .main-footer { flex-direction:column; gap:8px; }
}
