:root {
  --page-bg: #f3f7ef;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(252, 254, 249, 0.92);
  --text: #18211a;
  --text-soft: #657068;
  --green-950: #123d1d;
  --green-900: #164e25;
  --green-800: #1d6a31;
  --green-700: #2f8e38;
  --green-600: #4eaf31;
  --green-500: #72c63d;
  --green-300: #b8de83;
  --green-100: #edf7dd;
  --blue-700: #2457c5;
  --blue-600: #2d65db;
  --red-600: #dd3c38;
  --red-100: #fff7f6;
  --purple-600: #7542d2;
  --line: rgba(49, 82, 52, 0.13);
  --line-strong: rgba(48, 92, 49, 0.2);
  --shadow-sm: 0 7px 20px rgba(41, 72, 39, 0.08);
  --shadow-md: 0 13px 34px rgba(39, 72, 39, 0.11);
  --shadow-lg: 0 22px 56px rgba(34, 69, 34, 0.14);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-sans: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #34383b;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: #34383b;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(70, 166, 54, 0.28);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.dashboard-app {
  width: min(1580px, calc(100% - 28px));
  margin: 14px auto;
  padding: 0 0 14px;
  border: 1px solid rgba(63, 99, 64, 0.16);
  border-radius: var(--radius-xl);
  background: #ffffff;

  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dashboard-header {
  min-height: 128px;
  display: grid;
  grid-template-columns: minmax(285px, 1.15fr) minmax(270px, 1.15fr) minmax(270px, 1fr) minmax(240px, .82fr) minmax(205px, .76fr);
  align-items: center;
  gap: 16px;
  padding: 18px 36px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(40, 69, 38, 0.07);
}

.brand-section,
.header-message-section,
.clock-section,
.date-section,
.weather-section {
  min-width: 0;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-shield {
  width: 58px;
  height: 66px;
  flex: 0 0 auto;


  background:
          url("../images/shortsguard_bi.png") right center / 95% 85% no-repeat;


}

.brand-shield svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy h1 {
  margin: 0;
  color: #151c1a;
  font-size: calc(clamp(25.6px, 1.68vw, 31.2px) - .8pt);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.brand-copy .brand-guard {

  color: #327e49;
}

.brand-copy p {
  margin: 7px 0 0;
  color: #596779;
  font-size: clamp(10.4px, .896vw, 15.4px);
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
  text-align:center;
}

.header-message-section {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 8px;
}

.header-leaf-icon {
  position: relative;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  /* color: transparent;
   transform: rotate(-20deg);*/

  background:
          url("../images/leaf_top.png") right center / 100% 100% no-repeat;


}

/*
.header-leaf-icon::before {
  content: "";
  position: absolute;
  inset: 3px 2px 8px 2px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #92d946, #3ca23a);
  box-shadow: inset -2px -2px 5px rgba(20, 99, 35, 0.16);
}

.header-leaf-icon::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 1px;
  width: 2px;
  height: 19px;
  border-radius: 4px;
  background: #499f3b;
  transform: rotate(28deg);
  transform-origin: bottom;
}
*/
.header-message-section p {
  margin: 0;
  color: #202824;
  font-size: clamp(12px, 1vw, 20.5px);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.clock-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.current-time {
  display: inline-flex;
  align-items: baseline;
  color: #000000;
  font-variant-numeric: tabular-nums;
  font-size: calc(clamp(37.6px, 3.4vw, 46.6px) - 1.6pt);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.clock-colon {
  display: inline-block;
  margin: 0 .045em;
  font-size: 70%;
  opacity: 1;
}

.clock-colon.is-dimmed {
  opacity: .15;
}

.clock-ampm {
  margin-left: 12px;
  font-size: .43em;
  font-weight: 500;
  letter-spacing: -.01em;
}

.date-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
}

.date-section::before,
.date-section::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(65, 75, 68, 0.22);
}

.date-section::before {
  left: 0;
}

.date-section::after {
  right: 0;
}

.date-section time {
  color: #171c1b;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.35;
  font-weight: 550;
  text-align: center;
  white-space: nowrap;
}

.weather-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.weather-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #f8b811;
  font-size: 53px;
  line-height: 1;
  filter: drop-shadow(0 5px 8px rgba(245, 176, 0, 0.16));
}

.weather-icon.weather-cloudy,
.weather-icon.weather-fog {
  color: #97a5af;
  font-size: 48px;
}

.weather-icon.weather-rain,
.weather-icon.weather-snow,
.weather-icon.weather-storm {
  color: #4c86cb;
  font-size: 45px;
}

.weather-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 88px;
  color: #1d231f;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.2;
}

.weather-location-line {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.weather-location-line strong {
  font-weight: 700;
}

.weather-copy > span {
  color: #354039;
  font-weight: 550;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(470px, .91fr) minmax(670px, 1.09fr);
  gap: 22px;
  padding: 24px 24px 0;
}

.dashboard-column {
  min-width: 0;
}

.dashboard-column-left,
.dashboard-column-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.quote-card {
  position: relative;
  min-height: 540px;
  padding: 82px 50px 74px;
  border: 1px solid rgba(73, 111, 51, 0.13);
  border-radius: var(--radius-lg);
  background:
    /*linear-gradient(90deg, rgba(255, 255, 249, .98) 0%, rgba(252, 255, 247, .96) 42%, rgba(253, 255, 248, .36) 68%, rgba(239, 249, 219, .08) 100%),*/
    /*url("../images/sprout-hero-v033.jpg") right center / 54% 100% no-repeat,*/
          url("../images/quote-bg.png") right center / 100% 100% no-repeat;
  /* linear-gradient(135deg, #f9fff0, #edf7d5);*/
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -12px;
  left: -8px;
  width: 330px;
  height: 115px;
  background:
    /* radial-gradient(ellipse at 12% 15%, #6db72a 0 13%, transparent 14%),
     radial-gradient(ellipse at 34% 3%, #8ace42 0 17%, transparent 18%),
     radial-gradient(ellipse at 58% 7%, #70bd31 0 15%, transparent 16%),
     radial-gradient(ellipse at 79% 0%, #9bd855 0 18%, transparent 19%),
     linear-gradient(155deg, transparent 46%, rgba(65, 127, 36, .6) 47% 49%, transparent 50%); */
  opacity: .93;
  filter: drop-shadow(0 4px 5px rgba(49, 112, 28, .13));
  pointer-events: none;
}

.quote-card-shade {
  position: absolute;
  inset: 0;
  background:
          radial-gradient(circle at 68% 8%, rgba(255, 255, 255, .53), transparent 28%),
          linear-gradient(90deg, rgba(252, 255, 247, .28), transparent 74%);
  pointer-events: none;
}

.quote-refresh-hitarea {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: default;
  pointer-events: none;
}

.quote-mark,
.quote-text,
.quote-author,
.quote-tags,
.quote-pagination {
  position: relative;
  z-index: 3;
}

.quote-mark {
  display: block;
  margin-bottom: 18px;
  color: #59a52f;
  font-family: Georgia, serif;
  font-size: 75px;
  line-height: .52;
  font-weight: 800;
}

.quote-text {
  width: 74%;
  margin: 0;
  color: var(--green-950);
  font-size: calc(clamp(27px, 2.295vw, 30.7px) - .9pt);
  line-height: 1.52;
  font-weight: 750;
  letter-spacing: -0.045em;
  word-break: keep-all;
  text-wrap: balance;
}

.quote-author {
  width: 72%;
  margin: 24px 0 0;
  color: #263228;
  font-size: clamp(14px, 1.15vw, 19px);
  font-weight: 500;
}

.quote-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 45px;
}

.quote-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 18px;
  border-radius: 999px;
  color: #386024;
  background: rgba(224, 244, 186, .78);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(5px);
}

