/* TodoChoon's approved Choonsik theme, shared by production and isolated test. */
:root {
  --blue: #77502b;
  --blue-soft: #fff0bd;
  --ink: #443225;
  --muted: #7b6854;
  --border: #ecdfc8;
  --bg: #faf7ef;
  --radius: 24px;
  --choon-yellow: #ffdb70;
  --choon-cream: #fffdf6;
  --choon-mint: #e4f1e8;
}
body { background: var(--bg); color: var(--ink); letter-spacing: -.025em; }
::selection { background: #ffe49a; color: #443225; }
a, button, input, textarea, select { outline-color: #b27b30; }
.eyebrow { color: #7b6854; }
.brand { color: #493425; }
.brand-image { border: 2px solid #fffaf0; box-shadow: 0 2px 0 #cbaf7720; }
.brand-name { letter-spacing: -.055em; }
.brand-small { color: #76592f; }
.primary { background: var(--choon-yellow); color: #4b3422; border-color: #eac15b; border-radius: 15px; box-shadow: 0 3px 0 #deb65355; font-weight: 750; }
.primary:hover { background: #ffd35a; }
.primary:active { transform: translateY(1px); box-shadow: 0 1px 0 #deb65355; }
.secondary, .small-button, .icon-button { background: #fffdf8; color: #79634d; border-color: var(--border); border-radius: 13px; }
.secondary:hover, .small-button:hover, .icon-button:hover { background: #fff4d6; }
.text-button { color: #8a602f; font-weight: 650; }
.text-button.quiet { color: #82705c; }
.test-banner { background: #eee6d6; color: #705b44; border-color: #dfd2bd; min-height: 38px; padding: 7px 18px; font-size: 12px; gap: 10px; }
.test-banner strong { font-size: 12px; background: #faf6ed; border: 1px solid #dfd2bd; border-radius: 6px; padding: 0 6px; }
.test-environment .sidebar { top: 38px; height: calc(100vh - 38px); }
.sidebar { background: #fffdf7; border-color: var(--border); width: 238px; flex-basis: 238px; padding: 30px 22px; }
.sidebar-label { color: #82705c; margin-top: 42px; }
.main-nav { gap: 8px; }
.main-nav a { color: #806b55; border-radius: 15px; padding: 13px 14px; }
.main-nav a.active { background: #ffe69c; color: #654522; box-shadow: inset 0 0 0 1px #f1cf76; }
.main-nav a.active span { font-weight: 750; }
.main-nav b { color: #795d38; background: #f5e5be; border-radius: 7px; }
.choon-sidebar-note { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 15px 10px; border-top: 1px dashed #e4d6bb; border-bottom: 1px dashed #e4d6bb; }
.choon-sidebar-note img { width: 56px; height: 56px; border-radius: 18px; }
.choon-sidebar-note span { font-size: 12px; color: #81613d; line-height: 1.8; }
.choon-sidebar-note strong { font-size: 15px; color: #705031; }
.telegram-card { background: #f6f0e3; border: 1px solid #ece0cc; border-radius: 18px; }
.telegram-icon { color: #81633d; background: #ffdf88; }
.settings-link, .mobile-settings { color: #80654a; }
.main-content { max-width: 1570px; padding: 30px 34px 20px; margin: 0 auto; }
.choon-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) 225px; gap: 18px; padding: 26px 35px; border: 1px solid #eccc7c; border-radius: 27px; background: #fff0bd; margin-bottom: 22px; box-shadow: 0 4px 0 #e9d6a322; }
.choon-hero::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: #ffe49a; right: -78px; bottom: -165px; pointer-events: none; }
.choon-hero-copy { position: relative; z-index: 1; }
.choon-hero-copy .eyebrow { font-size: 11px; color: #806847; margin-bottom: 12px; letter-spacing: 0; }
.choon-label { font-size: 11px; color: #80603b; font-weight: 650; }
.choon-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -.06em; color: #51371f; margin: 3px 0 8px; }
.choon-hero-copy p { font-size: 14px; color: #806847; line-height: 1.7; }
.choon-hero-copy .primary { margin-top: 17px; padding: 10px 19px; min-height: 43px; }
.choon-mobile-break { display: none; }
.choon-hero-art { position: relative; align-self: center; justify-self: center; width: 175px; padding-top: 22px; padding-bottom: 12px; text-align: center; }
.choon-hero-art img { width: 146px; height: 146px; display: block; margin: auto; border: 6px solid #fffdf2; border-radius: 38px; box-shadow: 0 7px 0 #c5a45c20; transform: rotate(5deg); }
.choon-speech { background: #fffefa; color: #816035; border: 1px solid #ead4a2; padding: 7px 13px; border-radius: 14px 14px 14px 3px; white-space: nowrap; font-size: 12px; font-weight: 650; position: absolute; z-index: 2; top: 0; left: -8px; transform: rotate(-6deg); }
.choon-spark { position: absolute; font-size: 30px; color: #e6b347; right: -8px; top: 14px; }
.choon-sticker { display: inline-block; position: relative; margin-top: -7px; padding: 4px 13px; border: 1px solid #edcf7a; border-radius: 6px; color: #8b672d; background: #ffdf83; font-size: 11px; font-weight: 650; transform: rotate(-4deg); }
.stats { gap: 13px; margin-bottom: 23px; }
.stats>div { padding: 16px 19px; border-radius: 19px; background: #fffdf8; box-shadow: 0 3px 0 #ddcaaa12; }
.stats>div:nth-child(1) { background: #fff9e7; }
.stats>div:nth-child(2) { background: #f8f1f8; border-color: #e8dce9; }
.stats>div:nth-child(3) { background: #eef6ee; border-color: #dce9db; }
.stat-symbol { border-radius: 15px; width: 43px; height: 43px; font-size: 23px; }
.stat-symbol.blue { color: #a17c31; background: #ffedb4; }
.stat-symbol.violet { color: #a783ab; background: #efdfef; }
.stat-symbol.green { color: #6c9474; background: #dcebdc; }
.stats>div>div>span { color: #76634e; font-size: 13px; }
.stats strong { color: #594333; font-size: 28px; }
.stats small { color: #7b6854; }
.workspace { gap: 23px; grid-template-columns: minmax(0,1.4fr) minmax(300px,1fr); }
.calendar-panel, .agenda-panel { background: #fffefa; box-shadow: 0 5px 0 #ded2b720; }
.panel-header { padding: 22px; }
.panel-header h2 { font-size: 21px; color: #60462d; }
.weekdays { color: #82705c; border-color: #eee2cd; }
.weekdays>span:first-child { color: #af644e; }
.day { border-color: #f1e9d9; min-height: 96px; }
.day:hover { background: #fff8e6; }
.day.is-selected { background: #fff6d9; box-shadow: inset 0 0 0 1px #efd085; }
.day-number { color: #77624c; border-radius: 50%; width: 29px; height: 29px; }
.day:nth-child(7n+1) .day-number { color: #b06951; }
.day.outside .day-number { color: #d5cbb9; }
.day.is-today .day-number { background: #ffda6a; color: #69461e; font-weight: 800; box-shadow: 0 2px 0 #dab96855; }
.mini-event { background: #fff0c4; color: #886329; }
.mini-event.task { background: #e7f2e9; color: #4f7152; }
.mobile-count { background: #fff0c4; color: #886329; }
.calendar-footer { color: #82705c; }
.calendar-footer i { background: #e7bd58; }
.calendar-footer i.legend-task { background: #9bbb9b; }
.calendar-footer .timezone { color: #82705c; }
.count-pill { color: #80603b; background: #f7edda; border-radius: 9px; }
.list-tabs { border-color: var(--border); }
.list-tabs a { color: #82705c; }
.list-tabs a.selected { color: #9a6a28; border-color: #e4b85a; }
.agenda-list { padding: 0 17px 20px; max-height: 615px; }
.item-card { background: #fffefa; border: 1px solid #eee3cf; border-left: 3px solid #efce7d; border-radius: 16px; padding: 15px; margin-bottom: 12px; }
.item-card.task { border-left-color: #b7d0b6; }
.kind-label { color: #8b672d; background: #fff2cb; border-radius: 6px; }
.kind-label.task { color: #4f7152; background: #edf4eb; }
.item-time { color: #82705c; }
.item-time.overdue { color: #9d5943; }
.item-notes { color: #806e5a; }
.item-bottom>span { color: #82705c; }
.check-button { border-color: #9d8667; background: #fffefa; border-radius: 7px; }
.check-button.checked { background: #98b696; border-color: #98b696; }
.completed h3 { color: #b7a68e; }
.empty-icon { background: #fff2cd; color: #c5a25c; }
.empty-state p, .page-footer { color: #82705c; }
.page-footer { padding-top: 26px; }
.settings-page { max-width: 1060px; }
.settings-header { margin-bottom: 36px; }
.settings-card { background: #fffefa; border-radius: 23px; box-shadow: 0 4px 0 #ded2b718; }
.setting-row, .history-row { border-color: #eee3cf; }
.connected { background: #eaf2e5; color: #78976d; }
.test-outbox { background: #fbf7ef; }
.notice.success { background: #eaf3e7; color: #5e8059; }
.notice.error { background: #fff0e7; color: #ac6c4e; border-color: #edc9b5; }
label { color: #765d44; }
input:not([type=checkbox]), select, textarea { color: #5d4631; background: #fffdf8; border: 1px solid #9d8667; border-radius: 13px; }
input:focus, select:focus, textarea:focus { border-color: #d2ad5f; outline-color: #e9cc8c; box-shadow: 0 0 0 3px #f8e7bb; }
input::placeholder, textarea::placeholder { color: #82705c; }
.field-help { color: #82705c; }
dialog { color: #5d4631; background: #fffdf7; border: 1px solid #e5d5b7; border-radius: 27px; box-shadow: 0 20px 70px #55402530; }
dialog::backdrop { background: #49351f50; backdrop-filter: blur(3px); }
.preset-row button { border-color: #e5d5b7; color: #80603b; background: #fff4d9; border-radius: 9px; }
.preset-row button:hover { background: #ffedbc; }
.drafts-panel { background: #fff2ce; border-color: #e9ce8c; }
.drafts-panel>p { color: #806847; }
.draft-row { border-color: #ead5a7; }
.draft-state { color: #8aa076; }
.save-message { background: #fff0ca; color: #8e6e37; }
.update-notice { background: #fff0bf; color: #7e622f; border-color: #e5c987; }
.auth-shell { background: #faf7ee; min-height: 100dvh; grid-template-columns: 1.05fr 1fr; }
.auth-intro { background: #ffe8a3; padding: 44px 55px 34px; min-height: 100dvh; position: relative; overflow: hidden; }
.test-environment .auth-shell, .test-environment .auth-intro { min-height: calc(100dvh - 38px); }
.auth-intro::before { content: ''; width: 650px; height: 650px; position: absolute; border-radius: 50%; background: #ffedb8; left: -130px; bottom: -320px; pointer-events: none; }
.auth-intro>.brand { position: relative; z-index: 1; }
.choon-auth-content { position: relative; z-index: 1; margin: 30px 0 25px; }
.auth-intro .eyebrow { color: #80643c; font-size: 13px; }
.auth-intro h1 { color: #64421f; font-size: 43px; line-height: 1.35; letter-spacing: -.06em; margin: 12px 0 17px; }
.auth-intro p { color: #80643c; font-size: 14px; }
.intro-chips { gap: 7px; margin-top: 22px; }
.intro-chips span { background: #fff6da; color: #80643c; border: 1px solid #f2d99b; border-radius: 9px; padding: 6px 10px; font-size: 11px; }
.intro-footer { position: relative; color: #806847; font-size: 12px; }
.choon-auth-art { position: relative; width: 270px; margin: 44px auto 5px; text-align: center; padding-top: 18px; }
.choon-auth-art img { width: 210px; height: 210px; border: 8px solid #fff6d8; border-radius: 52px; box-shadow: 0 10px 0 #c5a45c20; transform: rotate(-5deg); }
.choon-auth-art .choon-speech { left: 48px; top: -8px; transform: rotate(5deg); }
.choon-auth-spark { position: absolute; color: #d6a948; font-size: 37px; }
.choon-auth-spark.first { top: 23px; left: -8px; }
.choon-auth-spark.second { bottom: 12px; right: -5px; font-size: 25px; }
.auth-form-wrap { background: #faf7ee; padding: 48px 40px; }
.auth-form { max-width: 420px; padding: 38px 33px 28px; background: #fffefa; border: 1px solid #ede1c7; border-radius: 27px; box-shadow: 0 7px 0 #ded2b724; }
.auth-form .eyebrow { color: #82705c; font-size: 11px; letter-spacing: 0; }
.auth-form h2 { font-size: 25px; margin-bottom: 11px; color: #664b32; }
.auth-form>.muted { color: #82705c; font-size: 13px; margin-bottom: 27px; }
.auth-form label { font-size: 14px; }
.auth-form input { background: #fcf9f0; min-height: 50px; }
.auth-form .primary { min-height: 49px; }
.auth-note { color: #82705c; font-size: 11px; }
@media(min-width:1500px) { .day { min-height: 111px; } .main-content { padding: 34px 40px 24px; } }
@media(max-width:1180px) { .sidebar { width: 206px; flex-basis: 206px; padding: 27px 17px; } .main-content { padding: 26px 24px 18px; } .workspace { grid-template-columns: minmax(0,1.2fr) minmax(285px,1fr); gap: 18px; } .choon-hero { padding: 24px 27px; grid-template-columns: minmax(0,1fr) 170px; } .choon-hero-art { transform: scale(.9); } .choon-hero h1 { font-size: 31px; } .auth-intro { padding: 36px; } .auth-intro h1 { font-size: 38px; } }
@media(max-width:960px) { .sidebar { width: 184px; flex-basis: 184px; padding: 25px 15px; } .workspace { grid-template-columns: 1fr; } .choon-hero { padding: 23px; grid-template-columns: minmax(0,1fr) 140px; } .choon-hero h1 { font-size: 29px; } .choon-hero-copy p { font-size: 13px; } .choon-hero-art { transform: scale(.78); width: 160px; } .stats>div { padding: 14px 12px; } .agenda-list { display: grid; grid-template-columns: 1fr 1fr; max-height: none; } .item-card { margin: 0; } .choon-sidebar-note { flex-direction: column; text-align: center; gap: 6px; } .auth-intro { padding: 30px; } .auth-intro h1 { font-size: 34px; } .auth-form-wrap { padding: 35px 25px; } .auth-form { padding: 30px 23px; } .auth-form h2 { font-size: 22px; } .choon-auth-art { width: 225px; } .choon-auth-art img { width: 180px; height: 180px; } }
@media(max-width:700px) { .test-banner { display: flex; position: relative; min-height: 34px; padding: 6px 12px; gap: 7px; font-size: 10px; } .test-banner strong { display: inline; font-size: 10px; padding: 0 5px; } .test-environment .sidebar { top: 0; height: auto; } }
@media(max-width:680px) {
  body { background: #faf7ef; }
  .sidebar { width: 100%; padding: 16px 18px 0; border-bottom: 1px solid #e9dcc3; }
  .sidebar .brand-image { width: 37px; height: 37px; flex-basis: 37px; }
  .sidebar .brand-name { font-size: 23px; }
  .mobile-settings { color: #8d7456; font-size: 13px; padding: 7px 2px; }
  .main-nav { margin-top: 14px; padding: 5px; margin-bottom: 12px; border: 1px solid #eee4d1; background: #f8f2e6; border-radius: 15px; gap: 2px; overflow: visible; }
  .main-nav a { border-radius: 11px; padding: 10px 4px; font-size: 14px; gap: 4px; }
  .main-nav span { font-size: 12px; }
  .main-nav b { font-size: 10px; padding: 0 4px; }
  .main-nav a.active { background: #ffdf83; }
  .main-content { padding: 17px 14px 20px; }
  .choon-hero { display: grid; grid-template-columns: minmax(0,1fr) 102px; gap: 2px; padding: 20px 19px; border-radius: 23px; margin-bottom: 16px; }
  .choon-hero::before { width: 190px; height: 190px; right: -80px; bottom: -80px; }
  .choon-hero-copy .eyebrow { font-size: 11px; margin-bottom: 12px; white-space: nowrap; }
  .choon-label { font-size: 10px; }
  .choon-hero h1 { font-size: 25px; line-height: 1.4; letter-spacing: -.07em; margin: 3px 0 8px; white-space: nowrap; }
  .choon-hero-copy p { font-size: 11px; line-height: 1.8; color: #806847; }
  .choon-mobile-break { display: block; }
  .choon-hero-copy .primary { margin-top: 14px; min-height: 44px; padding: 8px 14px; font-size: 12px; border-radius: 12px; }
  .choon-hero-art { width: 104px; transform: none; padding: 23px 0 6px; margin-top: 24px; }
  .choon-hero-art img { width: 98px; height: 98px; border-width: 4px; border-radius: 27px; }
  .choon-hero-art .choon-speech { left: 0; top: 0; padding: 5px 8px; font-size: 9px; border-radius: 10px 10px 10px 2px; }
  .choon-spark { font-size: 21px; right: -7px; top: 12px; }
  .choon-sticker { font-size: 9px; margin-top: -5px; padding: 3px 8px; white-space: nowrap; }
  .stats { gap: 8px; margin-bottom: 17px; }
  .stats>div { padding: 12px 11px 10px; border-radius: 15px; }
  .stats>div>div>span { font-size: 11px; }
  .stats strong { font-size: 24px; }
  .stats small { font-size: 11px; }
  .workspace { gap: 17px; }
  .calendar-panel, .agenda-panel { border-radius: 21px; }
  .panel-header { padding: 19px 16px; }
  .panel-header h2 { font-size: 19px; }
  .day { min-height: 55px; padding: 6px 2px 4px; }
  .day-number { width: 26px; height: 26px; font-size: 12px; margin-bottom: 4px; }
  .weekdays { font-size: 11px; }
  .calendar-footer { font-size: 10px; padding: 13px 16px; }
  .calendar-footer .timezone { font-size: 9px; }
  .agenda-list { grid-template-columns: 1fr; padding: 0 13px 16px; gap: 11px; }
  .item-card { padding: 15px; }
  .item-card h3 { font-size: 16px; }
  .item-notes { font-size: 13px; }
  .settings-page { padding: 22px 15px 36px; }
  .settings-card { padding: 22px; }
  .auth-shell { min-height: 100dvh; }
  .test-environment .auth-shell { min-height: calc(100dvh - 34px); }
  .test-environment .auth-intro { min-height: auto; }
  .auth-intro { min-height: auto; padding: 22px 24px 26px; border-bottom: 1px solid #edd18a; border-radius: 0 0 30px 30px; }
  .auth-intro::before { width: 350px; height: 350px; left: auto; right: -90px; bottom: -200px; }
  .auth-intro>.brand { font-size: 25px; }
  .auth-intro .brand-name { font-size: 24px; }
  .auth-intro>.choon-auth-content { display: grid; grid-template-columns: minmax(0,1fr) 108px; gap: 7px; align-items: center; margin: 25px 0 0; }
  .auth-intro .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .auth-intro h1 { font-size: 28px; line-height: 1.38; margin: 7px 0; }
  .auth-intro h1 br { display: block; }
  .auth-intro .choon-auth-copy p, .intro-chips, .intro-footer { display: none; }
  .choon-auth-art { width: 108px; margin: 0; padding-top: 22px; }
  .choon-auth-art img { width: 102px; height: 102px; border-width: 4px; border-radius: 28px; transform: rotate(6deg); }
  .choon-auth-art .choon-speech { font-size: 8px; padding: 5px 7px; left: -4px; top: 0; transform: rotate(-6deg); border-radius: 10px 10px 10px 2px; }
  .choon-auth-spark.first { display: none; }
  .choon-auth-spark.second { font-size: 19px; bottom: -4px; right: -4px; }
  .auth-form-wrap { padding: 25px 20px 35px; align-items: flex-start; }
  .auth-form { max-width: 420px; padding: 25px 23px 23px; border-radius: 24px; }
  .auth-form .eyebrow { font-size: 10px; margin-bottom: 8px; }
  .auth-form h2 { font-size: 22px; letter-spacing: -.055em; }
  .auth-form>.muted { font-size: 12px; margin-bottom: 21px; }
  .auth-form label { font-size: 13px; margin-bottom: 17px; }
  .auth-form input { min-height: 48px; padding: 12px; }
  .auth-form .primary { min-height: 46px; font-size: 14px; margin-top: 4px; }
  .auth-note { margin-top: 20px; font-size: 10px; }
}
@media(max-width:360px) {
  .brand-name, .sidebar .brand-name { font-size: 21px; }
  .test-banner { font-size: 9px; gap: 5px; padding-inline: 8px; }
  .main-nav span { font-size: 11px; }
  .main-nav a { gap: 3px; }
  .choon-hero { padding: 18px 15px; grid-template-columns: minmax(0,1fr) 86px; }
  .choon-hero h1 { font-size: 22px; }
  .choon-hero-art { width: 87px; }
  .choon-hero-art img { width: 84px; height: 84px; }
  .choon-hero-art .choon-speech { font-size: 8px; padding: 5px 6px; }
  .stats>div { padding-inline: 9px; }
  .stats>div>div>span { font-size: 10px; }
  .auth-intro { padding-inline: 20px; }
  .auth-intro>.choon-auth-content { grid-template-columns: minmax(0,1fr) 85px; }
  .auth-intro h1 { font-size: 24px; }
  .choon-auth-art { width: 86px; }
  .choon-auth-art img { width: 83px; height: 83px; }
  .choon-auth-art .choon-speech { left: -17px; }
  .auth-form-wrap { padding-inline: 15px; }
  .auth-form { padding-inline: 20px; }
  .auth-form h2 { font-size: 20px; }
}
@media(prefers-reduced-motion:reduce) { .primary, .secondary, .icon-button { transition: none; } }
