:root{
  --bg:#fbfaf6;
  --text:#20211f;
  --muted:#77776f;
  --line:#ebe4d9;
  --soft:#f7f4ee;
  --accent:#7f9f7e;
  --accent-2:#5f7f5f;
  --ok:#7f9f7e;
  --warn:#c7a65a;
  --radius:22px;
  --shadow:0 18px 46px rgba(76,64,42,.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Pretendard","Noto Sans KR",Segoe UI,sans-serif}
button,input,textarea,select{font:inherit}
button{border:0;background:none;cursor:pointer;color:inherit}
a{color:inherit}
.hidden{display:none!important}
.app-shell{max-width:520px;margin:0 auto;min-height:100svh;padding:18px 16px 88px}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 2px 16px}
.brand{display:flex;align-items:center;gap:10px}
.logo{width:44px;height:44px;border-radius:16px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:900;letter-spacing:-.04em;box-shadow:0 8px 22px rgba(127,159,126,.22)}
.brand-title{font-size:20px;font-weight:850;letter-spacing:-.04em;line-height:1.1}
.brand-sub{font-size:12px;color:var(--muted);margin-top:3px}
.status{display:flex;align-items:center;gap:6px;font-size:12px;background:var(--soft);border:1px solid var(--line);padding:7px 10px;border-radius:999px;white-space:nowrap}
.dot{width:7px;height:7px;border-radius:50%;background:var(--warn)}
.dot.ok{background:var(--ok)}
.card{background:#fffdf9;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px;margin:14px 0}
.flat-card{background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:14px;margin:10px 0}
.h1{font-size:28px;line-height:1.15;font-weight:900;letter-spacing:-.06em;margin:10px 0 8px}
.h2{font-size:18px;font-weight:850;letter-spacing:-.04em;margin:0 0 10px}
.p{font-size:14px;line-height:1.55;color:var(--muted);margin:6px 0}
.row{display:flex;align-items:center;gap:8px}
.col{display:flex;flex-direction:column;gap:8px}
.spread{display:flex;justify-content:space-between;align-items:center;gap:12px}
.input,textarea{width:100%;border:1px solid var(--line);background:#fff;border-radius:16px;padding:13px 14px;outline:none}
.input:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(127,159,126,.13)}
textarea{min-height:120px;resize:vertical;line-height:1.5}
.btn{border-radius:16px;padding:13px 15px;font-weight:800;letter-spacing:-.03em;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn.secondary{background:#fffdf9;color:var(--accent-2);border:1px solid var(--line)}
.btn.ghost{background:var(--soft);color:var(--muted)}
.btn.accent{background:var(--accent);color:#fff}
.btn.small{font-size:13px;padding:9px 12px;border-radius:13px}
.btn.full{width:100%}
.btn:disabled{opacity:.45;cursor:not-allowed}
.login-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.tabs{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);width:min(520px,calc(100% - 24px));background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border:1px solid var(--line);box-shadow:0 18px 42px rgba(0,0,0,.13);border-radius:24px;padding:8px;display:grid;grid-template-columns:repeat(3,1fr);z-index:10}
.tab{padding:11px 4px;border-radius:17px;font-size:13px;font-weight:800;color:var(--muted)}
.tab.active{background:var(--accent);color:#fff}
.today-title{font-size:32px;line-height:1;font-weight:950;letter-spacing:-.07em}
.week-badge{background:rgba(127,159,126,.18);color:var(--accent-2);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}
.progress-wrap{height:10px;background:var(--soft);border-radius:999px;overflow:hidden;margin-top:12px;border:1px solid var(--line)}
.progress-bar{height:100%;background:var(--accent);border-radius:999px;width:0%;transition:width .25s ease}
.check-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.check-item{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff}
.check-btn{width:27px;height:27px;border-radius:9px;border:1.8px solid #cfcfcf;display:grid;place-items:center;flex:0 0 auto;font-size:16px}
.check-item.done{background:#fafafa;color:#8b8b8b}
.check-item.done .check-btn{background:var(--accent);border-color:var(--accent);color:#fff}
.item-emoji{width:34px;height:34px;border-radius:12px;background:var(--soft);display:grid;place-items:center;flex:0 0 auto}
.item-text{flex:1;font-size:15px;font-weight:750;letter-spacing:-.03em}
.empty{padding:24px 12px;text-align:center;color:var(--muted);line-height:1.5}
.days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.day-chip{border:1px solid var(--line);border-radius:14px;padding:10px 0;text-align:center;font-size:13px;font-weight:800;background:#fff;color:#777}
.day-chip.active{background:#e8f0e5;color:#3f5f3f;border-color:#b9cfb4}
.item-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--line);border-radius:16px;padding:12px;margin-top:8px}
.item-row-left{display:flex;align-items:center;gap:10px;min-width:0}
.item-row-text{font-weight:750;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item-row-meta{font-size:12px;color:var(--muted);margin-top:3px}
.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stat-box{background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:14px}
.stat-num{font-size:27px;font-weight:950;letter-spacing:-.06em}
.stat-label{font-size:12px;color:var(--muted);margin-top:3px}
.week-row{margin:13px 0}
.week-row .spread{font-size:13px;font-weight:800}
.guide-list{margin:8px 0 0;padding-left:18px;color:var(--muted);font-size:14px;line-height:1.7}
.toast{position:fixed;right:14px;left:auto;bottom:82px;transform:none;background:var(--accent-2);color:#fff;padding:8px 11px;border-radius:12px;font-size:12px;font-weight:800;line-height:1.35;box-shadow:0 8px 22px rgba(76,64,42,.16);z-index:20;max-width:min(270px,calc(100% - 28px));text-align:left}
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.34);display:grid;place-items:end center;z-index:30;padding:14px}
.modal{width:min(520px,100%);background:#fff;border-radius:26px;padding:18px;box-shadow:var(--shadow)}
.modal h3{margin:0 0 8px;font-size:20px;letter-spacing:-.05em}
.modal .close{margin-top:12px}
.install-fab{position:fixed;left:50%;bottom:78px;transform:translateX(-50%);z-index:9;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 13px;font-size:12px;font-weight:800;box-shadow:0 12px 28px rgba(0,0,0,.1)}
hr{border:0;border-top:1px solid var(--line);margin:16px 0}
.small-note{font-size:12px;color:var(--muted);line-height:1.5}
@media (min-width:700px){
  .app-shell{padding-top:28px}
  .install-fab{bottom:84px}
}


.routine-summary{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:14px;
  margin:0 0 14px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}
.routine-summary-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.routine-summary-title{
  font-size:17px;
  font-weight:900;
  letter-spacing:-.04em;
}
.routine-summary-meta{
  font-size:12px;
  color:var(--muted);
  margin-top:3px;
}
.routine-summary-goal{
  margin-top:10px;
  padding:10px 12px;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:14px;
  font-size:13px;
  font-weight:750;
  line-height:1.45;
  color:#333;
}


#pushStatusText{
  margin-top:10px;
}


.tools-card{
  padding-bottom:18px;
}
.tools-summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.tools-summary::-webkit-details-marker{
  display:none;
}
.tools-arrow{
  flex:0 0 auto;
  font-size:14px;
  font-weight:900;
  color:var(--muted);
  padding:10px 14px;
  border-radius:999px;
  background:#f7f7f7;
}
#toolsDetails[open] .tools-arrow{
  font-size:0;
}
#toolsDetails[open] .tools-arrow::after{
  content:"접기";
  font-size:14px;
}
.tool-stack{
  display:grid;
  gap:14px;
  margin-top:18px;
}
.inner-tool{
  margin-top:12px;
  background:#fff;
}


/* auth-v1.3 UI diet */
body{background:linear-gradient(180deg,#fbfaf6 0%, #fffdf9 100%)}
.topbar{padding:6px 2px 18px}
.brand-sub,.status{display:none!important}
.brand-title{font-size:21px}
.logo{background:linear-gradient(135deg,#789875,#9caf93)}

.routine-summary{background:#fffdf9;border-color:#ebe4d9;box-shadow:0 12px 32px rgba(76,64,42,.06)}
.routine-summary-title{font-size:18px}
.routine-summary-goal{
  margin-top:14px;
  padding:12px 14px;
  background:#fbfaf6;
  border:1px solid #eee7dc;
  border-radius:16px;
  font-size:15px;
  font-weight:780;
  color:#33352f;
}

.add-only{width:44px;height:44px;border-radius:999px;font-size:22px;line-height:1;padding:0;background:rgba(127,159,126,.16);color:var(--accent-2)}
.daily-delete{width:24px;height:24px;border-radius:999px;color:#b9b2a8;background:transparent;font-size:18px;line-height:1;display:grid;place-items:center;flex:0 0 auto}
.daily-delete:hover{background:#f3efe8;color:#8d8171}

.settings-page{display:block}
.settings-title{font-size:24px;font-weight:900;letter-spacing:-.05em;text-align:center;margin:6px 0 24px}
.settings-group{margin:24px 0}
.settings-group-title{font-size:15px;font-weight:850;letter-spacing:-.03em;margin:0 0 10px;color:#272822}
.settings-card{background:#fffdf9;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 34px rgba(76,64,42,.06);padding:14px;display:grid;gap:12px}
.setting-field{display:grid;gap:7px}
.setting-field span{font-size:13px;color:var(--muted);font-weight:750}
.setting-field.compact{grid-template-columns:92px 1fr;align-items:center;gap:10px}
.setting-field.compact span{font-size:13px}
.simple-list{padding:0;overflow:hidden;gap:0;display:block}
.simple-row{width:100%;display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid var(--line);font-weight:780;letter-spacing:-.03em;text-align:left;background:#fffdf9;color:#23241f}
.simple-row:last-child{border-bottom:0}
.simple-row span:last-child{color:#9b958d;font-weight:800}
.muted-row{color:#555;cursor:default}
.muted-row span:last-child{font-size:13px;font-weight:700}
.simple-details summary{list-style:none;cursor:pointer}
.simple-details summary::-webkit-details-marker{display:none}
.simple-details[open] summary span:last-child{transform:rotate(90deg)}
.mini-action{font-size:12px;font-weight:800;color:var(--accent-2);background:#fffdf9;border:1px solid var(--line);border-radius:999px;padding:7px 10px}
.mini-action.danger{color:#a99f92}
.salon-signature{display:flex;justify-content:center;align-items:center;margin:36px 0 8px;opacity:.42}
.salon-signature img{width:22px;height:22px;border-radius:50%;object-fit:cover;filter:saturate(.75) contrast(.9)}
.install-fab{display:none!important}


/* auth-v1.4 stats diet */
.stats-hero .h2{
  margin-bottom:14px;
}
.collapse-card{
  display:block;
}
.collapse-card summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:16px;
  font-weight:850;
  letter-spacing:-.04em;
}
.collapse-card summary::-webkit-details-marker{
  display:none;
}
.collapse-arrow{
  color:var(--accent-2);
  width:30px;
  height:30px;
  border-radius:999px;
  background:rgba(127,159,126,.13);
  display:grid;
  place-items:center;
  font-weight:900;
  transition:transform .2s ease;
}
.collapse-card[open] .collapse-arrow{
  transform:rotate(90deg);
}
.collapse-content{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid var(--line);
}
#summaryBox{
  margin-top:12px;
  min-height:190px;
  font-size:13px;
  background:#fffdf9;
}
#summaryActions{
  margin-top:10px;
  justify-content:flex-end;
}


/* auth-v1.5 AI Pro gate */
.pro-report-card{
  width:100%;
  border:1px solid var(--line);
  text-align:left;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  cursor:pointer;
  background:linear-gradient(180deg, #fffdf9 0%, #fbfaf6 100%);
}
.pro-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:17px;
  font-weight:900;
  letter-spacing:-.04em;
  color:var(--ink);
}
.pro-pill{
  font-size:11px;
  font-weight:900;
  letter-spacing:.02em;
  color:#ffffff;
  background:var(--accent);
  border-radius:999px;
  padding:4px 8px;
  line-height:1;
}
.modal-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:5px 10px;
  background:rgba(127,159,126,.16);
  color:var(--accent-2);
  font-size:12px;
  font-weight:900;
  margin-bottom:10px;
}
.pro-modal h3{
  margin-top:0;
}
.pro-feature-list{
  display:grid;
  gap:8px;
  margin:14px 0;
}
.pro-feature-list div{
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  background:#fffdf9;
  font-size:13px;
  font-weight:700;
  color:var(--ink);
}


/* auth-v1.6 cleanup */
.subtle-notice{
  font-size:12px;
  color:var(--muted);
  background:rgba(127,159,126,.10);
  border:1px solid rgba(127,159,126,.16);
  border-radius:14px;
  padding:10px 12px;
  line-height:1.45;
}


/* v1.10-verified */
.salon-signature {
  display: none !important;
}


.pro-section-title {
  margin: 14px 0 8px;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
}


.ai-report-preview {
  display: grid;
  gap: 10px;
}

.ai-report-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.65);
}

.ai-report-section h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
}

.ai-report-section p {
  margin: 6px 0;
  line-height: 1.55;
  color: var(--muted);
  font-size: 14px;
}

.ai-report-section strong {
  color: var(--ink);
}


.analysis-details {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.55);
}

.analysis-details summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

.analysis-details .pro-feature-list {
  margin-top: 10px;
}


/* v1.19-scrollable-report */
.modal-backdrop {
  align-items: flex-start;
  overflow-y: auto;
  padding: 24px 16px;
}

.modal {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pro-modal {
  margin-bottom: 24px;
}

.ai-report-preview {
  padding-bottom: 8px;
}




/* v1.24-daily-coaching-card */
.daily-coaching-card {
  border-color: rgba(67, 119, 91, 0.20);
}

.daily-coaching-card .section-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.daily-coaching-card .collapse-content {
  padding-top: 4px;
}


/* v1.28-daily-coaching-depth */
.daily-coaching-detail {
  display: grid;
  gap: 10px;
}
.daily-coaching-branch {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.daily-coaching-insight {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .035);
}

.daily-coaching-insight-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.daily-coaching-insight strong {
  font-size: 14px;
  line-height: 1.4;
}

.daily-coaching-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}
.coach-line {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
}

.coach-line span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 900;
  color: var(--accent);
}

.coach-line p {
  margin: 0;
  line-height: 1.5;
}


/* v1.36-pro-gating-ready */
.pro-lock-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.7);
}

.pro-lock-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.pro-lock-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}


/* v1.37-ai-report-system */
.locked-report-card {
  opacity: 0.92;
}

.locked-report-card .small-note {
  margin-top: 6px;
}


/* v1.38-report-group-card */
.report-system-card .pro-title {
  margin-bottom: 6px;
}

.report-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.report-row {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.58);
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.report-row strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}

.report-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.report-row.locked {
  opacity: 0.78;
}

.lock-mark {
  font-size: 17px;
  opacity: 0.75;
}


/* v1.39-report-group-force */
.report-system-card .pro-title {
  margin-bottom: 6px;
}

.report-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.report-row {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.58);
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.report-row strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}

.report-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.report-row.locked {
  opacity: 0.78;
}

.lock-mark {
  font-size: 17px;
  opacity: 0.75;
}


/* v1.41-coaching-scenario-test */
.dev-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 900;
  background: rgba(120,120,120,0.12);
  color: var(--muted);
}

.scenario-test-card {
  border-style: dashed;
  opacity: 0.92;
}

.scenario-sample-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.scenario-sample {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.62);
}

.scenario-sample h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
}


/* v1.48-recovery-subbranch-examples */
.sub-example-box {
  margin-top: 10px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,0.45);
}

.sub-example-box > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--accent);
}