.quote-pagination {
  position: absolute;
  left: 50%;
  bottom: 19px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 13px;
}

.quote-nav-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(62, 88, 63, .12);
  border-radius: 50%;
  color: #24322a;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 12px rgba(44, 68, 43, .1);
  font-size: 30px;
  line-height: 1;
  transition: transform .18s ease, background .18s ease;
}

.quote-nav-button:hover {
  transform: translateY(-2px);
  background: #fff;
}

.quote-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #b8beb8;
}

.quote-dot.is-active {
  background: #176226;
}

.mission-card {
  min-height: 145px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px 25px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
          linear-gradient(125deg, rgba(16, 136, 54, .98), rgba(102, 183, 42, .97)),
          radial-gradient(circle at 70% 10%, rgba(255, 255, 255, .22), transparent 30%);
  box-shadow: 0 14px 30px rgba(41, 139, 43, .23);
  overflow: hidden;
}

.mission-icon-wrap {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
}

.mission-icon-wrap svg {
  width: 44px;
  height: 44px;
}

.mission-copy {
  min-width: 0;
}

.mission-copy h2 {
  margin: 0;
  font-size: calc(clamp(22px, 1.9vw, 26px) - 2pt);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mission-copy p {
  margin: 9px 0 0;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.3;
  font-weight: 500;
}

.mission-start-button {
  min-width: 190px;
  min-height: 62px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 15px 24px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 13px;
  color: #1d5328;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 20px rgba(23, 99, 35, .15);
  font-size: 18px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}

.mission-start-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(23, 99, 35, .2);
}

.mission-start-button:disabled {
  opacity: .76;
  cursor: default;
}

