/* Shared Harugyeol interface, September 2026. Account and record behavior is unchanged. */
:root{--paper:#f5f7fb;--white:#fff;--ink:#172238;--muted:#5e6c82;--line:#dce3ee;--green:#295bea;--pale:#eaf0ff;--apricot:#eaf0ff;--accent:#295bea;--navy:#101d36;color:var(--ink);background:var(--paper);font-family:var(--hg-font, sans-serif)}
body{background:var(--paper);color:var(--ink);word-break:keep-all}h1,h2,h3{font-weight:700;letter-spacing:-.04em}a{color:inherit;text-underline-offset:4px}:focus-visible{outline:3px solid #577aff;outline-offset:4px}input,textarea,select{background:#fff;border-color:#c3cfe1;border-radius:8px}input::placeholder,textarea::placeholder{color:#6e7c92}.button,.cta{background:var(--accent);color:#fff;border-radius:8px;min-height:46px;font-size:13px;font-weight:700}.button:hover,.cta:hover{background:#1947ce}.button.secondary{background:#fff;border-color:#ccd6e5;color:var(--ink)}.button.secondary:hover{background:#edf2ff}.button.quiet{background:#eaf0ff;color:#284fc0}.button.quiet:hover{background:#dce7ff}.button.link-button{background:transparent;color:var(--accent);font-size:12px}.button.danger{background:#f5e8e3;color:var(--red)}.button.danger:hover{background:#efd6cd}.button.small{min-height:36px;font-size:12px}.eyebrow{color:var(--accent);letter-spacing:.12em}.panel{background:white;border-color:var(--line);border-radius:12px}.brand-mark{background:none;color:var(--ink);border-radius:0;font-family:inherit;flex-shrink:0;width:36px;height:38px}.brand-mark svg{width:100%;height:100%}.brand-mark svg .brand-accent{fill:var(--accent)}
/* One identity from the introduction site through registration and account recovery. */
.service-shell{max-width:1200px;padding:25px 40px 24px}.service-shell>header{min-height:58px;padding-bottom:22px;border-bottom:1px solid var(--line)}.service-brand{gap:10px;flex-wrap:wrap}.service-brand strong{font-size:23px;letter-spacing:-.04em}.service-brand span:not(.brand-mark):not(.edition-tag){color:var(--muted);font-size:10px}.edition-tag{border:1px solid #cddafa;background:#eaf0ff;color:#2952b4;font-size:10px;padding:4px 9px;margin-left:6px}.app-home-link{font-size:12px;color:var(--muted);text-decoration:none;white-space:nowrap}.app-home-link:hover{color:var(--accent)}.service-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start;margin:36px 0 30px}.service-story{background:var(--navy);border-radius:18px;min-height:0;padding:35px;color:white;position:sticky;top:25px}.service-story .story-number{text-align:left;font-size:10px;color:#bacff5;letter-spacing:.13em}.service-story h2{font-size:32px;line-height:1.5;margin:24px 0 25px;letter-spacing:-.04em}.auth-preview{background:white;color:var(--ink);border-radius:12px;padding:23px;margin:0}.auth-preview .preview-label{font-size:10px;color:#71819a;display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:16px;gap:14px}.auth-preview h3{font-size:16px;margin:0 0 12px}.auth-preview>p{font-size:13px;color:#465975;line-height:1.9}.auth-next{background:#295bea;border-radius:9px;padding:16px;margin-top:18px;color:#fff;font-size:12px;line-height:1.85}.auth-next strong{display:block;font-size:10px;margin-bottom:6px;color:#d7e3ff}.auth-preview .preview-end{font-size:10px;color:#657797;border-top:1px solid var(--line);padding-top:13px;margin-top:18px}.service-story>p:not(.story-number){font-size:12px;color:#becce5;margin-top:23px;line-height:1.9}.service-story .story-mark{border-color:#ffffff30;color:#9eb6db;font-size:9px;margin-top:22px;padding-top:17px}.service-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:31px 32px;max-width:none;box-shadow:0 8px 28px #10254904}.service-card .eyebrow{font-size:10px;margin-bottom:14px}.service-card h1{font-size:29px;line-height:1.4}.service-intro{font-size:13px;line-height:1.8;color:var(--muted);margin:14px 0 24px}.service-form{gap:15px}.service-form .field{gap:7px}.service-form label{font-size:12px}.service-form .field input{min-height:45px;background:#fdfdff;border-color:#c5d1e3;font-size:15px}.service-form>.button{min-height:48px;font-size:14px}.service-terms{background:#f0f4fc;color:#4a607f;border-radius:7px;font-size:11px;padding:12px 14px}.service-terms summary{min-height:20px}.auth-help{font-size:12px;color:var(--muted);line-height:1.8}.auth-links .button{font-size:11px;min-height:36px}.password-toggle{min-height:44px}.service-shell>footer{font-size:11px;color:var(--muted);padding-top:19px}.service-shell>footer .link-button{color:var(--accent)}
/* Account workspaces share the same navigation, writing surfaces and states. */
.sidebar{background:var(--navy);color:#e6ecf8;border-color:var(--navy);padding:29px 17px 20px}.sidebar .brand{color:#fff;padding:0 9px}.sidebar .brand-mark{color:#fff;width:31px;height:35px}.sidebar .brand-mark .brand-accent{fill:#92afff}.brand-name{font-size:23px}.brand-sub{color:#a9bddf;font-size:8px;letter-spacing:.13em}.sidebar-caption{color:#8ea6cb;margin-top:37px;font-size:9px}.nav-button{color:#becce4;font-size:13px;padding:12px 13px;border-radius:8px;min-height:45px}.nav-button:hover{background:#1d3053;color:#fff}.nav-button.active{background:#295bea;color:#fff}.nav-button.active::after{background:#bcd0ff}.sidebar-note{color:#a7b9d6;font-size:11px}.sidebar-footer{border-color:#2b4063}.topbar{background:white;border-color:var(--line);height:78px;padding:0 34px}.edition-badge,[data-edition=business] .edition-badge{background:#f0f4ff;color:#2952b4;border-color:#d5e0fa}.edition-badge span{color:var(--muted)}.top-status{color:var(--muted)}.avatar{background:#eaf0ff;color:#295bea}.status-dot{background:#295bea}.main{padding:30px 34px 48px;max-width:1250px}.main>.hero{min-height:0;grid-template-columns:1fr;margin:0 0 26px;gap:0}.main>.hero .hero-art{display:none}.hero h1{font-size:33px;line-height:1.4;font-weight:700}.hero h1 em{color:var(--accent)}.hero-description{color:var(--muted);font-size:13px;margin-top:12px}.composer{border-color:#c6d4f1;padding:24px 26px 18px}.composer-heading{color:#4d668f;font-size:12px}.composer textarea{font-size:17px;min-height:180px}.composer textarea::placeholder{color:#6e7c92}.composer-bottom{border-color:var(--line)}.composer-tools,.save-status{color:var(--muted)}.composer .button{min-height:46px;padding:12px 22px}.capture-help{margin-top:16px}.gentle-note{color:var(--muted)}.workspace-notice{background:#edf2ff;border-color:#dce6fc;color:#415f99;border-radius:8px}.workspace-notice .button.quiet{background:#fff}.subtle-button{color:#47618f}.subtle-button:hover{color:var(--accent)}.entry-card,.settings-panel,.ai-create,.ai-editor,.ai-saved,.ai-sources{border-radius:12px}.notice{background:#edf2ff;color:#415f99}.notice.warning{background:#fff3df;color:#805923}.notice.error{background:#faeae6;color:var(--red)}.status-pill{background:#eaf0ff;color:#2952b4}.status-pill.accepted{background:#e4edff;color:#2952b4}.status-pill.pending,.status-pill.deferred{background:#fff3df;color:#805923}.status-pill.changes{background:#f7e9df;color:#985929}.tabs{background:#eaf0ff}.tab.active{background:white;color:var(--accent)}.empty-state,.report-empty{color:var(--muted)}.ai-entry,.bottom-banner,.record-next-step{background:#eaf0ff;border-color:#d3dffc}.company-code,.import-drop{background:#edf2ff}.company-logo{background:#fff;border-color:var(--line);color:var(--accent)}.company-switch:hover{background:#edf2ff}.account-label,.company-switch small,.company-profile p{color:var(--muted)}.toast{background:var(--navy);color:white}dialog{background:#fff;border-color:var(--line);border-radius:14px}dialog::backdrop{background:#10203980}
/* The app's own entry page uses the same palette and logo as the public introduction. */
.landing-app{background:var(--paper);color:var(--ink)}.landing-app header{border-bottom:1px solid var(--line)}.landing-app .mark{background:none;color:var(--ink);width:36px;height:38px}.landing-app .mark svg{width:100%;height:100%}.landing-app .mark .brand-accent{fill:var(--accent)}.landing-app .hero{padding-top:42px}.landing-app h1{font-size:clamp(34px,4.5vw,54px);font-weight:700}.landing-app .intro,.landing-app .section-heading>p:last-child,.landing-app .products p,.landing-app .steps p,.landing-app small,.landing-app .footnote{color:var(--muted)}.landing-app .eyebrow,.landing-app .number,.landing-app .example-label{color:var(--accent)}.landing-app .products article,.landing-app .examples article{background:#fff;border-color:var(--line);border-radius:14px}.landing-app .products article.business,.landing-app .join-card{background:#eaf0ff;border-color:#d3dffc}.landing-app .cta{border-color:var(--accent);background:var(--accent);color:white}.landing-app .cta:hover{background:#1947ce}.landing-app .cta.secondary{background:white;color:var(--ink);border-color:#c7d5ee}.landing-app .next-step{background:var(--navy);color:white}.landing-app .next-step p{color:#c2d0e6}.landing-app .step-number{background:#eaf0ff;color:#295bea}.landing-app blockquote{background:#edf2ff;border-color:#295bea}.landing-app .result,.landing-app footer{border-color:var(--line)}.landing-app footer{color:var(--muted)}
@media(max-width:1080px){.service-shell{padding:24px 30px}.service-layout{gap:30px}.service-story{padding:28px}.service-story h2{font-size:28px}.service-card{padding:27px}.service-card h1{font-size:27px}.main{padding:28px}.topbar{padding:0 28px}.hero h1{font-size:29px}}
@media(max-width:760px){.service-shell{padding:22px 22px 24px;max-width:610px}.service-shell>header{padding-bottom:20px}.service-brand strong{font-size:21px}.service-brand .edition-tag{font-size:9px;margin-left:0}.service-layout{display:block;margin:26px 0 24px}.service-story{display:none}.service-card{padding:28px;max-width:none}.service-card h1{font-size:28px}.service-intro{font-size:13px}.service-form .field input{font-size:16px}.service-shell>footer{font-size:11px}.app-home-link{font-size:11px}}
@media(max-width:710px){.sidebar{padding:24px 8px 16px}.sidebar .brand{padding:0}.sidebar .brand-mark{width:31px;height:35px}.nav-button{padding:13px 0}.main{padding:23px 20px}.topbar{padding:0 20px;height:70px}.hero h1{font-size:29px}.hero-description{font-size:12px}.composer{padding:20px}.composer textarea{font-size:16px}.composer-bottom{align-items:stretch;flex-wrap:wrap}.composer-bottom>.button{margin-left:auto}.service-alert{font-size:12px}}
@media(max-width:490px){.service-shell{padding:18px 16px}.service-shell>header{gap:12px}.service-brand{gap:8px}.service-brand strong{font-size:20px}.service-brand span:not(.brand-mark):not(.edition-tag){display:none}.service-brand .brand-mark{width:31px;height:33px}.service-card{padding:24px 21px;border-radius:13px}.service-card h1{font-size:27px}.service-form label{font-size:12px}.service-form{gap:15px}.service-intro{font-size:12px}.service-form .filter-check{font-size:11px}.auth-help{font-size:11px}.app-home-link{font-size:10px}.auth-links{gap:5px 10px}.service-shell>footer{line-height:1.8}.app-shell{display:block}.sidebar{position:static;width:100%;padding:17px 14px 10px;display:grid;grid-template-columns:1fr;gap:13px;align-items:start}.sidebar .brand{justify-self:start}.sidebar .brand-copy{display:block}.sidebar .brand-name{font-size:21px}.sidebar .brand-sub{display:none}.sidebar .brand-mark{width:28px;height:31px}.sidebar .nav{margin:0;display:flex;overflow-x:auto;gap:5px;width:100%;padding-bottom:6px}.sidebar .nav-button{width:auto;padding:9px 10px;min-height:42px;gap:7px;flex-shrink:0;font-size:11px}.sidebar .nav-label{display:inline}.sidebar .nav-button svg{width:15px;height:15px}.sidebar .sidebar-footer{border:0;padding:0;margin:0}.sidebar-footer .nav-button{padding:4px 8px;min-height:32px;color:#b4c6e3}.sidebar-footer .nav-button svg{width:14px;height:14px}.workspace{grid-column:auto}.main{padding:22px 17px 34px}.topbar{padding:0 17px;height:62px;gap:9px}.hero h1{font-size:27px}.main>.hero{margin-bottom:22px}.composer{padding:20px 18px}.composer textarea{min-height:185px}.composer-tools{font-size:11px}.composer-bottom .button{width:100%;margin:4px 0 0}.workspace-notice{font-size:11px}.toast{left:50%;max-width:calc(100vw - 32px)}.page-heading h1{font-size:28px}.landing-app header{flex-wrap:wrap;gap:15px}.landing-app header nav{font-size:12px}}
@media(max-width:350px){.service-shell{padding:16px 12px}.service-card{padding:22px 18px}.service-brand strong{font-size:19px}.service-brand{gap:6px}.service-card h1{font-size:25px}.edition-tag{padding:3px 6px}.main{padding-left:14px;padding-right:14px}.hero h1{font-size:25px}.topbar{padding:0 14px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.report-periods .button[aria-pressed="true"]{background:var(--pale);border-color:var(--accent);color:var(--accent)}
/* Small, optional guidance; existing records and account forms keep their flow. */
.first-use-guide{margin:0 0 20px;padding:17px 20px;border:1px solid var(--line);border-radius:12px;background:var(--white);font-size:12px;line-height:1.7}.first-use-guide>summary{cursor:pointer;font-size:14px;font-weight:700;color:var(--ink);min-height:28px}.first-use-storage{display:flex;align-items:flex-start;gap:8px;margin:12px 0;color:var(--muted)}.first-use-storage>svg{flex-shrink:0;margin-top:3px}.first-use-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0;padding:0;list-style:none;counter-reset:activation}.first-use-steps>li{counter-increment:activation;padding:12px;border-radius:8px;background:var(--pale);min-width:0}.first-use-steps strong{display:block;color:var(--ink);margin-bottom:5px}.first-use-steps strong::before{content:counter(activation) '. ';color:var(--accent)}.first-use-steps span,.first-use-footnote{color:var(--muted)}.first-use-footnote{font-size:11px;margin:10px 0 0}.activation-actions{flex-wrap:wrap;justify-content:flex-start;gap:8px}.record-next-step{align-items:flex-start;flex-wrap:wrap}.record-next-step .activation-actions{flex:1 1 100%}.example-card>.button{margin-top:12px}.report-empty>.button{margin-top:10px}.team-inquiry-note{display:flex;gap:10px 18px;flex-wrap:wrap;justify-content:space-between;padding:8px 4px;font-size:12px;color:var(--muted);line-height:1.8}.team-inquiry-note>a{color:var(--accent);font-weight:600}.team-inquiry-note .tiny-label{font-size:10px}
@media(max-width:620px){.first-use-guide{padding:15px 17px}.first-use-steps{grid-template-columns:1fr;gap:7px}.first-use-steps>li{padding:9px 12px}.first-use-steps strong{margin-bottom:2px}.activation-actions .button{flex:1 1 auto}.team-inquiry-note{display:block}.team-inquiry-note>a{display:inline-block;margin-top:7px}}
@media print{.sidebar,.topbar,.service-story{display:none!important}.app-shell{display:block}.workspace{margin:0}.main{padding:0}.panel{box-shadow:none}}

/* Primary recording action stays before optional tools. */
.composer-optional { border-top: 1px solid var(--line, #e1e4db); padding-top: 12px; margin-top: 12px; }
.composer-optional > summary { cursor: pointer; color: var(--muted, #59634f); font-size: 13px; }
.composer-optional > summary span { margin-left: 8px; font-size: 11px; }
#composer-error:empty, #draft-recovery-actions:empty { display: none; }
#draft-recovery-actions .inline-actions { flex-wrap: wrap; }
@media (max-width: 600px) {
  body:has(#composer-form) .hero { padding-top: 14px; padding-bottom: 12px; min-height: 0; }
  body:has(#composer-form) .hero h1 { font-size: 26px; line-height: 1.3; }
  body:has(#composer-form) .hero-description { margin-top: 10px; font-size: 13px; }
  body:has(#composer-form) .hero-art { display: none; }
  #composer-form { padding: 16px; }
  #composer-form .quick-entry { margin-bottom: 10px; }
  #composer-form .quick-entry-chips { gap: 5px; }
  #composer-form .quick-entry-chips button { padding: 7px 10px; min-height: 34px; }
  #composer-form #composer { min-height: 110px; }
  #composer-form .composer-bottom { margin-top: 12px; gap: 8px; }
  #composer-form .composer-bottom > .button { min-height: 44px; }
  #composer-form .shortcut-hint { display: none; }
  #composer-form .save-status { margin-top: 10px; line-height: 1.55; }
}

.composer-prompts { margin-bottom: 14px; }
.composer-prompts > summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.composer-prompts > summary span { margin-left: 6px; font-size: 11px; }
.composer-prompts[open] > summary { margin-bottom: 12px; }
.draft-other-copies > button { display: block; width: 100%; margin-top: 8px; text-align: left; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 490px) {
  body:has(#composer-form) .sidebar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-top: 12px; }
  body:has(#composer-form) .sidebar .nav { grid-column: 1 / -1; grid-row: 2; }
  body:has(#composer-form) .sidebar-footer { grid-column: 2; grid-row: 1; align-self: center; width: auto; }
  body:has(#composer-form) .sidebar-footer .nav-button { flex-direction: row; }
  body:has(#composer-form) .topbar { height: 52px; }
  body:has(#composer-form) .main > .hero { padding: 0; margin-bottom: 14px; }
  body:has(#composer-form) .hero h1 { font-size: 21px; line-height: 1.4; }
  body:has(#composer-form) .hero h1 br { display: none; }
  body:has(#composer-form) .hero-description { display: none; }
  body:has(#composer-form) #service-alert.workspace-notice { flex-direction: row; align-items: center; gap: 8px; padding: 8px 10px; }
  body:has(#composer-form) #service-alert.workspace-notice > span { flex: 1; min-width: 0; }
  body:has(#composer-form) #service-alert.workspace-notice > .button { min-height: 36px; padding: 7px; flex-shrink: 0; }
  #composer-form .composer-bottom { flex-wrap: nowrap; align-items: center; }
  #composer-form .composer-bottom > .button { width: auto; margin: 0; padding: 10px 14px; }
}

/* Record first: one writing surface, results beside it, compact mobile order. */
.record-workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:28px;align-items:start}
.record-main,.record-side,.record-recent{min-width:0}.record-page-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px}.record-page-heading h1{font-size:27px;margin:0}.record-page-heading time{font-size:12px;color:var(--muted);white-space:nowrap}
.record-main .composer{margin:0;padding:22px}.record-main .composer textarea{min-height:220px}.record-input-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.record-side{display:grid;gap:22px;padding-top:5px}.record-output{padding:20px}.record-output h2,.record-recent h2{font-size:16px;margin:0}.record-output-actions{display:grid;gap:9px;margin-top:16px}.record-output .button{justify-content:flex-start;min-height:44px;width:100%}.record-recent>header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.record-recent h2 span{color:var(--muted);font-size:12px;font-weight:500;margin-left:6px}.record-recent-list{display:grid;gap:10px}.record-recent .entry-card{padding:16px}.record-recent .entry-card h3{font-size:14px}.record-recent .entry-body{font-size:12px}.record-empty{padding:20px}.record-empty p{font-size:13px;color:var(--muted);margin:0 0 12px}.record-side .first-use-guide{margin:0;padding:14px}.record-side .first-use-steps{grid-template-columns:1fr}.save-status:empty{display:none}.workspace-refresh{white-space:nowrap}.record-workspace .button:disabled{opacity:.55;cursor:default}.record-workspace button{touch-action:manipulation}.record-workspace textarea{scroll-margin-top:24px}.record-workspace h1,.record-workspace h2{text-wrap:balance}
@media(max-width:1000px){.record-workspace{grid-template-columns:minmax(0,1fr)}.record-side{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding-top:0}.record-recent{grid-column:1}.record-output{grid-column:2;grid-row:1}.record-side .first-use-guide{grid-column:1/-1}.record-page-heading h1{font-size:25px}}
@media(max-width:600px){.record-workspace{gap:20px}.record-side{display:flex;flex-direction:column;gap:20px}.record-output{order:0}.record-recent{order:1}.record-page-heading{margin-bottom:12px}.record-page-heading h1{font-size:23px}.record-page-heading time{font-size:11px}.record-main .composer{padding:16px}.record-main #composer{min-height:145px}.record-output{padding:16px}.record-output-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.record-output-actions .button{justify-content:center;font-size:12px;padding:10px 8px}.record-main .composer-prompts{margin-bottom:12px}.record-input-tools .button{min-height:40px}.record-main .save-status{font-size:11px}.record-page-heading{flex-wrap:wrap}.record-workspace .draft-safety-actions .button{min-height:44px}.record-workspace .entry-card-footer{gap:7px}.workspace-refresh{min-height:40px}.record-main .composer-bottom>.button{min-height:46px}}

.record-workspace .icon-button,.record-workspace .subtle-button{min-width:44px;min-height:44px}.record-workspace .subtle-button{padding:8px}.record-input-tools .button,.service-header .workspace-refresh,.service-header .account-button{min-height:44px;min-width:44px}.record-workspace summary{min-height:44px;padding-block:12px;box-sizing:border-box}.record-workspace .first-use-guide>summary{display:list-item;padding:10px 0}.record-workspace .quick-entry-extra{padding-top:4px}.record-workspace .composer-prompts{margin-bottom:4px}
.record-workspace .button,#composer-form .quick-entry-chips button{min-height:44px;min-width:44px}

/* Signed-in personal help belongs in the menu, never over a record action. */
body:has(.app-shell[data-edition="personal"]) #hg-notice-launcher{display:none!important}
.app-shell[data-edition="personal"] .nav-more-list .nav-button{min-height:44px}