.sub-example-item {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.sub-example-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.sub-example-item b {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  color: var(--ink);
}

.sub-example-item p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.sub-example-item em {
  display: block;
  font-style: normal;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

/* v1.51-overload-examples-fixed */

/* v1.53-restart-examples-fixed */


/* v1.55-dev-test-cleanup */
.dev-setting-row {
  color: var(--muted);
}

.dev-setting-row .dev-pill {
  margin-left: auto;
}


/* v1.57-dev-row-style-fix */
.dev-setting-row {
  width: 100%;
  min-height: 68px;
  padding: 0 18px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.dev-setting-row .setting-row-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dev-setting-row .dev-pill {
  flex: 0 0 auto;
  margin-left: 0;
  transform: translateY(-1px);
}

.dev-setting-row .chev {
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}


/* v1.58-real-coaching-detail */
.dev-current-branch {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(130, 160, 130, 0.10);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.dev-current-branch strong {
  color: var(--ink);
  font-weight: 900;
}

/* v1.77-pro-lock-card-polish */
.pro-lock-card {
  background: linear-gradient(180deg, rgba(128, 157, 128, 0.08), rgba(255, 252, 246, 0.72));
  border: 1px solid rgba(128, 157, 128, 0.22);
  box-shadow: 0 10px 28px rgba(70, 58, 42, 0.045);
}

.pro-lock-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.pro-lock-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(128, 157, 128, 0.13);
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
}

.pro-lock-head strong {
  display: block;
  margin: 0;
  line-height: 1.35;
}

.pro-lock-card > p {
  margin-top: 0;
  padding-left: 35px;
}

/* v1.78-pro-value-note */
.pro-value-note {
  margin: 12px 4px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* v1.79-pro-note-in-card */
.pro-lock-card .pro-value-note {
  margin: 12px 0 0 35px;
  padding-top: 12px;
  border-top: 1px solid rgba(128, 157, 128, 0.16);
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.pro-modal > .pro-value-note {
  display: none;
}

/* v1.80-pro-note-layout-polish */
.pro-lock-card .pro-value-note {
  margin: 12px 0 0 0;
  padding: 12px 0 0 0;
  border-top: 1px solid rgba(128, 157, 128, 0.16);
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  max-width: none;
}

.pro-lock-card .pro-value-note::before {
  content: "";
}

/* v1.81-pro-guide-a */
.pro-guide-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 16px;
}

.pro-guide-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 254, 251, 0.74);
}

.pro-guide-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(128, 157, 128, 0.13);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.pro-guide-item strong {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.35;
}

.pro-guide-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pro-guide-value {
  margin: 16px 2px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* v1.82-pro-guide-button-fix */

/* v1.83-pro-guide-context */
.pro-guide-modal .pro-modal h3 {
  line-height: 1.32;
}

.pro-guide-modal .small-note {
  line-height: 1.6;
}

/* v1.84-pro-start-ready-modal */
.pro-ready-card {
  background: linear-gradient(180deg, rgba(128, 157, 128, 0.08), rgba(255, 252, 246, 0.72));
  border: 1px solid rgba(128, 157, 128, 0.22);
  box-shadow: 0 10px 28px rgba(70, 58, 42, 0.045);
  border-radius: 19px;
  padding: 18px 17px;
  margin: 18px 0 16px;
}

.pro-ready-card > p {
  margin: 0 0 0 35px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pro-ready-card .pro-value-note {
  margin: 12px 0 0 0;
  padding: 12px 0 0 0;
  border-top: 1px solid rgba(128, 157, 128, 0.16);
}

/* v1.87-pro-pricing-modal */
.pro-pricing-modal .pro-modal {
  max-width: 520px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 14px;
}

.pricing-plan {
  position: relative;
  padding: 16px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.78);
  overflow: hidden;
}

.pricing-plan.pro {
  border-color: rgba(128, 157, 128, 0.34);
  background: linear-gradient(180deg, rgba(128, 157, 128, 0.08), rgba(255, 252, 246, 0.72));
  box-shadow: 0 10px 28px rgba(70, 58, 42, 0.045);
}

.pricing-badge {
  display: inline-flex;
  height: 25px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(128, 157, 128, 0.13);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.pricing-badge.muted {
  color: var(--muted);
  background: rgba(120, 110, 96, 0.08);
}

.pricing-plan h4 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.pricing-plan p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.pricing-price {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.pricing-year {
  margin: -2px 0 10px;
  color: var(--accent);
  font-size: 11.8px;
  font-weight: 800;
  line-height: 1.4;
}

.pricing-plan ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}

.pricing-plan li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 12.4px;
  line-height: 1.42;
}

.pricing-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.pricing-note {
  margin: 12px 2px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

@media (max-width: 520px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* v1.89-billing-plan-toggle */
.billing-options {
  display: grid;
  gap: 8px;
  margin: 12px 0 12px;
}

.billing-option {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 254, 251, 0.82);
  padding: 11px 12px;
  display: grid;
  gap: 3px;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.billing-option span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.billing-option strong {
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.billing-option em {
  font-style: normal;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.billing-option.active {
  border-color: rgba(128, 157, 128, 0.52);
  background: rgba(128, 157, 128, 0.10);
  box-shadow: 0 8px 20px rgba(80, 113, 80, 0.08);
}

.billing-option.active span,
.billing-option.active em {
  color: var(--accent);
}

.billing-option:focus-visible {
  outline: 2px solid rgba(128, 157, 128, 0.46);
  outline-offset: 2px;
}

/* v1.90-free-card-balance */
.pricing-free-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(120, 110, 96, 0.12);
  color: var(--muted);
  font-size: 12.2px;
  line-height: 1.45;
}

/* v1.93-selected-plan-ready */
.selected-plan-box {
  margin: 13px 0 0 35px;
  padding: 12px 13px;
  border-radius: 15px;
  border: 1px solid rgba(128, 157, 128, 0.20);
  background: rgba(128, 157, 128, 0.08);
}

.selected-plan-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 3px;
}

.selected-plan-box strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

/* v1.94-payment-ready-note */
.payment-ready-note {
  margin: 10px 0 0 35px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 252, 246, 0.74);
  border: 1px solid rgba(232, 223, 211, 0.88);
  color: var(--muted);
  font-size: 12.2px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* v1.97-coaching-routine-lock-polish */
.pro-lock-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  font-size: 13px;
  line-height: 1;
  opacity: 0.72;
  transform: translateY(-1px);
}

/* v2.02-settings-routine-accordion */
.routine-list-details {
  margin-top: 14px;
}

.routine-list-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 17px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.86);
  color: var(--text);
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(70, 58, 42, 0.035);
}

.routine-list-summary::-webkit-details-marker {
  display: none;
}

.routine-list-count {
  color: var(--accent);
  background: rgba(128, 157, 128, 0.12);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 900;
}

.routine-list-chevron {
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.routine-list-details[open] .routine-list-chevron {
  transform: rotate(90deg);
}

.routine-list-body {
  margin-top: 10px;
  display: grid;
  gap: 9px;
}

.routine-list-body .item-row {
  margin: 0;
}

.routine-list-details:not([open]) {
  margin-bottom: 2px;
}


.failure-reason-panel{
  margin-top:10px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fbfaf6;
}

.failure-reason-head{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-bottom:10px;
}

.failure-reason-head span{
  font-size:13px;
  font-weight:850;
  letter-spacing:-.03em;
  color:#33352f;
}

.failure-reason-head small{
  font-size:12px;
  color:var(--muted);
  line-height:1.35;
}

.failure-reason-chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.failure-reason-chip{
  border:1px solid #e5ded2;
  background:#fffdf9;
  color:#67645d;
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  font-weight:750;
  letter-spacing:-.03em;
}

.failure-reason-chip.selected{
  background:rgba(127,159,126,.16);
  color:var(--accent-2);
  border-color:rgba(127,159,126,.45);
  box-shadow:0 6px 16px rgba(127,159,126,.12);
}

.failure-reason-saved-box{
  margin-top:10px;
  padding:10px 11px;
  border-radius:14px;
  background:#fffdf9;
  border:1px solid #eee7dc;
  display:grid;
  gap:4px;
  font-size:12px;
  color:#44463f;
  line-height:1.4;
}
.failure-reason-summary-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.failure-reason-summary-box > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.failure-reason-summary-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.failure-reason-summary-box strong {
  font-size: 14px;
}

.failure-reason-summary-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.failure-reason-open.small,
.failure-reason-clear.small {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  background: var(--soft);
  color: var(--accent);
  cursor: pointer;
}
.failure-reason-saved-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.failure-reason-close.small {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  background: var(--soft);
  color: var(--accent);
  cursor: pointer;
}
.failure-reason-saved-box strong{
  color:var(--accent-2);
}

.failure-reason-saved-box small{
  color:var(--muted);
  font-size:11px;
}

.failure-reason-clear{
  justify-self:start;
  margin-top:3px;
  font-size:11px;
  font-weight:800;
  color:#9b958d;
  padding:4px 0;
}

.failure-reason-compact{
  margin-top:7px;
}

.failure-reason-open{
  font-size:12px;
  font-weight:800;
  color:var(--accent-2);
  background:rgba(127,159,126,.10);
  border:1px solid rgba(127,159,126,.22);
  border-radius:999px;
  padding:7px 10px;
}

.failure-reason-open:hover{
  background:rgba(127,159,126,.16);
}

.failure-reason-close{
  margin-top:10px;
  font-size:12px;
  font-weight:800;
  color:#9b958d;
  padding:4px 0;
}
.season-archive-card{
  display:grid;
  gap:14px;
}

.season-archive-list{
  display:grid;
  gap:12px;
}

.season-capsule{
  border:1px solid var(--line);
  background:#fffdf9;
  border-radius:20px;
  padding:15px;
  display:grid;
  gap:10px;
}

.season-capsule-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.season-type-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(127,159,126,.14);
  color:var(--accent-2);
  font-size:12px;
  font-weight:900;
  letter-spacing:-.03em;
}

.season-date{
  font-size:11px;
  color:var(--muted);
  font-weight:700;
}

.season-capsule h4{
  margin:0;
  font-size:15px;
  letter-spacing:-.04em;
  color:#2f312d;
}

.season-capsule p{
  margin:0;
  font-size:13px;
  line-height:1.55;
  color:#555851;
}

.season-capsule-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.season-capsule-meta span{
  border:1px solid #eee7dc;
  background:#fbfaf6;
  border-radius:999px;
  padding:5px 8px;
  font-size:11px;
  font-weight:800;
  color:#6c6a62;
}

.season-mini-line{
  display:grid;
  gap:3px;
  font-size:12px;
  line-height:1.4;
}

.season-mini-line strong{
  color:#3d4038;
  font-weight:900;
}

.season-mini-line span{
  color:#656861;
}

.season-next{
  padding:10px 11px;
  border-radius:14px;
  background:#fbfaf6;
  border:1px solid #eee7dc;
  font-size:12px;
  line-height:1.45;
  color:#555851;
}
.season-archive-details{
  display:grid;
  gap:0;
}

.season-archive-summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.season-archive-summary::-webkit-details-marker{
  display:none;
}

.season-archive-summary-right{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}

.season-archive-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(127,159,126,.14);
  color:var(--accent-2);
  font-size:12px;
  font-weight:900;
}

.season-archive-summary .collapse-arrow{
  transition:transform .2s ease;
}

.season-archive-details[open] .season-archive-summary .collapse-arrow{
  transform:rotate(90deg);
}

.season-archive-content{
  display:grid;
  gap:14px;
  margin-top:14px;
}
.archive-kicker{
  display:inline-flex;
  align-items:center;
  margin-bottom:6px;
  color:var(--accent-2);
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  opacity:.8;
}

.archive-save-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border:1px solid #eee7dc;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(127,159,126,.08), rgba(255,253,249,.88));
}

