:root {
  --charcoal: #202220;
  --charcoal-2: #292b29;
  --ink: #2a2926;
  --muted: #77736c;
  --cream: #f7f4ed;
  --paper: #fffdf8;
  --line: #e9e3d8;
  --amber: #d98b2b;
  --amber-deep: #b96e18;
  --gold: #e7ba67;
  --soft-amber: #fff2db;
  --shadow: 0 14px 40px rgba(55, 42, 22, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: 96px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { color: inherit; touch-action: manipulation; }
button, [data-route], [data-agent] { -webkit-tap-highlight-color: transparent; }
.icon { display: block; flex: 0 0 auto; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 246px; padding: 24px 16px 18px; color: #eeeae1; background: var(--charcoal); display: flex; flex-direction: column; }
.brand { width: 100%; border: 0; display: flex; align-items: center; gap: 11px; padding: 0 8px 25px; color: inherit; background: none; cursor: pointer; text-align: left; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #36230e; background: linear-gradient(145deg, #f8d493, #d98b2b); box-shadow: 0 7px 20px rgba(217,139,43,.28); }
.brand strong { display: block; font-size: 18px; letter-spacing: .1em; }
.brand span { display: block; margin-top: 2px; color: #8f918c; font-size: 8px; letter-spacing: .28em; }
.side-nav { display: grid; gap: 5px; }
.nav-item { position: relative; border: 0; border-radius: 11px; width: 100%; min-height: 45px; padding: 0 12px; display: flex; align-items: center; gap: 12px; color: #aaa9a4; background: transparent; cursor: pointer; text-align: left; transition: .2s ease; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.045); }
.nav-item.active { color: #f4c573; background: linear-gradient(90deg, rgba(214,137,43,.16), rgba(214,137,43,.035)); }
.nav-item.active::before { content: ""; position: absolute; left: -16px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 4px 4px 0; background: #e4a447; }
.nav-icon { width: 23px; display: grid; place-items: center; }
.nav-item > span:nth-child(2) { font-size: 13px; font-weight: 500; }
.nav-item em { margin-left: auto; padding: 2px 6px; border-radius: 5px; color: #eab35e; background: rgba(218,139,43,.12); font-size: 9px; font-style: normal; }
.sidebar-card { margin-top: auto; padding: 15px; border: 1px solid rgba(238,188,103,.12); border-radius: 14px; background: linear-gradient(145deg, rgba(239,176,78,.09), rgba(255,255,255,.02)); }
.tiny-orb { width: 29px; height: 29px; margin-bottom: 10px; border-radius: 9px; display: grid; place-items: center; color: #e8ae56; background: rgba(222,150,46,.12); }
.sidebar-card strong { font-size: 12px; }
.sidebar-card p { margin: 5px 0 10px; color: #878782; font-size: 10px; line-height: 1.6; }
.sidebar-card span { color: #dfa44d; font-size: 10px; }
.sidebar-footer { margin-top: 17px; padding: 14px 8px 0; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; gap: 9px; }
.avatar, .avatar-button { width: 30px; height: 30px; border: 1px solid rgba(231,186,103,.4); border-radius: 50%; display: grid; place-items: center; color: #edc77f; background: #393630; font-size: 11px; }
.sidebar-footer strong, .sidebar-footer small { display: block; }
.sidebar-footer strong { color: #d7d5d0; font-size: 10px; }
.sidebar-footer small { margin-top: 2px; color: #777772; font-size: 8px; }

.main-area { min-height: 100vh; margin-left: 246px; }
.topbar { height: 76px; padding: 0 34px; border-bottom: 1px solid rgba(220,212,198,.78); display: flex; align-items: center; justify-content: space-between; background: rgba(249,247,241,.86); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.page-heading h1 { margin: 0; font-size: 16px; font-weight: 650; }
.page-heading p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.guide-button { min-height: 36px; border: 1px solid var(--line); border-radius: 99px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; color: #6b655c; background: rgba(255,255,255,.72); font-size: 10px; cursor: pointer; }
.guide-button:hover { color: #9d5e18; border-color: #ddc59f; background: #fffaf0; }
.status-pill { border: 1px solid var(--line); border-radius: 99px; padding: 6px 11px; display: flex; align-items: center; gap: 6px; color: #6f6a61; background: rgba(255,255,255,.7); font-size: 10px; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: #69a571; box-shadow: 0 0 0 3px rgba(105,165,113,.12); }
.avatar-button { border: 0; color: #fff9ed; background: linear-gradient(145deg, #dca14a, #a86013); }
.page-content { width: min(1440px, 100%); margin: 0 auto; padding: 28px 34px 60px; }
.mobile-menu, .mobile-tabbar, .nav-backdrop { display: none; }

.eyebrow, .section-kicker { color: var(--amber-deep); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(217,139,43,.18); border-radius: 99px; background: rgba(255,249,237,.7); }
.hero { position: relative; min-height: 390px; overflow: hidden; padding: 54px 55px; border: 1px solid #eadfce; border-radius: 24px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; background: radial-gradient(circle at 85% 20%, rgba(242,194,111,.24), transparent 36%), linear-gradient(125deg, #fffaf0, #f1eadf); box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(128,97,47,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(128,97,47,.09) 1px, transparent 1px); background-size: 35px 35px; mask-image: linear-gradient(to right, transparent, black); }
.hero-copy { position: relative; z-index: 2; max-width: 590px; }
.hero h2 { margin: 17px 0 15px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(36px, 4vw, 58px); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.hero h2 em { color: #bc741f; font-style: normal; }
.hero-copy > p { max-width: 475px; margin: 0; color: #6f6a60; font-size: 14px; line-height: 1.85; }
.hero-actions { margin-top: 27px; display: flex; gap: 10px; }
.button { min-height: 40px; border: 1px solid transparent; border-radius: 10px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 600; cursor: pointer; transition: .2s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button.primary { color: white; background: linear-gradient(145deg, #dc9639, #bd6f18); box-shadow: 0 7px 18px rgba(185,110,24,.22); }
.button.primary:hover { box-shadow: 0 9px 22px rgba(185,110,24,.3); }
.button.ghost, .button.secondary { border-color: #e3dbcf; background: rgba(255,255,255,.66); }
.button.secondary { background: #fff; }
.button.disabled { border-color: #e8e4dc; color: #aaa59b; background: #efede8; cursor: not-allowed; }
.button.full { width: 100%; }
.hero-proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; color: #777067; font-size: 9px; }
.hero-proof span { display: flex; align-items: center; gap: 6px; }
.hero-proof i { width: 19px; height: 19px; border: 1px solid #e2ca9f; border-radius: 50%; display: grid; place-items: center; color: #ae701d; font-size: 7px; font-style: normal; }
.first-use-strip { margin-top: 12px; padding: 13px 16px; border: 1px solid #e6dccd; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: rgba(255,253,249,.82); }
.first-use-strip > div { display: flex; align-items: center; gap: 10px; }
.first-use-strip > div > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; color: #aa681d; background: #ffefd5; }
.first-use-strip p { margin: 0; }
.first-use-strip strong, .first-use-strip small { display: block; }
.first-use-strip strong { font-size: 11px; }
.first-use-strip small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.hero-visual { position: relative; min-height: 290px; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 180px; height: 180px; right: 10%; top: 6%; background: rgba(239,182,84,.28); }
.orb-two { width: 120px; height: 120px; left: 4%; bottom: 3%; background: rgba(247,224,180,.48); }
.floating-card { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.84); background: rgba(255,253,248,.83); backdrop-filter: blur(12px); box-shadow: 0 24px 50px rgba(81,58,27,.15); }
.main-card { width: min(320px, 80%); right: 8%; top: 13%; padding: 13px; border-radius: 17px; transform: rotate(2deg); }
.mock-header { height: 24px; display: flex; align-items: center; gap: 4px; }
.mock-header span { width: 5px; height: 5px; border-radius: 50%; background: #d8cfc1; }
.mock-header b { margin-left: auto; color: #827a6d; font-size: 8px; }
.mock-video { height: 130px; border-radius: 11px; display: grid; place-items: center; align-content: center; gap: 8px; color: #fffaf2; background: radial-gradient(circle at 30% 20%, #e6ad61, #7e4e27 70%); }
.mock-video span { font-size: 9px; }
.play-button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.mock-lines { padding: 13px 2px 2px; display: grid; gap: 7px; }
.mock-lines i { height: 6px; border-radius: 5px; background: #e8e2d8; }
.mock-lines i:last-child { width: 65%; }
.small-card { padding: 11px 13px; border-radius: 13px; display: flex; align-items: center; gap: 9px; color: #ae6c1d; }
.small-card.top { top: 0; left: 2%; }
.small-card.bottom { right: 0; bottom: 5%; color: #589165; }
.small-card b, .small-card span { display: block; }
.small-card b { color: #4e4a43; font-size: 9px; }
.small-card span { margin-top: 2px; color: #969084; font-size: 7px; }

.section-block { margin-top: 33px; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-header h2, .section-header h3 { margin: 5px 0 0; font-size: 19px; }
.section-header p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.text-button { border: 0; display: flex; align-items: center; gap: 5px; color: #9d6a29; background: none; font-size: 10px; cursor: pointer; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-card { min-height: 78px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; display: flex; align-items: center; gap: 11px; text-align: left; background: rgba(255,253,249,.84); cursor: pointer; box-shadow: 0 5px 18px rgba(57,44,26,.035); transition: .2s; }
.quick-card:hover { border-color: #dfc69f; transform: translateY(-2px); box-shadow: var(--shadow); }
.quick-card > span:nth-child(2) { min-width: 0; flex: 1; }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { font-size: 12px; }
.quick-card small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.quick-card > .icon { color: #a6a098; }
.agent-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.agent-icon.amber { color: #bd711e; background: #ffedce; }
.agent-icon.blue { color: #557d9e; background: #e4f0f5; }
.agent-icon.green { color: #5e896c; background: #e4f0e7; }
.agent-icon.violet { color: #806c9f; background: #ece6f5; }
.agent-icon.rose { color: #a56766; background: #f4e3e1; }
.agent-icon.orange { color: #b7733d; background: #f6e9dc; }
.agent-icon.cyan { color: #4f878b; background: #e1eff0; }
.agent-icon.gold { color: #a78237; background: #f5edda; }
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.home-agents { grid-template-columns: repeat(3, 1fr); }
.agent-card { min-height: 245px; padding: 19px; border: 1px solid var(--line); border-radius: 17px; display: flex; flex-direction: column; background: rgba(255,253,249,.88); box-shadow: 0 7px 25px rgba(62,47,25,.04); cursor: pointer; transition: .24s ease; }
.agent-card:hover { border-color: #ddc49e; transform: translateY(-3px); box-shadow: var(--shadow); }
.agent-card-top { display: flex; justify-content: space-between; align-items: start; }
.tag { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 99px; color: #8c8880; background: #f0eee9; font-size: 8px; font-style: normal; }
.tag.live { color: #48825c; background: #e4f1e7; }
.agent-category { margin-top: 15px; color: #a07540; font-size: 8px; }
.agent-card h4 { margin: 5px 0 7px; font-size: 14px; }
.agent-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.agent-card-footer { margin-top: auto; padding-top: 15px; border-top: 1px solid #eee9e1; display: flex; align-items: center; justify-content: space-between; color: #8b857c; font-size: 9px; }
.agent-card-footer button { width: 28px; height: 28px; border: 1px solid #e6dfd4; border-radius: 8px; display: grid; place-items: center; color: #a77b3e; background: white; }

.intro-banner { padding: 28px 32px; border: 1px solid #eadfce; border-radius: 20px; display: flex; align-items: center; justify-content: space-between; background: radial-gradient(circle at 80% 20%, rgba(240,188,98,.2), transparent 35%), #fffaf1; }
.intro-banner h2 { margin: 7px 0 6px; font-size: 25px; }
.intro-banner p { margin: 0; color: var(--muted); font-size: 11px; }
.banner-symbol { width: 88px; height: 88px; border: 1px solid rgba(215,145,47,.18); border-radius: 24px; display: grid; place-items: center; color: #ce852b; background: rgba(255,255,255,.5); transform: rotate(4deg); }
.filter-panel { margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: 15px; display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: start; gap: 16px; background: rgba(255,253,249,.83); }
.search-box { width: 270px; min-height: 38px; padding: 0 12px; border: 1px solid #e6dfd4; border-radius: 10px; display: flex; align-items: center; gap: 8px; color: #9b958c; background: white; }
.search-box:focus-within { border-color: #d7aa6b; box-shadow: 0 0 0 3px rgba(217,139,43,.08); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.category-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-rows { display: grid; gap: 7px; }
.filter-row { display: flex; align-items: center; gap: 9px; }
.filter-row > span { width: 26px; flex: 0 0 auto; color: #aaa39a; font-size: 8px; }
.chip { min-height: 32px; padding: 0 12px; border: 1px solid transparent; border-radius: 99px; color: #777269; background: transparent; font-size: 9px; cursor: pointer; }
.chip:hover { background: #f4eee4; }
.chip.active { border-color: #edcf9f; color: #a76717; background: #fff1d8; }
.results-line { margin: 22px 2px 12px; display: flex; align-items: center; gap: 10px; }
.results-line strong { font-size: 14px; }
.results-line span { color: var(--muted); font-size: 9px; }
.empty-state { min-height: 280px; padding: 35px; border: 1px dashed #ddd2c2; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 8px; color: #a39c91; background: rgba(255,253,248,.55); text-align: center; }
.empty-state.large { min-height: 360px; }
.empty-state h3 { margin: 4px 0 0; color: var(--ink); font-size: 15px; }
.empty-state p { margin: 0 0 7px; font-size: 10px; }

.creator-header, .workspace-bar { margin-bottom: 18px; padding: 23px 26px; border: 1px solid #eadfce; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(110deg, #fffaf1, #f3eee5); }
.creator-header h2, .workspace-bar h2 { margin: 7px 0 4px; font-size: 23px; }
.creator-header p, .workspace-bar p { margin: 0; color: var(--muted); font-size: 10px; }
.stepper { min-height: 74px; margin-bottom: 17px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 15px; display: flex; align-items: center; background: rgba(255,253,248,.85); }
.step { flex: 0 1 195px; min-width: 0; border: 0; display: flex; align-items: center; gap: 9px; color: #aaa49b; background: none; text-align: left; cursor: pointer; }
.step > span { width: 29px; height: 29px; border: 1px solid #ded8ce; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; font-size: 10px; }
.step b, .step small { display: block; }
.step b { font-size: 10px; }
.step small { margin-top: 2px; font-size: 8px; }
.step.active { color: #ae6919; }
.step.active > span { border-color: #d89843; color: white; background: #d98b2b; box-shadow: 0 4px 12px rgba(217,139,43,.2); }
.step.done { color: #62846a; }
.step.done > span { border-color: #bad1bf; color: #568063; background: #eaf3eb; }
.stepper > i { height: 1px; flex: 1; margin: 0 12px; background: #e4ded5; }
.creator-layout { display: grid; grid-template-columns: minmax(0, 1fr) 255px; align-items: start; gap: 16px; }
.work-panel, .project-summary, .workflow-panel, .preview-panel, .inspector-panel, .admin-card { border: 1px solid var(--line); border-radius: 17px; background: rgba(255,253,249,.91); box-shadow: 0 8px 28px rgba(55,42,22,.035); }
.work-panel { min-height: 460px; padding: 25px; }
.panel-heading { margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.panel-heading > span { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; color: #b36a17; background: #fff0d6; font-size: 10px; font-weight: 700; }
.panel-heading h3 { margin: 0; font-size: 16px; }
.panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > span { display: flex; justify-content: space-between; font-size: 10px; font-weight: 600; }
.field > span em { color: #aaa298; font-size: 8px; font-style: normal; font-weight: 400; }
.field input, .field textarea { width: 100%; border: 1px solid #e4ddd2; border-radius: 10px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; transition: .2s; }
.field input { height: 40px; padding: 0 12px; }
.field textarea { min-height: 150px; padding: 12px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { border-color: #d7a15b; box-shadow: 0 0 0 3px rgba(217,139,43,.08); }
.field input:disabled, .field textarea:disabled { color: #706b63; background: #f7f4ee; }
.prompt-tips { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.prompt-tips span { color: #918b82; font-size: 9px; }
.prompt-tips button { padding: 5px 9px; border: 1px solid #e9dfcf; border-radius: 99px; color: #966a32; background: #fffaf1; font-size: 8px; cursor: pointer; }
.step-actions { margin-top: 26px; padding-top: 16px; border-top: 1px solid #eee9e1; display: flex; justify-content: space-between; }
.project-summary { padding: 18px; }
.summary-head { padding-bottom: 16px; border-bottom: 1px solid #eee9e1; display: flex; align-items: center; gap: 10px; }
.summary-head small, .summary-head strong { display: block; }
.summary-head small { color: var(--muted); font-size: 8px; }
.summary-head strong { max-width: 150px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.project-summary dl { margin: 13px 0; }
.project-summary dl > div { padding: 7px 0; display: flex; justify-content: space-between; }
.project-summary dt, .project-summary dd { font-size: 9px; }
.project-summary dt { color: var(--muted); }
.project-summary dd { margin: 0; font-weight: 600; }
.status-text { color: #5f8a69; }
.notice-box { margin: 14px 0; padding: 11px; border: 1px solid #ecdcbf; border-radius: 10px; display: flex; align-items: flex-start; gap: 8px; color: #b17426; background: #fff8eb; }
.notice-box p { margin: 0; color: #7e7364; font-size: 8px; line-height: 1.7; }
.notice-box p strong { color: #71573a; }
.notice-box.wide { max-width: 600px; }
.upload-zone { min-height: 190px; padding: 20px; border: 1.5px dashed #d9c5a7; border-radius: 15px; display: grid; place-items: center; align-content: center; gap: 7px; background: #fffcf6; transition: .2s; }
.upload-zone:hover, .upload-zone.dragging { border-color: #d78a2a; background: #fff7e8; }
.upload-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.upload-icon { width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center; color: #ba741f; background: #ffedce; }
.upload-zone strong { font-size: 11px; }
.upload-zone small { color: var(--muted); font-size: 8px; }
.upload-actions { margin-top: 6px; display: flex; gap: 8px; }
.upload-button { min-height: 38px; padding: 0 13px; border: 1px solid #e4c99f; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #9c611d; background: white; font-size: 9px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.upload-button.camera-button { border-color: transparent; color: white; background: linear-gradient(145deg, #dc9639, #bd6f18); }
.desktop-drop-hint { color: #a19a90; font-size: 8px; font-style: normal; }
.asset-head { margin: 20px 0 10px; display: flex; align-items: center; justify-content: space-between; }
.asset-head strong { font-size: 11px; }
.asset-head span { color: var(--muted); font-size: 8px; }
.asset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.asset-empty { grid-column: 1 / -1; min-height: 90px; border: 1px solid #eee8de; border-radius: 12px; display: grid; place-items: center; align-content: center; gap: 7px; color: #b3aca2; background: #faf8f3; font-size: 9px; }
.asset-item { position: relative; min-width: 0; overflow: hidden; border: 1px solid #e9e3d9; border-radius: 11px; background: white; }
.asset-item img, .asset-item video { width: 100%; height: 90px; object-fit: cover; display: block; background: #ece8e0; }
.asset-item > div { padding: 8px; }
.asset-item strong, .asset-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-item strong { font-size: 8px; }
.asset-item small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.asset-item > button { position: absolute; right: 5px; top: 5px; width: 26px; height: 26px; border: 0; border-radius: 7px; display: grid; place-items: center; color: white; background: rgba(44,42,38,.72); cursor: pointer; }
.media-type { position: absolute; left: 5px; top: 5px; padding: 3px 6px; border-radius: 6px; display: flex; align-items: center; gap: 3px; color: white; background: rgba(44,42,38,.68); font-size: 7px; }
.review-card { position: relative; margin-bottom: 10px; padding: 15px; border: 1px solid #e9e2d7; border-radius: 12px; background: #fff; }
.review-card > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 8px; }
.review-card strong { font-size: 11px; }
.review-card p { max-width: 75%; margin: 0; font-size: 10px; line-height: 1.7; }
.review-card button { position: absolute; right: 13px; top: 13px; border: 0; color: #a66b25; background: none; font-size: 8px; cursor: pointer; }
.coming-panel { min-height: 410px; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; }
.large-orb { width: 78px; height: 78px; border-radius: 25px; display: grid; place-items: center; color: #c67b22; background: radial-gradient(circle at 30% 20%, #fff5e1, #f4d6a6); box-shadow: 0 15px 30px rgba(193,118,31,.15); }
.coming-panel h3 { margin: 4px 0 0; font-size: 20px; }
.coming-panel p { max-width: 500px; margin: 0 0 5px; color: var(--muted); font-size: 10px; line-height: 1.75; }
.coming-panel > div { display: flex; gap: 8px; }

.workspace-bar .tag { margin-bottom: 4px; }
.workspace-layout { display: grid; grid-template-columns: 190px minmax(300px, 1fr) 255px; gap: 14px; }
.workflow-panel, .inspector-panel { padding: 17px; }
.workflow-panel h3, .inspector-panel h3 { margin: 0 0 16px; font-size: 12px; }
.workflow-row { width: 100%; min-height: 54px; padding: 8px; border: 0; border-radius: 10px; display: flex; align-items: center; gap: 9px; color: #9a958c; background: transparent; text-align: left; cursor: pointer; }
.workflow-row > span { width: 26px; height: 26px; border: 1px solid #dfd9cf; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; font-size: 9px; }
.workflow-row strong, .workflow-row small { display: block; }
.workflow-row strong { font-size: 9px; }
.workflow-row small { margin-top: 3px; font-size: 7px; }
.workflow-row.active { color: #a66318; background: #fff0d9; }
.workflow-row.done { color: #598167; }
.preview-panel { padding: 14px; }
.preview-toolbar { display: flex; justify-content: space-between; align-items: center; }
.preview-toolbar strong { font-size: 10px; }
.preview-toolbar span { padding: 4px 7px; border-radius: 6px; color: #8f8980; background: #f1eee8; font-size: 7px; }
.preview-stage { margin: 13px 0; padding: 16px; border-radius: 13px; display: grid; place-items: center; background: #efebe4; }
.phone-preview { width: min(100%, 226px); height: auto; aspect-ratio: 9 / 16; border-radius: 15px; display: grid; place-items: center; background: #282927; box-shadow: 0 10px 25px rgba(31,31,29,.15), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone-preview > div { display: grid; place-items: center; gap: 9px; color: #b08b5c; }
.phone-preview strong { color: #d8d2c8; font-size: 11px; }
.phone-preview span { color: #777771; font-size: 8px; }
.timeline-placeholder { height: 40px; padding: 7px; border-radius: 8px; display: flex; gap: 4px; background: #f1eee8; }
.timeline-placeholder span { width: 3px; height: 100%; background: #d68627; }
.timeline-placeholder i { flex: 1; border-radius: 4px; background: #ddd5c9; }
.inspector-panel .field textarea { min-height: 100px; }

.projects-heading { align-items: center; }
.stat-grid { margin: 17px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-grid > div { padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; gap: 12px; background: rgba(255,253,248,.85); }
.stat-grid > div > span { width: 39px; height: 39px; border-radius: 11px; display: grid; place-items: center; color: #ad6f22; background: #ffefd6; }
.stat-grid p { margin: 0; color: var(--muted); font-size: 8px; }
.stat-grid strong { display: block; margin-top: 2px; color: var(--ink); font-size: 18px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fffdfa; box-shadow: 0 7px 25px rgba(62,47,25,.04); }
.project-cover { position: relative; height: 125px; display: grid; place-items: center; color: rgba(255,255,255,.8); background: linear-gradient(145deg, #77634b, #2f302e); }
.project-cover::after { content: ""; position: absolute; inset: 0; opacity: .3; background: radial-gradient(circle at 25% 20%, #f0b55e, transparent 30%); }
.project-cover > span { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.project-cover em { position: absolute; z-index: 2; top: 10px; right: 10px; padding: 4px 7px; border-radius: 6px; color: #fff2dc; background: rgba(31,31,30,.6); font-size: 7px; font-style: normal; }
.project-body { padding: 15px; }
.project-body h3 { margin: 0; font-size: 12px; }
.project-body p { height: 33px; margin: 5px 0 12px; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.75; }
.project-meta { padding: 9px 0; border-top: 1px solid #eee9e1; display: flex; justify-content: space-between; color: #9b958b; font-size: 8px; }
.project-meta span { display: flex; align-items: center; gap: 4px; }
.project-actions { display: flex; gap: 6px; }
.project-actions .button { flex: 1; min-height: 34px; }
.icon-button { width: 36px; height: 36px; padding: 0; border: 1px solid #e6dfd4; border-radius: 9px; display: grid; place-items: center; background: #fff; cursor: pointer; }
.icon-button.danger { color: #a86e67; }
.topbar .mobile-menu { display: none; }

.admin-banner { margin-bottom: 16px; }
.admin-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 14px; }
.admin-card { padding: 19px; }
.admin-card-head { padding-bottom: 15px; border-bottom: 1px solid #eee9e1; display: flex; align-items: center; gap: 11px; }
.admin-card-head > div:nth-child(2) { flex: 1; }
.admin-card-head h3 { margin: 0; font-size: 12px; }
.admin-card-head p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
.admin-list { margin: 13px 0; display: grid; gap: 8px; }
.admin-list div { padding: 10px 12px; border-radius: 9px; display: flex; justify-content: space-between; background: #f8f5ef; }
.admin-list span { color: var(--muted); font-size: 9px; }
.admin-list strong { font-size: 11px; }
.provider-list { margin-top: 11px; display: grid; }
.provider-list > div { min-height: 47px; padding: 7px 4px; border-bottom: 1px solid #f0ebe4; display: flex; align-items: center; gap: 9px; }
.provider-list > div:last-child { border-bottom: 0; }
.provider-dot { width: 7px; height: 7px; border-radius: 50%; background: #c9c4bb; }
.provider-list p { flex: 1; margin: 0; }
.provider-list strong, .provider-list small { display: block; }
.provider-list strong { font-size: 9px; }
.provider-list small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.provider-list em { color: #99938a; font-size: 7px; font-style: normal; }
.security-panel { margin-top: 14px; padding: 18px; border: 1px solid #e9dcc6; border-radius: 15px; display: flex; gap: 12px; color: #aa6a1e; background: #fff8eb; }
.security-panel h3 { margin: 0 0 4px; color: #654d32; font-size: 11px; }
.security-panel p { margin: 0; color: #7b7165; font-size: 9px; line-height: 1.7; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.capability-card { position: relative; min-height: 100px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; gap: 11px; background: rgba(255,253,249,.88); }
.capability-card > div { min-width: 0; flex: 1; }
.capability-card h4 { margin: 0; font-size: 11px; }
.capability-card p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
.capability-card em { position: absolute; right: 10px; top: 10px; padding: 3px 6px; border-radius: 6px; color: #8c857b; background: #f0eee9; font-size: 7px; font-style: normal; }

.toast-region { position: fixed; z-index: 100; right: 22px; top: 20px; display: grid; gap: 8px; pointer-events: none; }
.toast { min-width: 210px; padding: 11px 14px; border: 1px solid #dce8df; border-radius: 10px; display: flex; align-items: center; gap: 8px; color: #48715a; background: rgba(249,255,250,.95); box-shadow: 0 14px 40px rgba(42,36,26,.14); opacity: 0; transform: translateY(-8px); transition: .22s; font-size: 10px; }
.toast.warning { border-color: #ecd9bd; color: #9b651e; background: rgba(255,250,241,.97); }
.toast.show { opacity: 1; transform: translateY(0); }

.feedback-entry { position: fixed; z-index: 24; right: 22px; bottom: 22px; min-height: 43px; border: 1px solid rgba(188,116,31,.24); border-radius: 99px; padding: 0 15px; display: inline-flex; align-items: center; gap: 7px; color: #fff8ed; background: linear-gradient(135deg, #c97b22, #a95f12); box-shadow: 0 10px 28px rgba(125,73,16,.2); font-size: 11px; font-weight: 650; cursor: pointer; }
.feedback-entry:hover { transform: translateY(-1px); box-shadow: 0 13px 32px rgba(125,73,16,.25); }
.dialog-layer { position: fixed; z-index: 80; inset: 0; padding: 22px; display: grid; place-items: center; }
.dialog-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(29,29,27,.56); backdrop-filter: blur(5px); cursor: default; }
.welcome-dialog, .feedback-dialog { position: relative; z-index: 1; width: min(100%, 540px); max-height: min(760px, calc(100svh - 44px)); overflow-y: auto; padding: 30px; border: 1px solid #eadcc6; border-radius: 22px; background: #fffdf8; box-shadow: 0 28px 80px rgba(40,31,20,.24); }
.feedback-dialog { width: min(100%, 650px); }
.dialog-close { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: #6f685f; background: #fff; cursor: pointer; }
.welcome-mark { width: 48px; height: 48px; margin-bottom: 17px; border-radius: 15px; display: grid; place-items: center; color: #8d5010; background: linear-gradient(145deg, #ffe6bb, #e8b159); box-shadow: 0 10px 24px rgba(185,110,24,.16); }
.welcome-dialog h2, .feedback-dialog h2 { margin: 8px 48px 9px 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 25px; font-weight: 500; line-height: 1.35; }
.welcome-lead, .feedback-lead { margin: 0; color: #6f695f; font-size: 12px; line-height: 1.75; }
.guide-steps { margin: 20px 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.guide-steps li { padding: 12px; border: 1px solid #eee5d8; border-radius: 12px; display: flex; align-items: center; gap: 11px; background: #faf7f1; }
.guide-steps li > span { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; color: #a15c12; background: #ffebca; font-size: 11px; font-weight: 700; }
.guide-steps strong, .guide-steps small { display: block; }
.guide-steps strong { font-size: 11px; }
.guide-steps small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.dialog-actions { margin-top: 20px; display: flex; justify-content: flex-end; gap: 8px; }
.feedback-form { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feedback-form .field:first-child { grid-column: 1 / -1; }
.feedback-form .field:last-child { grid-column: 1 / -1; }
.feedback-form .field textarea { min-height: 105px; }
.field select { width: 100%; height: 43px; border: 1px solid #dfd8cd; border-radius: 10px; padding: 0 36px 0 12px; color: var(--ink); background: #fff; font-size: 11px; }

@media (max-width: 1100px) {
  .sidebar { width: 218px; }
  .main-area { margin-left: 218px; }
  .page-content { padding-left: 24px; padding-right: 24px; }
  .hero { padding: 42px 35px; }
  .agent-grid { grid-template-columns: repeat(3, 1fr); }
  .workspace-layout { grid-template-columns: 170px minmax(270px, 1fr); }
  .inspector-panel { grid-column: 1 / -1; }
  .admin-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .sidebar { width: 264px; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 20px 0 50px rgba(0,0,0,.2); }
  .nav-open .sidebar { transform: translateX(0); }
  .nav-backdrop { position: fixed; z-index: 25; inset: 0; border: 0; background: rgba(25,25,24,.45); }
  .nav-open .nav-backdrop { display: block; }
  .main-area { margin-left: 0; }
  .topbar { height: 65px; padding: 0 20px; }
  .topbar .mobile-menu { display: grid; margin-right: 12px; }
  .page-heading { flex: 1; }
  .page-heading p { display: none; }
  .page-content { padding: 20px 20px 80px; }
  .hero { grid-template-columns: 1fr; padding: 38px 32px; }
  .hero-visual { display: none; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-grid, .home-agents { grid-template-columns: repeat(2, 1fr); }
  .creator-layout { grid-template-columns: 1fr; }
  .project-summary { order: -1; }
  .project-summary dl { display: grid; grid-template-columns: repeat(3, 1fr); }
  .project-summary .notice-box, .project-summary .button { display: none; }
  .workspace-layout { grid-template-columns: 1fr; }
  .workflow-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .workflow-panel h3 { grid-column: 1 / -1; }
  .workflow-row { flex-direction: column; text-align: center; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  :root { --radius: 14px; }
  html { scrollbar-gutter: stable; }
  body, .app-shell, .main-area { max-width: 100%; }
  body { background: #f8f5ef; }
  .topbar { height: 60px; padding: 0 14px; }
  .page-heading h1 { font-size: 17px; }
  .top-actions .status-pill { display: none; }
  .guide-button { width: 44px; min-width: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .guide-button span { display: none; }
  .page-content { padding: 14px 14px calc(136px + env(safe-area-inset-bottom)); }
  .mobile-tabbar { position: fixed; z-index: 22; left: 0; right: 0; bottom: 0; height: calc(70px + env(safe-area-inset-bottom)); padding: 7px 5px max(6px, env(safe-area-inset-bottom)); border-top: 1px solid #ddd2c3; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,253,249,.97); box-shadow: 0 -8px 24px rgba(59,43,21,.07); backdrop-filter: blur(16px); }
  .mobile-tabbar button { min-width: 0; min-height: 48px; border: 0; display: grid; place-items: center; align-content: center; gap: 4px; color: #68645d; background: none; font-size: 11px; font-weight: 550; }
  .mobile-tabbar button.active { color: #a75f10; font-weight: 700; }
  .keyboard-open .mobile-tabbar { display: none; }
  .keyboard-open .feedback-entry { display: none; }
  .keyboard-open .page-content { padding-bottom: 28px; }
  .keyboard-open .topbar { position: static; height: 50px; }
  .keyboard-open .top-actions { display: none; }
  .button { min-height: 48px; padding-inline: 18px; border-radius: 12px; font-size: 14px; }
  .icon-button { min-width: 44px; width: 44px; min-height: 44px; height: 44px; }
  .hero { min-height: auto; padding: 29px 22px; border-radius: 18px; }
  .hero h2 { margin-top: 14px; font-size: 35px; }
  .hero-copy > p { font-size: 14px; line-height: 1.75; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: 10px; }
  .first-use-strip { align-items: flex-start; }
  .first-use-strip small { font-size: 11px; line-height: 1.5; }
  .first-use-strip .text-button { flex: 0 0 auto; min-height: 44px; font-size: 0; }
  .first-use-strip .text-button .icon { width: 20px; height: 20px; }
  .section-block { margin-top: 25px; }
  .quick-grid { gap: 8px; }
  .quick-card { min-height: 104px; padding: 13px; align-items: flex-start; flex-wrap: wrap; }
  .quick-card > .icon { margin-left: auto; }
  .quick-card > span:nth-child(2) { flex-basis: calc(100% - 60px); }
  .agent-grid, .home-agents { grid-template-columns: 1fr; }
  .quick-card strong { font-size: 14px; }
  .quick-card small { font-size: 12px; line-height: 1.5; }
  .agent-card { min-height: 230px; padding: 18px; }
  .agent-card h4 { font-size: 17px; }
  .agent-card p { font-size: 13px; line-height: 1.7; }
  .agent-category, .agent-card-footer { font-size: 11px; }
  .tag { padding: 5px 9px; font-size: 10px; }
  .intro-banner { padding: 23px 20px; }
  .intro-banner h2 { font-size: 21px; }
  .intro-banner p { font-size: 13px; line-height: 1.7; }
  .banner-symbol { display: none; }
  .filter-panel { padding: 11px; grid-template-columns: minmax(0, 1fr); }
  .search-box, .filter-rows, .filter-row, .category-chips { min-width: 0; max-width: 100%; }
  .search-box { width: 100%; min-height: 48px; }
  .search-box input { font-size: 16px; }
  .category-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .filter-row { align-items: flex-start; }
  .filter-row > span { width: 34px; padding-top: 13px; font-size: 12px; }
  .category-chips::-webkit-scrollbar { display: none; }
  .chip { min-height: 44px; padding: 0 14px; flex: 0 0 auto; font-size: 12px; }
  .creator-header { margin-bottom: 10px; padding: 13px 14px; align-items: flex-start; }
  .workspace-bar { padding: 18px; align-items: flex-start; }
  .creator-header .eyebrow { display: none; }
  .creator-header h2 { margin: 0 0 3px; font-size: 21px; }
  .workspace-bar h2 { font-size: 22px; }
  .creator-header p { font-size: 13px; line-height: 1.55; }
  .workspace-bar p { font-size: 12px; line-height: 1.6; }
  .creator-header .button { width: 44px; min-width: 44px; min-height: 44px; padding: 0; font-size: 0; }
  .stepper { min-height: 66px; margin-bottom: 10px; padding: 8px 7px; justify-content: space-between; }
  .step { flex: 0 0 auto; flex-direction: column; gap: 5px; text-align: center; }
  .step > span { width: 34px; height: 34px; }
  .step > div small { display: none; }
  .step b { color: #777168; font-size: 12px; font-weight: 650; }
  .step.active b { color: #9f5e15; }
  .stepper > i { margin: 0 3px; }
  .creator-layout { gap: 10px; }
  .project-summary { order: 0; }
  .work-panel { min-height: 430px; padding: 16px 15px; }
  .panel-heading { margin-bottom: 15px; }
  .panel-heading h3 { font-size: 18px; }
  .panel-heading p { color: #68635b; font-size: 13px; line-height: 1.55; }
  .idea-form { display: flex; flex-direction: column; }
  .idea-field { order: -1; }
  .field { scroll-margin-top: 72px; }
  .field > span { font-size: 13px; }
  .field > span em { font-size: 11px; }
  .field input, .field textarea { border-radius: 12px; font-size: 16px; }
  .field input { height: 50px; padding-inline: 14px; }
  .field textarea { min-height: 190px; padding: 14px; }
  .prompt-tips { gap: 8px; }
  .prompt-tips span { width: 100%; font-size: 12px; }
  .prompt-tips button { min-height: 42px; padding: 0 12px; font-size: 12px; }
  .step-actions { gap: 9px; padding-top: 18px; }
  .step-actions .button { min-width: 132px; }
  .project-summary { padding: 13px; }
  .project-summary dl { margin-bottom: 0; }
  .summary-head { padding-bottom: 11px; }
  .summary-head small { font-size: 11px; }
  .summary-head strong { font-size: 13px; }
  .project-summary dt, .project-summary dd { font-size: 12px; }
  .project-summary dt { color: #706a62; }
  .status-text { color: #4f7959; }
  .notice-box p { font-size: 12px; }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .upload-zone { min-height: 250px; padding: 22px 14px; text-align: center; }
  .upload-zone strong { font-size: 16px; }
  .upload-zone small { max-width: 300px; font-size: 12px; line-height: 1.6; }
  .upload-actions { width: 100%; margin-top: 10px; display: grid; grid-template-columns: 1fr; gap: 9px; }
  .upload-button { width: 100%; min-height: 48px; font-size: 14px; }
  .desktop-drop-hint { display: none; }
  .asset-head strong { font-size: 14px; }
  .asset-head span { font-size: 11px; }
  .asset-empty { min-height: 110px; font-size: 12px; }
  .asset-item img, .asset-item video { height: 120px; }
  .asset-item strong { font-size: 12px; }
  .asset-item small { font-size: 10px; }
  .asset-item > button { width: 44px; height: 44px; }
  .media-type { padding: 5px 7px; font-size: 10px; }
  .review-card p { max-width: 100%; padding-top: 18px; }
  .review-card { padding: 16px; }
  .review-card > span { font-size: 11px; }
  .review-card strong { font-size: 14px; }
  .review-card p { font-size: 13px; }
  .review-card button { min-width: 44px; min-height: 44px; top: 4px; right: 6px; font-size: 11px; }
  .coming-panel > div { width: 100%; display: grid; }
  .workspace-bar { display: grid; }
  .workspace-bar .button { width: 100%; }
  .workflow-panel { padding: 12px 7px; }
  .workflow-row { min-height: 64px; padding: 5px 2px; }
  .workflow-row strong { font-size: 11px; }
  .workflow-row small { display: none; }
  .preview-stage { padding: 12px; }
  .phone-preview { width: min(100%, 220px); }
  .preview-toolbar strong { font-size: 14px; }
  .preview-toolbar span { font-size: 11px; }
  .projects-heading { display: grid; align-items: start; }
  .projects-heading .button { width: 100%; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .stat-grid > div { padding: 10px 6px; justify-content: center; text-align: center; }
  .stat-grid > div > span { display: none; }
  .stat-grid p { font-size: 11px; }
  .stat-grid strong { font-size: 20px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-body h3 { font-size: 16px; }
  .project-body p { height: auto; min-height: 42px; font-size: 12px; }
  .project-meta { font-size: 11px; }
  .admin-banner { align-items: flex-start; }
  .admin-card { padding: 15px; }
  .admin-card-head h3 { font-size: 15px; }
  .admin-card-head p, .admin-list span, .provider-list strong { font-size: 11px; }
  .provider-list small, .provider-list em { font-size: 10px; }
  .capability-grid { grid-template-columns: 1fr; }
  .security-panel { padding: 14px; }
  .toast-region { left: 14px; right: 14px; top: 12px; }
  .toast { width: 100%; min-width: 0; }
  .feedback-entry { right: 12px; bottom: calc(79px + env(safe-area-inset-bottom)); min-height: 44px; padding: 0 13px; font-size: 12px; }
  .dialog-layer { padding: 0; place-items: end center; }
  .welcome-dialog, .feedback-dialog { width: 100%; max-height: 92svh; padding: 25px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
  .welcome-dialog h2, .feedback-dialog h2 { font-size: 23px; }
  .welcome-lead, .feedback-lead { font-size: 13px; }
  .guide-steps strong { font-size: 14px; }
  .guide-steps small { font-size: 12px; line-height: 1.5; }
  .feedback-form { grid-template-columns: 1fr; }
  .feedback-form .field:first-child, .feedback-form .field:last-child { grid-column: auto; }
  .feedback-form .field textarea { min-height: 116px; }
  .field select { height: 50px; border-radius: 12px; font-size: 16px; }
  .dialog-actions { display: grid; grid-template-columns: .8fr 1.2fr; }
  .dialog-actions .button { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (pointer: coarse) {
  .button, .chip, .upload-button { min-height: 48px; }
  .icon-button, .agent-card-footer button { min-width: 44px; width: 44px; min-height: 44px; height: 44px; }
  .nav-item { min-height: 48px; }
  input, textarea { font-size: 16px; }
}
