/* Retains the existing midnight/gold design; DOM order matches the visible reading order. */
#dashboard { padding-top: 20px; }
body[data-mode="workspace"] .workspace-heading { display: none; }
.workspace-content #ma.hero { padding: 16px 26px; margin-bottom: 18px; }
/* The article supplies the visible title; preserve the page heading for assistive readers. */
.workspace-content #ma.hero h1 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#ma .hero-date { display: none; }
#ma .hero-summary { margin: 0; font-size: .82rem; line-height: 1.65; }
#horoszkop, #horoszkop * { box-sizing: border-box; }
#horoszkop { overflow-wrap: anywhere; }
#horoszkop [hidden] { display: none !important; }
#horoszkop .hr-shell { padding: clamp(18px, 3vw, 34px); border: 1px solid #dfbd8538; border-radius: 14px; background: linear-gradient(140deg, #1d2130, #141927); }
.hr-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 15px; }
.hr-tabs { display: inline-flex; gap: 4px; background: #101421; padding: 5px; border: 1px solid #dfbd8530; border-radius: 10px; }
.hr-tabs button { border: 0; border-radius: 7px; background: transparent; color: #d2d0d5; padding: 10px 16px; min-height: 44px; font: 500 .9rem/1.4 system-ui, sans-serif; cursor: pointer; }
.hr-tabs button[aria-selected="true"] { background: #dfbd85; color: #171b2b; }
#horoszkop button:focus-visible, #horoszkop summary:focus-visible, #horoszkop a:focus-visible { outline: 2px solid #dfbd85; outline-offset: 4px; }
.hr-date-short { display: none; }
.hr-archive { max-width: 100%; padding-top: 9px; }
.hr-archive summary { color: #d9c19b; cursor: pointer; font-size: .85rem; min-height: 38px; padding: 4px; }
.hr-archive form { display: grid; gap: 8px; max-width: 100%; padding-top: 6px; }
.hr-archive label { font-size: .8rem; color: #d2d0d5; }
.hr-date-inputs { display: flex; flex-wrap: wrap; gap: 8px; }
.hr-date-inputs input { min-width: 0; max-width: 100%; width: 172px; font: inherit; font-size: 16px; color-scheme: dark; }
.hr-calendar { padding: 16px 0 18px; margin-bottom: 23px; border-bottom: 1px solid #dfbd8524; }
#hr-period-date { display: block; color: #ebe4d9; font-size: .95rem; line-height: 1.6; margin-bottom: 4px; }
#hr-view-label { font-size: .75rem; line-height: 1.6; color: #b6b3ba; }
.hr-date-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 7px; }
.hr-date-nav button { background: none; border: none; color: #dfbd85; cursor: pointer; min-height: 40px; padding: 3px 0; font: 500 .78rem/1.5 system-ui, sans-serif; }
.hr-date-nav button:disabled { opacity: .35; cursor: default; }
.hr-reading-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hr-reading-header img { width: 46px; height: 46px; object-fit: contain; flex: none; }
#hr-sign-label { color: #dfbd85; font-size: .84rem; line-height: 1.5; font-weight: 500; margin: 0; }
.hr-reading-type { display: block; color: #aca9b3; font-size: .7rem; margin-top: 4px; }
#horoszkop #hr-title { font-family: var(--serif, Georgia, serif); font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 400; letter-spacing: -.025em; color: #f2e9db; line-height: 1.27; margin: 0 0 17px; }
#horoszkop .hr-opening p { font-size: 1rem; line-height: 1.85; color: #e1dce0; margin: 0 0 16px; max-width: 75ch; }
#horoszkop #hr-intro { color: #f1eae0; font-size: 1.06rem; }
#horoszkop #hr-theme { color: #dfc6a2; border-left: 2px solid #dfbd85; padding-left: 14px; margin-top: 20px; font-size: .94rem; }
.hr-life-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 30px; margin-top: 28px; padding-top: 25px; border-top: 1px solid #dfbd8524; }
#horoszkop .hr-life-area { min-width: 0; padding: 0; margin: 0; }
#horoszkop .hr-life-area h3 { display: flex; align-items: baseline; gap: 8px; font-family: var(--serif, Georgia, serif); font-size: 1.35rem; line-height: 1.3; font-weight: 400; color: #ead4b0; margin: 0 0 12px; }
.hr-life-area h3 span { font: 1rem/1 system-ui, sans-serif; color: #dfbd85; flex: none; }
#horoszkop .hr-life-area p { font-size: .93rem; line-height: 1.85; color: #d6d0d8; margin: 0; }
#horoszkop #hr-phases { margin-top: 30px; padding-top: 25px; border-top: 1px solid #dfbd8524; }
#hr-phases-title { font-family: var(--serif, Georgia, serif); color: #ead4b0; font-size: 1.5rem; margin: 0 0 18px; font-weight: 400; }
.hr-phase-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hr-phase { border-radius: 10px; background: #111724; border: 1px solid #dfbd8524; padding: 17px; min-width: 0; }
.hr-phase h4 { font-size: .9rem; color: #ead4b0; margin: 0 0 8px; }
.hr-phase p { font-size: .84rem; line-height: 1.8; color: #d6d0d8; margin: 0 0 9px; }
.hr-phase .hr-phase-date { color: #b6b3ba; font-size: .72rem; }
.hr-phase .hr-phase-focus { margin-bottom: 0; }
.hr-phase-focus strong { font-weight: 500; }
.hr-action { margin: 30px 0 20px; border-radius: 10px; padding: 20px 22px; background: #dfbd8510; border: 1px solid #dfbd8538; }
.hr-action strong { color: #dfbd85; font-weight: 500; font-size: .8rem; }
#hr-action { color: #f0e8de; font-size: 1rem; line-height: 1.75; margin: 7px 0 0; }
.hr-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0; }
.hr-links a { font-size: .82rem; color: #dfbd85; min-height: 38px; display: inline-flex; align-items: center; text-decoration: none; }
.hr-note { font-size: .73rem; line-height: 1.75; color: #b6b3ba; margin: 0 0 16px; }
.hr-method summary { color: #c5bdca; cursor: pointer; font-size: .78rem; padding: 6px 0; }
.hr-method p, .hr-method li { font-size: .78rem; line-height: 1.85; color: #b6b3ba; }
.hr-method ul { list-style: none; padding: 0; }
.hr-method li { padding: 8px 0; border-bottom: 1px solid #dfbd851a; }
.hr-method li strong { color: #e1d7c7; font-weight: 500; display: block; }
.hr-method li span { display: block; }
#hr-status:empty { display: none; }
#hr-status { font-size: .9rem; line-height: 1.8; color: #dfbd85; margin: 14px 0; }
#napi-fokusz .daily-primary { font-size: 1rem; margin: 14px 0; }
#napi-fokusz .daily-context { margin-bottom: 0; }
@media (min-width: 1021px) {
  .hr-calendar { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: center; padding: 12px 0; margin-bottom: 20px; }
  #hr-period-date { margin-bottom: 0; }
  .hr-date-nav { grid-column: 2; grid-row: 1; margin-top: 0; justify-content: flex-end; }
  #hr-view-label { grid-column: 1 / -1; grid-row: 2; padding-top: 4px; }
}
@media (max-width: 1020px) {
  .hr-phase-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  #dashboard { padding-top: 16px; }
  .workspace-sidebar { margin-bottom: 16px; }
  .workspace-content #ma.hero { padding: 13px 18px; margin-bottom: 14px; }
  #ma .hero-summary { font-size: .74rem; }
  .hr-tabs { width: auto; flex: 1; }
  .hr-tabs button { flex: 1; min-width: 44px; padding: 10px 9px; }
  .hr-controls { gap: 8px; }
  .hr-date-long { display: none; }
  .hr-date-short { display: inline; }
  .hr-archive { padding-top: 5px; }
  .hr-archive[open] { flex-basis: 100%; }
  .hr-archive summary { font-size: .8rem; min-height: 44px; padding: 12px 1px; }
  .hr-calendar { padding: 8px 0 10px; margin-bottom: 16px; }
  .hr-reading-header { gap: 10px; }
  .hr-reading-header img { width: 37px; height: 37px; }
  .hr-reading-type { font-size: .67rem; }
  #horoszkop #hr-title { font-size: 1.65rem; }
  #horoszkop .hr-opening p, #horoszkop #hr-intro { font-size: .97rem; line-height: 1.8; }
  .hr-life-areas { grid-template-columns: 1fr; gap: 25px; }
  #horoszkop .hr-life-area p { font-size: .95rem; }
  .hr-action { padding: 17px; }
}

/* 5.9: gentle editorial cards and a purely cosmetic eye-color preference. */
.profile-eye-field select { width: 100%; min-height: 46px; }
.profile-eye-field .field-hint { display: block; line-height: 1.65; margin-top: 8px; }
#horoszkop .hr-personal-note { --personal-accent: #dfbd85; border: 1px solid #dfbd8538; border-left: 3px solid var(--personal-accent); border-radius: 12px; padding: 21px 23px; margin: 24px 0 18px; background: #ffffff04; }
#horoszkop .hr-personal-note[data-eye="blue"] { --personal-accent: #9ccfea; }
#horoszkop .hr-personal-note[data-eye="green"] { --personal-accent: #b4d4a5; }
#horoszkop .hr-personal-note[data-eye="brown"] { --personal-accent: #ddb493; }
#horoszkop .hr-personal-note[data-eye="hazel"] { --personal-accent: #d4d28d; }
#horoszkop .hr-personal-note[data-eye="grey"] { --personal-accent: #c0d1d9; }
#horoszkop .hr-personal-note[data-eye="other"] { --personal-accent: #ccb7ea; }
.hr-note-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 16px; }
#horoszkop .hr-note-heading .eyebrow { font-size: .63rem; letter-spacing: .12em; }
.hr-eye-chip { font-size: .68rem; line-height: 1.6; color: var(--personal-accent); }
#horoszkop #hr-gentle-title, #horoszkop #hr-folklore-title { font-family: var(--serif,Georgia,serif); font-size: 1.4rem; line-height: 1.4; font-weight: 400; color: #f0e6d7; margin: 11px 0 9px; }
#horoszkop #hr-gentle-copy, #horoszkop #hr-gentle-question, #horoszkop .hr-folklore p { color: #dcd6df; font-size: .92rem; line-height: 1.85; margin: 0 0 10px; }
#horoszkop #hr-gentle-question { color: #f0e6d7; margin-top: 13px; }
.hr-editorial-label { color: #afa9b7; font-size: .68rem; line-height: 1.6; }
.hr-topic-links { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; }
.hr-topic-links button { border: 1px solid #dfbd852c; border-radius: 24px; background: transparent; color: #d9c6aa; padding: 9px 12px; min-height: 44px; cursor: pointer; font: 400 .75rem/1.5 system-ui,sans-serif; text-align: left; }
.hr-topic-links button:hover { background: #dfbd850c; border-color: #dfbd8560; }
.hr-life-area h3 { scroll-margin-top: 110px; }
.hr-life-area h3:focus-visible { outline: 2px solid #dfbd85; outline-offset: 5px; }
.hr-folklore { margin-top: 28px; border-top: 1px solid #dfbd8524; padding: 24px 0 0; }
#horoszkop .hr-folklore #hr-folklore-note { font-size: .73rem; color: #b6b3ba; }
#hr-folklore-source { font-size: .75rem; min-height: 44px; display: inline-flex; align-items: center; }
.hr-next-note { font-size: .8rem; line-height: 1.85; color: #d8c9b5; padding: 16px 0 0; border-top: 1px solid #dfbd8524; }
@media (max-width: 680px) {
  #horoszkop .hr-personal-note { padding: 17px 18px; }
  #horoszkop #hr-gentle-title { font-size: 1.3rem; }
  .hr-topic-links { gap: 6px; }
  .hr-topic-links button { font-size: .72rem; padding: 8px 10px; }
}

/* 5.9.1: steady, readable controls during profile saves. */
#profile-form[aria-busy="true"] [type="submit"] { opacity: .7; cursor: progress; }
.hr-life-area h3:focus { scroll-margin-top: 115px; }
#horoszkop input:focus-visible { outline: 2px solid #dfbd85; outline-offset: 3px; }

/* Optional DISC summary stays within the existing daily reader. */
.disc-settings { margin: 16px 0 8px; border: 1px solid #dfbd8538; border-radius: 10px; background: #101725; }
.disc-settings > summary { padding: 14px 16px; color: #ead4b0; font-size: .85rem; cursor: pointer; min-height: 48px; }
.disc-content { padding: 0 18px 16px; }
.disc-content p { font-size: .85rem; line-height: 1.8; color: #d6d0d8; }
.disc-content a { color: #dfbd85; text-underline-offset: 3px; }
.disc-content label { display: block; font-size: .88rem; color: #eee4d4; margin: 16px 0 8px; }
.disc-content textarea { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; resize: vertical; padding: 12px; border: 1px solid #dfbd8550; border-radius: 8px; background: #0c1320; color: #eee4d4; font: 16px/1.6 system-ui, sans-serif; }
.disc-content textarea:focus-visible { outline: 2px solid #dfbd85; outline-offset: 3px; }
.disc-content .disc-help { font-size: .76rem; color: #bdb6c4; }
.disc-content .disc-help a { text-decoration: underline; text-underline-offset: .18em; }
.disc-saved, .disc-preview { margin: 16px 0; padding: 16px; border-left: 2px solid #dfbd85; background: #dfbd850c; border-radius: 5px; }
.disc-saved strong, .disc-preview strong { color: #ead4b0; font-size: .87rem; }
.disc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.disc-actions button { border: 1px solid #dfbd8560; background: #1c2537; color: #eee4d4; border-radius: 7px; padding: 10px 15px; min-height: 46px; font: 500 .82rem/1.5 system-ui, sans-serif; cursor: pointer; }
.disc-actions #disc-save { background: #dfbd85; color: #171b2b; }
.disc-content .disc-status { color: #f0d5a7; }
.disc-status:empty { display: none; }
#horoszkop .hr-disc-note { color: #dfc6a2; font-size: .74rem; line-height: 1.7; margin: 12px 0 0; }
@media (max-width: 480px) { .disc-content { padding: 0 12px 14px; } .disc-saved, .disc-preview { padding: 12px; } .disc-actions button { width: 100%; } }

/* Early optional result input, before the first birth-data field. */
.setup-disc{min-width:0;margin:0 0 30px;padding:16px 18px 18px;border:1px solid #dfbd8550;border-radius:12px;background:#101725}
.setup-disc legend{max-width:100%;padding:0 8px;color:#ead4b0;font-size:1.12rem;font-weight:600;line-height:1.5}
.setup-disc .setup-disc-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.6}
.setup-disc .setup-disc-consent input{width:20px;min-width:20px;height:20px;margin:3px 0 0;accent-color:#dfbd85}
.setup-disc [hidden],.disc-start-prompt[hidden]{display:none!important}
#ma .disc-start-prompt{margin:0 0 24px;padding:20px;border:1px solid #dfbd8540;border-radius:12px;background:#101725}
#ma .disc-start-prompt h3{margin:8px 0;color:#ead4b0;font-size:1.25rem;line-height:1.4}
#ma .disc-start-prompt p{margin:0 0 14px;color:#d6d0d8;font-size:.88rem;line-height:1.7}
.disc-start-prompt .disc-actions{align-items:center}
.disc-start-prompt a{padding:10px 0;color:#dfbd85;font-size:.85rem;text-underline-offset:3px}
#setup-disc-check,#disc-start-open{background:#dfbd85;color:#171b2b}
@media(max-width:480px){.setup-disc{padding:12px}.setup-disc legend{font-size:1rem}#ma .disc-start-prompt{padding:16px}}