.archive-save-box strong{
  display:block;
  font-size:14px;
  font-weight:900;
  letter-spacing:-.03em;
  color:#30332c;
  margin-bottom:3px;
}

.archive-save-box p{
  margin:0;
  font-size:12px;
  line-height:1.45;
  color:var(--muted);
}

.archive-save-btn{
  width:74px;
  flex:0 0 auto;
  border-radius:999px;
  padding:10px 12px;
}

.season-type-wrap{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
}

.season-status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 8px;
  border-radius:999px;
  background:#fbfaf6;
  border:1px solid #eee7dc;
  color:#8a8174;
  font-size:11px;
  font-weight:850;
  letter-spacing:-.03em;
}

.season-capsule.completed{
  background:linear-gradient(180deg, rgba(127,159,126,.10), #fffdf9);
  border-color:rgba(127,159,126,.28);
}

.season-capsule.in-progress{
  background:#fffdf9;
}

.season-capsule-title{
  display:flex;
  align-items:flex-start;
  gap:8px;
}

.archive-trophy{
  width:24px;
  height:24px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(127,159,126,.13);
  color:var(--accent-2);
  font-size:13px;
  font-weight:900;
  flex:0 0 auto;
  transform:translateY(-2px);
}

.season-capsule-title h4{
  flex:1;
}
.season-capsule-title h4{
  line-height:1.35;
}

.season-capsule p{
  word-break:keep-all;
}

.archive-trophy{
  font-size:12px;
}

.season-status-badge{
  white-space:nowrap;
}
.archive-save-box{
  cursor:pointer;
}

.archive-save-btn{
  position:relative;
  z-index:2;
  pointer-events:auto;
}
.archive-detail-btn{
  width:100%;
  margin-top:2px;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid #eee7dc;
  background:#fffdf9;
  color:var(--accent-2);
  font-size:13px;
  font-weight:900;
  letter-spacing:-.03em;
}

.archive-detail-btn:hover{
  background:rgba(127,159,126,.09);
}

.archive-detail-hero{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:start;
  margin-bottom:16px;
}

.archive-detail-icon{
  width:40px;
  height:40px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(127,159,126,.14);
  color:var(--accent-2);
  font-size:18px;
  font-weight:900;
}

.archive-detail-badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:8px;
}

.archive-detail-hero h3{
  margin:0 0 4px;
  line-height:1.32;
}

.archive-detail-hero p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.archive-detail-section{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:rgba(255,253,249,.72);
  margin:12px 0;
}

.archive-detail-section h4{
  margin:0 0 8px;
  font-size:14px;
  font-weight:900;
  letter-spacing:-.03em;
}

.archive-detail-section p{
  margin:0;
  color:#555851;
  font-size:13px;
  line-height:1.6;
  word-break:keep-all;
}

.archive-detail-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:12px 0;
}

.archive-detail-grid div{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 8px;
  background:#fffdf9;
  text-align:center;
}

.archive-detail-grid strong{
  display:block;
  font-size:17px;
  font-weight:950;
  color:#30332c;
  margin-bottom:3px;
}

.archive-detail-grid span{
  font-size:11px;
  color:var(--muted);
  font-weight:800;
}

.archive-detail-line{
  display:grid;
  gap:4px;
  padding:10px 0;
  border-top:1px solid var(--line);
}

.archive-detail-line:first-of-type{
  border-top:0;
  padding-top:0;
}

.archive-detail-line strong{
  font-size:12px;
  color:#3d4038;
  font-weight:900;
}

.archive-detail-line span{
  font-size:13px;
  color:#656861;
  line-height:1.45;
}

.archive-detail-section.next{
  background:linear-gradient(180deg, rgba(127,159,126,.08), rgba(255,253,249,.88));
}
.season-cleanup-ready-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border-radius:18px;
  border:1px solid #eee7dc;
  background:#fffdf9;
}

.season-cleanup-ready-box.ready{
  background:linear-gradient(180deg, rgba(127,159,126,.08), rgba(255,253,249,.88));
  border-color:rgba(127,159,126,.22);
}

.season-cleanup-ready-box.not-ready{
  background:#fbfaf6;
}

.season-cleanup-ready-box strong{
  display:block;
  font-size:14px;
  font-weight:900;
  letter-spacing:-.03em;
  color:#30332c;
  margin-bottom:3px;
}

.season-cleanup-ready-box p{
  margin:0;
  font-size:12px;
  line-height:1.45;
  color:var(--muted);
}

.season-cleanup-ready-btn{
  width:74px;
  flex:0 0 auto;
  border-radius:999px;
  padding:10px 12px;
  border:1px solid #eee7dc;
  background:#fffdf9;
  color:var(--accent-2);
  font-size:13px;
  font-weight:900;
}

.cleanup-status-card{
  margin:14px 0;
  padding:15px;
  border-radius:18px;
  border:1px solid rgba(127,159,126,.22);
  background:linear-gradient(180deg, rgba(127,159,126,.09), rgba(255,253,249,.88));
}

.cleanup-status-card span{
  display:inline-flex;
  margin-bottom:8px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(127,159,126,.14);
  color:var(--accent-2);
  font-size:11px;
  font-weight:900;
}