.summary-row {
  display: grid;
  grid-template-columns: .86fr .86fr 1.12fr;
  gap: 18px;
}

.metric-card,
.goal-card,
.shorts-time-card,
.encouragement-card,
.dashboard-footer,
.link-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.metric-card {
  min-height: 294px;
  padding: 30px 28px 28px;
  border-radius: var(--radius-lg);
}

.metric-card-prefrontal {
  background: linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(247, 250, 255, .98));
  border-color: rgba(46, 99, 206, .13);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.metric-header h2 {
  margin: 0;
  color: #151b17;
  font-size: clamp(15px, 1.02vw, 19px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.score-help {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid #5c9461;
  border-radius: 50%;
  color: #376b3e;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(48, 112, 53, .09);
}

.metric-score-line {
  display: flex;
  align-items: baseline;
  margin-top: 27px;
  white-space: nowrap;
  justify-content: center;
}

.metric-score-line strong {
  color: #146426;
  font-size: clamp(55px, 4.68vw, 70.8px);
  line-height: .95;
  font-weight: 650;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.metric-score-line-blue strong {
  color: var(--blue-600);
}

.metric-scale {
  margin-left: 9px;
  color: #111914;
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1;
  font-weight: 520;
  letter-spacing: -0.02em;
}

.metric-delta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 31px;
  color: #24482b;
  font-size: clamp(16px, 1.12vw, 17px);
  line-height: 1.25;
  font-weight: 550;
  white-space: nowrap;
}

.metric-delta-line.is-equal {
  justify-content: center;
  width: 100%;
}

.metric-arrow {
  font-size: clamp(28px, 2.5vw, 30px);
  line-height: .8;
  font-weight: 900;
}

.metric-arrow-up {
  color: #48b622;
}

.metric-arrow-down {
  color: #e14c42;
}

.goal-card {
  position: relative;
  min-height: 294px;
  padding: 0 0 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.goal-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 23px 25px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(251, 255, 246, .98), rgba(255, 255, 255, .97));
}

.goal-title-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

.goal-target-icon {
  color: #ffffff;
  font-size: 43px;
  line-height: 1;
  font-weight: 900;

  width: 35px;
  height: 35px;

  background:
          url("../images/target_icon.png") right center / 100% 100% no-repeat;

}

.goal-title-wrap h2 {
  margin: 0;
  color: #234e2c;
  font-size: clamp(18px, 1.55vw, 20px);
  line-height: 1.1;
  font-weight: 850;
}

.goal-edit-button {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #536171;
  background: transparent;
  font-size: 27px;
  line-height: 1;
  transition: background .18s ease;
}

.goal-edit-button:hover {
  background: #edf4e9;
}

.goal-box {
  width: 100%;
  min-height: 142px;
  display: flex;
  align-items: flex-start;
  padding: 25px 27px 15px;
  border: 0;
  background: transparent;
  text-align: left;
}

.goal-box span {
  color: #171c19;
  font-size: clamp(19px, 1.43vw, 19px);
  line-height: 1.7;
  font-weight: 550;
  letter-spacing: -0.025em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.goal-box span.is-placeholder {
  color: #78827c;
  font-size: 16px;
  line-height: 1.55;
}

.goal-footer {
  padding: 0 27px;
  color: #6c7680;
  font-size: 17px;
}

.goal-footer span:first-child {
  color: #4aaa22;
  font-weight: 800;
}

.goal-editor {
  position: absolute;
  z-index: 4;
  inset: 89px 15px 15px;
  padding: 18px;
  border: 1px solid rgba(57, 101, 55, .16);
  border-radius: 15px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 13px 30px rgba(34, 64, 35, .15);
}

.goal-editor input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #b9c5b5;
  border-radius: 11px;
  color: #172018;
  background: #fff;
  font-size: 17px;
}

.goal-editor-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 13px;
}

.goal-editor-actions > span {
  margin-right: auto;
  color: #6b746c;
  font-size: 14px;
}

.goal-editor-button {
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
}

.goal-editor-cancel {
  border: 1px solid #d6ddd4;
  background: #fff;
}

.goal-editor-save {
  border: 1px solid #2f9139;
  color: #fff;
  background: #2f9139;
}

.shorts-time-card {
  padding: 22px 14px 16px;
  border-radius: var(--radius-lg);
}

