@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
:root { font-family: Nunito, system-ui, sans-serif; color: #243653; background: #fff9ed; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 85% 4%, #fff0b8 0, transparent 24%), #fff9ed; }
.access-gate:not([hidden]) { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; background: #243653b8; }
.access-card { width: min(100%, 390px); display: grid; gap: 12px; padding: 30px; border-radius: 24px; background: #fff9ed; box-shadow: 0 20px 70px #14243f55; }
.access-card h2 { margin: 0; font-size: 27px; }.access-card p { margin: 0 0 5px; color: #6d7a90; font-weight: 700; }
.access-card input { width: 100%; border: 2px solid #d7dce3; border-radius: 12px; padding: 12px; }
.access-card button { border: 0; border-radius: 12px; padding: 12px; background: #f47765; color: white; font-weight: 900; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { max-width: 1540px; margin: auto; padding: 22px clamp(16px, 3vw, 46px) 70px; }
.topbar, .brand, .header-actions, .widget-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand { justify-content: flex-start; }
.brand-icon { display: grid; place-items: center; width: 46px; height: 46px; color: white; background: #f47765; border-radius: 15px; font-size: 32px; }
.brand strong { font-size: 23px; font-weight: 900; line-height: 1; display: block; }
.brand small { font-size: 12px; font-weight: 700; color: #74819a; }
.header-actions { font-weight: 800; }
.quiet { border: 2px solid #eee5d5; border-radius: 12px; padding: 8px 13px; background: white; color: #243653; font-weight: 900; }
.welcome { min-height: 180px; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; margin: 28px 0 24px; padding: 26px 38px; border-radius: 28px; background: #dff4e8; }
.welcome::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: #bdebd5; right: -40px; top: 55px; }
.welcome h1 { position: relative; z-index: 1; margin: 2px 0 3px; font-size: clamp(27px, 3vw, 42px); line-height: 1.14; font-weight: 900; }
.welcome h1 span { font-size: .8em; }
.welcome p:last-child { position: relative; z-index: 1; margin: 0; font-weight: 700; color: #536b70; }
.eyebrow { color: #338b75; font-weight: 900; letter-spacing: .12em; font-size: 12px; margin: 0; }
.sun-art { z-index: 1; font-size: 110px; color: #f9b951; line-height: 1; margin: 0 45px 0 15px; text-shadow: 12px 14px 0 #f8d581; transform: rotate(-14deg); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 18px; align-items: stretch; }
.widget { background: #fff; min-height: 255px; border: 2px solid #f0eadd; border-radius: 23px; padding: 22px; box-shadow: 0 5px 0 #efe8db88; overflow: hidden; }
.widget.span-2 { grid-column: span 2; }
.widget.important { background: #fff3ed; border-color: #ffdbce; }
.widget.calendar { background: #eef6ff; border-color: #d9e9fc; }
.widget.tasks { background: #f3fcf5; border-color: #dbf0de; }
.widget.shopping { background: #fffae9; border-color: #f9edbc; }
.widget.family { background: #f6f2ff; border-color: #e9ddfb; }
.widget.capture { background: #fff0ed; border-color: #ffdbd2; }
.widget-head { align-items: flex-start; margin-bottom: 18px; }
h2 { margin: 7px 0 0; font-size: clamp(20px, 2vw, 26px); font-weight: 900; letter-spacing: -.03em; }
.badge { display: inline-block; border-radius: 50px; padding: 5px 9px; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.coral { color: #ca564c; background: #ffdbcf; }.blue { color: #4c7eb7; background: #d5e9ff; }.mint { color: #348c6c; background: #d7f1df; }.yellow { color: #9a7420; background: #f8ecba; }.violet { color: #8260b3; background: #e9ddfa; }
.resize { display: none; width: 32px; height: 32px; border-radius: 9px; border: 1px solid #d8d5d0; background: #fff; }
.move-widget { display: none; width: 32px; height: 32px; border-radius: 9px; border: 1px solid #d8d5d0; background: #fff; font-weight: 900; }
.editing .resize, .editing .move-widget { display: inline-block; }
.widget-head > div:last-child { display: flex; align-items: center; gap: 4px; }
.muted { color: #768398; font-weight: 700; }
.widget-body { font-size: 15px; }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 170px; }
.empty-icon { font-size: 35px; }.empty strong { font-size: 18px; }.empty p { max-width: 260px; margin: 5px 0; color: #708099; font-weight: 700; }
.add-form { display: flex; gap: 8px; margin: 10px 0 14px; }
.add-form input { min-width: 0; width: 100%; border: 2px solid #e9e8e2; background: #fff; outline: 0; border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.add-form input:focus { border-color: #76b6aa; }
.add-form button { flex: 0 0 42px; border: 0; border-radius: 12px; background: #243653; color: white; font-size: 25px; line-height: 1; }
.list { display: flex; flex-direction: column; gap: 7px; max-height: 310px; overflow: auto; }
.list-empty { font-size: 13px; margin: 16px 0; }
.item { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px; border-radius: 11px; background: #ffffffa8; }
.item-title { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 800; font-size: 14px; }
.item.done .item-title { color: #9aa5ae; text-decoration: line-through; }
.check { flex: 0 0 23px; height: 23px; border: 2px solid #a8b5bc; background: white; border-radius: 8px; font-weight: 900; line-height: 1; padding: 0; color: #348c6c; }
.item.done .check { border-color: #79c7a5; background: #def5e9; }
.assignee { max-width: 92px; border: 0; background: transparent; font-weight: 900; font-size: 12px; color: #596d83; }
.due-date, .quantity { border: 1px solid #e4e5e2; border-radius: 7px; background: #fff; color: #596d83; padding: 3px; font-size: 11px; font-weight: 800; }
.due-date { max-width: 112px; }.quantity { width: 53px; }
.remove { border: 0; background: transparent; color: #a0a8b2; font-size: 21px; padding: 0 3px; }
.member-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.member { display: flex; align-items: center; gap: 6px; border-radius: 50px; background: #fff; border: 2px solid var(--member-color); padding: 4px 10px 4px 4px; font-size: 13px; font-weight: 900; }
.avatar { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--member-color); }
.suggestion { background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 8px; }.suggestion p { margin: 3px 0 0; color: #6e7c8c; }
.suggestion-source { font-size: 11px; color: #647b95; font-weight: 800; }
.suggestion-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.suggestion-actions .quiet { font-size: 11px; padding: 5px 7px; border-width: 1px; }
.suggestion-assignee { max-width: 100px; border: 1px solid #e7ded6; border-radius: 8px; padding: 5px; background: white; font-size: 11px; font-weight: 800; }
.event { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #dce8f5; padding: 9px 2px; cursor: pointer; }
.event-dot { width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; }
.event-details { display: flex; flex-direction: column; min-width: 0; }.event-details strong { font-size: 14px; }.event-details small { color: #71829a; font-weight: 800; }
#calendar-picker { padding: 14px 0 0; border-top: 1px solid #dce8f5; margin-top: 12px; }
.calendar-option { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-weight: 800; }
.birthday-candidate { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 8px 0; border-bottom: 1px solid #e6ddf3; font-size: 13px; font-weight: 800; }
.birthday-candidate span { flex: 1; min-width: 120px; }
.birthday-candidate select { border: 1px solid #dbd1e9; border-radius: 8px; padding: 6px; background: white; }
#birthday-picker { margin-top: 15px; }
.capture-item { background: #fff; border-radius: 9px; padding: 7px 9px; margin: 7px 0; color: #243653; font-size: 13px; font-weight: 800; }
#capture-preview .quiet { margin: 8px 6px 0 0; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .shell { padding: 15px 14px 45px; }.topbar { align-items: flex-start; }.brand small, #today, #fullscreen { display: none; }.brand strong { font-size: 19px; }.brand-icon { width: 39px; height: 39px; }.header-actions { gap: 6px; }.quiet { padding: 8px; font-size: 12px; }.welcome { margin: 18px 0 14px; padding: 20px; min-height: 135px; }.welcome h1 { font-size: 25px; }.sun-art { display: none; }.grid { grid-template-columns: 1fr; gap: 12px; }.widget.span-2 { grid-column: span 1; }.widget { min-height: 150px; padding: 17px; }.widget .empty { min-height: 105px; } }
@media (max-width: 650px) { .item { flex-wrap: wrap; }.item-title { flex-basis: calc(100% - 68px); }.assignee { margin-left: 31px; }.due-date { max-width: 125px; } }
body[data-skin="labor"], body[data-skin="memorial"], body[data-skin="july4"] { background: radial-gradient(circle at 90% 8%, #ffd8d0, transparent 25%), #f5f9ff; }
body[data-skin="labor"] .welcome, body[data-skin="memorial"] .welcome, body[data-skin="july4"] .welcome { background: #dbeaff; }
body[data-skin="labor"] .brand-icon, body[data-skin="memorial"] .brand-icon, body[data-skin="july4"] .brand-icon { background: #e66d70; }
body[data-skin="halloween"] { background: radial-gradient(circle at 87% 5%, #d8c3eb, transparent 25%), #fff4e9; }
body[data-skin="halloween"] .welcome { background: #eddbf6; }
body[data-skin="halloween"] .brand-icon { background: #ed934e; }
body[data-skin="thanksgiving"] { background: radial-gradient(circle at 88% 6%, #ffe0ba, transparent 25%), #fff8ea; }
body[data-skin="thanksgiving"] .welcome { background: #ffe5c8; }
body[data-skin="thanksgiving"] .brand-icon { background: #b96a44; }
body[data-skin="easter"] { background: radial-gradient(circle at 88% 6%, #e7d6ff, transparent 25%), #f9f8ef; }
body[data-skin="easter"] .welcome { background: #f4e5fb; }
body[data-skin="easter"] .brand-icon { background: #b785cf; }
body[data-skin="christmas"] { background: radial-gradient(circle at 87% 6%, #ffdbc9, transparent 25%), #f6fcf7; }
body[data-skin="christmas"] .welcome { background: #d9eee3; }
body[data-skin="christmas"] .brand-icon { background: #cf5559; }
body[data-skin="birthday"] { background: radial-gradient(circle at 88% 6%, #fce0f1, transparent 25%), #fff9ef; }
body[data-skin="birthday"] .welcome { background: #fce7f5; }
body[data-skin="birthday"] .brand-icon { background: #d674b0; }
body[data-skin="labor"] .sun-art, body[data-skin="memorial"] .sun-art, body[data-skin="july4"] .sun-art, body[data-skin="halloween"] .sun-art, body[data-skin="thanksgiving"] .sun-art, body[data-skin="easter"] .sun-art, body[data-skin="christmas"] .sun-art, body[data-skin="birthday"] .sun-art { font-size: 0; text-shadow: none; transform: rotate(-10deg); }
body[data-skin="labor"] .sun-art::before { content: '🎈'; font-size: 105px; }
body[data-skin="memorial"] .sun-art::before { content: '⭐'; font-size: 105px; }
body[data-skin="july4"] .sun-art::before { content: '🎆'; font-size: 105px; }
body[data-skin="halloween"] .sun-art::before { content: '🎃'; font-size: 105px; }
body[data-skin="thanksgiving"] .sun-art::before { content: '🍂'; font-size: 105px; }
body[data-skin="easter"] .sun-art::before { content: '🥚'; font-size: 105px; }
body[data-skin="christmas"] .sun-art::before { content: '🎄'; font-size: 105px; }
body[data-skin="birthday"] .sun-art::before { content: '🎉'; font-size: 105px; }