.cleanup-status-card strong{
  display:block;
  font-size:18px;
  font-weight:950;
  letter-spacing:-.04em;
  margin-bottom:6px;
}

.cleanup-status-card p{
  margin:0;
  color:#555851;
  font-size:13px;
  line-height:1.55;
}

.cleanup-kept-list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.cleanup-kept-list span{
  display:inline-flex;
  padding:7px 9px;
  border-radius:999px;
  border:1px solid #eee7dc;
  background:#fffdf9;
  color:#656861;
  font-size:12px;
  font-weight:800;
}
.cleanup-preview-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:12px 0;
}

.cleanup-preview-grid div{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 8px;
  background:#fffdf9;
  text-align:center;
}

.cleanup-preview-grid strong{
  display:block;
  font-size:17px;
  font-weight:950;
  color:#30332c;
  margin-bottom:3px;
}

.cleanup-preview-grid span{
  font-size:11px;
  color:var(--muted);
  font-weight:800;
}

.cleanup-preview-list{
  display:grid;
  gap:10px;
}

.cleanup-preview-list div{
  padding:11px 12px;
  border-radius:15px;
  border:1px solid #eee7dc;
  background:#fffdf9;
}

.cleanup-preview-list strong{
  display:block;
  margin-bottom:4px;
  font-size:13px;
  font-weight:900;
  color:#3d4038;
}

.cleanup-preview-list span{
  display:block;
  color:#656861;
  font-size:12.5px;
  line-height:1.5;
}
.restart-season-box {
  display: grid;
  gap: 8px;
}

.restart-season-box strong {
  font-size: 15px;
  font-weight: 900;
  color: #30332c;
}

.restart-season-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.archive-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.archive-card-actions .archive-detail-btn {
  margin-top: 0;
}

.archive-delete-btn {
  border: 1px solid #ead8d2;
  background: #fffdf9;
  color: #9a4b3f;
  border-radius: 16px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.archive-delete-btn:active {
  transform: translateY(1px);
}

.btn.danger {
  background: #9a4b3f;
  color: #fff;
  border-color: #9a4b3f;
}

@media (max-width: 520px) {
  .archive-card-actions {
    grid-template-columns: 1fr;
  }

  .archive-delete-btn {
    padding: 13px 16px;
  }
}
.restart-clear-btn {
  border: 0;
  background: transparent;
  color: #9a4b3f;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 10px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.restart-clear-btn:active {
  transform: translateY(1px);
}
.season-cleanup-mini {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 14px;
}

.season-cleanup-mini button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 2px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.season-cleanup-mini button:active {
  transform: translateY(1px);
}

.archive-modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.archive-modal-delete-btn {
  border: 0;
  background: transparent;
  color: #9a4b3f;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 10px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.archive-modal-delete-btn:active {
  transform: translateY(1px);
}

.restart-season-box.compact {
  display: grid;
  gap: 8px;
  padding: 4px 0 2px;
}

.restart-season-box.compact strong {
  font-size: 14px;
}

.restart-season-box.compact p {
  font-size: 13px;
  line-height: 1.55;
}
.report-system-card.compact {
  padding: 0;
  overflow: hidden;
}

.report-details {
  width: 100%;
}

.report-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
}

.report-summary::-webkit-details-marker {
  display: none;
}

.report-summary .p {
  margin: 6px 0 0;
  font-size: 14px;
}

.report-details[open] .report-summary {
  border-bottom: 1px solid var(--line);
}

.report-details[open] .collapse-arrow {
  transform: rotate(90deg);
}

.report-list.compact {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.report-list.compact .report-row {
  min-height: auto;
  padding: 16px 18px;
}

.report-list.compact .report-row strong {
  font-size: 15px;
}

.report-list.compact .report-row p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
}

.report-list.compact .mini-report {
  opacity: .72;
}
/* 12주 최종 리포트 · 자세한 변화 기록 */

.final-report-details {
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid rgba(186, 165, 132, 0.35);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.final-report-details-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 20px;

  cursor: pointer;
  list-style: none;
}

.final-report-details-summary::-webkit-details-marker {
  display: none;
}

.final-report-details-summary > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.final-report-details-summary strong {
  font-size: 18px;
  line-height: 1.4;
  color: var(--text, #222);
}

.final-report-details-summary small {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #7b786f);
}

.final-report-details-summary .collapse-arrow {
  flex: 0 0 auto;

  font-size: 28px;
  line-height: 1;

  color: #789276;

  transition:
    transform 0.2s ease;
}

.final-report-details[open]
.final-report-details-summary
.collapse-arrow {
  transform: rotate(90deg);
}

.final-report-details-content {
  padding:
    0 12px
    12px;
}

.final-report-details-content
.ai-report-section {
  margin-top: 12px;
}

@media (max-width: 520px) {
  .final-report-details-summary {
    padding: 18px;
  }

  .final-report-details-summary strong {
    font-size: 17px;
  }

  .final-report-details-content {
    padding:
      0 8px
      8px;
  }
}
/* 12주 최종 리포트 · 펼침 상태 제목 변경 */

.details-label-open {
  display: none;
}

.final-report-details[open]
.details-label-closed {
  display: none;
}

.final-report-details[open]
.details-label-open {
  display: inline;
}
/* 12주 최종 리포트 · 이번 시즌 변화 유형 */

.final-season-type {
  margin: 14px 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(118, 148, 115, 0.09);
}

.final-season-type-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.final-season-type-title span {
  font-size: 20px;
  line-height: 1;
}

.final-season-type-title strong {
  font-size: 17px;
  line-height: 1.4;
}

.final-season-type p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
/* v2.18 집중 코칭 루틴 선택 */

.focus-coaching-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(176, 137, 55, 0.28);
  background:
    linear-gradient(
      145deg,
      rgba(255, 253, 247, 0.98),
      rgba(255, 255, 255, 1)
    );
}

.focus-coaching-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(176, 137, 55, 0.75),
      transparent
    );
}

.focus-coaching-card.locked {
  border-color: rgba(120, 120, 120, 0.18);
  background: #ffffff;
}

.focus-coaching-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.focus-coaching-kicker {
  margin-bottom: 5px;
  color: #9a762f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.focus-trial-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(176, 137, 55, 0.3);
  border-radius: 999px;
  background: rgba(255, 249, 232, 0.85);
  color: #8a6725;
  font-size: 12px;
  font-weight: 800;
}

.focus-trial-badge.expired {
  border-color: rgba(120, 120, 120, 0.16);
  background: #f5f5f5;
  color: #777777;
}

.focus-coaching-description {
  margin: 0 0 14px;
  color: #555555;
  font-size: 14px;
  line-height: 1.65;
}

.focus-empty-box,
.focus-locked-box {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(176, 137, 55, 0.16);
  border-radius: 16px;
  background: rgba(255, 252, 244, 0.72);
}

.focus-locked-box {
  border-color: rgba(120, 120, 120, 0.14);
  background: #f8f8f8;
}

.focus-empty-box strong,
.focus-locked-box strong {
  display: block;
  margin-bottom: 6px;
  color: #282828;
  font-size: 14px;
}

.focus-empty-box p,
.focus-locked-box p {
  margin: 0;
  color: #6d6d6d;
  font-size: 13px;
  line-height: 1.6;
}

.focus-selected-routine {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(176, 137, 55, 0.22);
  border-radius: 18px;
  background: rgba(255, 250, 238, 0.8);
}

.focus-selected-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(176, 137, 55, 0.2);
  border-radius: 15px;
  background: #ffffff;
  font-size: 22px;
}

.focus-selected-content {
  min-width: 0;
}

.focus-selected-content span {
  display: block;
  margin-bottom: 3px;
  color: #94722e;
  font-size: 11px;
  font-weight: 800;
}

.focus-selected-content strong {
  display: block;
  overflow: hidden;
  color: #242424;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.focus-selected-content small {
  display: block;
  margin-top: 5px;
  color: #777777;
  font-size: 12px;
}

.focus-picker-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(176, 137, 55, 0.2);
  border-radius: 18px;
  background: #ffffff;
}

.focus-picker-title {
  margin-bottom: 4px;
  color: #282828;
  font-size: 14px;
  font-weight: 800;
}

.focus-picker-description {
  margin: 0 0 12px;
  color: #777777;
  font-size: 12px;
  line-height: 1.55;
}

.focus-routine-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.focus-routine-option {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid #e9e6df;
  border-radius: 14px;
  background: #ffffff;
  color: #292929;
  text-align: left;
  cursor: pointer;
}

.focus-routine-option:hover {
  border-color: rgba(176, 137, 55, 0.42);
  background: rgba(255, 251, 241, 0.7);
}

.focus-routine-option.selected {
  border-color: rgba(176, 137, 55, 0.38);
  background: rgba(255, 248, 229, 0.9);
  cursor: default;
}

.focus-routine-option:disabled {
  opacity: 1;
}

.focus-routine-icon {
  flex: 0 0 auto;
  font-size: 18px;
}

.focus-routine-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.focus-routine-action {
  flex: 0 0 auto;
  color: #94722e;
  font-size: 12px;
  font-weight: 800;
}

.focus-coaching-note {
  margin: 11px 2px 0;
  color: #898989;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 480px) {
  .focus-coaching-head {
    gap: 8px;
  }

  .focus-selected-routine {
    padding: 14px;
  }

  .focus-trial-badge {
    padding: 5px 8px;
    font-size: 11px;
  }
}

/* v2.19 simple core UX */

.app-shell {
  padding: 14px 16px 88px;
}

.topbar {
  padding: 4px 2px 10px;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 12px;
  box-shadow: 0 6px 16px rgba(127,159,126,.18);
}

.brand-title {
  font-size: 18px;
}

.card {
  margin: 10px 0;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(76,64,42,.055);
}

.today-overview {
  margin: 0 0 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf9;
}

.today-overview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.today-overview-top strong {
  flex: 0 0 auto;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
}

.today-overview-goal {
  margin-top: 8px;
  color: #272822;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.03em;
  line-height: 1.4;
}

.today-overview-goal.muted {
  color: var(--muted);
  font-weight: 700;
}

.today-overview-progress {
  height: 5px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
}

.today-overview-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width .25s ease;
}

.today-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.today-section-head .h2 {
  margin: 0;
}

.today-section-head > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.today-check-card {
  padding-bottom: 14px;
}

.today-check-list {
  margin-top: 10px;
}

.today-check-card .check-item {
  padding: 13px;
  border-radius: 16px;
}

.today-check-card .check-list {
  gap: 8px;
}

.today-empty {
  padding: 18px 8px 10px;
}

.simple-focus-card {
  margin: 10px 0;
  padding: 14px;
  border: 1px solid rgba(176,137,55,.24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,253,247,.98), #fff);
}

