:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #18323d;
  background: #eaf1f2;
  font-synthesis: none;
  --brand: #167d79;
  --brand-soft: #e0f3ef;
  --surface: #fff;
  --text: #18323d;
  --muted: #71838a;
  --line: #e2ebed;
  --orange: #cf633d;
  --orange-soft: #fff0e8;
  --shadow: 0 12px 32px rgba(34, 69, 76, .09);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 50% 0, #fff 0, #eaf1f2 58%); }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(22,125,121,.25); outline-offset: 2px; }
.app-shell { width: min(100%, 480px); min-height: 100vh; margin: 0 auto; background: #f8faf9; position: relative; box-shadow: 0 0 50px rgba(22,50,61,.11); padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.topbar { min-height: 122px; padding: 25px 20px 16px; background: linear-gradient(145deg, #e2f3ef, #f8faf9 72%); display: flex; justify-content: space-between; align-items: flex-end; }
.topbar .eyebrow { margin: 0 0 7px; color: var(--muted); font-size: 13px; font-weight: 600; }
.topbar h1 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.student { border: 0; background: transparent; display: flex; align-items: center; gap: 4px; min-width: 52px; min-height: 48px; cursor: pointer; }
.student span, .large-avatar { background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.student span { width: 40px; height: 40px; border-radius: 14px; }
.student small { color: var(--muted); }
main { padding: 0 16px 22px; }
.greeting { background: var(--brand); color: #fff; border-radius: 22px; padding: 20px; margin-top: 5px; box-shadow: 0 15px 30px rgba(22,125,121,.22); position: relative; overflow: hidden; }
.greeting::after { content: ''; width: 125px; height: 125px; position: absolute; right: -35px; top: -52px; border-radius: 50%; border: 24px solid rgba(255,255,255,.08); }
.greeting p { margin: 0 0 9px; font-size: 13px; opacity: .78; }
.greeting h2 { margin: 0 0 8px; font-size: 22px; }
.greeting span { font-size: 13px; opacity: .86; }
.homework-entry { width: 100%; min-height: 88px; margin: 15px 0 4px; padding: 13px 14px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; border: 1px solid #eadfc4; border-radius: 17px; background: #fff9e9; text-align: left; cursor: pointer; }.homework-entry-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #f6df9d; color: #805f15; font-size: 24px; font-weight: 800; }.homework-entry small,.homework-entry strong,.homework-entry p { display: block; }.homework-entry small { color: #9a792b; font-size: 10px; font-weight: 750; }.homework-entry strong { margin: 3px 0; font-size: 15px; }.homework-entry p { margin: 0; color: var(--muted); font-size: 10px; }.homework-entry b { color: #b29d6b; font-size: 21px; }
.action-card { background: var(--orange-soft); border-left: 5px solid var(--orange); border-radius: 17px; padding: 16px; margin: 16px 0; }
.action-meta { display: flex; justify-content: space-between; font-size: 12px; }
.action-meta strong { color: var(--orange); }
.action-meta span, .action-card p { color: #7c746f; }
.action-card h3 { font-size: 17px; margin: 9px 0 6px; }
.action-card p { font-size: 13px; line-height: 1.55; margin: 0; }
.attachment-note { margin: 11px 0; color: #7d756e; font-size: 12px; }
.primary { border: 0; background: var(--brand); color: #fff; border-radius: 12px; min-height: 44px; padding: 0 17px; font-weight: 700; cursor: pointer; }
.action-card .primary { background: var(--orange); width: 100%; }
.done-card { display: flex; gap: 13px; align-items: center; border: 1px solid #cae7de; background: #eff9f5; border-radius: 17px; padding: 16px; margin: 16px 0; }
.done-card > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: white; }
.done-card strong { display: block; }
.done-card p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 17px 0 20px; }
.quick-grid button { border: 1px solid var(--line); border-radius: 17px; min-height: 103px; padding: 11px 4px; background: var(--surface); cursor: pointer; }
.quick-grid strong, .quick-grid small { display: block; }
.quick-grid strong { margin-top: 7px; font-size: 13px; }
.quick-grid small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.quick-icon { width: 36px; height: 36px; margin: auto; border-radius: 12px; display: grid; place-items: center; font-weight: 800; }
.quick-icon.blue { background: #e3eefb; color: #4775a5; }.quick-icon.red { background: #ffebe7; color: #be5946; }.quick-icon.purple { background: #f0e9f8; color: #72569b; }.quick-icon.green { background: var(--brand-soft); color: var(--brand); }
.section-block { margin-top: 21px; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 11px; }
.section-title h2 { margin: 0; font-size: 18px; }
.section-title button { border: 0; background: transparent; color: var(--brand); min-height: 38px; padding: 0 4px; cursor: pointer; font-size: 13px; }
.lesson-strip { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; }.lesson-strip.lesson-count-6 { grid-template-columns: repeat(3,1fr); }.lesson-strip.lesson-count-6 div { min-height: 67px; }
.lesson-strip div { position: relative; background: var(--brand-soft); border-radius: 15px; padding: 12px 6px; text-align: center; overflow: hidden; }
.lesson-strip small, .lesson-strip strong { display: block; }
.lesson-strip small { color: var(--muted); font-size: 10px; margin-bottom: 5px; }.lesson-strip strong { font-size: 14px; }.lesson-strip span { position: absolute; right: 5px; bottom: -9px; color: rgba(22,125,121,.09); font-size: 38px; font-weight: 900; }
.no-lessons-strip { padding: 22px; border: 1px dashed var(--line); border-radius: 15px; background: var(--surface); color: var(--muted); text-align: center; font-size: 13px; }
.live-lesson { display: grid; grid-template-columns: 66px 1fr; gap: 13px; align-items: center; margin-top: 11px; padding: 15px; border-radius: 17px; background: linear-gradient(135deg,var(--brand),#27958d); color: white; box-shadow: 0 10px 24px rgba(22,125,121,.16); }.live-badge { min-height: 40px; padding: 7px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.17); font-size: 12px; font-weight: 800; }.live-lesson small { opacity: .76; font-size: 10px; }.live-lesson h3 { margin: 4px 0; font-size: 18px; }.live-lesson p { margin: 0; opacity: .8; font-size: 11px; }.live-lesson.is-next { background: linear-gradient(135deg,#526f94,#6686ad); box-shadow: 0 10px 24px rgba(67,92,125,.14); }.live-lesson.is-finished,.live-lesson.is-rest { background: #edf3f2; color: var(--text); box-shadow: none; border: 1px solid var(--line); }.live-lesson.is-finished .live-badge,.live-lesson.is-rest .live-badge { background: white; color: var(--muted); }.live-lesson.is-finished small,.live-lesson.is-finished p,.live-lesson.is-rest small,.live-lesson.is-rest p { color: var(--muted); opacity: 1; }.lesson-progress { height: 4px; overflow: hidden; margin-top: 9px; border-radius: 999px; background: rgba(255,255,255,.2); }.lesson-progress span { display: block; height: 100%; border-radius: inherit; background: white; }
.live-lesson.is-routine { background: linear-gradient(135deg,#82674c,#a4825d); box-shadow: 0 10px 24px rgba(104,76,47,.14); }
.timeline, .notice-list, .activity-list, .files-list { display: grid; gap: 10px; }
.timeline article { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 13px; display: grid; grid-template-columns: 9px 1fr auto; gap: 11px; align-items: center; }
.timeline-dot { width: 9px; height: 9px; border-radius: 50%; }.timeline-dot.urgent { background: var(--orange); }.timeline-dot.activity { background: #7e63a7; }.timeline-dot.file { background: var(--brand); }
.timeline small { color: var(--muted); font-size: 11px; }.timeline h3 { margin: 3px 0; font-size: 14px; }.timeline p { margin: 0; color: var(--muted); font-size: 12px; }.timeline b { color: #a8b5ba; font-size: 20px; }
.bottom-nav { position: fixed; z-index: 10; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 480px); display: grid; grid-template-columns: repeat(3,1fr); padding: 7px 7px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(218,229,232,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.bottom-nav button { position: relative; min-height: 58px; border: 0; border-radius: 14px; background: transparent; color: #839397; cursor: pointer; }
.bottom-nav svg { display: block; width: 22px; height: 22px; margin: 0 auto 3px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav span { font-size: 11px; }.bottom-nav button.active { color: var(--brand); background: var(--brand-soft); font-weight: 700; }.bottom-nav i { position: absolute; top: 5px; left: calc(50% + 6px); font-style: normal; background: #d85d45; color: white; border: 2px solid white; width: 18px; height: 18px; border-radius: 50%; font-size: 9px; display: grid; place-items: center; }
.week-card { background: var(--surface); border-radius: 20px; padding: 16px; margin-top: 5px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calendar-modes { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 4px; margin: 5px 0 14px; border-radius: 14px; background: #e9f0ef; }
.calendar-modes button { min-height: 42px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.calendar-modes button.active { background: var(--surface); color: var(--brand); box-shadow: 0 3px 10px rgba(34,69,76,.08); }
.routine-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: visible; box-shadow: var(--shadow); }
.routine-school { padding: 18px 16px 15px; background: linear-gradient(145deg,var(--brand),#27958d); color: white; border-radius: 19px 19px 0 0; }
.routine-school span { font-size: 11px; opacity: .78; }.routine-school h2 { margin: 6px 0 0; font-size: 19px; }
.routine-columns { display: grid; grid-template-columns: 1fr 1fr; }
.routine-columns > section + section { border-left: 1px solid var(--line); }
.routine-columns h3 { position: sticky; top: 0; z-index: 4; margin: 0; padding: 13px 10px; text-align: center; background: var(--brand-soft); color: var(--brand); font-size: 14px; box-shadow: 0 4px 8px rgba(34,69,76,.07); }
.routine-columns h4 { margin: 0; padding: 8px 10px; background: #f4f7f6; color: var(--muted); font-size: 11px; }
.routine-columns article { min-height: 47px; padding: 8px 9px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); }
.routine-columns article.align-three { min-height: 141px; }
.routine-columns article span { font-size: 12px; margin-bottom: 3px; }.routine-columns article strong { color: var(--brand); font-size: 11px; letter-spacing: -.02em; }
.routine-notes { padding: 14px 16px; background: #fff8e8; border-radius: 0 0 19px 19px; }.routine-notes strong { font-size: 12px; }.routine-notes p { margin: 6px 0 0; color: #776f5d; font-size: 11px; line-height: 1.45; }
.merged-day-tabs { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; padding: 8px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.merged-day-tabs button { min-height: 52px; border: 0; border-radius: 12px; background: #f1f5f4; color: var(--muted); cursor: pointer; }.merged-day-tabs small,.merged-day-tabs strong { display: block; }.merged-day-tabs small { font-size: 9px; margin-bottom: 2px; }.merged-day-tabs strong { font-size: 15px; }.merged-day-tabs button.active { background: var(--brand); color: white; }
.merged-section h3 { position: sticky; top: 69px; z-index: 4; margin: 0; padding: 9px 15px; background: #f1f5f4; color: var(--muted); font-size: 12px; }
.merged-row { min-height: 56px; padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }.merged-row div > span { display: block; color: var(--muted); font-size: 11px; }.merged-row div > strong { display: block; margin-top: 3px; font-size: 16px; }.merged-row time { flex: 0 0 auto; color: var(--brand); font-size: 13px; font-weight: 750; }.merged-row.is-course { min-height: 66px; background: linear-gradient(90deg,var(--brand-soft),#fff 58%); }.merged-row.is-course div > span { color: var(--brand); font-weight: 700; }
.merged-row.is-current-period { position: relative; background: #fff3c9; box-shadow: inset 4px 0 #e6a51c; }.merged-row.is-current-period::after { content: '当前'; position: absolute; right: 14px; top: 5px; padding: 2px 6px; border-radius: 999px; background: #e6a51c; color: white; font-size: 8px; font-weight: 800; }.merged-row.is-current-period time { margin-top: 12px; color: #926200; }
@keyframes period-flash { 0%,100% { box-shadow: inset 4px 0 #e6a51c,0 0 0 0 rgba(230,165,28,0); } 25%,75% { box-shadow: inset 4px 0 #e6a51c,0 0 0 7px rgba(230,165,28,.24); } 50% { box-shadow: inset 4px 0 #e6a51c,0 0 0 2px rgba(230,165,28,.08); } }
.merged-row.period-flash { animation: period-flash .72s ease-in-out 3; }
.subject-summary { display: grid; grid-template-columns: 1fr 1fr; padding: 17px 8px; margin-bottom: 12px; border-radius: 17px; background: var(--brand); color: white; text-align: center; }.subject-summary div + div { border-left: 1px solid rgba(255,255,255,.22); }.subject-summary strong,.subject-summary span { display: block; }.subject-summary strong { font-size: 23px; }.subject-summary span { margin-top: 3px; font-size: 11px; opacity: .8; }
.subject-list { display: grid; gap: 11px; }.subject-list > article { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }.subject-heading { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-bottom: 1px solid var(--line); }.subject-heading > span { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 850; }.subject-heading h2 { margin: 0 0 3px; font-size: 16px; }.subject-heading small { color: var(--muted); font-size: 10px; }.subject-times { display: grid; grid-template-columns: repeat(2,1fr); }.subject-times div { min-height: 53px; padding: 9px 13px; border-bottom: 1px solid var(--line); }.subject-times div:nth-child(odd) { border-right: 1px solid var(--line); }.subject-times div:last-child,.subject-times div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }.subject-times strong,.subject-times span { display: block; }.subject-times strong { color: var(--brand); font-size: 11px; }.subject-times span { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.week-switch { display: flex; justify-content: space-between; align-items: center; }.week-switch button { width: 44px; height: 44px; border: 0; border-radius: 13px; background: #f1f5f4; font-size: 20px; }
.day-tabs { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; border-bottom: 1px solid var(--line); padding: 13px 0 15px; }.day-tabs button { min-height: 56px; border: 0; border-radius: 13px; background: transparent; }.day-tabs span, .day-tabs strong { display: block; }.day-tabs span { font-size: 11px; color: var(--muted); margin-bottom: 3px; }.day-tabs .active { background: var(--brand); color: white; }.day-tabs .active span { color: rgba(255,255,255,.76); }
.today-tag { color: var(--brand); font-size: 12px; font-weight: 700; margin: 15px 0 5px; }.day-lessons article { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }.day-lessons article:last-child { border: 0; }.lesson-number { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; }.day-lessons strong, .day-lessons span { display: block; }.day-lessons span, .day-lessons small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.tip-card { display: flex; gap: 10px; background: #fff7df; border-radius: 16px; padding: 15px; margin-top: 15px; }.tip-card p { color: var(--muted); margin: 4px 0 0; font-size: 12px; }
.search-box { min-height: 48px; background: #eef3f2; border-radius: 14px; display: flex; align-items: center; padding: 0 15px; gap: 9px; margin: 6px 0 13px; color: var(--muted); }.search-box input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; color: var(--text); }
.filter-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 1px 0 15px; }.filter-row button { border: 1px solid var(--line); background: var(--surface); color: var(--muted); min-height: 38px; padding: 0 14px; border-radius: 999px; white-space: nowrap; }.filter-row button.active { background: var(--brand); border-color: var(--brand); color: white; }
.notice-card { background: var(--surface); border: 1px solid var(--line); border-radius: 17px; padding: 15px; }.notice-card.important { border-left: 4px solid var(--orange); }.notice-line, .notice-card footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; }.notice-line span { color: var(--brand); font-size: 11px; font-weight: 700; }.notice-line time, .notice-card footer span { color: var(--muted); font-size: 11px; }.notice-card h2 { font-size: 16px; margin: 10px 0 7px; }.notice-card > p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }.deadline { color: var(--orange); font-size: 12px; margin-top: 10px; }.file-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }.file-chips span { padding: 6px 8px; border-radius: 8px; background: #f1f5f4; color: #607278; font-size: 10px; }.notice-card footer { border-top: 1px solid var(--line); padding-top: 11px; margin-top: 12px; }.notice-card footer b { color: var(--brand); font-size: 11px; }
.empty-state { padding: 58px 20px; border: 1px dashed var(--line); border-radius: 18px; background: var(--surface); text-align: center; }.empty-state > span { display: block; font-size: 34px; filter: grayscale(1); opacity: .45; }.empty-state h2 { margin: 13px 0 6px; font-size: 17px; }.empty-state p { margin: 0; color: var(--muted); font-size: 12px; }
.homework-empty { margin-top: 6px; }.homework-history { display: grid; gap: 18px; padding-top: 7px; }.homework-day { display: grid; gap: 9px; }.homework-date { display: flex; justify-content: space-between; align-items: baseline; padding: 0 3px; }.homework-date strong { font-size: 16px; }.homework-date span { color: var(--muted); font-size: 10px; }.homework-items { display: grid; gap: 8px; }.homework-items article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }.homework-items article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #fff1c9; color: #85631a; font-weight: 850; }.homework-items h2 { margin: 0 0 5px; font-size: 15px; }.homework-items p { margin: 0; color: #455c65; font-size: 13px; line-height: 1.55; }.homework-items small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.homework-sections { display: grid; gap: 10px; margin-top: 11px; }.homework-sections section { padding: 11px; border-radius: 12px; background: #f7f9f8; }.homework-section-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; }.homework-section-title h3 { margin: 0; font-size: 13px; }.homework-section-title span { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; background: #e7eeec; color: #607278; font-size: 9px; font-weight: 800; }.homework-section-title span.required { background: #ffe8df; color: #bd5938; }.homework-section-title span.optional { background: #e8effa; color: #5676a1; }.homework-sections section > strong { display: block; margin: 7px 0 5px; color: var(--brand); font-size: 12px; }.homework-sections section > p { margin: 6px 0 0; font-size: 11px; line-height: 1.6; }
.activity-hero { margin-top: 5px; background: linear-gradient(135deg,#6b5a91,#8b73b3); color: white; border-radius: 21px; padding: 22px; box-shadow: 0 14px 28px rgba(92,70,132,.18); }.activity-hero span { font-size: 11px; opacity: .8; }.activity-hero h2 { margin: 8px 0; font-size: 21px; }.activity-hero p { margin: 0; font-size: 12px; line-height: 1.5; opacity: .82; }.activity-hero + .filter-row { margin-top: 16px; }
.activity-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 15px; display: grid; grid-template-columns: 58px 1fr; gap: 13px; }.activity-icon { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; font-size: 27px; background: #f0eafa; }.activity-card.green .activity-icon { background: #e5f4eb; }.activity-card.orange .activity-icon { background: #fff0e4; }.activity-body > div { display: flex; justify-content: space-between; align-items: center; }.activity-body > div span { color: var(--brand); font-weight: 700; font-size: 11px; }.activity-body > div small { color: var(--muted); }.activity-body h2 { margin: 8px 0; font-size: 17px; }.activity-body p { margin: 4px 0; color: var(--muted); font-size: 12px; }.activity-body button { width: 100%; min-height: 42px; margin-top: 11px; border: 0; border-radius: 11px; background: var(--brand); color: white; font-weight: 700; }.activity-body button:disabled { background: #e8eeee; color: #89989c; }
.file-summary { background: var(--brand); color: white; border-radius: 18px; padding: 17px 10px; display: grid; grid-template-columns: repeat(3,1fr); text-align: center; }.file-summary div + div { border-left: 1px solid rgba(255,255,255,.2); }.file-summary strong, .file-summary span { display: block; }.file-summary strong { font-size: 21px; }.file-summary span { margin-top: 4px; opacity: .78; font-size: 10px; }.file-title { margin-top: 21px; }.files-list button { border: 1px solid var(--line); background: var(--surface); border-radius: 15px; padding: 12px; min-height: 70px; display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 11px; text-align: left; }.file-icon { width: 43px; height: 43px; border-radius: 12px; background: #f1f5f4; display: grid; place-items: center; font-size: 21px; }.files-list strong, .files-list small { display: block; }.files-list strong { font-size: 13px; margin-bottom: 6px; }.files-list small, .files-list time { color: var(--muted); font-size: 10px; }
.profile-card { margin-top: 6px; border-radius: 19px; background: var(--surface); border: 1px solid var(--line); padding: 19px; display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; }.large-avatar { width: 58px; height: 58px; border-radius: 18px; font-size: 22px; }.profile-card h2 { margin: 0 0 5px; }.profile-card p { color: var(--muted); font-size: 12px; margin: 0; }.profile-edit { min-width: 52px; min-height: 40px; border: 0; border-radius: 11px; color: var(--brand); background: var(--brand-soft); font-weight: 700; cursor: pointer; }.settings { margin-top: 15px; border: 1px solid var(--line); background: var(--surface); border-radius: 18px; overflow: hidden; }.settings button { width: 100%; min-height: 72px; border: 0; border-bottom: 1px solid var(--line); background: transparent; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; text-align: left; gap: 8px; padding: 10px 14px; }.settings button:last-child { border: 0; }.settings strong, .settings small { display: block; }.settings small { color: var(--muted); margin-top: 4px; }
.modal-backdrop { position: fixed; z-index: 50; inset: 0; background: rgba(13,31,36,.5); display: grid; place-items: end center; }.file-modal { width: min(100%,480px); background: white; border-radius: 25px 25px 0 0; padding: 21px 20px calc(25px + env(safe-area-inset-bottom)); position: relative; }.modal-close { position: absolute; right: 16px; top: 14px; border: 0; background: #eef3f2; border-radius: 50%; width: 40px; height: 40px; font-size: 24px; }.preview-paper { height: 170px; background: #edf4f2; border-radius: 16px; display: grid; place-items: center; align-content: center; gap: 10px; margin-top: 38px; }.preview-paper span { font-size: 44px; }.file-modal h2 { font-size: 18px; margin: 17px 0 6px; }.file-modal p { color: var(--muted); font-size: 12px; }.file-modal .primary { width: 100%; margin-top: 8px; }
.download-link { display: grid; place-items: center; text-decoration: none; }
.name-modal { width: min(100%,480px); background: white; border-radius: 25px 25px 0 0; padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); position: relative; }.name-modal-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); font-size: 22px; }.name-modal h2 { margin: 13px 0 5px; font-size: 21px; }.name-modal > p { margin: 0 0 18px; color: var(--muted); font-size: 12px; }.name-modal label { display: block; margin: 13px 0; color: #50656d; font-size: 12px; font-weight: 700; }.name-modal input { display: block; width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; margin-top: 7px; padding: 0 13px; color: var(--text); background: #fafcfc; font-size: 15px; }.name-modal .primary { width: 100%; margin-top: 6px; }
@media (min-width: 700px) { body { padding: 24px 0; }.app-shell { min-height: calc(100vh - 48px); border-radius: 30px; overflow: hidden; }.bottom-nav { bottom: 24px; border-radius: 0 0 30px 30px; } }
@media (prefers-reduced-motion: no-preference) { button { transition: transform .15s ease, background .15s ease; } button:active { transform: scale(.97); } }