.shorts-time-card > h2 {
  margin: 0 0 17px 11px;
  color: #181d1a;
  font-size: calc(clamp(18.9px, 1.485vw, 20.3px) - .9pt);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.shorts-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shorts-platform-card {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 20px 17px;
  border: 1px solid rgba(61, 84, 61, .13);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 5px 16px rgba(48, 70, 48, .06);
}

.shorts-platform-youtube {
  border-color: rgba(224, 60, 55, .14);
}

.shorts-platform-instagram {
  border-color: rgba(117, 66, 210, .14);
}

.shorts-platform-other {
  border-color: rgba(57, 142, 52, .14);
}

.shorts-platform-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.shorts-platform-header h3 {
  margin: 0;
  color: #171c19;
  font-size: clamp(15px, 1.28vw, 18px);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.platform-icon {
  width: 43px;
  height: 33px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;


}

.platform-icon-youtube {
  border-radius: 9px;
  background: #f21414;
  box-shadow: inset 0 -3px 7px rgba(166, 0, 0, .15);
}

.platform-icon-instagram {
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: radial-gradient(circle at 30% 100%, #ffd600 0 18%, #ff7a00 32%, #ff0169 52%, #d300c5 72%, #7638fa 100%);
  border: 2px solid #fff;
  outline: 1px solid rgba(80, 40, 150, .12);
}

.platform-icon-other {
  /* width: 38px;
   height: 38px;
   border: 3px solid #55b42e;
   border-radius: 50%;
   color: #55b42e;
   background: #fff;
   font-size: 21px;

   */
  width: 38px;
  height: 38px;
  background:
          url("../images/etc_shorts.png") right center / 100% 100% no-repeat;

}

.platform-time {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .34em;
  width: 100%;
  text-align: center;
  font-size: clamp(26.8px, 2.205vw, 34.3px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.platform-time-part {
  display: inline-flex;
  align-items: baseline;
  gap: .16em;
}

.platform-time-unit {
  font-size: .6em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.platform-time-youtube {
  color: #d93e3a;
}

.platform-time-instagram {
  color: var(--purple-600);
}

.platform-time-other {
  color: #164f27;
}

.encouragement-card {
  position: relative;
  min-height: 130px;
  display: grid;
  grid-template-columns: 62px 145px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.encouragement-icon,
.encouragement-card > h2,
.encouragement-quote {
  position: relative;
  z-index: 2;
}

.encouragement-icon {
  width: 57px;
  height: 51px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
          url("../images/smile_heart.png") right center / 100% 100% no-repeat;

  /*background: linear-gradient(145deg, #a6d52c, #3b9f35);
  clip-path: path("M28 50C23 44 4 33 4 17 4 7 15 2 23 10 26 13 28 17 28 17S31 12 34 9C42 2 54 7 54 17 54 33 35 44 28 50Z");
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 7px 10px rgba(63, 145, 43, .18)); */
}

.encouragement-card > h2 {
  margin: 0;
  color: #164724;
  font-size: clamp(19px, 1.35vw, 21px);
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

.encouragement-quote {
  min-height: 83px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 13px 22px;
  border-radius: 15px;
  background: transparent;
  box-shadow: none;
}

.encouragement-quote > span {
  color: #7b8492;
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: .75;
  font-weight: 800;
}

.encouragement-quote p {
  margin: 0;
  color: #1f2521;
  font-size: clamp(14px, 1.08vw, 20px);
  line-height: 1.75;
  font-weight: 450;
  letter-spacing: -0.02em;
}

.encouragement-leaves {
  position: absolute;
  z-index: 1;
  right: -1px;
  bottom: -1px;
  /* color: rgba(116, 185, 57, .55);
   font-size: 86px;
   line-height: 1;
   transform: rotate(-20deg);
   pointer-events: none;
   */

  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
          url("../images/leaf_node3.png") right center / 100% 100% no-repeat;

}

.dashboard-footer {
  min-height: 105px;
  display: grid;
  grid-template-columns: minmax(235px, auto) 1px minmax(145px, auto) 1px minmax(170px, auto) 1px minmax(175px, auto) 1px minmax(175px, auto) 1fr;
  align-items: center;
  gap: 22px;
  margin: 22px 24px 0;
  padding: 17px 28px;
  border-radius: var(--radius-lg);
}

.footer-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-recovery {
  padding: 0;
}

.footer-action {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
}

.footer-action:hover .footer-action-title,
.footer-action:focus-visible .footer-action-title {
  color: #2f8d37;
}

.footer-extension-group,
.footer-android-group {
  gap: 10px;
}

.footer-extension-download,
.footer-android-download {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.footer-help-button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(47, 141, 55, .28);
  border-radius: 50%;
  color: #2f8d37;
  background: #f4fbef;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.footer-help-button:hover,
.footer-help-button:focus-visible {
  background: #e8f6df;
  outline: none;
}

.footer-icon-setting {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #919ba7;
  font-size: 38px;
  line-height: 1;
  background:
          url("../images/setting_icon.png") right center / 100% 100% no-repeat;
}

.footer-icon-report {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #919ba7;
  font-size: 38px;
  line-height: 1;
  background:
          url("../images/week_report_icon.png") right center / 100% 100% no-repeat;
}

.footer-icon-extension {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background:
          url("../images/chrome_icon.png") right center / 100% 100% no-repeat;
}

.footer-icon-extension::before {

}


.footer-icon-android {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background:
          url("../images/android_icon.png") right center / 100% 100% no-repeat;
}

.footer-icon-android::before {
  
}

.info-dialog-warning {
  margin-top: 16px !important;
  padding: 12px 14px;
  border-radius: 12px;
  color: #6a3d0a !important;
  background: #fff8e5;
  font-size: 14px !important;
  font-weight: 800;
}


.footer-clover-icon {
  color: #61bd2d;
  font-size: 47px;

  width: 40px;
  height: 40px;
  background:
          url("../images/clover_icon.png") right center / 100% 100% no-repeat;
}

.footer-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-label,
.footer-action-title {
  color: #273029;
  font-size: 16px;
  line-height: 1.1;
}

.footer-action-title {
  font-weight: 800;
}

.footer-action-description {
  color: #313b34;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
}

.footer-recovery strong {
  color: #1c2320;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .015em;
  white-space: nowrap;
}

.footer-icon-button {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #677482;
  /*background: transparent;*/
  font-size: 19px;

  background:
          url("../images/copy_icon.png") right bottom / 100% 100% no-repeat;



}

.footer-icon-button:hover {
  background: #eef5ea;
}

.footer-divider {
  width: 1px;
  height: 58px;
  background: rgba(74, 86, 78, .17);
}

.footer-copyright {
  justify-self: end;
  margin: 0;
  color: #6a7789;
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
}

.link-panel {
  width: min(620px, calc(100% - 48px));
  margin: 14px auto 0;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.link-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.link-panel-header h2 {
  margin: 0;
  color: #1b3e22;
  font-size: 21px;
}

.link-panel-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef4eb;
  font-size: 24px;
}

.link-panel > p {
  margin: 12px 0 16px;
  color: #5a655d;
  font-size: 14px;
  line-height: 1.55;
}

.link-row {
  display: flex;
  gap: 10px;
}

.link-row input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #bdc8ba;
  border-radius: 10px;
  background: #fff;
}

.link-code-button {
  min-width: 88px;
  border: 1px solid #2f8d37;
  border-radius: 10px;
  color: #fff;
  background: #2f8d37;
  font-weight: 800;
}

.help-dialog {
  width: min(510px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: var(--shadow-lg);
}

.help-dialog::backdrop {
  background: rgba(13, 28, 16, .42);
  backdrop-filter: blur(4px);
}

.help-dialog-content {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(54, 95, 55, .15);
  border-radius: 20px;
  background: #fff;
}

.help-dialog-close-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eff5ec;
  font-size: 24px;
}

.help-dialog h2 {
  margin: 0 42px 13px 0;
  color: #183f21;
  font-size: 25px;
}

.help-dialog p {
  margin: 0;
  color: #445047;
  font-size: 15px;
  line-height: 1.7;
}

.help-scale-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.help-scale-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f5f8f3;
  color: #3c463e;
  font-size: 14px;
}

.help-scale-badge {
  min-width: 65px;
  padding: 4px 7px;
  border-radius: 6px;
  color: #fff;
  text-align: center;
  font-weight: 800;
}

.help-scale-badge.high {
  background: #42a530;
}

.help-scale-badge.medium {
  background: #ee9f22;
}

.help-scale-badge.low {
  background: #e3453f;
}

.help-confirm-button {
  width: 100%;
  min-height: 46px;
  margin-top: 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #2e8e38;
  font-weight: 800;
}

.info-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: min(86vh, 760px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: var(--shadow-lg);
}

.info-dialog::backdrop {
  background: rgba(13, 28, 16, .46);
  backdrop-filter: blur(5px);
}

.info-dialog-content {
  position: relative;
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(54, 95, 55, .15);
  border-radius: 22px;
  background: #fff;
}

.info-dialog-close-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eff5ec;
  color: #263228;
  font-size: 24px;
  cursor: pointer;
}

.info-dialog-eyebrow {
  margin: 0 42px 8px 0;
  color: #2f8d37;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .04em;
}

.info-dialog h2 {
  margin: 0 42px 13px 0;
  color: #183f21;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.info-dialog h3 {
  margin: 0 0 8px;
  color: #243027;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.info-dialog p {
  margin: 0;
  color: #445047;
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.info-dialog-lead {
  padding: 15px 16px;
  border-radius: 14px;
  background: #f5f9f1;
}

.info-dialog-section {
  margin-top: 20px;
}

.info-number-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: info-step;
}

.info-number-list li {
  position: relative;
  min-height: 52px;
  padding: 12px 14px 12px 54px;
  border: 1px solid rgba(47, 141, 55, .12);
  border-radius: 13px;
  background: #fbfdf9;
  color: #3d473f;
  counter-increment: info-step;
}

.info-number-list li::before {
  content: counter(info-step);
  position: absolute;
  left: 14px;
  top: 13px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2f8d37;
  font-size: 14px;
  font-weight: 900;
}

.info-number-list strong {
  display: block;
  color: #1f2a23;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.info-number-list span {
  display: block;
  margin-top: 3px;
  color: #58625b;
  font-size: 14px;
  line-height: 1.55;
}

.info-number-list code {
  padding: 2px 6px;
  border-radius: 7px;
  background: #edf4e8;
  color: #1d5f2a;
  font-family: Consolas, Monaco, monospace;
  font-size: .94em;
}

.info-confirm-button {
  width: 100%;
  min-height: 48px;
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #2e8e38;
  font-weight: 900;
  cursor: pointer;
}

.info-confirm-button:hover,
.info-confirm-button:focus-visible {
  background: #277b30;
  outline: none;
}

.toast {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 28px;
  max-width: min(520px, calc(100% - 28px));
  padding: 13px 18px;
  border-radius: 12px;
  color: #fff;
  background: rgba(22, 50, 27, .94);
  box-shadow: 0 12px 30px rgba(19, 45, 22, .24);
  font-size: 14px;
  line-height: 1.4;
  transform: translate(-50%, 22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dev-panel {
  width: min(620px, calc(100% - 48px));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px auto 0;
  padding: 12px;
  border: 1px dashed #8aac82;
  border-radius: 12px;
  background: #f6fbf3;
}

.dev-panel button {
  padding: 7px 10px;
  border: 1px solid #b8c7b4;
  border-radius: 8px;
  background: #fff;
}



/* ShortsGuard extension startup/status bridge */
.extension-status-bar {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 27px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 0 0;
  border-top: 1px solid rgba(58, 92, 60, .09);
  color: #425047;
}

.extension-status-chip {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(74, 86, 78, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #3d493f;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
}

.extension-status-chip strong {
  color: #273029;
  font-weight: 900;
}

.extension-status-chip em {
  color: #4f5e55;
  font-style: normal;
  font-weight: 800;
}

.extension-status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #9aa4a0;
  box-shadow: 0 0 0 3px rgba(154, 164, 160, .14);
}

.extension-status-chip.is-ok {
  border-color: rgba(47, 141, 55, .22);
  background: rgba(242, 250, 238, .9);
}

.extension-status-chip.is-ok .extension-status-dot {
  background: #2f8d37;
  box-shadow: 0 0 0 3px rgba(47, 141, 55, .15);
}

.extension-status-chip.is-warn {
  border-color: rgba(226, 151, 32, .24);
  background: rgba(255, 249, 232, .9);
}

.extension-status-chip.is-warn .extension-status-dot {
  background: #df9826;
  box-shadow: 0 0 0 3px rgba(223, 152, 38, .16);
}

.extension-status-chip.is-off {
  border-color: rgba(143, 153, 149, .22);
  background: rgba(246, 248, 246, .92);
}

.extension-status-chip.is-off .extension-status-dot,
.extension-status-chip.is-checking .extension-status-dot {
  background: #8f9995;
  box-shadow: 0 0 0 3px rgba(143, 153, 149, .13);
}



/* ShortsGuard extension missing install layer */
.has-extension-missing-layer {
  overflow: hidden;
}

.extension-missing-layer {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.extension-missing-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 28, 16, .46);
  backdrop-filter: blur(5px);
}

.extension-missing-panel {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100vw - 34px));
  max-height: min(88vh, 840px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(54, 95, 55, .15);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.extension-missing-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #263228;
  background: #eff5ec;
  font-size: 24px;
  line-height: 1;
}

.extension-missing-eyebrow {
  margin: 0 42px 8px 0;
  color: #2f8d37;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .04em;
}

.extension-missing-copy h2 {
  margin: 0 42px 12px 0;
  color: #183f21;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.extension-missing-copy p:not(.extension-missing-eyebrow) {
  margin: 0;
  color: #445047;
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.extension-missing-preview {
  margin: 20px 0 0;
  padding: 14px;
  border: 1px solid rgba(47, 141, 55, .13);
  border-radius: 18px;
  background: #f7fbf3;
}

.extension-missing-preview img {
  display: block;
  width: min(360px, 100%);
  max-height: 430px;
  margin: 0 auto;
  border: 1px solid rgba(49, 82, 52, .12);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(34, 69, 34, .12);
}

.extension-missing-preview figcaption {
  margin-top: 10px;
  color: #5f6a63;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.extension-missing-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.extension-missing-primary,
.extension-missing-secondary,
.extension-missing-ghost {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  text-decoration: none;
}

.extension-missing-primary {
  border: 1px solid #2f8d37;
  color: #fff;
  background: #2f8d37;
}

.extension-missing-secondary {
  border: 1px solid rgba(47, 141, 55, .28);
  color: #256d2c;
  background: #f2faed;
}

.extension-missing-ghost {
  border: 1px solid rgba(74, 86, 78, .18);
  color: #445047;
  background: #fff;
}

.extension-missing-primary:hover,
.extension-missing-secondary:hover,
.extension-missing-ghost:hover {
  transform: translateY(-1px);
}

@media (max-width: 1280px) {
  .dashboard-header {
    grid-template-columns: minmax(260px, 1.2fr) minmax(230px, 1fr) minmax(230px, .95fr) minmax(205px, .8fr);
  }

  .header-message-section {
    display: none;
  }

  .dashboard-grid {
    grid-template-columns: minmax(410px, .88fr) minmax(610px, 1.12fr);
  }

  .quote-card {
    padding-left: 38px;
    padding-right: 35px;
  }

  .quote-text {
    width: 81%;
  }

  .summary-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .goal-card {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .goal-box {
    min-height: 76px;
    padding-top: 20px;
    padding-bottom: 8px;
  }

  .goal-editor {
    inset: 82px 15px 15px;
  }
}

@media (max-width: 1050px) {
  .dashboard-app {
    width: min(980px, calc(100% - 20px));
    margin: 10px auto;
  }

  .dashboard-header {
    grid-template-columns: 1.2fr 1fr 1fr;
    padding: 16px 24px;
  }

  .date-section {
    display: none;
  }

  .weather-section {
    justify-content: flex-end;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-column-left,
  .dashboard-column-right {
    gap: 18px;
  }

  .dashboard-column-left {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  }

  .quote-card {
    min-height: 500px;
  }

  .mission-card {
    grid-template-columns: 1fr;
    align-content: center;
    text-align: center;
    padding: 24px;
  }

  .mission-icon-wrap {
    margin: 0 auto;
  }

  .mission-start-button {
    width: 100%;
    min-width: 0;
  }

  .summary-row {
    grid-template-columns: .8fr .8fr 1.1fr;
  }

  .goal-card {
    grid-column: auto;
    min-height: 294px;
  }

  .goal-box {
    min-height: 120px;
    padding-top: 31px;
  }

  .dashboard-footer {
    grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr 1px 1fr;
  }

  .footer-copyright {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .dashboard-header {
    grid-template-columns: 1fr auto;
    min-height: auto;
    gap: 14px 20px;
    padding: 18px 20px;
  }

  .brand-section {
    grid-column: 1;
    grid-row: 1;
  }

  .clock-section {
    grid-column: 2;
    grid-row: 1;
  }

  .weather-section {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .brand-shield {
    width: 48px;
    height: 56px;
  }

  .brand-copy h1 {
    font-size: calc(23.2px - .8pt);
  }

  .brand-copy p {
    font-size: 11.2px;
    text-align:center;
  }

  .current-time {
    font-size: calc(34.4px - 1.6pt);
    text-align: center;

  }

  .dashboard-grid {
    padding: 18px 16px 0;
  }

  .dashboard-column-left {
    display: flex;
  }

  .quote-card {
    min-height: 470px;
  }

  .mission-card {
    grid-template-columns: 65px 1fr auto;
    text-align: left;
  }

  .mission-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0;
  }

  .mission-start-button {
    width: auto;
    min-width: 170px;
  }

  .summary-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .goal-card {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .goal-box {
    min-height: 76px;
    padding-top: 20px;
  }

  .shorts-time-grid {
    gap: 10px;
  }

  .shorts-platform-card {
    min-height: 145px;
    padding: 15px 10px;
  }

  .shorts-platform-header {
    flex-direction: column;
    gap: 8px;
  }

  .encouragement-card {
    grid-template-columns: 55px 130px 1fr;
    padding-left: 17px;
    padding-right: 17px;
  }

  .dashboard-footer {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 18px 16px 0;
    padding: 20px;
  }

  .footer-divider,
  .footer-divider-extension,
  .footer-extension-group,
  .footer-extension-download {
    display: none;
  }

  .footer-android-group {
    grid-column: 1 / -1;
  }

  .footer-recovery {
    grid-column: 1 / -1;
  }

  .footer-copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .dashboard-app {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .dashboard-header {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .brand-section,
  .clock-section,
  .weather-section {
    grid-column: 1;
  }

  .brand-section {
    grid-row: 1;

  }

  .clock-section {
    grid-row: 2;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 0 2px;

  }

  .weather-section {
    grid-row: 3;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .current-time {
    font-size: calc(34.8px - 1.6pt);
    text-align: center;
  }

  .weather-icon {
    width: 45px;
    height: 45px;
    font-size: 42px;
  }

  .dashboard-grid {
    padding: 14px 12px 0;
  }

  .quote-card {
    min-height: 440px;
    padding: 70px 25px 68px;
    background:
      /* linear-gradient(90deg, rgba(255, 255, 249, .98) 0%, rgba(252, 255, 247, .92) 57%, rgba(250, 255, 244, .26) 100%),*/
      /*url("../images/sprout-hero-v033.jpg") right center / 68% 100% no-repeat,*/
            url("../images/quote-bg.png") right center / 100% 100% no-repeat;
  linear-gradient(135deg, #f9fff0, #edf7d5);
  }

  .quote-card::before {
    width: 250px;
  }

  .quote-text {
    width: 92%;
    font-size: calc(26.1px - .9pt);
  }

  .quote-author {
    width: 90%;
  }

  .quote-tags {
    margin-top: 34px;
  }

  .mission-card {
    grid-template-columns: 58px 1fr;
    gap: 15px;
    padding: 20px;
  }

  .mission-icon-wrap {
    width: 55px;
    height: 55px;
  }

  .mission-start-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 54px;
  }

  .summary-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .metric-card {
    min-height: 250px;
    padding: 22px 18px;
  }

  .metric-header h2 {
    font-size: 16px;
  }

  .score-help {
    width: 29px;
    height: 29px;
    font-size: 16px;
  }

  .metric-score-line strong {
    font-size: 51.3px;
  }

  .metric-scale {
    margin-left: 5px;
    font-size: 18px;
  }

  .metric-delta-line {
    margin-top: 28px;
    gap: 5px;
    font-size: 16px;
    text-align: center;
  }

  .metric-arrow {
    font-size: 28px;
  }

  .goal-card {
    min-height: 220px;
  }

  .goal-header {
    min-height: 72px;
    padding: 18px;
  }

  .goal-target-icon {
    font-size: 35px;
  }

  .goal-title-wrap h2 {
    font-size: 20px;
  }

  .goal-box {
    padding: 20px 18px 8px;
  }

  .goal-footer {
    padding: 0 18px;
  }

  .goal-editor {
    inset: 73px 10px 10px;
  }

  .shorts-time-card {
    padding: 19px 10px 12px;
  }

  .shorts-time-card > h2 {
    margin-left: 6px;
    font-size: calc(19.8px - .9pt);
  }

  .shorts-time-grid {
    grid-template-columns: 1fr;
  }

  .shorts-platform-card {
    min-height: 115px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 17px 20px;
  }

  .shorts-platform-header {
    flex-direction: row;
    justify-content: flex-start;
  }

  .platform-time {
    width: auto;
    min-width: 92px;
    font-size: 26.6px;
  }

  .encouragement-card {
    grid-template-columns: 50px 1fr;
    gap: 10px;
    min-height: 145px;
  }

  .encouragement-card > h2 {
    font-size: 20px;
  }

  .encouragement-quote {
    grid-column: 1 / -1;
    min-height: 72px;
  }

  .dashboard-footer {
    grid-template-columns: 1fr;
  }

  .footer-recovery,
  .footer-action,
  .footer-extension-group,
  .footer-android-group {
    grid-column: 1;
  }

  .footer-copyright {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

  .link-row {
    flex-direction: column;
  }

  .link-code-button {
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* v1.3 행동지수 신뢰도 표시 */
.metric-confidence {
  margin-top: 10px;
  color: #6a756d;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
}


@media (max-width: 600px) {
  .info-dialog-content {
    padding: 24px 18px 20px;
  }

  .info-dialog h2 {
    margin-right: 38px;
    font-size: 21px;
  }

  .info-number-list li {
    padding-left: 50px;
  }
}


/* ShortsGuard extension missing/status responsive */
@media (max-width: 820px) {
  .extension-status-bar {
    padding-top: 10px;
    gap: 7px;
  }

  .extension-status-chip {
    font-size: 11.5px;
    padding: 3px 8px;
  }

  .extension-missing-panel {
    padding: 24px 18px 20px;
  }

  .extension-missing-actions {
    justify-content: stretch;
  }

  .extension-missing-primary,
  .extension-missing-secondary,
  .extension-missing-ghost {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .extension-status-bar {
    grid-column: 1;
    align-items: flex-start;
  }

  .extension-status-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .extension-missing-layer {
    padding: 14px;
  }

  .extension-missing-preview img {
    max-height: 360px;
  }
}

/* ShortsGuard MVP2 status chips as extension dashboard launcher */
.extension-status-chip[role="button"] {
  cursor: pointer;
  user-select: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.extension-status-chip[role="button"]:hover,
.extension-status-chip[role="button"]:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 5px 13px rgba(43, 74, 43, .11);
  border-color: rgba(47, 141, 55, .34);
  outline: none;
}

.extension-status-chip[role="button"]:active {
  transform: translateY(0);
}