.simple-focus-card.expired {
  border-color: var(--line);
  background: #fff;
}

.simple-focus-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.simple-focus-head > div > strong,
.simple-focus-routine strong {
  display: block;
  margin-top: 3px;
  color: #272822;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.simple-focus-label {
  color: #94722e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.simple-focus-badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(176,137,55,.24);
  border-radius: 999px;
  background: rgba(255,249,232,.82);
  color: #8a6725;
  font-size: 10px;
  font-weight: 850;
}

.simple-focus-badge.expired {
  border-color: #e5e5e5;
  background: #f5f5f5;
  color: #777;
}

.simple-focus-routine {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.simple-focus-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(176,137,55,.16);
  border-radius: 11px;
  background: #fff;
  font-size: 17px;
}

.simple-focus-message {
  margin: 11px 0 0;
  color: #4f514b;
  font-size: 13px;
  line-height: 1.58;
}

.simple-focus-button {
  width: 100%;
  margin-top: 11px;
  padding: 10px 12px;
  border-radius: 13px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.simple-focus-change {
  display: block;
  margin: 9px 0 0 auto;
  padding: 4px 0;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 850;
}

.simple-focus-more {
  margin-top: 8px;
}

.simple-focus-more summary {
  width: max-content;
  list-style: none;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.simple-focus-more summary::-webkit-details-marker {
  display: none;
}

.simple-focus-more p {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.simple-focus-card .focus-picker-panel {
  margin-top: 10px;
  padding: 11px;
  border-radius: 15px;
}

.simple-focus-card .focus-picker-description {
  margin-bottom: 9px;
}

.simple-focus-card .focus-routine-list {
  gap: 6px;
  margin-bottom: 9px;
}

.simple-focus-card .focus-routine-option {
  padding: 10px 11px;
  border-radius: 12px;
}

.simple-focus-card .btn.full.secondary {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
}

.today-todo-card {
  padding: 14px;
}

.today-todo-input-row {
  margin-top: 10px;
}

.today-todo-card .input {
  padding: 11px 13px;
  border-radius: 14px;
}

.today-todo-card .add-only {
  width: 40px;
  height: 40px;
}

.today-todo-card #dailyTodoList:empty {
  display: none;
}

.stats-simple-page {
  display: block;
}

.stats-overview-card {
  padding: 18px;
}

.stats-eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.stats-summary-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 7px;
}

.stats-summary-line strong {
  color: #24251f;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -.07em;
}

.stats-summary-line span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.stats-guidance {
  margin: 13px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #3f413b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.stats-recent-card {
  padding: 15px 16px;
}

.stats-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 11px;
}

.stats-recent-item {
  padding: 11px 8px;
  border-radius: 14px;
  background: var(--soft);
  text-align: center;
}

.stats-recent-item strong {
  display: block;
  color: #272822;
  font-size: 20px;
  font-weight: 900;
}

.stats-recent-item span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.stats-detail-hub {
  padding: 0;
  overflow: hidden;
}

.stats-detail-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  list-style: none;
  cursor: pointer;
}

.stats-detail-summary::-webkit-details-marker {
  display: none;
}

.stats-detail-summary strong,
.stats-detail-summary span {
  display: block;
}

.stats-detail-summary strong {
  color: #272822;
  font-size: 14px;
  font-weight: 850;
}

.stats-detail-summary div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.stats-detail-arrow {
  flex: 0 0 auto;
  color: var(--accent-2);
  font-size: 20px;
  font-weight: 900;
  transition: transform .2s ease;
}

.stats-detail-hub[open] .stats-detail-arrow {
  transform: rotate(90deg);
}

.stats-detail-content {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
  border-top: 1px solid var(--line);
}

.stats-detail-content > .card,
.stats-detail-content > section.card,
.stats-detail-content .report-system-card,
.stats-detail-content .archive-card {
  margin: 8px 0 0;
  box-shadow: none;
}

.detail-section-shell {
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf9;
}

.detail-section-shell .collapse-card summary {
  font-size: 14px;
}

.analysis-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf9;
  text-align: left;
}

.analysis-link-row strong,
.analysis-link-row span {
  display: block;
}

.analysis-link-row strong {
  color: #272822;
  font-size: 14px;
  font-weight: 850;
}

.analysis-link-row div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.analysis-link-row > span {
  color: var(--accent-2);
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 480px) {
  .card {
    padding: 14px;
  }

  .stats-summary-line {
    gap: 8px;
  }

  .stats-summary-line strong {
    font-size: 31px;
  }
}



/* v2.19 final simplification pass */

/* 오늘체크만 큰 카드로 유지 */
.simple-focus-card,
.today-todo-card {
  box-shadow: none !important;
}

.simple-focus-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  margin: 4px 2px;
  padding: 12px 2px;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.simple-focus-card > .simple-focus-head,
.simple-focus-card > .simple-focus-message,
.simple-focus-card > .simple-focus-button,
.simple-focus-card > .focus-picker-panel {
  grid-column: 1 / -1;
}

.simple-focus-card .simple-focus-head {
  align-items: center;
}

.simple-focus-card .simple-focus-icon {
  width: 30px;
  height: 30px;
  border: 0;
  background: var(--soft);
  font-size: 15px;
}

.simple-focus-card .simple-focus-message {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.55;
}

.simple-focus-card .simple-focus-more {
  grid-column: 1;
  margin-top: 6px;
}

.simple-focus-card .simple-focus-change {
  grid-column: 2;
  align-self: start;
  margin: 6px 0 0;
}

.simple-focus-card .simple-focus-button {
  margin-top: 9px;
}

.simple-focus-card.expired {
  background: transparent;
}

