914 lines
17 KiB
CSS
914 lines
17 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--bg: #fff5ee;
|
|
--bg-elevated: rgba(255, 249, 244, 0.78);
|
|
--surface: rgba(255, 255, 255, 0.82);
|
|
--surface-strong: #fffdfa;
|
|
--surface-soft: #fff0e3;
|
|
--line: rgba(133, 113, 95, 0.12);
|
|
--text: #342e2d;
|
|
--muted: #7c716d;
|
|
--accent: #f0a46c;
|
|
--accent-strong: #dd8d52;
|
|
--accent-soft: rgba(240, 164, 108, 0.18);
|
|
--mint-soft: rgba(174, 214, 193, 0.24);
|
|
--peach-soft: rgba(255, 210, 179, 0.24);
|
|
--sky-soft: rgba(194, 213, 235, 0.2);
|
|
--rose-soft: rgba(237, 196, 205, 0.22);
|
|
--shadow: 0 20px 50px rgba(125, 92, 68, 0.10);
|
|
--radius: 22px;
|
|
--font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
|
|
--font-heading: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
color-scheme: dark;
|
|
--bg: #201d1d;
|
|
--bg-elevated: rgba(32, 29, 29, 0.82);
|
|
--surface: rgba(45, 39, 39, 0.82);
|
|
--surface-strong: #383131;
|
|
--surface-soft: #433a39;
|
|
--line: rgba(226, 232, 225, 0.1);
|
|
--text: #f4efec;
|
|
--muted: #cabeb7;
|
|
--accent: #f2b07d;
|
|
--accent-strong: #ffc190;
|
|
--accent-soft: rgba(242, 176, 125, 0.18);
|
|
--mint-soft: rgba(155, 198, 175, 0.20);
|
|
--peach-soft: rgba(224, 161, 128, 0.18);
|
|
--sky-soft: rgba(146, 171, 201, 0.18);
|
|
--rose-soft: rgba(189, 133, 145, 0.20);
|
|
--shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-body);
|
|
color: var(--text);
|
|
background:
|
|
radial-gradient(circle at top left, rgba(255, 205, 174, 0.42), transparent 24rem),
|
|
radial-gradient(circle at 90% 8%, rgba(190, 226, 203, 0.34), transparent 24rem),
|
|
radial-gradient(circle at 40% 100%, rgba(255, 228, 205, 0.32), transparent 28rem),
|
|
linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 92%, #f6decb 8%));
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button,
|
|
.button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.45rem;
|
|
padding: 0.82rem 1.1rem;
|
|
border: 1px solid transparent;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
color: white;
|
|
cursor: pointer;
|
|
transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
|
|
}
|
|
|
|
button:hover,
|
|
.button:hover {
|
|
transform: translateY(-1px);
|
|
background: var(--accent-strong);
|
|
}
|
|
|
|
.button.secondary,
|
|
button.secondary,
|
|
.ghost-button {
|
|
background: transparent;
|
|
color: var(--text);
|
|
border-color: var(--line);
|
|
}
|
|
|
|
.button.secondary:hover,
|
|
button.secondary:hover,
|
|
.ghost-button:hover {
|
|
background: var(--accent-soft);
|
|
}
|
|
|
|
.page-shell {
|
|
width: min(1320px, calc(100% - 2rem));
|
|
margin: 1rem auto 2rem;
|
|
}
|
|
|
|
.site-header {
|
|
position: sticky;
|
|
top: 1rem;
|
|
z-index: 10;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
padding: 1rem 1.25rem;
|
|
margin-bottom: 1.25rem;
|
|
background: var(--bg-elevated);
|
|
border: 1px solid var(--line);
|
|
border-radius: 28px;
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(26px) saturate(1.2);
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.brand strong,
|
|
h1, h2, h3, .planner-label {
|
|
font-family: var(--font-heading);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.brand small {
|
|
display: block;
|
|
color: var(--muted);
|
|
margin-top: 0.12rem;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 2.7rem;
|
|
height: 2.7rem;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 1rem;
|
|
background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 236, 219, 0.92));
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
|
|
}
|
|
|
|
.brand-mark img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.nav-link-inner {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.ui-icon {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
display: inline-block;
|
|
background: currentColor;
|
|
flex: 0 0 auto;
|
|
-webkit-mask-position: center;
|
|
-webkit-mask-repeat: no-repeat;
|
|
-webkit-mask-size: contain;
|
|
mask-position: center;
|
|
mask-repeat: no-repeat;
|
|
mask-size: contain;
|
|
}
|
|
|
|
.icon-house {
|
|
-webkit-mask-image: url("../icons/fa/house.svg");
|
|
mask-image: url("../icons/fa/house.svg");
|
|
}
|
|
|
|
.icon-utensils {
|
|
-webkit-mask-image: url("../icons/fa/utensils.svg");
|
|
mask-image: url("../icons/fa/utensils.svg");
|
|
}
|
|
|
|
.icon-bowl-food {
|
|
-webkit-mask-image: url("../icons/fa/bowl-food.svg");
|
|
mask-image: url("../icons/fa/bowl-food.svg");
|
|
}
|
|
|
|
.icon-cart-shopping {
|
|
-webkit-mask-image: url("../icons/fa/cart-shopping.svg");
|
|
mask-image: url("../icons/fa/cart-shopping.svg");
|
|
}
|
|
|
|
.icon-calendar {
|
|
-webkit-mask-image: url("../icons/fa/calendar.svg");
|
|
mask-image: url("../icons/fa/calendar.svg");
|
|
}
|
|
|
|
.icon-calendar-days {
|
|
-webkit-mask-image: url("../icons/fa/calendar-days.svg");
|
|
mask-image: url("../icons/fa/calendar-days.svg");
|
|
}
|
|
|
|
.icon-archive {
|
|
-webkit-mask-image: url("../icons/fa/archive.svg");
|
|
mask-image: url("../icons/fa/archive.svg");
|
|
}
|
|
|
|
.icon-sparkles {
|
|
-webkit-mask-image: url("../icons/fa/sparkles.svg");
|
|
mask-image: url("../icons/fa/sparkles.svg");
|
|
}
|
|
|
|
.site-nav {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.45rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
.site-nav a {
|
|
padding: 0.55rem 0.85rem;
|
|
border-radius: 999px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.site-nav a.active,
|
|
.site-nav a:hover {
|
|
background: var(--accent-soft);
|
|
color: var(--text);
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.content {
|
|
display: grid;
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.hero,
|
|
.page-intro,
|
|
.panel,
|
|
.auth-card,
|
|
.stat-card,
|
|
.item-card,
|
|
.list-row,
|
|
.planner-entry,
|
|
.week-card,
|
|
.week-mini-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(18px) saturate(1.12);
|
|
}
|
|
|
|
.hero,
|
|
.page-intro,
|
|
.panel,
|
|
.auth-card,
|
|
.week-card {
|
|
padding: 1.35rem;
|
|
}
|
|
|
|
.hero {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
align-items: end;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 45%),
|
|
linear-gradient(180deg, color-mix(in srgb, var(--surface) 86%, #fff 14%), color-mix(in srgb, var(--surface) 80%, #ffe5d2 20%));
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 0.45rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
font-size: 0.78rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(2rem, 3vw, 3rem);
|
|
line-height: 1.06;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.45rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.lead,
|
|
.muted,
|
|
.empty-state,
|
|
.empty-slot,
|
|
.planner-entry p,
|
|
.simple-list span,
|
|
.simple-list small {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.lead {
|
|
max-width: 60ch;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.stats-grid,
|
|
.two-column,
|
|
.card-grid,
|
|
.mini-card-grid,
|
|
.week-mini-grid,
|
|
.week-overview-grid {
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.two-column {
|
|
grid-template-columns: 1.05fr 0.95fr;
|
|
}
|
|
|
|
.week-mini-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
}
|
|
|
|
.week-overview-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 1.15rem 1.2rem;
|
|
background:
|
|
linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 90%, #fff 10%));
|
|
}
|
|
|
|
.stat-card span {
|
|
display: block;
|
|
color: var(--muted);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.stat-card strong {
|
|
display: block;
|
|
font-size: 2rem;
|
|
font-family: var(--font-heading);
|
|
}
|
|
|
|
.panel-head,
|
|
.page-intro,
|
|
.item-topline,
|
|
.row-actions,
|
|
.hero-actions,
|
|
.form-actions,
|
|
.week-nav,
|
|
.week-card-head,
|
|
.planner-entry-top {
|
|
display: flex;
|
|
gap: 0.85rem;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.simple-list,
|
|
.stack-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.simple-list li,
|
|
.list-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
padding: 1rem 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.simple-list li:last-child {
|
|
border-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.mini-card-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
}
|
|
|
|
.mini-card,
|
|
.week-mini-card {
|
|
border-radius: 18px;
|
|
background: var(--surface-strong);
|
|
border: 1px solid var(--line);
|
|
padding: 1rem;
|
|
}
|
|
|
|
.component-group {
|
|
padding: 1rem;
|
|
border-radius: 18px;
|
|
background: rgba(255, 255, 255, 0.4);
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.quick-food-panel {
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
border-radius: 18px;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.quick-food-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0.8rem;
|
|
align-items: end;
|
|
}
|
|
|
|
.quick-food-grid .wide {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.week-mini-card {
|
|
display: grid;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.chip-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.45rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.chip,
|
|
.status-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.35rem 0.7rem;
|
|
border-radius: 999px;
|
|
background: var(--accent-soft);
|
|
color: var(--text);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.status-home {
|
|
background: rgba(121, 176, 144, 0.22);
|
|
}
|
|
|
|
.status-archived {
|
|
background: var(--peach-soft);
|
|
}
|
|
|
|
.status-idea {
|
|
background: var(--sky-soft);
|
|
}
|
|
|
|
.card-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
|
|
}
|
|
|
|
.item-card {
|
|
display: grid;
|
|
grid-template-columns: 112px 1fr;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.item-card.compact {
|
|
grid-template-columns: 84px 1fr;
|
|
}
|
|
|
|
.item-media {
|
|
aspect-ratio: 1;
|
|
overflow: hidden;
|
|
border-radius: 18px;
|
|
background: var(--surface-soft);
|
|
}
|
|
|
|
.item-media img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.placeholder-tile {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 2rem;
|
|
font-family: var(--font-heading);
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
.item-body {
|
|
min-width: 0;
|
|
}
|
|
|
|
.item-body p {
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.item-actions {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.auth-shell {
|
|
min-height: calc(100vh - 10rem);
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.auth-card {
|
|
width: min(560px, 100%);
|
|
}
|
|
|
|
.stack-form {
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.stack-form label,
|
|
.planner-entry-form label,
|
|
.filter-form label {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.inline-check {
|
|
display: inline-flex !important;
|
|
align-items: center;
|
|
gap: 0.7rem;
|
|
color: var(--text) !important;
|
|
}
|
|
|
|
.inline-check input[type="checkbox"] {
|
|
width: 1.05rem;
|
|
height: 1.05rem;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="password"],
|
|
input[type="date"],
|
|
input[type="file"],
|
|
select,
|
|
textarea {
|
|
width: 100%;
|
|
padding: 0.85rem 1rem;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--line);
|
|
background: var(--surface-strong);
|
|
color: var(--text);
|
|
}
|
|
|
|
fieldset {
|
|
margin: 0;
|
|
padding: 1rem;
|
|
border-radius: 18px;
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
legend {
|
|
padding: 0 0.4rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.checkbox-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.check-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
padding: 0.75rem 0.9rem;
|
|
border-radius: 16px;
|
|
background: var(--surface-strong);
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.inline-photo img {
|
|
width: min(220px, 100%);
|
|
border-radius: 18px;
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.compact-form-panel {
|
|
padding: 1rem 1.1rem;
|
|
}
|
|
|
|
.inline-form,
|
|
.planner-entry-form,
|
|
.filter-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 0.8rem;
|
|
align-items: end;
|
|
}
|
|
|
|
.planner-entry-form,
|
|
.filter-form {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.filter-form .wide,
|
|
.planner-entry-form .wide {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.filter-actions {
|
|
display: flex;
|
|
gap: 0.65rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.list-row {
|
|
padding: 1rem 1.1rem;
|
|
}
|
|
|
|
.row-actions {
|
|
justify-content: end;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.stack-sections,
|
|
.planner-day-stack,
|
|
.planner-entry-list {
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.day-tile {
|
|
border-radius: 24px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--line);
|
|
box-shadow: var(--shadow);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.day-tile > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.day-tile summary {
|
|
list-style: none;
|
|
}
|
|
|
|
.day-tile-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 1.2rem 1.25rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.day-tile-summary-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.day-tile-icon {
|
|
width: 2.8rem;
|
|
height: 2.8rem;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 1rem;
|
|
background: linear-gradient(145deg, rgba(255,255,255,0.92), var(--peach-soft));
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
.day-tile-icon .ui-icon {
|
|
width: 1.15rem;
|
|
height: 1.15rem;
|
|
}
|
|
|
|
.day-tile-body {
|
|
padding: 0 1.25rem 1.25rem;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.quick-add-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.quick-add-row form {
|
|
margin: 0;
|
|
}
|
|
|
|
.quick-add-button {
|
|
display: grid;
|
|
justify-items: start;
|
|
padding: 0.9rem 1rem;
|
|
min-width: 180px;
|
|
border-radius: 18px;
|
|
background: color-mix(in srgb, var(--surface-strong) 76%, #fff 24%);
|
|
color: var(--text);
|
|
border: 1px solid var(--line);
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
|
|
}
|
|
|
|
.quick-add-button:hover {
|
|
background: var(--accent-soft);
|
|
}
|
|
|
|
.quick-add-button small {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.planner-entry {
|
|
padding: 0.9rem 1rem;
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.planner-entry-list .planner-entry {
|
|
background: color-mix(in srgb, var(--surface) 88%, #fff 12%);
|
|
}
|
|
|
|
.week-card-count {
|
|
font-size: 1.25rem;
|
|
font-family: var(--font-heading);
|
|
margin: 0.8rem 0 0.2rem;
|
|
}
|
|
|
|
.week-card-actions {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.week-slot-stack {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.week-slot {
|
|
padding: 0.85rem;
|
|
border-radius: 18px;
|
|
background: color-mix(in srgb, var(--surface-strong) 80%, #fff 20%);
|
|
border: 1px solid var(--line);
|
|
transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
|
|
}
|
|
|
|
.week-slot.is-drag-over {
|
|
background: var(--accent-soft);
|
|
border-color: color-mix(in srgb, var(--accent) 60%, var(--line) 40%);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.week-slot-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.week-entry-stack {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.plan-chip {
|
|
padding: 0.7rem 0.8rem;
|
|
border-radius: 16px;
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,246,239,0.92));
|
|
border: 1px solid var(--line);
|
|
cursor: grab;
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
|
|
}
|
|
|
|
.plan-chip:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.plan-chip.is-dragging {
|
|
opacity: 0.55;
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.plan-chip small,
|
|
.week-slot-empty {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.flash-stack {
|
|
display: grid;
|
|
gap: 0.7rem;
|
|
}
|
|
|
|
.flash {
|
|
padding: 0.95rem 1rem;
|
|
border-radius: 16px;
|
|
border: 1px solid var(--line);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.flash-success {
|
|
background: rgba(121, 176, 144, 0.2);
|
|
}
|
|
|
|
.flash-error {
|
|
background: rgba(210, 125, 115, 0.18);
|
|
}
|
|
|
|
.flash-info {
|
|
background: rgba(147, 179, 205, 0.18);
|
|
}
|
|
|
|
.theme-toggle {
|
|
min-width: 5rem;
|
|
}
|
|
|
|
@media (max-width: 1080px) {
|
|
.site-header,
|
|
.hero,
|
|
.page-intro,
|
|
.panel-head,
|
|
.week-card-head {
|
|
grid-template-columns: 1fr;
|
|
flex-direction: column;
|
|
align-items: start;
|
|
}
|
|
|
|
.site-header {
|
|
position: static;
|
|
}
|
|
|
|
.stats-grid,
|
|
.two-column,
|
|
.inline-form,
|
|
.planner-entry-form,
|
|
.filter-form {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.filter-form .wide,
|
|
.planner-entry-form .wide {
|
|
grid-column: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.page-shell {
|
|
width: min(100% - 1rem, 100%);
|
|
}
|
|
|
|
.site-header {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.site-nav,
|
|
.header-actions,
|
|
.item-card,
|
|
.list-row,
|
|
.row-actions,
|
|
.quick-add-row,
|
|
.filter-actions {
|
|
justify-content: start;
|
|
}
|
|
|
|
.item-card {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.week-nav {
|
|
align-items: start;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|