/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
  --ink: #172d38;
  --muted: #5b6c74;
  --teal: #155e56;
  --teal-hover: #104a44;
  --navy: #17343e;
  --line: #dce3e6;
  --canvas: #edf1f3;
  --soft: #f6f8f9;
  --white: #fff;
  --focus: #007d86;
  --danger: #8f282d;
  --radius: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { color: var(--ink); background: var(--canvas); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button { transition: background-color 140ms ease, color 140ms ease; }
button:disabled { opacity: .46; cursor: not-allowed; }
button svg, a svg { flex-shrink: 0; }
button, a { touch-action: manipulation; }
a { color: var(--teal); text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
input, textarea { caret-color: var(--teal); }
::selection { color: #103a34; background: #c5e6df; }
* { scrollbar-width: thin; scrollbar-color: #a5b6bd transparent; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; -webkit-clip-path: inset(50%); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; left: 80px; top: -60px; padding: 12px 18px; background: white; }
.skip-link:focus { top: 12px; }
.app-shell { display: flex; height: 100dvh; min-height: 550px; overflow: hidden; }
.project-rail { flex: 0 0 68px; background: var(--navy); color: white; display: flex; flex-direction: column; align-items: center; padding: 19px 10px 15px; gap: 14px; }
.brand { height: 42px; font-size: 35px; font-weight: 750; line-height: 1; letter-spacing: -.04em; padding-right: 5px; }
.brand span { color: #97d1c2; }
.rail-button { width: 44px; min-height: 44px; display: grid; place-items: center; color: #c5d7de; background: transparent; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 650; }
.rail-button:not(:disabled):hover { background: #294852; color: white; }
.rail-button.selected { color: white; background: #365760; border-color: #8aa9b2; }
.add-project { color: #17343e; background: #deeee9; }
.add-project:not(:disabled):hover { background: white; color: #17343e; }
.rail-divider { width: 28px; height: 1px; background: #42606a; }
.project-list { display: flex; align-items: center; flex-direction: column; flex: 1 1; min-height: 0; overflow-y: auto; gap: 9px; width: 100%; }
.rail-help { margin-top: auto; }
.workspace { flex: 1 1; min-width: 0; display: flex; flex-direction: column; }
.app-header { min-height: 78px; padding: 0 25px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: white; border-bottom: 1px solid var(--line); }
.project-heading { display: flex; align-items: center; min-width: 0; gap: 18px; }
.project-heading > svg { color: #84969f; }
.project-heading > div { min-width: 0; }
.wordmark { font-size: 21px; font-weight: 700; letter-spacing: -.04em; }
.project-heading h1 { font-size: 14px; font-weight: 650; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.save-state { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.environment-badge { color: #496258; font-size: 11px; background: #edf4ef; border: 1px solid #d4e1d8; border-radius: 5px; padding: 4px 8px; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 14px; border-radius: var(--radius); font-size: 12px; line-height: 1.5; font-weight: 600; border: 1px solid transparent; text-decoration: none; }
.primary { background: var(--teal); color: white; }
.primary:not(:disabled):hover { background: var(--teal-hover); }
.secondary { border-color: #cbd7dc; background: white; color: var(--ink); }
.secondary:not(:disabled):hover { background: #eef4f5; }
.quiet { background: transparent; color: var(--muted); }
.quiet:not(:disabled):hover { background: var(--soft); color: var(--ink); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 6px; }
.icon-button:not(:disabled):hover { color: var(--ink); background: #e7edef; }
.editor-layout { display: grid; grid-template-columns: minmax(330px, 365px) minmax(0, 1fr); flex: 1 1; min-height: 0; }
.conversation-panel { display: flex; flex-direction: column; min-height: 0; background: white; border-right: 1px solid var(--line); }
.editor-tabs { min-height: 55px; display: flex; align-items: stretch; gap: 17px; margin: 0 23px; border-bottom: 1px solid var(--line); }
.editor-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; padding: 0 1px; font-size: 12px; }
.editor-tabs button[aria-selected="true"] { color: var(--teal); border-bottom-color: var(--teal); }
.editor-tabs button:not(:disabled):hover { color: var(--teal); }
.chat-panel { display: flex; flex-direction: column; flex: 1 1; min-height: 0; }
.conversation { overflow-y: auto; padding: 29px 24px 22px; flex: 1 1; }
.welcome h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.035em; font-weight: 650; }
.welcome > p { margin-top: 15px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.slug-field { margin-top: 27px; }
label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
input:not([type="color"]), select, textarea { color: var(--ink); border: 1px solid #c8d3d8; background: white; border-radius: 6px; width: 100%; padding: 10px 11px; min-width: 0; }
input::placeholder, textarea::placeholder { color: #657881; opacity: 1; }
textarea { resize: vertical; line-height: 1.65; }
select { cursor: pointer; padding-right: 20px; }
.slug-input { display: flex; align-items: center; position: relative; }
.slug-input svg { position: absolute; left: 12px; color: var(--muted); }
.slug-input input { padding-left: 37px; font-size: 13px; }
.field-help { color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 8px; }
.examples { margin-top: 27px; }
.examples > p { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.examples button { width: 100%; min-height: 39px; margin-top: 6px; border: 1px solid var(--line); border-radius: 7px; padding: 8px 12px; background: white; display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-size: 12px; }
.examples button:not(:disabled):hover { background: #edf5f2; border-color: #a9c8c1; }
.welcome .first-project { color: var(--muted); font-size: 11px; margin-top: 22px; }
.composer-area { padding: 15px 18px 13px; }
.composer { padding: 12px 12px 10px; border: 1px solid #bdccd2; border-radius: 12px; background: white; }
.composer:focus-within { border-color: var(--teal); }
.composer textarea { display: block; min-height: 83px; max-height: 190px; border: 0; padding: 0 2px; resize: vertical; font-size: 13px; border-radius: 0; }
.composer textarea:focus-visible { outline-offset: 4px; outline-width: 2px; }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 9px; }
.composer-bottom > span { color: var(--muted); font-size: 10px; }
.send-button { flex-shrink: 0; width: 34px; height: 34px; border-radius: 7px; border: 0; background: var(--teal); color: white; display: grid; place-items: center; }
.send-button:not(:disabled):hover { background: var(--teal-hover); }
.composer-note { margin: 9px 3px 0; color: var(--muted); font-size: 10px; line-height: 1.55; text-align: center; }
.conversation-intro { margin-bottom: 25px; }
.conversation-intro h2 { font-size: 20px; letter-spacing: -.025em; }
.conversation-intro p { color: var(--muted); font-size: 12px; margin-top: 9px; }
.change-entry { margin-bottom: 21px; }
.prompt-message { background: #f0f4f5; border-radius: 10px 10px 2px 10px; padding: 13px 15px; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.change-receipt { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 11px; margin: 11px 3px 0; color: var(--teal); }
.change-receipt time { flex-basis: 100%; padding-left: 21px; color: var(--muted); font-size: 10px; }
.undo-button { padding-left: 0; font-size: 11px; }
.working { display: flex; align-items: center; gap: 9px; margin-top: 18px; color: var(--teal); font-size: 12px; }
.spin { animation: spin 1.3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.feedback:empty { display: none; }
.feedback { padding: 0 18px 14px; max-height: 210px; overflow-y: auto; }
.error-message { background: #fff2f0; color: var(--danger); border: 1px solid #ebccc6; padding: 12px; border-radius: 8px; font-size: 11px; }
.error-message strong { font-size: 12px; }
.error-message p { margin-top: 5px; overflow-wrap: anywhere; }
.error-message button { background: transparent; border: 0; color: var(--danger); padding: 8px 0 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.notice { display: flex; align-items: flex-start; gap: 7px; color: var(--teal); font-size: 11px; }
.notice svg { flex-shrink: 0; margin-top: 1px; }
.preview-panel { min-width: 0; display: flex; flex-direction: column; background: var(--canvas); }
.preview-toolbar { height: 55px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; gap: 15px; background: #f8fafb; border-bottom: 1px solid var(--line); }
.page-picker { display: flex; align-items: center; gap: 8px; flex: 1 1; min-width: 0; color: var(--muted); }
.page-picker select { max-width: 215px; width: auto; border: 0; font-size: 11px; padding: 7px 16px 7px 0; background: transparent; text-overflow: ellipsis; }
.device-toggle { display: flex; padding: 2px; border: 1px solid #d6e0e4; border-radius: 7px; background: #edf2f4; }
.device-toggle .icon-button { width: 32px; height: 28px; }
.device-toggle button[aria-pressed="true"] { background: white; color: var(--teal); }
.preview-label { flex: 1 1; font-size: 11px; color: var(--muted); text-align: right; }
.preview-canvas { flex: 1 1; min-height: 0; min-width: 0; display: flex; justify-content: center; padding: 22px 22px 0; overflow: auto; }
.preview-canvas iframe { background: white; border: 0; width: 100%; height: 100%; min-height: 280px; border-radius: 5px 5px 0 0; box-shadow: 0 5px 22px #17343e0d; }
.preview-canvas.is-mobile iframe { width: 390px; max-width: 100%; flex-shrink: 0; border-radius: 16px 16px 0 0; }
.preview-empty { align-self: center; text-align: center; max-width: 400px; margin: 30px; }
.empty-mark { display: inline-flex; color: #708890; margin-bottom: 23px; }
.preview-empty h2 { color: #3b555f; font-size: clamp(23px, 2.25vw, 32px); line-height: 1.35; letter-spacing: -.03em; font-weight: 500; }
.preview-empty p { font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 300px; margin: 18px auto 0; }
.empty-note { display: block; font-size: 10px; color: #596d76; margin-top: 32px; }
.preview-footer { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: var(--muted); min-height: 33px; padding: 9px 23px; }
.manual-scroll { flex: 1 1; overflow-y: auto; }
.manual-editor { padding: 26px 23px; }
.panel-intro h2 { font-size: 22px; letter-spacing: -.03em; }
.panel-intro p { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 10px; }
fieldset { border: 0; margin: 25px 0 0; padding: 0; min-width: 0; }
legend { padding: 0; font-size: 13px; font-weight: 650; margin-bottom: 17px; }
.manual-editor label { margin-top: 14px; }
.manual-editor select, .manual-editor textarea { font-size: 12px; }
.manual-editor form > button { margin-top: 12px; }
.section-order { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); padding-top: 5px; }
.section-order > div { display: flex; gap: 3px; }
.color-control { display: flex; align-items: center; gap: 12px; padding: 11px; margin-top: 13px; background: var(--soft); border-radius: 6px; }
.color-control input { width: 35px; height: 32px; padding: 2px; border: 1px solid #c5d0d6; background: white; cursor: pointer; }
.color-control label { margin: 0; font-size: 12px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.color-control span { margin-left: auto; color: var(--muted); font-size: 10px; }
.full-width { width: 100%; }
.sheet { position: fixed; inset: 0 0 0 auto; margin: 0; border: 0; height: 100dvh; max-height: 100dvh; width: min(450px, 100vw); max-width: 100vw; background: white; padding: 0; color: var(--ink); box-shadow: -12px 0 40px #102d3829; }
.sheet::-webkit-backdrop { background: #102d3866; }
.sheet::backdrop { background: #102d3866; }
.sheet-inner { display: flex; flex-direction: column; min-height: 100%; }
.sheet-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.sheet-header h2 { font-size: 18px; letter-spacing: -.02em; }
.sheet-content { padding: 25px 27px; flex: 1 1; }
.sheet-description { color: var(--muted); font-size: 13px; line-height: 1.75; margin-bottom: 24px; }
.version-list, .deployment-list { margin: 0; padding: 0; list-style: none; }
.version-list li, .deployment-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.version-list li:first-child { padding-top: 0; }
.version-title { display: flex; align-items: center; gap: 10px; font-size: 13px; overflow-wrap: anywhere; }
.small-badge { font-size: 10px; color: var(--teal); background: #edf5f2; padding: 3px 7px; border-radius: 4px; }
.version-list time, .deployment-list time { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.version-list p { margin: 14px 0; font-size: 12px; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.sheet-feedback { padding: 18px 27px; color: var(--danger); font-size: 12px; background: var(--soft); }
.sheet-feedback:empty { display: none; }
.demo-notice { background: #f0f5f2; padding: 15px; border-radius: 8px; margin-bottom: 24px; font-size: 12px; color: #3b584c; }
.demo-notice p { margin-top: 7px; font-size: 12px; }
.deploy-heading { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 12px; }
.deploy-heading h3, .help-content h3 { font-size: 14px; }
.deployment-list a { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; margin-top: 14px; }
.muted { color: var(--muted); font-size: 12px; line-height: 1.75; }
.help-content p { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 10px 0 30px; }
.shell-error { max-width: 600px; margin: 15vh auto; padding: 30px; }
.shell-error p { margin: 15px 0 25px; }

@media (min-width: 1550px) {
  .editor-layout { grid-template-columns: 405px minmax(0, 1fr); }
  .conversation { padding: 38px 30px 25px; }
  .composer-area { padding: 18px 24px; }
}
@media (max-width: 1050px) {
  .app-header { padding: 0 16px; }
  .wordmark, .project-heading > svg { display: none; }
  .header-actions { gap: 5px; }
  .preview-toolbar { padding: 0 13px; gap: 8px; }
  .preview-label { display: none; }
  .preview-canvas { padding: 15px 12px 0; }
  .preview-footer { padding: 9px 13px; flex-wrap: wrap; gap: 3px; }
  .editor-layout { grid-template-columns: 325px minmax(0, 1fr); }
  .environment-badge { font-size: 10px; }
}
@media (max-width: 760px) {
  .app-shell { height: auto; min-height: 100dvh; overflow: visible; }
  .project-rail { flex-basis: 52px; padding: 17px 5px; gap: 12px; position: -webkit-sticky; position: sticky; top: 0; height: 100dvh; }
  .rail-button { width: 39px; min-height: 42px; }
  .brand { font-size: 29px; height: 36px; }
  .app-header { min-height: 78px; flex-wrap: wrap; padding: 12px 14px; gap: 10px; }
  .project-heading { flex: 1 1; }
  .project-heading h1 { max-width: 180px; font-size: 13px; }
  .header-actions { gap: 3px; }
  .header-actions .button { padding: 8px 10px; }
  .environment-badge { display: none; }
  .history-button span { display: none; }
  .editor-layout { display: flex; flex-direction: column; min-height: 0; }
  .conversation-panel { min-height: 680px; max-height: 900px; border-right: 0; border-bottom: 1px solid var(--line); }
  .editor-tabs { margin: 0 20px; }
  .conversation { padding: 28px 22px; max-height: 580px; }
  .welcome h2 { font-size: 27px; }
  .chat-panel { min-height: 540px; }
  .preview-panel { min-height: 680px; height: 85dvh; }
  .preview-canvas { min-height: 470px; }
  .preview-empty { margin: 20px; }
  .preview-empty h2 { font-size: 25px; }
  .preview-footer { min-height: 40px; }
  .manual-scroll { max-height: 700px; }
  .composer-area { padding: 15px 18px; }
  .feedback { max-height: 270px; }
  .preview-canvas.is-mobile iframe { width: min(390px, 100%); }
}
@media (max-width: 430px) {
  .header-actions { width: 100%; justify-content: flex-end; }
  .project-heading { width: 100%; }
  .app-header { gap: 3px; }
  .project-heading h1 { max-width: 235px; }
  .editor-tabs { gap: 13px; margin: 0 17px; }
  .editor-tabs button { font-size: 11px; }
  .conversation { padding: 25px 18px; }
  .composer-bottom > span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