.today-todo-card {
  margin: 2px 0 0;
  padding: 12px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.today-todo-card .h2 {
  font-size: 17px;
}

/* 이유 기록은 버튼이 아니라 보조 링크처럼 */
.failure-reason-compact {
  margin-top: 5px;
}

.failure-reason-open {
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 750;
}

.failure-reason-open:hover {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 최근 7일은 숫자 세 칸 대신 한 줄 */
.stats-recent-card {
  padding: 14px 16px;
}

.stats-recent-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stats-recent-line strong {
  color: #272822;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.stats-recent-line i {
  color: #b7b0a5;
  font-style: normal;
}

.stats-recent-line b {
  color: #4c5149;
  font-weight: 850;
}

/* 자세한 분석 내부는 상자 대신 한 줄 메뉴 구조 */
.stats-detail-content {
  gap: 0;
  padding: 0 14px 8px;
}

.stats-detail-content > .card,
.stats-detail-content > section.card,
.stats-detail-content > .detail-section-shell,
.stats-detail-content > .analysis-link-row,
.stats-detail-content > .season-archive-card {
  margin: 0;
  padding: 14px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stats-detail-content > .season-archive-card {
  border-bottom: 0;
}

.seven-day-pattern-card.compact .h2 {
  margin-bottom: 8px;
  font-size: 15px;
}

.seven-day-headline,
.seven-day-suggestion {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.seven-day-headline {
  color: #30322d;
  font-weight: 800;
}

.seven-day-suggestion {
  margin-top: 5px;
  color: var(--muted);
}

.detail-section-shell .collapse-card summary,
.analysis-link-row strong,
.season-archive-summary .h2 {
  font-size: 14px;
}

.analysis-link-row {
  width: 100%;
  text-align: left;
}

.season-archive-summary {
  padding: 0;
}

.season-archive-summary .archive-kicker {
  display: none;
}

.season-archive-summary .p {
  margin-top: 3px;
  font-size: 11px;
}

@media (max-width: 480px) {
  .simple-focus-card {
    margin-left: 0;
    margin-right: 0;
  }

  .stats-recent-line strong {
    font-size: 21px;
  }
}


/* v2.19 information-architecture final polish */
.today-overview-top {
  justify-content: flex-start;
}

/* 상단 진행률은 오늘체크 안에서만 보여줌 */
.today-overview-progress,
.today-overview-top strong {
  display: none !important;
}

/* 결과보기 화살표 규칙: 펼치기는 꺾쇠, 이동은 일반 › */
.stats-detail-arrow,
.stats-detail-content .detail-section-shell .collapse-arrow,
.stats-detail-content .season-archive-summary .collapse-arrow {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}

.stats-detail-hub[open] .stats-detail-arrow,
.stats-detail-content .detail-section-shell .collapse-card[open] .collapse-arrow {
  transform: rotate(180deg);
}

.stats-detail-content .season-archive-details[open] .season-archive-summary .collapse-arrow {
  transform: none;
}

/* v2.20 기록 기반 집중 코칭 */
.simple-focus-routine small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.simple-focus-card > .simple-focus-actions {
  grid-column: 1 / -1;
}

.simple-focus-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
}

.simple-focus-actions .simple-focus-button {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
}

.simple-focus-actions .simple-focus-change {
  margin: 0;
}

.focus-coaching-steps {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.focus-coaching-step,
.focus-experiment,
.focus-clarification-box {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.58);
}

.focus-coaching-step p,
.focus-experiment p {
  margin: 5px 0 0;
  color: #4f514b;
  font-size: 12px;
  line-height: 1.6;
}

.focus-coaching-step-label {
  display: block;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
}

.focus-experiment strong {
  display: block;
  margin-top: 4px;
  color: #262822;
  font-size: 13px;
}

.focus-experiment small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.focus-experiment.active {
  border-color: rgba(127,159,126,.34);
  background: rgba(127,159,126,.08);
}

.focus-experiment.suggestion {
  border-color: rgba(176,137,55,.25);
  background: rgba(255,249,232,.55);
}

.focus-experiment.safe {
  background: var(--soft);
}

.focus-experiment-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.focus-experiment-actions .btn {
  flex: 1;
  padding: 9px 10px;
  font-size: 11px;
}

.focus-experiment-finish {
  margin-top: 9px;
  padding: 0;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 850;
}

.focus-clarification-box label {
  display: block;
  margin-bottom: 8px;
  color: #30322d;
  font-size: 12px;
  font-weight: 850;
}

.focus-clarification-row {
  display: flex;
  gap: 7px;
}

.focus-clarification-row .input {
  min-width: 0;
  padding: 10px 11px;
  border-radius: 12px;
  font-size: 12px;
}

.focus-clarification-row .btn {
  flex: 0 0 auto;
}

.focus-result-summary-card {
  padding: 16px 18px;
}

.focus-result-kicker {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
}

.focus-result-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.focus-result-title strong {
  font-size: 17px;
}

.focus-result-title span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.focus-result-formula {
  margin: 13px 0 0;
  padding: 12px;
  border-radius: 14px;
  background: var(--soft);
}

.focus-result-formula span,
.focus-result-formula strong {
  display: block;
}

.focus-result-formula span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.focus-result-formula strong {
  margin-top: 4px;
  color: #2c3029;
  font-size: 14px;
  line-height: 1.5;
}

.focus-result-formula-note {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.focus-result-formula.candidate {
  background: rgba(255,249,232,.72);
}

.focus-result-formula.insufficient {
  background: rgba(127,159,126,.08);
}

.focus-result-details {
  margin-top: 11px;
}

.focus-result-details summary {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.focus-result-details > div {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.focus-result-details > div > span {
  color: #30322d;
  font-size: 11px;
  font-weight: 850;
}

.focus-result-details p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .focus-experiment-actions,
  .simple-focus-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .simple-focus-actions .simple-focus-button,
  .simple-focus-actions .simple-focus-change {
    width: 100%;
    text-align: center;
  }
}

/* v2.20 작은 실험 결과 평가 */
.focus-experiment-review {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.focus-experiment-rating-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 9px;
}

.focus-experiment-rating {
  min-height: 42px;
  padding: 9px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
  color: #4f514b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.focus-experiment-rating.selected {
  border-color: var(--accent);
  background: rgba(127,159,126,.14);
  color: var(--accent-2);
  box-shadow: 0 0 0 2px rgba(127,159,126,.08);
}

.focus-experiment-note-label {
  display: block;
  margin-top: 12px;
  color: #30322d;
  font-size: 11px;
  font-weight: 850;
}

.focus-experiment-note-label small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.focus-experiment-note {
  width: 100%;
  min-height: 72px;
  margin-top: 7px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 12px;
  line-height: 1.55;
  resize: vertical;
}

.focus-experiment-review-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.focus-experiment-review-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 11px;
}

@media (max-width: 380px) {
  .focus-experiment-rating-grid {
    grid-template-columns: 1fr;
  }

  .focus-experiment-review-actions {
    flex-direction: column;
  }
}



/* v2.21 trial conversion flow */
.trial-conversion-card .simple-focus-button {
  width: auto;
  min-width: 132px;
  justify-self: start;
  padding-inline: 16px;
}

.trial-selected-plan {
  grid-column: 1 / -1;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.trial-conversion-modal .pro-modal {
  max-width: 520px;
}

.trial-result-summary {
  margin: 16px 0 12px;
  padding: 13px 14px;
  border: 1px solid rgba(127,159,126,.22);
  border-radius: 16px;
  background: rgba(127,159,126,.08);
}

.trial-result-summary strong {
  display: block;
  font-size: 13px;
  line-height: 1.55;
}

.trial-access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 16px;
}

.trial-access-column {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf9;
}

.trial-access-column.pro {
  border-color: rgba(127,159,126,.3);
  background: rgba(127,159,126,.08);
}

.trial-access-column > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.trial-access-column > strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.trial-access-column ul {
  display: grid;
  gap: 6px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.trial-access-column li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.trial-access-column li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.trial-selected-plan-box {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--soft);
}

.trial-selected-plan-box span,
.trial-selected-plan-box small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.trial-selected-plan-box strong {
  display: block;
  margin: 3px 0;
  font-size: 15px;
}

.trial-guide-status {
  margin: 12px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(127,159,126,.2);
  border-radius: 14px;
  background: rgba(127,159,126,.08);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.membership-settings-card {
  gap: 0;
  overflow: hidden;
}

.membership-status-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 2px 12px;
  text-align: left;
}

.membership-status-label {
  display: block;
  margin-bottom: 3px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 850;
}

.membership-status-row strong {
  font-size: 16px;
  letter-spacing: -.03em;
}

.membership-status-arrow {
  color: var(--accent-2);
  font-size: 19px;
  font-weight: 900;
}

.membership-note {
  margin: 0;
  padding: 11px 2px 2px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.membership-plan-row {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--soft);
}

.membership-plan-row span,
.membership-plan-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.membership-plan-row strong {
  display: block;
  margin: 3px 0;
  font-size: 14px;
}

.payment-disabled-note {
  margin: 12px 0 15px;
  padding: 11px 12px;
  border: 1px solid rgba(199,166,90,.25);
  border-radius: 14px;
  background: rgba(255,249,232,.72);
  color: #79622f;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 420px) {
  .trial-access-grid {
    grid-template-columns: 1fr;
  }
}


/* v2.21 trial ending notice + pricing click fix */
.trial-ending-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 2px;
  padding: 10px 12px;
  border: 1px solid rgba(127,159,126,.2);
  border-radius: 14px;
  background: rgba(127,159,126,.08);
}

.trial-ending-note span {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.45;
}

.trial-ending-note button {
  flex: 0 0 auto;
  padding: 5px 0;
  color: var(--accent-2);
  font-size: 11.5px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 390px) {
  .trial-ending-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* v2.22 execution foundation */
.simple-focus-card > .focus-execution-start,
.simple-focus-card > .focus-execution-panel,
.simple-focus-card > .focus-execution-picker {
  grid-column: 1 / -1;
}

.focus-execution-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.focus-execution-primary,
.focus-execution-reduced {
  min-height: 42px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 900;
}

.focus-execution-primary {
  background: var(--accent);
  color: #fff;
}

.focus-execution-reduced {
  min-width: 84px;
  border: 1px solid rgba(127,159,126,.34);
  background: rgba(127,159,126,.09);
  color: var(--accent-2);
}

.focus-execution-picker,
.focus-execution-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.72);
}

.focus-execution-picker-head,
.focus-execution-running-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.focus-execution-picker-head strong,
.focus-execution-running-head strong,
.focus-execution-panel.result > strong,
.focus-execution-panel.other > strong {
  display: block;
  margin-top: 3px;
  color: #272822;
  font-size: 13px;
  font-weight: 900;
}

.focus-execution-picker-head > button {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--muted);
  font-size: 19px;
  line-height: 1;
}

.focus-execution-label {
  display: block;
  color: #94722e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
}

.focus-execution-duration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 11px;
}

.focus-execution-duration-grid button {
  min-height: 40px;
  border: 1px solid rgba(127,159,126,.28);
  border-radius: 12px;
  background: rgba(127,159,126,.08);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
}

.focus-execution-custom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 7px;
  margin-top: 8px;
}

.execution-duration-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.execution-duration-field .input {
  min-width: 0;
  padding: 10px 4px 10px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.execution-duration-field span {
  padding: 0 10px 0 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.focus-execution-custom button {
  min-width: 68px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 430px) {
  .focus-execution-custom {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .focus-execution-custom button {
    grid-column: 1 / -1;
    min-height: 40px;
  }
}

.focus-execution-picker > p,
.focus-execution-panel > p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.focus-execution-panel.running {
  border-color: rgba(127,159,126,.34);
  background: rgba(127,159,126,.08);
}

.focus-execution-panel.result {
  border-color: rgba(176,137,55,.28);
  background: rgba(255,249,232,.62);
}

.focus-execution-panel.other {
  background: var(--soft);
}

.focus-execution-time {
  flex: 0 0 auto;
  color: var(--accent-2);
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -.04em;
}

.focus-execution-finish {
  margin-top: 9px;
  padding: 0;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
}

.focus-execution-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 11px;
}

.focus-execution-result-grid button {
  min-height: 40px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #4f514b;
  font-size: 11px;
  font-weight: 850;
}

.focus-execution-result-grid button:first-child {
  border-color: rgba(127,159,126,.34);
  background: rgba(127,159,126,.1);
  color: var(--accent-2);
}


.focus-execution-cancel {
  display: block;
  margin: 10px auto 0;
  padding: 4px 0;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 430px) {
  .focus-execution-result-grid {
    grid-template-columns: 1fr;
  }

  .focus-execution-result-grid button {
    min-height: 38px;
  }
}


/* v2.22 execution time clarity fix */

/* v2.22 execution status linkage */
.today-routine-name {
  display: block;
}

.today-routine-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.today-routine-status {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.today-routine-status.completed {
  border-color: rgba(95, 135, 93, .28);
  background: rgba(127, 159, 126, .12);
  color: var(--accent-2);
}

.today-routine-status.reduced {
  border-color: rgba(176, 137, 55, .28);
  background: rgba(246, 237, 211, .55);
  color: #8a6a23;
}

.today-routine-status.partial {
  border-color: rgba(92, 120, 145, .24);
  background: rgba(225, 235, 242, .58);
  color: #526d7c;
}

.today-routine-status.not-today {
  border-color: rgba(130, 130, 130, .2);
  background: rgba(240, 240, 240, .7);
  color: #767676;
}

.today-routine-status-row small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
}

.check-item.done .today-routine-status-row small {
  color: #8b8b8b;
}

/* v2.22.2 execution UX polish */
.focus-routine-option {
  position: relative;
  background: #fffdf9;
  box-shadow: 0 4px 12px rgba(76, 64, 42, .035);
  transition:
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}

.focus-routine-option:hover {
  border-color: rgba(127, 159, 126, .48);
  background: rgba(127, 159, 126, .055);
  box-shadow: 0 7px 18px rgba(76, 64, 42, .07);
}

.focus-routine-option:active:not(:disabled) {
  transform: translateY(1px);
}

.focus-routine-option:focus-visible {
  outline: 3px solid rgba(127, 159, 126, .18);
  outline-offset: 2px;
}

.focus-routine-action {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(127, 159, 126, .10);
  color: var(--accent-2);
  white-space: nowrap;
}

.focus-routine-option.selected .focus-routine-action {
  background: rgba(176, 137, 55, .12);
  color: #8a6a23;
}

.focus-execution-custom button:disabled {
  background: #e7e5df;
  color: #aaa69e;
  cursor: not-allowed;
  opacity: 1;
}

.focus-execution-panel.result {
  border-color: var(--line);
  background: #fffdf9;
}

.focus-execution-panel.result.reduced {
  border-color: rgba(176, 137, 55, .34);
  background: rgba(255, 248, 229, .74);
}

.focus-execution-result-grid button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  background: #fff;
  color: #3f413c;
  transition:
    border-color .15s ease,
    background .15s ease,
    transform .15s ease;
}

.focus-execution-result-grid button:first-child {
  border-color: var(--line);
  background: #fff;
  color: #3f413c;
}

.focus-execution-result-grid button:hover,
.focus-execution-result-grid button:focus-visible {
  border-color: rgba(127, 159, 126, .42);
  background: rgba(127, 159, 126, .07);
}

.focus-execution-result-grid button:active {
  transform: translateY(1px);
}

.focus-execution-result-grid button span {
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1.2;
}

.focus-execution-result-grid button small {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.25;
}

.focus-execution-result-note {
  margin-top: 9px !important;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(0, 0, 0, .028);
  text-align: center;
}

.focus-execution-panel.result.reduced
.focus-execution-result-note {
  background: rgba(176, 137, 55, .08);
  color: #7d682d;
}

/* v2.22.2 membership account-row polish */
.membership-account-row {
  align-items: center;
}

.membership-account-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9b958d;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.membership-account-status::after {
  content: "›";
  color: #9b958d;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}



/* v2.22.3 analysis trust & UX polish */
.stats-rate-block {
  display: inline-grid;
  gap: 1px;
  align-items: start;
}

.stats-rate-block small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}

.stats-rate-block strong {
  line-height: 1;
}

.focus-routine-action {
  min-width: 24px;
  min-height: 24px;
  padding: 2px 4px;
  background: transparent;
  font-size: 16px;
}

.focus-routine-option.selected .focus-routine-action {
  min-width: auto;
  padding: 5px 8px;
  background: rgba(176, 137, 55, .12);
  font-size: 11px;
}

.settings-logout-link {
  display: block;
  margin: 22px auto 4px;
  padding: 8px 14px;
  color: #9b958d;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(155, 149, 141, .45);
  text-underline-offset: 4px;
}

.settings-logout-link:hover,
.settings-logout-link:focus-visible {
  color: #6f6b64;
}

/* v2.22.4 · notification onboarding and trustworthy device status */
.notification-settings-card{
  gap:10px;
}
.notification-setting-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.notification-setting-heading strong{
  font-size:15px;
  letter-spacing:-.025em;
}
.notification-status-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  background:#c8c1b4;
  box-shadow:0 0 0 4px rgba(128,117,95,.08);
  flex:0 0 auto;
}
.notification-status-dot[data-tone="on"]{
  background:#8a7341;
  box-shadow:0 0 0 4px rgba(138,115,65,.12);
}
.notification-status-dot[data-tone="check"]{
  background:#c79d4a;
  box-shadow:0 0 0 4px rgba(199,157,74,.12);
}
.notification-status-dot[data-tone="off"]{
  background:#aaa399;
}
.notification-status-copy{
  margin:0;
  min-height:18px;
}
.notification-device-note{
  margin:0;
  text-align:center;
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}
.notification-onboarding-modal,
.notification-blocked-guide{
  z-index:60;
}
.notification-onboarding-card{
  padding:22px 18px 18px;
  border-radius:28px;
}
.notification-onboarding-card h3{
  margin:14px 0 8px;
  font-size:21px;
  line-height:1.28;
  letter-spacing:-.045em;
  text-align:center;
}
.notification-modal-mark{
  width:48px;
  height:48px;
  margin:0 auto;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:linear-gradient(145deg,#f5eddc,#fffaf0);
  border:1px solid rgba(151,124,65,.22);
  color:#8a7341;
  font-size:13px;
  font-weight:900;
  letter-spacing:-.04em;
  box-shadow:0 12px 26px rgba(91,74,41,.10);
}
.notification-modal-copy{
  margin:0 auto;
  max-width:390px;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
  text-align:center;
  word-break:keep-all;
}
.notification-benefit-box,
.notification-help-box{
  margin:16px 0;
  padding:12px;
  border-radius:18px;
  background:#faf7f0;
  border:1px solid rgba(129,111,76,.12);
}
.notification-benefit-box{
  display:grid;
  gap:9px;
}
.notification-benefit-box>div{
  display:grid;
  grid-template-columns:44px 1fr;
  align-items:center;
  gap:10px;
}
.notification-benefit-box span{
  display:grid;
  place-items:center;
  min-height:28px;
  border-radius:10px;
  background:#fff;
  border:1px solid rgba(129,111,76,.12);
  color:#8a7341;
  font-size:11px;
  font-weight:850;
}
.notification-benefit-box p{
  margin:0;
  color:#554d40;
  font-size:13px;
  line-height:1.45;
}
.notification-help-box{
  color:#554d40;
  font-size:13px;
  line-height:1.65;
  text-align:center;
}
.notification-modal-actions{
  gap:8px;
}
.notification-onboarding-card .notification-device-note{
  margin-top:10px;
}
@media (min-width:700px){
  .notification-onboarding-modal,
  .notification-blocked-guide{
    place-items:center;
  }
  .notification-onboarding-card{
    max-width:460px;
  }
}



/* v2.22.5 · compact status toast and settings information architecture */
.settings-version-note{
  margin:4px 0 14px;
  text-align:center;
  color:#aaa399;
  font-size:10px;
  font-weight:700;
  letter-spacing:.01em;
}
.season-management-group .restart-season-box.compact{
  margin:0;
}
.season-management-group .restart-season-box.compact p{
  margin:6px 0 12px;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}


/* v2.22.6 · compact notification settings row and detail modal */
.notification-settings-row{
  width:100%;
}
.notification-row-meta{
  display:flex;
  align-items:center;
  gap:8px;
  color:#9a9388;
  font-size:12px;
  font-weight:750;
}
.notification-row-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}
.notification-row-status::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:#aaa399;
  box-shadow:0 0 0 3px rgba(128,117,95,.07);
}
.notification-row-status[data-tone="on"]{
  color:#71886e;
}
.notification-row-status[data-tone="on"]::before{
  background:#88a584;
  box-shadow:0 0 0 3px rgba(136,165,132,.12);
}
.notification-row-status[data-tone="check"]{
  color:#9b7e43;
}
.notification-row-status[data-tone="check"]::before{
  background:#c79d4a;
  box-shadow:0 0 0 3px rgba(199,157,74,.12);
}
.notification-row-status[data-tone="off"]{
  color:#9b958d;
}
.notification-settings-detail{
  z-index:60;
}
.notification-detail-card{
  max-width:460px;
}
.notification-detail-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.notification-detail-heading h3{
  margin:3px 0 0;
  text-align:left;
}
.notification-detail-label{
  display:block;
  color:#9a9388;
  font-size:11px;
  font-weight:800;
}
.notification-detail-copy{
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
  text-align:left;
  word-break:keep-all;
}
.notification-detail-benefits{
  margin-top:16px;
}
@media (max-width:480px){
  .notification-settings-detail{
    align-items:flex-end;
  }
  .notification-detail-card{
    width:100%;
    max-width:none;
    border-radius:28px 28px 0 0;
    padding-bottom:calc(18px + env(safe-area-inset-bottom));
  }
}

/* v2.22.7 · compact reminder time selects */
.reminder-time-field{
  gap:8px;
}
.reminder-time-field > span{
  font-weight:800;
}
.reminder-time-select-row{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(64px,.7fr) auto minmax(64px,.7fr) auto;
  align-items:center;
  gap:8px;
}
.reminder-time-select{
  min-width:0;
  height:48px;
  padding:0 34px 0 14px;
  font-size:15px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  background-color:#fffdfa;
}
.reminder-time-select:disabled{
  opacity:.42;
}
.reminder-time-unit{
  color:#7f786f;
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
}
@media (max-width:380px){
  .reminder-time-select-row{
    grid-template-columns:minmax(0,1.2fr) minmax(58px,.7fr) auto minmax(58px,.7fr) auto;
    gap:6px;
  }
  .reminder-time-select{
    padding-left:10px;
    padding-right:28px;
    font-size:14px;
  }
}


/* v2.22.9 compact secondary settings */
.other-settings-group{
  margin-top:24px;
}
.other-settings-details{
  border:0;
}
.other-settings-summary{
  list-style:none;
  cursor:pointer;
  border-radius:22px;
  border:1px solid var(--line);
  box-shadow:0 10px 26px rgba(74,69,58,.055);
}
.other-settings-summary::-webkit-details-marker{
  display:none;
}
.other-settings-chevron{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform .22s ease;
}
.other-settings-details[open] .other-settings-chevron{
  transform:rotate(90deg);
}
.other-settings-body{
  margin-top:10px;
}
.other-settings-body > .settings-group{
  margin:0;
}
.other-settings-body .settings-group-title{
  display:none;
}
.other-settings-body > .settings-group + .settings-group{
  margin-top:10px;
}
.other-settings-body .settings-card{
  box-shadow:none;
}
.other-settings-body .settings-version-note{
  margin-top:18px;
}
.other-settings-body .settings-logout-link{
  margin-top:14px;
}

/* v2.24.0 · monthly record calendar */
.monthly-record-shell{margin-top:0}
.monthly-record-content{padding-top:4px}
.monthly-toolbar{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:10px;margin-bottom:12px}
.monthly-toolbar>div{text-align:center;display:flex;flex-direction:column;gap:3px}
.monthly-toolbar strong{font-size:17px;letter-spacing:-.03em}
.monthly-toolbar span{font-size:12px;color:var(--muted)}
.monthly-nav-btn{height:38px;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:25px;line-height:1;color:#5f665f;cursor:pointer}
.monthly-weekdays,.monthly-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.monthly-weekdays{margin-bottom:5px}
.monthly-weekdays span{text-align:center;font-size:11px;color:var(--muted);font-weight:700}
.monthly-day{position:relative;min-width:0;min-height:54px;border:1px solid #e7e6df;border-radius:13px;background:#fbfbf8;padding:7px 4px 5px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;color:#4f554f;cursor:pointer}
.monthly-day.empty{border-color:transparent;background:transparent;pointer-events:none}
.monthly-day.complete{background:#eaf5ee;border-color:#c8e4d0}
.monthly-day.partial{background:#fff7df;border-color:#ecdda9}
.monthly-day.missed{background:#f7f3f1;border-color:#eadcd7}
.monthly-day.future,.monthly-day.outside{opacity:.38}
.monthly-day.today{box-shadow:inset 0 0 0 2px #54745f}
.monthly-day-number{font-size:12px;font-weight:800}
.monthly-day-rate{font-size:10px;font-weight:700}
.monthly-day-rate.muted{color:#b9bbb6}
.monthly-reason-dot{position:absolute;right:5px;bottom:5px;width:6px;height:6px;border-radius:50%;background:#b88358}
.monthly-legend{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:12px;font-size:11px;color:var(--muted)}
.monthly-legend span{display:inline-flex;align-items:center;gap:5px}
.monthly-legend i{width:9px;height:9px;border-radius:3px;border:1px solid transparent}
.monthly-legend i.complete{background:#eaf5ee;border-color:#c8e4d0}
.monthly-legend i.partial{background:#fff7df;border-color:#ecdda9}
.monthly-legend i.missed{background:#f7f3f1;border-color:#eadcd7}
.monthly-legend i.reason{width:7px;height:7px;border-radius:50%;background:#b88358}
.monthly-detail-summary{margin:-2px 0 14px;color:var(--muted);font-size:13px}
.monthly-detail-list{display:flex;flex-direction:column;gap:8px;max-height:52vh;overflow:auto;margin-bottom:12px}
.monthly-detail-routine{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:16px;padding:12px;background:#fff}
.monthly-detail-routine.done{background:#f3f8f4;border-color:#d6e7d9}
.monthly-detail-routine-main{display:flex;align-items:center;gap:10px;min-width:0}
.monthly-detail-icon{font-size:20px;flex:0 0 auto}
.monthly-detail-routine-main>div{min-width:0;display:flex;flex-direction:column;gap:3px}
.monthly-detail-routine strong{font-size:14px;white-space:normal;word-break:keep-all}
.monthly-detail-routine small{font-size:11px;color:#9a6749}
.monthly-detail-status{flex:0 0 auto;font-size:12px;font-weight:800;color:#667067}
.monthly-detail-empty{padding:28px 12px;text-align:center;color:var(--muted);background:#faf9f5;border-radius:16px}
@media (max-width:420px){
  .monthly-weekdays,.monthly-calendar-grid{gap:4px}
  .monthly-day{min-height:49px;border-radius:11px;padding:6px 2px 4px}
  .monthly-day-number{font-size:11px}
  .monthly-day-rate{font-size:9px}
}


/* v2.25.1 today-todo reminder */
.today-todo-reminder-field {
  margin-top: 10px;
}

.today-todo-reminder-field > span {
  font-size: 13px;
}

.daily-todo-reminder-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted, #7b7b73);
}

/* v2.26.0 · native system bar safe area */
.app-shell {
  padding-top: calc(
    18px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))
  );
  padding-bottom: calc(
    88px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))
  );
}

.tabs {
  bottom: calc(
    14px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))
  );
}

.toast {
  bottom: calc(
    82px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))
  );
}

@media (min-width: 700px) {
  .app-shell {
    padding-top: calc(
      28px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))
    );
  }
}

/* v2.26.0 · native modal safe area */
.modal-backdrop {
  padding-top: calc(
    16px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))
  );

  padding-right: 16px;

  padding-bottom: calc(
    16px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))
  );

  padding-left: 16px;

  scroll-padding-top: calc(
    16px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))
  );

  scroll-padding-bottom: calc(
    16px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))
  );
}

.modal {
  max-height: calc(
    100vh
    - 32px
    - var(--safe-area-inset-top, env(safe-area-inset-top, 0px))
    - var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))
  );
}

@supports (height: 100dvh) {
  .modal {
    max-height: calc(
      100dvh
      - 32px
      - var(--safe-area-inset-top, env(safe-area-inset-top, 0px))
      - var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))
    );
  }
}

/* v2.26.0 native app top safe area */
.app-shell {
  padding-top: calc(
    14px +
    var(
      --safe-area-inset-top,
      env(safe-area-inset-top, 0px)
    )
  );
}

@media (min-width: 700px) {
  .app-shell {
    padding-top: calc(
      28px +
      var(
        --safe-area-inset-top,
        env(safe-area-inset-top, 0px)
      )
    );
  }
}
/* v2.26.0 fixed status bar cover */
body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  left: 0;

  height: calc(
    var(
      --safe-area-inset-top,
      env(safe-area-inset-top, 0px)
    ) + 1px
  );

  background: #fbfaf6;
  pointer-events: none;
  z-index: 50;
}
/* v2.26.0 today todo edit */
.daily-todo-edit {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--accent-2, #648162);
  padding: 7px 3px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.daily-todo-edit:active {
  opacity: 0.65;
}

.daily-todo-edit-card {
  width: min(100%, 460px);
}

.daily-todo-edit-card h3 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.daily-todo-edit-card .reminder-time-field {
  margin-top: 16px;
}

.daily-todo-edit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

/* v2.26.0 reminder select digit visibility fix */
.reminder-time-select-row {
  grid-template-columns:
    minmax(0, 1fr)
    minmax(78px, .72fr)
    auto
    minmax(78px, .72fr)
    auto;
  gap: 6px;
}

.reminder-time-select {
  width: 100%;
  padding-left: 12px;
  padding-right: 26px;
  text-align: left;
  text-align-last: left;
}

@media (max-width: 380px) {
  .reminder-time-select-row {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(74px, .72fr)
      auto
      minmax(74px, .72fr)
      auto;
    gap: 5px;
  }

  .reminder-time-select {
    padding-left: 10px;
    padding-right: 24px;
    font-size: 14px;
  }

  .reminder-time-unit {
    font-size: 13px;
  }
}


/* v2.26.0 korean app confirm modal */
.app-confirm-card {
  width: min(100%, 440px);
}

.app-confirm-card h3 {
  margin: 0 0 14px;
}

.app-confirm-message {
  margin: 0;
  line-height: 1.65;
  word-break: keep-all;
}

.app-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.app-confirm-delete {
  background: #a95f58;
  color: #fff;
  border-color: transparent;
}


/* v2.26.0 notification tap destination */
.notification-entry-highlight {
  position: relative;
  outline: 3px solid rgba(125, 160, 126, .62);
  outline-offset: 4px;
  animation:
    notification-entry-pulse 1.2s ease-in-out 2;
}

@keyframes notification-entry-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(125, 160, 126, 0);
  }

  50% {
    box-shadow:
      0 0 0 10px rgba(125, 160, 126, .16);
  }
}

/* =========================================================
   v2.26 UI POLISH v1
   Compact / clean / low-noise
   ========================================================= */

:root{
  --ui-radius-lg: 22px;
  --ui-radius-md: 18px;
  --ui-shadow-soft: 0 8px 22px rgba(74,69,58,.035);
}

/* 공통 카드 톤 */
.card,
.settings-card,
.stats-overview,
.today-overview,
.notification-settings-detail,
.other-settings-group{
  border-radius: var(--ui-radius-lg) !important;
  box-shadow: var(--ui-shadow-soft) !important;
}

/* 섹션 간격 압축 */
.settings-group,
.today-overview,
.stats-overview{
  margin-bottom: 18px !important;
}

/* 설정 화면 */
.settings-card{
  padding: 22px 20px !important;
}

.settings-group-title{
  margin-bottom: 14px !important;
}

.settings-card input,
.settings-card select{
  min-height: 54px !important;
  border-radius: var(--ui-radius-md) !important;
}

.settings-card button{
  min-height: 52px !important;
  border-radius: var(--ui-radius-md) !important;
}

/* 등록된 루틴 / 기타 설정 */
.routine-list-title,
.other-settings-summary{
  min-height: 72px !important;
}

/* 오늘체크 */
.today-overview{
  padding: 22px 20px !important;
}

.today-overview .card{
  padding: 20px 18px !important;
}

/* 결과보기 */
.stats-overview{
  padding: 22px 20px !important;
}

.stats-overview h2,
.stats-overview h3{
  margin-bottom: 12px !important;
}

/* 하단 탭 */
.tabs{
  min-height: 72px !important;
  padding: 8px !important;
  border-radius: 28px !important;
  box-shadow: 0 8px 22px rgba(74,69,58,.06) !important;
}

.tabs button{
  min-height: 54px !important;
  border-radius: 20px !important;
}

/* 모바일에서 불필요한 세로 여백 축소 */
@media (max-width: 520px){
  .settings-card,
  .stats-overview,
  .today-overview{
    padding: 20px 16px !important;
  }

  .settings-group{
    margin-top: 24px !important;
  }
}


/* ˸   ߸  */
.today-todo-reminder-field select:first-child,
.reminder-time-field select:first-child {
  font-size: 16px !important;
}


/*  ȭ ˸   ߸   */
.reminder-time-field select:first-child {
  font-size: 15px !important;
}


/*  ȭ ˸ ĭ - ؽƮ  Ȯ */
.reminder-time-field select:first-child {
  font-size: 15px !important;
  padding-left: 12px !important;
  padding-right: 28px !important;
}


/* v2.26.0 settings reminder final width fix */
.settings-card .reminder-time-select-row {
  grid-template-columns: minmax(0,1.55fr) minmax(64px,.7fr) auto minmax(64px,.7fr) auto !important;
}

.settings-card .reminder-time-field select:first-child {
  font-size: 17px !important;
  letter-spacing: -0.04em !important;
}


/* v2.26.0 settings reminder exact mobile fix */
.settings-card .reminder-time-select-row {
  grid-template-columns: minmax(112px,1.5fr) minmax(56px,.65fr) auto minmax(56px,.65fr) auto !important;
  gap: 6px !important;
}

.settings-card .reminder-time-field select:first-child {
  font-size: 16px !important;
  letter-spacing: -0.05em !important;
  padding-left: 12px !important;
  padding-right: 28px !important;
}


/* v2.26.0 reminder row - hour/minute visibility fix */
.settings-card .reminder-time-select-row {
  grid-template-columns:
    minmax(112px,1.45fr)
    minmax(72px,.72fr)
    auto
    minmax(72px,.72fr)
    auto !important;
  gap: 6px !important;
}

/* ð/ ĭ   Ȯ */
.settings-card .reminder-time-select-row select:not(:first-child) {
  font-size: 17px !important;
  padding-left: 8px !important;
  padding-right: 24px !important;
}


/* v2.26.0 reminder number final micro adjustment */
.settings-card .reminder-time-select-row select:not(:first-child) {
  padding-right: 20px !important;
}


/* =========================================================
   v2.26 FINAL UI POLISH - PHASE 1
   기능/알림행 유지 + 전체 밀도 정리
   ========================================================= */

/* 공통 카드 */
.settings-card,
.stats-overview,
.today-overview,
.other-settings-group {
  border-radius: 20px !important;
  box-shadow: 0 5px 16px rgba(74,69,58,.025) !important;
}

/* 설정하기 - 큰 덩어리 압축 */
.settings-card {
  padding: 18px 16px !important;
}

.settings-group {
  margin-top: 22px !important;
  margin-bottom: 16px !important;
}

.settings-group-title {
  margin-bottom: 12px !important;
}

/* 시작일 / 목표 입력창 */
.settings-card > input,
.settings-card > select {
  min-height: 52px !important;
  border-radius: 17px !important;
}

/* 저장 / 루틴 추가 버튼 */
.settings-card > button {
  min-height: 50px !important;
  border-radius: 17px !important;
}

/* 요일 버튼: 구조는 유지하고 높이만 살짝 */
.day-btn,
.weekday-btn {
  min-height: 46px !important;
}

/* 접힌 설정 카드 */
.routine-list-title,
.other-settings-summary {
  min-height: 64px !important;
}

/* 오늘체크 */
.today-overview {
  padding: 18px 16px !important;
  margin-bottom: 16px !important;
}

.today-overview .card {
  padding: 17px 16px !important;
}

/* 결과보기 */
.stats-overview {
  padding: 18px 16px !important;
  margin-bottom: 14px !important;
}

.stats-overview h2,
.stats-overview h3 {
  margin-top: 0 !important;
  margin-bottom: 9px !important;
}

/* 하단 메뉴 */
.tabs {
  min-height: 66px !important;
  padding: 7px !important;
  border-radius: 24px !important;
  box-shadow: 0 6px 18px rgba(74,69,58,.045) !important;
}

.tabs button {
  min-height: 50px !important;
  border-radius: 18px !important;
}

/* 알림 시간 레이아웃은 현재 정상 상태 보호:
   reminder-time-field / reminder-time-select-row 수정 금지 */


/* v2.26 settings bottom breathing room */
.other-settings-group {
  margin-bottom: 96px !important;
}


/* v2.26 settings bottom spacing final */
.other-settings-group {
  margin-bottom: 40px !important;
}

