:root{color-scheme:light;font-family:Helvetica,Arial,serif;--color-primary: #2f5f41;--color-primary-hover: #264f36;--color-bg: #e5ede5;--color-surface: #f7fbf6;--color-sidebar: #d8e3d8;--color-text: #18241a;--color-muted: #506253;--color-error: #95372d;--color-success: #26653b;--color-calendar-overdue: #d4ae46;--color-calendar-overdue-text: #48360d;--color-calendar-completed: #2f5f41;--color-calendar-due-soon: #7fa488;--color-calendar-projected: #e3eee4;--color-calendar-forecast-text: #18331f;--color-calendar-current-month: #dce8dd;--color-calendar-guide: rgba(80, 98, 83, .24);--color-surface-muted: #eef5ec;--color-surface-soft: #f2f8f1;--color-border: #b1c4b3;--color-border-soft: #cfdbcf;--color-border-strong: #7f9f85;--color-ring: #9fbda5;--color-info-bg: #e6f1e7;--color-banner-bg: #e8f2e9;--color-banner-success-bg: #e0efe3;--color-banner-error-bg: #f6e7e4;--color-danger-bg: #f6e8e5;--color-table-head: #e5efe6;--color-table-row-alt: #f2f7f1;--color-overlay: rgba(18, 30, 21, .48);--shadow-sm: 0 6px 16px rgba(25, 45, 30, .08);--shadow-md: 0 14px 34px rgba(25, 45, 30, .12);--shadow-lg: 0 22px 58px rgba(25, 45, 30, .16);--shadow-xl: 0 28px 64px rgba(25, 45, 30, .2)}::selection{background:#91c19f8c;color:#171c18}*{box-sizing:border-box}html,body{min-height:100%}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;padding-top:env(safe-area-inset-top,0);padding-right:env(safe-area-inset-right,0);padding-bottom:env(safe-area-inset-bottom,0);padding-left:env(safe-area-inset-left,0);background:radial-gradient(circle at top,var(--color-surface) 0%,var(--color-bg) 58%,var(--color-sidebar) 100%);color:var(--color-text)}a{color:inherit}button,input,select,textarea{font:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hidden{display:none!important}.layout-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}.app-sidebar{position:sticky;top:0;height:100vh;padding:1.25rem 1rem;border-right:1px solid var(--color-border);background:linear-gradient(180deg,var(--color-sidebar),var(--color-surface));display:grid;align-content:start;gap:1rem}.sidebar-brand{display:inline-flex;align-items:center;gap:.7rem;font-size:1.15rem;font-weight:700;text-decoration:none;letter-spacing:.02em}.brand-logo{width:2.1rem;height:2.1rem;object-fit:contain;flex:0 0 auto}.sidebar-caption{margin:0;color:var(--color-muted);font-size:.9rem}.sidebar-nav{display:grid;gap:.35rem}.sidebar-divider{height:1px;background:var(--color-border);margin:.25rem 0}.sidebar-link{text-decoration:none;padding:.7rem .85rem;border-radius:12px;border:1px solid transparent;color:var(--color-muted)}.sidebar-link:hover{background:var(--color-surface-soft);color:var(--color-text)}.sidebar-link.active{background:var(--color-surface);border-color:var(--color-border);color:var(--color-primary);font-weight:700;box-shadow:var(--shadow-sm)}.layout-page{min-width:0;padding:1.25rem 1.25rem 2rem}.layout-panel{width:min(1180px,100%);margin:0 auto;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}.layout-panel.wide{width:min(1180px,100%)}.top-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin:.25rem 0 .75rem;flex-wrap:wrap}.top-bar-main{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex:1 1 320px;min-width:0}.top-bar-info{display:grid;gap:.45rem}.top-bar-title{margin:0;font-size:2rem}.top-bar-description{margin:0;color:var(--color-muted);display:none}.top-bar-right{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;flex:0 0 auto}.top-bar-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-left:auto}.top-bar-actions>.button-row.compact{width:100%}.top-bar-actions:empty{display:none}.header-filters{display:flex;align-items:center;gap:.5rem;flex-wrap:nowrap;width:100%}.header-filters>.button{flex:0 0 auto}.top-bar-actions>.header-filters{width:100%}.top-bar-actions>.button-row.compact>.header-filters{width:100%}.header-filters .filter-input{min-width:0;width:180px;flex:0 0 180px}.header-filters .filter-select{min-width:0;width:160px;flex:0 0 160px}.gallery-upload-section{padding-top:.8rem;padding-bottom:.8rem}.gallery-upload-section>.muted{margin-bottom:.45rem}.gallery-upload-form{gap:.7rem .9rem}.gallery-upload-form .field{gap:.28rem}.gallery-filter-section{padding-top:.8rem;padding-bottom:.8rem}.mobile-nav{display:none}.mobile-nav-menu{position:relative}.mobile-nav-menu[open]{z-index:25}.mobile-nav-trigger{list-style:none;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.22rem;width:2.6rem;height:2.6rem;border-radius:999px;border:1px solid var(--color-border);background:var(--color-surface);cursor:pointer;box-shadow:var(--shadow-sm)}.mobile-nav-trigger::-webkit-details-marker{display:none}.mobile-nav-trigger::marker{content:""}.mobile-nav-trigger-bar{width:1rem;height:2px;border-radius:999px;background:var(--color-text)}.mobile-nav-panel{position:absolute;top:calc(100% + .35rem);right:0;width:min(220px,calc(100vw - 2rem));display:none;border:1px solid var(--color-border);border-radius:16px;background:var(--color-surface);box-shadow:var(--shadow-md);padding:.35rem 0;overflow:hidden}.mobile-nav-menu[open]>.mobile-nav-panel{display:block}.mobile-nav-link{display:block;padding:.7rem .85rem;text-decoration:none;color:var(--color-text)}.mobile-nav-link:hover{background:var(--color-surface-soft)}.mobile-nav-link.active{color:var(--color-primary);font-weight:700}.mobile-nav-divider{position:relative;height:1px;margin:.15rem .75rem;background:var(--color-border)}.menu-version-note{margin:0;padding:.2rem .85rem .45rem;font-size:.75rem;line-height:1.3;color:var(--color-muted)}.mobile-nav-select{min-width:160px;padding:.5rem .75rem;border-radius:999px;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text)}.account-dropdown{position:relative}.account-dropdown[open]{z-index:20}.account-dropdown-trigger{list-style:none;cursor:pointer;padding:.55rem .8rem;border-radius:999px;border:1px solid var(--color-border);background:var(--color-surface-soft);font-weight:600}.account-dropdown-trigger::-webkit-details-marker{display:none}.account-dropdown-menu{position:absolute;right:0;top:calc(100% + .4rem);min-width:220px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:14px;box-shadow:var(--shadow-md);padding:.35rem;display:grid;gap:.2rem}.account-dropdown-item{display:block;width:100%;text-align:left;text-decoration:none;background:transparent;color:var(--color-text);border:0;border-radius:10px;padding:.65rem .75rem;cursor:pointer}.account-dropdown-item:hover{background:var(--color-surface-muted)}.account-dropdown-item.danger{color:var(--color-error)}.public-shell{min-height:100vh;display:grid;place-items:center;padding:1.25rem}.public-panel{width:min(1180px,100%);background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;display:grid;gap:.75rem}.public-panel.public-panel-login{width:min(520px,100%)}.login-page-stack{gap:2.2rem}.login-hero{display:grid;justify-items:center;text-align:center;gap:1.25rem;padding-top:1.25rem}.login-hero-logo{width:min(210px,43.4vw);height:auto;object-fit:contain}.login-hero-title{margin:.75rem 0 0;font-size:clamp(1.5rem,3.85vw,2.2rem);line-height:1.05}.login-auth-section{margin-top:1rem}.login-auth-section>h2{text-align:center;margin-bottom:1.25rem}.login-turnstile{display:grid;justify-content:center;margin:.25rem 0 .1rem}.login-legal-note{margin:.4rem 0 0;text-align:center;font-size:.92rem}.login-legal-note a{color:var(--color-primary);font-weight:600}.public-brand{display:inline-flex;align-items:center;gap:.85rem;text-decoration:none;font-weight:700;letter-spacing:.02em}.public-header{display:grid;gap:.35rem}.public-title{margin:0;font-size:2rem}.public-description{margin:0;color:var(--color-muted);display:none}.shell-footer{display:flex;justify-content:center;margin-top:1rem;padding:.45rem 0 .35rem}.legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.85rem 1.1rem;color:var(--color-muted);font-size:.92rem}.legal-links a{color:var(--color-muted);text-decoration:none}.legal-links a:hover{color:var(--color-primary);text-decoration:underline}.section-title-with-help{display:inline-flex;align-items:center;gap:.45rem}.section-title-with-help>h2,.section-title-with-help>h3{margin:0}.section-help-trigger{display:inline-flex;align-items:center;justify-content:center;width:1.45rem;height:1.45rem;border:1px solid var(--color-border-soft);border-radius:999px;background:color-mix(in srgb,white 88%,var(--color-panel));color:var(--color-muted);font-size:.8rem;font-weight:700;line-height:1;cursor:help;padding:0}.section-help-trigger:hover,.section-help-trigger:focus-visible{color:var(--color-primary);border-color:color-mix(in srgb,var(--color-primary) 30%,var(--color-border-soft));outline:none}.legal-page-stack{gap:0}.legal-doc{width:min(840px,100%);margin:0 auto;padding:1.15rem 1.2rem}.legal-doc>:last-child{margin-bottom:0}.legal-doc h2,.legal-doc h3,.legal-doc h4{margin-top:1.35rem;margin-bottom:.55rem}.legal-doc p,.legal-doc ul,.legal-doc ol{margin-bottom:.85rem}.legal-doc ul,.legal-doc ol{padding-left:1.35rem}.legal-doc li{margin-bottom:.45rem;line-height:1.5}.legal-doc a{color:var(--color-primary)}.legal-doc-meta{color:var(--color-muted);font-size:.94rem}.app-shell{min-height:100vh;display:flex;flex-direction:column}.app-nav{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;background:var(--color-surface);border-bottom:1px solid var(--color-border)}.nav-brand{font-weight:700;text-decoration:none}.nav-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.nav-link{text-decoration:none;color:var(--color-muted);padding:.35rem .7rem;border-radius:999px;border:1px solid transparent}.nav-link.active{color:var(--color-primary);background:var(--color-surface-muted);border-color:var(--color-border);font-weight:600}.page-shell{flex:1;padding:1.25rem 0 2rem}.page-container{width:min(1180px,94vw);margin:0 auto;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}.page-container.wide{width:min(1180px,94vw)}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin:1rem 0 1.5rem;flex-wrap:wrap}.page-header-text{display:grid;gap:.4rem}.page-title{margin:0;font-size:2rem}.page-description{margin:0;color:var(--color-muted)}.page-actions{display:flex;gap:.5rem;flex-wrap:wrap}.banner-host{display:grid;gap:.75rem}.banner{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem .9rem;border-radius:12px;border:1px solid var(--color-border);background:var(--color-banner-bg);color:var(--color-text)}.banner.error{border-color:var(--color-border);background:var(--color-banner-error-bg);color:var(--color-error)}.banner.success{border-color:var(--color-border);background:var(--color-banner-success-bg);color:var(--color-success)}.banner-dismiss{background:transparent;border:0;color:inherit;cursor:pointer;font-weight:600}.page-content{display:grid;gap:1.25rem}.sections-shell{display:grid;gap:.85rem;padding:1rem;border:1px solid var(--color-border-soft);border-radius:18px;background:var(--color-surface);box-shadow:var(--shadow-lg)}.page-stack,#page-content{display:grid;gap:1.25rem}h2{margin:0 0 .65rem;font-size:1.3rem}h3{margin:0;font-size:1.05rem}p{margin:0 0 .85rem;line-height:1.5}.muted{color:var(--color-muted)}.status{font-weight:700;font-size:1.2rem}.status.healthy{color:var(--color-success)}.status.unhealthy{color:var(--color-error)}.card{border:1px dashed var(--color-border-strong);border-radius:14px;padding:.9rem;background:var(--color-surface-muted);color:var(--color-text);margin:0}.button-row{display:flex;flex-wrap:wrap;gap:.7rem}.button-row.compact{gap:.5rem}.profile-device-notification-actions>.button{flex:1 1 160px}.profile-notification-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;margin-top:1rem}.profile-notification-toggle{min-height:48px;padding:.65rem .75rem;border-radius:14px;border:1px solid rgba(36,64,50,.14);background:#f8f4eccc}.profile-notification-toggle input{accent-color:var(--color-primary)}.form-actions-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.25rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:40px;padding:.55rem 1rem;border-radius:999px;border:1px solid var(--color-primary);background:var(--color-primary);color:var(--color-surface);text-decoration:none;cursor:pointer;transition:background-color .12s ease,border-color .12s ease,opacity .12s ease,transform .12s ease}.button:hover:not(:disabled){background:var(--color-primary-hover);border-color:var(--color-primary-hover);transform:translateY(-1px)}.button:disabled{opacity:.6;cursor:not-allowed}.button.secondary{background:var(--color-surface-soft);border-color:var(--color-border-strong);color:var(--color-text)}.button.secondary:hover:not(:disabled){background:var(--color-surface-muted);border-color:var(--color-border)}.button.danger{background:var(--color-danger-bg);border-color:var(--color-error);color:var(--color-error);min-width:40px;width:40px;padding:0;font-size:0;position:relative}.button.danger:hover:not(:disabled){background:var(--color-banner-error-bg);border-color:var(--color-error)}.button.danger:before{content:"";width:16px;height:16px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2395372d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 10v6'/%3E%3Cpath d='M14 10v6'/%3E%3C/svg%3E");background-size:16px 16px;background-repeat:no-repeat;background-position:center}.button-small{min-height:32px;padding:.35rem .7rem;font-size:.85rem}.form{display:grid;gap:.9rem;margin:.75rem 0 0}.admin-form{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:end}.reminders-filter-grid{margin-top:.2rem;grid-template-columns:minmax(220px,1.5fr) repeat(5,minmax(112px,1fr));gap:.55rem}.reminders-filter-grid>.field:first-child{grid-column:span 1}#reminders-bulk-bar{display:flex;align-items:center;justify-content:space-between;margin-top:.35rem;margin-bottom:.55rem;gap:.75rem}.reminders-bulk-meta{align-items:center;gap:.75rem}.reminders-bulk-actions{margin-left:auto;gap:.55rem}.field{display:grid;gap:.35rem}.field.compact-inline{display:inline-grid;grid-auto-flow:column;align-items:center;gap:.45rem}.field.compact-inline select{min-width:180px}.field input,.field select,.field textarea,.filter-input,.filter-select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:.6rem .75rem;border-radius:12px;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text)}.auto-grow-textarea{min-height:42px;overflow-y:hidden;resize:none}.field input[type=date],.field input[type=time],.filter-input[type=date]{width:calc(100% - .01px);min-width:0;max-width:calc(100% - .01px);min-height:42px;-webkit-min-logical-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.4;padding-right:2.1rem}.field input[type=date]::-webkit-date-and-time-value,.field input[type=date]::-webkit-datetime-edit,.field input[type=date]::-webkit-datetime-edit-fields-wrapper,.field input[type=time]::-webkit-date-and-time-value,.field input[type=time]::-webkit-datetime-edit,.field input[type=time]::-webkit-datetime-edit-fields-wrapper,.filter-input[type=date]::-webkit-date-and-time-value,.filter-input[type=date]::-webkit-datetime-edit,.filter-input[type=date]::-webkit-datetime-edit-fields-wrapper{min-width:0;max-width:100%;padding:0;margin:0;line-height:1.4;box-sizing:border-box;text-align:left}.field input[type=date]::-webkit-datetime-edit-year-field,.field input[type=date]::-webkit-datetime-edit-month-field,.field input[type=date]::-webkit-datetime-edit-day-field,.filter-input[type=date]::-webkit-datetime-edit-year-field,.filter-input[type=date]::-webkit-datetime-edit-month-field,.filter-input[type=date]::-webkit-datetime-edit-day-field{min-width:0}.field input[type=date]::-webkit-calendar-picker-indicator,.field input[type=time]::-webkit-calendar-picker-indicator,.filter-input[type=date]::-webkit-calendar-picker-indicator{margin-left:.35rem;flex-shrink:0}@supports (-webkit-touch-callout: none){.field input[type=date],.field input[type=time],.filter-input[type=date]{-webkit-appearance:none;-moz-appearance:none;appearance:none}.field input[type=date]::-webkit-datetime-edit,.field input[type=date]::-webkit-datetime-edit-fields-wrapper,.field input[type=time]::-webkit-datetime-edit,.field input[type=time]::-webkit-datetime-edit-fields-wrapper,.filter-input[type=date]::-webkit-datetime-edit,.filter-input[type=date]::-webkit-datetime-edit-fields-wrapper{width:auto;min-width:0}}.field select,.filter-select,.mobile-nav-select{padding-right:2rem;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.25 4.5 6 8.25 9.75 4.5' fill='none' stroke='%23506253' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:calc(100% - .7rem) 50%;background-size:.85rem .85rem;background-repeat:no-repeat}.field input:focus,.field select:focus,.field textarea:focus,.filter-input:focus,.filter-select:focus,.mobile-nav-select:focus{outline:2px solid var(--color-ring);outline-offset:1px}.field-error{min-height:1rem;font-size:.85rem;font-weight:600;color:var(--color-error)}.password-policy-layout{display:grid;gap:.85rem;grid-column:1 / -1;align-items:stretch}.password-policy-fields{display:grid;gap:.9rem}.password-policy-card{display:grid;align-content:start;gap:.55rem;padding:.8rem .9rem;border-radius:14px;border:1px solid var(--color-border-soft);background:var(--color-surface-muted)}.password-policy-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.password-policy-title,.password-policy-copy{margin:0}.password-policy-title{font-weight:700;color:var(--color-text)}.password-policy-copy{color:var(--color-muted);font-size:.9rem}.password-policy-strength{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:.2rem .7rem;border-radius:999px;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font-size:.82rem;font-weight:700;letter-spacing:.01em}.password-policy-strength[data-strength=weak]{border-color:#c98662;background:#f4e5dd;color:#7a3f20}.password-policy-strength[data-strength=fair]{border-color:#d0b56b;background:#f5edd2;color:#6b5316}.password-policy-strength[data-strength=good]{border-color:#88a68f;background:#e3eee4;color:#22412b}.password-policy-strength[data-strength=strong]{border-color:var(--color-primary);background:#dbeadd;color:var(--color-primary)}.password-policy-list{list-style:none;padding:0;margin:0;display:grid;gap:.35rem}.password-policy-item{display:flex;align-items:center;gap:.55rem;color:var(--color-muted);font-size:.92rem}.password-policy-item:before{content:"";width:.6rem;height:.6rem;border-radius:999px;background:var(--color-border);flex:0 0 auto}.password-policy-item.is-pass{color:var(--color-success)}.password-policy-item.is-pass:before{background:var(--color-success)}.password-policy-item.is-fail{color:var(--color-text)}.password-policy-item.is-fail:before{background:var(--color-error)}@media (min-width: 900px){.password-policy-layout{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr)}.password-policy-card{height:100%}}.checkbox-row,.checkbox-inline{display:inline-flex;align-items:center;gap:.45rem}.checkbox-row{min-height:40px}.checkbox-inline input{width:16px;height:16px}.reminders-bulk-select,.reminder-select-checkbox{display:inline-flex;align-items:center;gap:.45rem;min-height:34px;padding:.3rem .6rem;border:1px solid var(--color-border-soft);border-radius:999px;background:var(--color-surface);color:var(--color-text);line-height:1.2}.reminders-bulk-select{background:var(--color-surface-soft);font-weight:600}.reminder-select-checkbox{font-size:.82rem}.reminders-bulk-select input,.reminder-select-checkbox input{width:17px;height:17px;margin:0;accent-color:var(--color-primary)}.reminders-bulk-select span,.reminder-select-checkbox span{margin:0}.error,.error-inline{color:var(--color-error);font-weight:600}.notice,.notice-inline{color:var(--color-success);font-weight:600}.error,.notice{min-height:0}.error:empty,.notice:empty{display:none}.error-inline,.notice-inline{margin:0}.admin-header,.admin-list-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-bottom:.35rem}.admin-section{border:1px solid var(--color-border-soft);border-radius:16px;padding:.95rem;background:var(--color-surface-soft);box-shadow:var(--shadow-sm);margin:0}.admin-section>.button,.admin-section>.button-row,.admin-section>.form-actions-row{margin-top:.25rem}.admin-form+.admin-table-wrap,.admin-form+.admin-users{margin-top:.35rem}.admin-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.admin-dashboard-grid>.notice,.admin-dashboard-grid>.error{grid-column:1 / -1}.admin-dashboard-grid.admin-single-panel-mode>.admin-section{grid-column:1 / -1!important}.admin-subnav{grid-column:1 / -1;position:sticky;top:.5rem;z-index:5;margin:0 0 .25rem}.admin-subnav-select{display:none;width:100%;min-height:40px;padding:.55rem .8rem;border-radius:14px;border:1px solid var(--color-border-soft);background:var(--color-surface);color:var(--color-text)}.admin-subnav-rail{display:flex;gap:.45rem;overflow-x:auto;padding:.35rem;border:1px solid var(--color-border-soft);border-radius:999px;background:var(--color-surface);box-shadow:var(--shadow-sm);scrollbar-width:thin}.admin-subnav-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;text-decoration:none;color:var(--color-muted);border:1px solid transparent;border-radius:999px;padding:.35rem .7rem;font-size:.9rem;line-height:1.2;transition:background-color .12s ease,color .12s ease,border-color .12s ease}.admin-subnav-link:hover{background:var(--color-surface-soft);color:var(--color-text)}.admin-subnav-link.active{background:var(--color-surface-soft);color:var(--color-primary);border-color:var(--color-border);font-weight:700}.admin-list-header>.button-row{margin-left:auto;align-items:center;gap:.5rem}.admin-list-header>.button,.admin-list-header>.button-row>.button{margin:0}.admin-user-list{display:grid;gap:.55rem}.admin-user-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:center;border:1px solid var(--color-border-soft);background:var(--color-surface);border-radius:12px;padding:.65rem .75rem}.admin-user-row-main{min-width:0;display:grid;gap:.22rem}.admin-user-row-title,.admin-user-row-meta{margin:0}.admin-user-row-meta{color:var(--color-muted);font-size:.88rem;line-height:1.35}.admin-user-row-actions{display:inline-flex;align-items:center;gap:.5rem;justify-content:flex-end}.user-profile-modal-body{display:grid;gap:.9rem;margin-top:.4rem}.user-profile-summary{display:grid;grid-template-columns:120px minmax(0,1fr);gap:.35rem .7rem;padding:.7rem;border:1px solid var(--color-border-soft);border-radius:12px;background:var(--color-surface)}.user-profile-summary>p,.user-profile-summary>code{margin:0}.user-profile-actions{display:grid;gap:.55rem}.user-profile-actions .button-row{gap:.5rem;flex-wrap:wrap}#admin-users,#admin-diagnostics,#admin-errors,#admin-backups{grid-column:span 1}#admin-storage,#admin-audit,#admin-outbox,#admin-sync-queue,#admin-cleanup{grid-column:1 / -1}.page-content>*+*,.page-stack>*+*{margin-top:0}.dashboard-top-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.dashboard-quick-actions{width:100%;flex-wrap:nowrap;align-items:stretch}.dashboard-quick-action-btn{flex:1 1 0;width:100%;min-width:0}.dashboard-quick-launch-btn{width:2.6rem;height:2.6rem;min-width:2.6rem;padding:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;position:relative;font-size:0}.dashboard-quick-launch-btn:before{content:"+";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1.35rem;line-height:1;font-weight:700;color:inherit}.dashboard-header-actions{justify-content:flex-end}.entity-modal .dashboard-quick-add-modal{max-width:560px;margin:0 auto;min-width:0;overflow-x:hidden;touch-action:pan-y}.dashboard-quick-add-modal .admin-form{grid-template-columns:1fr}.dashboard-entity-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-entity-grid .tree-gallery-card{min-height:168px;padding:.65rem;gap:.28rem}.dashboard-entity-grid .tree-gallery-card-title{font-size:1rem;line-height:1.2}.dashboard-entity-grid .tree-gallery-card-meta{font-size:.82rem;line-height:1.25}.dashboard-entity-grid .tree-gallery-view-btn{min-width:96px}.dashboard-entity-grid .tree-gallery-card-actions{margin-top:.1rem}.admin-subsection{margin-top:.85rem;padding-top:.65rem;border-top:1px dashed var(--color-border)}.admin-users{display:grid;gap:.75rem}.user-card{border:1px solid var(--color-border-soft);background:var(--color-surface);border-radius:14px;padding:.85rem;display:grid;gap:.45rem}.storage-provider-card.is-active{border-color:color-mix(in srgb,var(--color-primary) 35%,var(--color-border-soft));background:color-mix(in srgb,var(--color-surface) 88%,var(--color-primary-soft) 12%)}.storage-provider-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.storage-provider-header h3{margin:0}.reminder-row-card{padding:.55rem .7rem;gap:0}.reminder-row-card .admin-list-header{margin-bottom:0;gap:.55rem;align-items:center}.reminder-row-main{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.55rem;align-items:center}.reminder-row-icon{width:24px;height:24px;object-fit:contain;flex:0 0 auto}.reminder-row-copy{min-width:0}.reminder-row-card h3,.reminder-row-card p{margin:0}.reminder-row-card h3{line-height:1.15}.reminder-row-card .muted{font-size:.82rem;line-height:1.2}.user-card.reminder-compact{grid-template-columns:minmax(0,1fr) auto;gap:.45rem .75rem;align-items:center;padding:.65rem .75rem}.user-card.reminder-compact.reminder-action-card{grid-template-columns:minmax(0,1fr);gap:.22rem;align-items:start;cursor:pointer}.user-card.reminder-compact.reminder-action-card:hover{border-color:color-mix(in srgb,var(--color-primary) 35%,var(--color-border))}.user-card.reminder-compact.reminder-action-card:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.reminder-compact-copy{min-width:0;display:grid;gap:.18rem}.reminder-compact-copy h3{font-size:.98rem;line-height:1.15}.reminder-compact-copy .muted{font-size:.84rem;line-height:1.2}.reminder-compact-actions{align-items:center;justify-content:flex-end}.user-card.reminder-compact h3,.user-card.reminder-compact p{margin:0}.user-card.reminder-compact .button-row{justify-content:flex-end}.reminder-action-modal{width:100%;display:grid;gap:.75rem;min-width:0;overflow-x:hidden;touch-action:pan-y}.reminder-action-modal .admin-list-header,.reminder-action-modal .admin-list-header h2,.reminder-action-modal-copy,.reminder-action-modal-success,.reminder-action-modal-error{margin:0}.reminder-action-modal-form{display:grid;gap:.7rem;min-width:0;overflow-x:hidden}.reminder-action-modal-form .field{min-width:0}.reminder-action-modal-form .field input,.reminder-action-modal-form .field select{width:100%}.reminder-action-modal-due-preview,.quick-reminder-due-preview,#tree-reminder-due-preview{margin:-.3rem 0 0;min-height:0;font-size:.78rem;line-height:1.2}.reminder-repeat-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.55rem}.reminder-excluded-months-field{min-width:0;padding:0;margin:0;border:0}.reminder-excluded-months-field legend{padding:0;margin-bottom:.35rem;font-size:.9rem;font-weight:600;color:var(--color-text)}.reminder-excluded-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem .55rem}.reminder-excluded-month-option{display:inline-flex;align-items:center;gap:.35rem;min-width:0;font-size:.84rem}.reminder-excluded-month-option input{width:16px;height:16px;margin:0;accent-color:var(--color-primary)}#tree-reminder-form .reminder-excluded-months-field{grid-column:1 / -1;margin-top:-.1rem}#tree-reminder-form .reminder-excluded-months-field legend{margin-bottom:.45rem}#tree-reminder-form .reminder-excluded-month-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:.25rem}#tree-reminder-form .reminder-excluded-month-option{min-height:28px;padding:.15rem .22rem;border:1px solid var(--color-border-soft);border-radius:9px;background:var(--color-surface);font-size:.68rem;gap:.16rem;justify-content:center}#tree-reminder-form .reminder-excluded-month-option input{width:12px;height:12px}#tree-reminder-form .tree-reminder-form-action{width:fit-content;min-width:112px;justify-self:start}#tree-reminders-filter{min-width:220px}.home-dashboard-stack,.home-dashboard-stack>.admin-section,.home-dashboard-stack .admin-list-header,.home-dashboard-stack .admin-section>*{min-width:0}.home-dashboard-stack>.admin-section{overflow-x:hidden}@media (max-width: 1200px){#tree-reminder-form .reminder-excluded-month-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:.3rem}}.reminder-action-modal-buttons{justify-content:flex-end;flex-wrap:wrap;gap:.45rem}.button.icon-only{min-width:36px;width:36px;min-height:36px;padding:0;font-size:0;position:relative}.button.icon-only:before{content:"";width:16px;height:16px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-size:16px 16px;background-repeat:no-repeat;background-position:center}.button.icon-complete:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f3ec' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}.button.icon-skip:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f3ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h11'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E")}.storage-status-card{gap:.28rem;padding:.7rem .8rem}.storage-status-card h3,.storage-status-card p{margin:0}.storage-status-card .muted{font-size:.87rem;line-height:1.3}.quick-actions-panel{display:grid;gap:.75rem}.quick-actions-panel .quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;align-items:end}.tree-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.tree-gallery-card{position:relative;min-height:220px;display:grid;align-content:end;gap:.4rem;border-radius:16px;border:1px solid var(--color-border-soft);padding:.8rem;overflow:hidden;background:#1f2520;color:#f7fbf6;isolation:isolate}.tree-gallery-card-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;z-index:0;clip-path:inset(0)}.tree-gallery-card.has-feature{background:#1f2520}.tree-gallery-card:before{display:none}.tree-gallery-card-curve{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none}.tree-gallery-card-curve:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#e6eaf0,#e6eaf0cc);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L26 0 C40 40 68 74 100 92 L100 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L26 0 C40 40 68 74 100 92 L100 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");mask-size:100% 100%;mask-repeat:no-repeat;background-repeat:no-repeat}.tree-gallery-card-curve:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M26 0 C40 40 68 74 100 92' fill='none' stroke='rgba(255,255,255,0.88)' stroke-width='0.8'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat}.tree-gallery-card-title,.tree-gallery-card-meta,.tree-gallery-card-details,.tree-gallery-card .button-row{position:relative;z-index:1;margin:0}.tree-gallery-card-title{font-size:1.05rem;max-width:74%;color:#1b221d}.tree-gallery-card-meta,.tree-gallery-card-details{color:#1b221de6;font-size:.9rem;max-width:76%}.tree-gallery-card .button.secondary,.tree-gallery-card .button.danger{background:#f7fbf61f;border-color:#f7fbf638;color:#f7fbf6}.tree-gallery-card .button{min-height:34px;padding:.35rem .75rem;font-size:.85rem}.tree-gallery-view-btn{min-width:112px}.tree-gallery-card-actions{margin-top:.25rem;width:fit-content}.entity-gallery-card{min-height:180px}.entity-view-section{display:grid;gap:.9rem}.entity-view-section .admin-list-header{align-items:start;gap:.6rem;margin:0}.entity-view-section .admin-list-header h2{margin:0}.detail-view-footer-actions{display:flex;justify-content:flex-end;margin-top:.2rem}.entity-view-hero{position:relative;min-height:168px;border-radius:16px;overflow:hidden;background:#1f2520}.entity-view-hero-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.entity-view-hero-copy{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;align-content:center;gap:.35rem;padding:.9rem clamp(7rem,26vw,16rem) .9rem 1.1rem;z-index:2}.entity-view-hero-accent{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#9fbda5f5,#9fbda5eb 62%,#9fbda5d6);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L24 0 C26 18 30 34 35 50 C39 64 42 80 46 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L24 0 C26 18 30 34 35 50 C39 64 42 80 46 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");mask-size:100% 100%;mask-repeat:no-repeat}.entity-view-hero-accent:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M24 0 C26 18 30 34 35 50 C39 64 42 80 46 100' fill='none' stroke='%232f5f41' stroke-width='0.8'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat}.entity-view-hero-copy:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#e6eaf0,#e6eaf0 60%,#e6eaf0cc);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L58 0 C64 64 84 84 100 92 L100 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L58 0 C64 64 84 84 100 92 L100 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");mask-size:100% 100%;mask-repeat:no-repeat}.entity-view-hero-copy:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M58 0 C64 64 84 84 100 92' fill='none' stroke='rgba(255,255,255,0.88)' stroke-width='0.8'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat}.entity-view-hero-eyebrow,.entity-view-hero-name,.entity-view-hero-meta{position:relative;z-index:2;margin:0}.entity-view-hero-eyebrow{font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;color:#1b221dbf}.entity-view-hero-name{font-size:1.2rem;line-height:1.15;color:#1b221d}.entity-view-hero-meta{color:#1b221de6;font-weight:600}.entity-view-hero-media{position:absolute;top:0;right:-6%;bottom:0;width:min(76%,500px);border-radius:16px;background:radial-gradient(circle at 30% 30%,#9fbda5f2,#2f5f41b8 55%,#18241ae6)}.pot-view-hero .entity-view-hero-media{background:radial-gradient(circle at 30% 30%,#e1d8c9f2,#ac8e70b8 55%,#584431e6)}.misc-view-hero .entity-view-hero-media{background:radial-gradient(circle at 30% 30%,#d4e2d8f2,#7a9784b8 55%,#2d4636e6)}.entity-view-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem .75rem}.entity-view-details>div{border:1px solid var(--color-border-soft);border-radius:12px;background:var(--color-surface);padding:.55rem .65rem;display:flex;align-items:center;gap:.8rem}.entity-view-details>div>p,.entity-view-details-full>p{margin:0;flex:1 1 auto;white-space:pre-wrap;font-size:.84rem!important}.entity-view-details>div>span,.entity-view-details>div>strong,.entity-view-details-full>span,.entity-view-details-full>strong,.entity-view-details>div>.muted,.entity-view-details-full>.muted{flex:0 0 auto;min-width:92px;font-size:.9rem!important;font-weight:600;color:var(--color-text);align-self:center}.entity-view-details-full{grid-column:1 / -1;display:block}.entity-view-details-full>p{margin-top:.2rem;white-space:pre-wrap}.tree-view-hero{position:relative;min-height:168px;border-radius:16px;border:0;background:#1f2520;display:block;overflow:hidden;padding:0}.tree-view-hero-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.tree-view-hero.has-feature{background:transparent}.tree-view-hero-copy{position:absolute;top:0;right:0;bottom:0;left:0;width:auto;display:grid;align-content:center;gap:.35rem;padding:.9rem clamp(8rem,28vw,18rem) .9rem 1.1rem;overflow:hidden;min-height:0;z-index:2}.tree-view-hero-accent{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#9fbda5f5,#9fbda5eb 62%,#9fbda5d6);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L24 0 C26 18 30 34 35 50 C39 64 42 80 46 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L24 0 C26 18 30 34 35 50 C39 64 42 80 46 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");mask-size:100% 100%;mask-repeat:no-repeat}.tree-view-hero-accent:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M24 0 C26 18 30 34 35 50 C39 64 42 80 46 100' fill='none' stroke='%232f5f41' stroke-width='0.8'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat}.tree-view-hero-copy:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#e6eaf0,#e6eaf0 60%,#e6eaf0cc);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L58 0 C64 64 84 84 100 92 L100 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L58 0 C64 64 84 84 100 92 L100 100 L0 100 Z' fill='white'/%3E%3C/svg%3E");mask-size:100% 100%;mask-repeat:no-repeat;background-repeat:no-repeat;pointer-events:none}.tree-view-hero-copy:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M58 0 C64 64 84 84 100 92' fill='none' stroke='rgba(255,255,255,0.88)' stroke-width='0.8'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat;pointer-events:none}.tree-view-hero-eyebrow,.tree-view-hero-name,.tree-view-hero-meta,.tree-view-hero-copy .muted{position:relative;z-index:2;margin:0}.tree-view-hero-eyebrow{font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;color:#1b221dbf}.tree-view-hero-name{font-size:1.2rem;line-height:1.15;color:#1b221d}.tree-view-hero-meta{color:#1b221de6;font-weight:600}.tree-view-hero-copy .muted{color:#1b221dbf}.tree-view-hero-media{position:absolute;top:0;right:-6%;bottom:0;width:min(78%,520px);min-height:168px;aspect-ratio:auto;min-width:0;border-radius:16px;overflow:hidden;border:0;background:#1f2520}.tree-view-hero-overlay{display:none}.tree-view-section{display:grid;gap:.9rem}.tree-view-reminders-wrap{display:grid;gap:.55rem}.tree-view-reminders-wrap .admin-list-header{align-items:center;justify-content:space-between}.tree-view-reminders-wrap .admin-list-header>.button{width:2.35rem;min-width:2.35rem;max-width:2.35rem;height:2.35rem;min-height:2.35rem;max-height:2.35rem;margin-left:auto;flex:0 0 auto;padding:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;position:relative;font-size:0;line-height:0}.tree-view-reminders-wrap .admin-list-header>.button:before{top:50%;left:50%;transform:translate(-50%,-50%)}#tree-view-add-reminder{width:2.35rem!important;min-width:2.35rem!important;max-width:2.35rem!important;height:2.35rem!important;min-height:2.35rem!important;max-height:2.35rem!important;padding:0!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 2.35rem!important;line-height:0!important;font-size:0!important;text-indent:0;color:transparent;position:relative;overflow:hidden}#tree-view-add-reminder:before{content:"+";position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;transform:translateY(-.02rem);font-size:1.35rem;line-height:1;font-weight:700;color:#f5f3ec}.tree-view-reminders-strip{display:flex;gap:.7rem;overflow-x:auto;overflow-y:hidden;padding:.05rem .1rem .35rem;scroll-snap-type:x proximity;overscroll-behavior-x:contain}.tree-view-reminders-strip>.muted,.tree-view-reminders-strip>.error{margin:0}.home-upcoming-reminders{width:100%;max-width:100%}.home-upcoming-reminders.is-scrollable{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}.home-upcoming-reminders:not(.is-scrollable){display:grid;overflow:visible}.reminder-visual-card{flex:0 0 140px;width:140px;min-width:140px;max-width:140px;min-height:128px;display:grid;align-content:center;justify-items:center;gap:.12rem;padding:.36rem .56rem .32rem;border-radius:18px;border:1px solid var(--color-border-soft);background:color-mix(in srgb,var(--color-surface) 92%,white);box-shadow:var(--shadow-sm);cursor:pointer;scroll-snap-align:start}.reminder-visual-card:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.reminder-visual-card-icon{width:38px;height:38px;object-fit:contain;margin:.02rem auto 0;justify-self:center}.reminder-visual-card-title,.reminder-visual-card-subtitle,.reminder-visual-card-next{margin:0}.reminder-visual-card-title{font-size:.84rem;line-height:1.15;text-align:center}.reminder-visual-card-subtitle{color:var(--color-muted);font-size:.72rem;line-height:1.2;text-align:center}.reminder-visual-card-next{margin-top:.02rem;color:var(--color-primary);font-size:.78rem;line-height:1.15;font-weight:600;text-align:center}.tree-view-section .admin-list-header{align-items:start;gap:.6rem;margin:0}.tree-view-section .admin-list-header h2,.tree-view-section .admin-list-header h3{margin:0}.tree-view-section .button-row.compact{gap:.45rem}.tree-view-header-actions .button,.entity-view-header-actions .button{min-width:0}.tree-photo-upload-form{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto;gap:.65rem;align-items:end}.tree-photo-upload-form .form-actions-row{margin:0}.tree-photo-upload-form .button{min-width:132px}.tree-view-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem .75rem}.tree-view-details>div{border:1px solid var(--color-border-soft);border-radius:12px;background:var(--color-surface);padding:.55rem .65rem;display:flex;align-items:center;gap:.8rem}.tree-view-details>div>p,.tree-view-details-full>p{margin:0;flex:1 1 auto;white-space:pre-wrap;font-size:.84rem!important}.tree-view-details>div>span,.tree-view-details>div>strong,.tree-view-details-full>span,.tree-view-details-full>strong,.tree-view-details>div>.muted,.tree-view-details-full>.muted{flex:0 0 auto;min-width:92px;font-size:.9rem!important;font-weight:600;color:var(--color-text);align-self:center}.tree-view-details-full{grid-column:1 / -1;display:block}.tree-view-details-full>p{margin-top:.2rem;white-space:pre-wrap}.tree-view-tabs-shell{display:grid;gap:.9rem;min-width:0;padding:.75rem;border:1px solid var(--color-border-soft);border-radius:16px;background:color-mix(in srgb,var(--color-surface) 94%,white)}.tree-view-tab-bar{display:flex;gap:.35rem;overflow-x:auto;overflow-y:hidden;padding:.2rem;border:1px solid color-mix(in srgb,var(--color-border-soft) 92%,white);border-radius:12px;background:color-mix(in srgb,var(--color-surface-subtle) 70%,white);scrollbar-width:thin}.tree-view-tab{flex:0 0 auto;min-height:38px;padding:.45rem .85rem;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--color-muted);font:inherit;font-weight:600;cursor:pointer}.tree-view-tab.is-active{border-color:color-mix(in srgb,var(--color-primary) 50%,var(--color-border-soft));background:var(--color-primary);color:#fff;box-shadow:var(--shadow-sm)}.tree-view-tab:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.tree-view-tab-panel{min-width:0;padding:.1rem 0}.tree-view-calendar-toolbar{display:flex;justify-content:flex-end;margin-bottom:.65rem}.tree-view-calendar-window-field{display:inline-flex;width:auto;position:relative;align-items:center}.tree-view-calendar-window-field:after{content:"▾";position:absolute;right:.8rem;top:50%;transform:translateY(-50%);color:var(--color-muted);font-size:.78rem;pointer-events:none}.tree-view-calendar-window-field select{-moz-appearance:none;appearance:none;-webkit-appearance:none;min-height:38px;padding:.45rem 2rem .45rem .8rem;border:1px solid var(--color-border-soft);border-radius:999px;background:color-mix(in srgb,var(--color-surface-subtle) 82%,white);color:var(--color-text);font:inherit;font-size:.86rem;font-weight:600;line-height:1.1;cursor:pointer;box-shadow:inset 0 1px #ffffffb3}.tree-view-calendar-window-field select:hover{border-color:color-mix(in srgb,var(--color-primary) 24%,var(--color-border-soft))}.tree-view-calendar-window-field select:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.tree-view-calendar-host{display:grid;gap:.55rem}.tree-view-calendar-scroll{overflow-x:auto;overflow-y:hidden;border:1px solid var(--color-border-soft);border-radius:10px;background:var(--color-surface);-webkit-overflow-scrolling:touch}.tree-calendar-table{width:max-content;min-width:100%;border-collapse:collapse;color:var(--color-text);table-layout:auto;--tree-calendar-label-ch: 22}.tree-calendar-col-label{width:calc(var(--tree-calendar-label-ch) * .62rem);min-width:7rem}.tree-calendar-col-month{width:5.5rem}.tree-calendar-col-month.is-current-month{width:5.7rem}.tree-calendar-table th,.tree-calendar-table td{border-bottom:1px solid color-mix(in srgb,var(--color-border-soft) 78%,transparent);padding:.52rem .4rem;text-align:center;vertical-align:middle}.tree-calendar-table thead th{background:color-mix(in srgb,var(--color-surface-subtle) 88%,white);color:var(--color-muted);font-size:.78rem;font-weight:600;text-transform:none;letter-spacing:0;white-space:nowrap}.tree-calendar-table th:first-child,.tree-calendar-table tbody th{position:sticky;left:0;z-index:2;text-align:left;background:var(--color-surface);white-space:nowrap}.tree-calendar-table thead th:nth-child(2n+2),.tree-calendar-table tbody td:nth-child(2n+2){background:color-mix(in srgb,var(--color-primary) 12%,white)}.tree-calendar-table thead th:nth-child(2n+3),.tree-calendar-table tbody td:nth-child(2n+3){background:var(--color-surface)}.tree-calendar-table thead th.is-current-month,.tree-calendar-table tbody td.is-current-month{background:var(--color-calendar-current-month)}.tree-calendar-table thead th:first-child{z-index:3}.tree-calendar-table thead th.is-current-month{font-weight:700;color:var(--color-text);box-shadow:inset 0 -2px color-mix(in srgb,var(--color-primary) 25%,transparent)}.tree-calendar-table tbody th strong,.tree-calendar-table tbody th span{display:block}.tree-calendar-task{display:flex;align-items:center;gap:.5rem;min-width:0}.tree-calendar-task-icon{width:1rem;height:1rem;flex:0 0 1rem;object-fit:contain}.tree-calendar-table tbody th strong{font-size:.76rem;font-weight:600;line-height:1.15;white-space:nowrap}.tree-calendar-table tbody th span{margin-top:.12rem;color:var(--color-muted);font-size:.64rem;font-weight:400}.tree-calendar-table td{background:var(--color-surface)}.tree-calendar-cell{position:relative;padding-top:.38rem;padding-bottom:.38rem}.tree-calendar-cell:before,.tree-calendar-cell:after{content:"";position:absolute;top:0;bottom:0;width:1px;background-image:repeating-linear-gradient(to bottom,var(--color-calendar-guide) 0 2px,transparent 2px 7px);pointer-events:none;z-index:0}.tree-calendar-cell:before{left:33.333%}.tree-calendar-cell:after{left:66.666%}.tree-calendar-track{position:relative;z-index:1;width:100%;min-height:1.6rem;border-radius:0;background:transparent}.tree-calendar-bar{position:absolute;top:50%;z-index:2;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;min-width:1.85rem;min-height:1.2rem;gap:.2rem;padding:0 .34rem;border-radius:999px;background:var(--color-calendar-projected);color:var(--color-calendar-forecast-text);opacity:1;font-size:.75rem;font-weight:700;line-height:1;box-shadow:0 0 0 1px color-mix(in srgb,var(--color-primary) 20%,white)}.tree-calendar-bar-icon{width:.68rem;height:.68rem;fill:currentColor;flex:0 0 auto}.tree-calendar-bar-text{display:inline-block}.tree-calendar-bar.is-overdue{background:var(--color-calendar-overdue);color:var(--color-calendar-overdue-text)}.tree-calendar-bar.is-completed{background:var(--color-calendar-completed);color:#fff}.tree-calendar-bar.is-due_soon{background:var(--color-calendar-due-soon);color:var(--color-calendar-forecast-text)}.tree-calendar-bar.is-projected{background:var(--color-calendar-projected);color:var(--color-calendar-forecast-text);box-shadow:inset 0 0 0 1px var(--color-calendar-forecast-text)}.tree-calendar-bar.is-left{left:.08rem}.tree-calendar-bar.is-center{left:50%;transform:translate(-50%,-50%)}.tree-calendar-bar.is-right{right:.08rem}.tree-calendar-cell.has-events .tree-calendar-track{background:transparent}.tree-view-calendar-empty{margin:0;padding:.9rem 1rem}.tree-calendar-legend{display:flex;flex-wrap:wrap;gap:.5rem 1rem;padding:.85rem .2rem .4rem .9rem;color:var(--color-muted);font-size:.76rem}.tree-calendar-legend-item{display:inline-flex;align-items:center;gap:.45rem}.tree-calendar-legend-swatch{width:.95rem;height:.95rem;border-radius:999px;box-shadow:0 0 0 1px color-mix(in srgb,var(--color-primary) 20%,white)}.tree-calendar-legend-swatch.is-overdue{background:var(--color-calendar-overdue)}.tree-calendar-legend-swatch.is-completed{background:var(--color-calendar-completed)}.tree-calendar-legend-swatch.is-due_soon{background:var(--color-calendar-due-soon)}.tree-calendar-legend-swatch.is-projected{background:var(--color-calendar-projected);box-shadow:inset 0 0 0 1px var(--color-calendar-forecast-text)}.tree-view-log-form{display:grid;gap:.55rem;margin-bottom:.65rem}.tree-view-log-list{display:grid;gap:.45rem;max-height:29rem;overflow-y:auto;padding-right:.2rem}.tree-log-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.5rem .7rem;border:1px solid var(--color-border-soft);border-radius:12px;background:var(--color-surface);padding:.6rem .7rem}.tree-log-entry.is-manual{border-color:color-mix(in srgb,var(--color-primary) 35%,var(--color-border-soft));box-shadow:inset 2px 0 color-mix(in srgb,var(--color-primary) 45%,transparent)}.tree-log-entry-summary{display:flex;align-items:center;gap:.45rem;min-width:0}.tree-log-entry-content{min-width:0}.tree-log-entry-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.2rem;flex:0 0 auto}.tree-log-entry-badge{display:inline-flex;align-items:center;min-height:22px;padding:.05rem .45rem;border-radius:999px;background:color-mix(in srgb,var(--color-border-soft) 55%,white);color:var(--color-muted);font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.tree-log-entry.is-manual .tree-log-entry-badge{background:color-mix(in srgb,var(--color-primary) 16%,white);color:var(--color-primary-strong)}.tree-log-entry-time{color:var(--color-muted);font-size:.72rem}.tree-log-entry h4,.tree-log-entry p{margin:0}.tree-log-entry h4{font-size:.86rem;line-height:1.2;flex:1 1 auto}.tree-log-entry p{margin-top:.18rem;color:var(--color-text);white-space:normal;font-size:.8rem;line-height:1.35}.tree-log-entry-delete{min-width:32px!important;width:32px!important;height:32px;min-height:32px;padding:0!important;border-radius:999px!important;align-self:flex-end}.tree-log-entry-delete:before{width:13px;height:13px;background-size:13px 13px}.tree-photo-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.tree-photo-item{display:grid;grid-template-columns:1fr;gap:.5rem;align-items:start;border:1px solid var(--color-border-soft);border-radius:12px;background:var(--color-surface);padding:.55rem}.tree-photo-thumb{width:100%;aspect-ratio:4 / 3;height:auto;border-radius:10px;object-fit:cover;border:1px solid var(--color-border-soft);background:var(--color-surface-muted);cursor:pointer}.tree-photo-thumb:focus-visible{outline:2px solid var(--color-ring);outline-offset:2px}.tree-photo-item.is-feature{border-color:var(--color-primary);background:var(--color-surface-soft)}.tree-photo-item-info p{margin:.15rem 0}.tree-photo-item-actions{justify-content:stretch}.tree-photo-item-actions .button{width:100%}.tree-photo-lightbox{z-index:1100;overflow-x:hidden;overscroll-behavior:contain}.tree-photo-lightbox-frame{width:min(1120px,calc(100vw - 2rem));display:grid;gap:.65rem;padding:1rem;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y}.tree-photo-lightbox-frame.is-zoomed{width:min(calc(100vw - 1rem),1480px)}.tree-photo-lightbox-close{justify-self:end}.tree-photo-lightbox-stage{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;align-items:center;justify-items:center;overflow:auto;max-height:min(86vh,920px)}.tree-photo-lightbox-image{width:100%;max-height:min(84vh,900px);object-fit:contain;border-radius:14px;background:var(--color-surface-muted);cursor:zoom-in;transition:width .16s ease,max-height .16s ease,box-shadow .16s ease}.tree-photo-lightbox-image.is-zoomed{width:min(160vw,1600px);max-width:none;max-height:none;cursor:zoom-out;box-shadow:0 14px 32px #00000038}.tree-photo-lightbox-stage.is-zoomed{grid-template-columns:1fr;align-items:start;max-height:calc(100dvh - 4rem)}.tree-photo-lightbox-stage.is-zoomed .tree-photo-lightbox-nav,.tree-photo-lightbox-frame.is-zoomed .tree-photo-lightbox-caption,.tree-photo-lightbox-frame.is-zoomed .tree-photo-lightbox-meta,.tree-photo-lightbox-frame.is-zoomed .tree-photo-lightbox-fields,.tree-photo-lightbox-frame.is-zoomed .tree-photo-lightbox-error,.tree-photo-lightbox-frame.is-zoomed .tree-photo-lightbox-actions{display:none}.tree-photo-lightbox-nav{min-width:48px;min-height:48px;padding:0;font-size:1.5rem}.tree-photo-lightbox-caption{margin:0;text-align:center;line-height:1.35}.tree-photo-lightbox-meta{display:grid;gap:.18rem}.tree-photo-lightbox-meta p{margin:0}.tree-photo-lightbox-fields{display:grid;gap:.7rem;margin-top:.15rem;min-width:0}.tree-photo-lightbox-fields .field{margin:0;min-width:0}.tree-photo-lightbox-fields .field input,.tree-photo-lightbox-fields .field textarea{min-width:0}.tree-photo-lightbox-fields textarea{min-height:42px;overflow-y:hidden;resize:none}.tree-photo-lightbox-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.admin-table-wrap{overflow-x:auto;border:1px solid var(--color-border-soft);border-radius:12px;background:var(--color-surface)}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:.6rem .7rem;border-bottom:1px solid var(--color-border-soft);text-align:left;vertical-align:top}.admin-table th{background:var(--color-table-head);color:var(--color-muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.06em}.admin-table tr:nth-child(2n) td{background:var(--color-table-row-alt)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:1rem;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;background:var(--color-overlay)}.confirm-modal{width:min(560px,100%);max-height:calc(100dvh - 2rem);overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y;background:var(--color-surface);border:1px solid var(--color-border);border-radius:18px;padding:1.1rem;box-shadow:var(--shadow-xl)}.entity-modal{width:min(980px,100%)}.confirm-modal.entity-modal.dashboard-quick-add-frame{width:min(500px,calc(100vw - 2rem))}.confirm-modal.entity-modal.reminder-action-frame{width:min(332px,calc(100vw - 2rem));padding:.75rem}.admin-credentials-modal{width:min(680px,calc(100vw - 2rem))}.admin-credentials-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.admin-credentials-form>.field:first-of-type{grid-column:1 / -1}.admin-credentials-option,.admin-credentials-actions{grid-column:1 / -1}.admin-credentials-option{min-height:42px;align-self:center}.admin-credentials-actions{justify-content:flex-end}.admin-credentials-actions .button{min-width:140px}.entity-modal .admin-section{border:0;box-shadow:none;background:transparent;padding:0}.entity-modal .modal-entity-form{grid-template-columns:repeat(2,minmax(220px,1fr));align-items:start}.entity-modal .modal-entity-form .form-actions-row{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:.5rem;margin-top:.25rem}.entity-modal .modal-entity-form .form-actions-row .button{min-width:120px}.state{border:1px dashed var(--color-border);border-radius:14px;padding:1rem;background:var(--color-surface-muted);display:grid;gap:.7rem;justify-items:center;text-align:center}.state.loading{border-style:solid}.state.error{background:var(--color-banner-error-bg);border-color:var(--color-border)}.state-title{margin:0;font-weight:600}.state-description{margin:0;color:var(--color-muted);font-size:.95rem}.spinner{width:22px;height:22px;border-radius:999px;border:3px solid var(--color-border);border-top-color:var(--color-primary);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast-host{position:fixed;top:1rem;right:1rem;display:grid;gap:.6rem;z-index:60}.toast{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-width:220px;padding:.7rem .85rem;border-radius:12px;border:1px solid var(--color-border);background:var(--color-banner-bg);color:var(--color-text);box-shadow:var(--shadow-md)}.toast.success{background:var(--color-banner-success-bg);color:var(--color-success)}.toast.error{background:var(--color-banner-error-bg);color:var(--color-error)}.toast-dismiss{background:transparent;border:0;color:inherit;cursor:pointer}.admin-sync-indicator-wrap{display:inline-flex;align-items:center;gap:.45rem;flex-wrap:wrap}.admin-sync-pill{display:inline-flex;align-items:center;gap:.4rem;min-height:32px;padding:.25rem .55rem;border-radius:999px;border:1px solid var(--color-border);background:var(--color-surface-soft);color:var(--color-muted);font-size:.85rem}.admin-sync-dot{width:8px;height:8px;border-radius:999px;background:var(--color-border-strong)}.admin-sync-pill[data-state=ok] .admin-sync-dot{background:var(--color-success)}.admin-sync-pill[data-state=pending] .admin-sync-dot{background:var(--color-primary)}.admin-sync-pill[data-state=error] .admin-sync-dot{background:var(--color-error)}.admin-sync-pill[data-state=checking] .admin-sync-dot{background:var(--color-muted)}@media (max-width: 980px){.top-bar{display:grid;justify-content:stretch}.layout-shell{grid-template-columns:1fr}.app-sidebar{display:none}.mobile-nav{display:block}.top-bar-main{align-items:flex-start}.top-bar-info{flex:1 1 auto;min-width:0}.top-bar-right{flex:0 0 auto;justify-content:flex-end}.top-bar-actions{width:100%;margin-left:0}.top-bar-actions>.button-row.compact{width:100%}.dashboard-header-actions{width:auto;margin-left:0}.layout-page{padding:1rem .8rem 1.5rem}.layout-panel,.page-container{padding:0}.header-filters{width:100%;flex-wrap:nowrap;align-items:stretch;justify-content:space-between}.header-filters>.button{flex:1 1 0;min-width:0}.header-filters .filter-input,.header-filters .filter-select{width:auto;min-width:0}.header-filters .filter-input{flex:1.5 1 0}.header-filters .filter-select{flex:1 1 0}.tree-view-details>div>span,.tree-view-details>div>strong,.tree-view-details-full>span,.tree-view-details-full>strong,.tree-view-details>div>.muted,.tree-view-details-full>.muted,.entity-view-details>div>span,.entity-view-details>div>strong,.entity-view-details-full>span,.entity-view-details-full>strong,.entity-view-details>div>.muted,.entity-view-details-full>.muted{font-size:.9rem!important;font-weight:600;align-self:center}.dashboard-top-grid{grid-template-columns:1fr}.tree-gallery-grid,.dashboard-entity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-dashboard-stack,.home-dashboard-stack>.admin-section,.home-dashboard-stack .dashboard-entity-grid{width:100%;max-width:100%;overflow-x:hidden}.home-dashboard-stack .admin-users{width:100%;max-width:100%;overflow-x:hidden}.home-dashboard-stack .tree-gallery-card,.home-dashboard-stack .reminder-visual-card,.home-dashboard-stack .admin-list-header>*{min-width:0}.admin-dashboard-grid{grid-template-columns:1fr;gap:.8rem}.admin-dashboard-grid>*{grid-column:1 / -1}.admin-subnav{top:0}.admin-subnav-select{display:block}.admin-subnav-rail{display:none}.admin-section{padding:.8rem;border-radius:14px}.admin-section h2,.admin-section h3{margin:0}.admin-list-header,.admin-header{align-items:flex-start;gap:.55rem}.admin-list-header>.button-row,.admin-list-header>.button,.admin-list-header>.form-actions-row{width:100%;margin-left:0}.admin-list-header>.button-row{justify-content:flex-start}.admin-list-header>.button-row>.button,.admin-list-header>.button{flex:1 1 140px}.tree-view-reminders-wrap .admin-list-header{align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:nowrap}.tree-view-reminders-wrap .admin-list-header h3{flex:1 1 auto;min-width:0}.tree-view-reminders-wrap .admin-list-header>.button{width:2.35rem;min-width:2.35rem;max-width:2.35rem;height:2.35rem;min-height:2.35rem;max-height:2.35rem;margin-left:auto;flex:0 0 auto;padding:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;position:relative;font-size:0;line-height:0}.tree-view-reminders-wrap .admin-list-header>.button:before{top:50%;left:50%;transform:translate(-50%,-50%)}#tree-view-add-reminder{width:2.35rem;min-width:2.35rem;max-width:2.35rem;height:2.35rem;min-height:2.35rem;max-height:2.35rem;flex:0 0 2.35rem}.admin-form{grid-template-columns:1fr;gap:.7rem}.entity-view-section .admin-list-header>.button-row{width:100%;justify-content:stretch;margin-left:0}.entity-view-section .admin-list-header>.button-row>.button{flex:1 1 0;min-width:0}.reminders-filter-grid{grid-template-columns:1fr;gap:.7rem}.reminders-filter-grid>.field:first-child{grid-column:span 1}#reminders-bulk-bar{flex-direction:column;align-items:stretch;gap:.55rem}.reminders-bulk-meta,.reminders-bulk-actions{width:100%;margin-left:0;justify-content:flex-start}.reminders-bulk-actions .button{flex:1 1 140px}.admin-sync-indicator-wrap{display:grid;grid-template-columns:1fr;width:100%;gap:.35rem}.admin-sync-indicator-wrap>.button,.admin-sync-indicator-wrap>.admin-sync-pill{justify-content:center}.profile-device-notification-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;width:100%}.profile-device-notification-actions>.button{width:100%;min-width:0}.user-profile-summary{grid-template-columns:1fr;gap:.2rem}.admin-user-row{grid-template-columns:1fr;align-items:start}.admin-user-row-actions{justify-content:flex-start}.admin-table-wrap{overflow:visible;border:0;background:transparent}.admin-table,.admin-table thead,.admin-table tbody{display:block;width:100%}.admin-table thead{display:none}.admin-table tr{display:grid;gap:.45rem;padding:.7rem;border:1px solid var(--color-border-soft);border-radius:12px;background:var(--color-surface);margin-bottom:.6rem}.admin-table td{display:grid;grid-template-columns:minmax(88px,108px) minmax(0,1fr);gap:.45rem;align-items:start;padding:0;border:0;word-break:break-word}.admin-table td:before{content:attr(data-label);color:var(--color-muted);font-size:.78rem;font-weight:700;line-height:1.3}.admin-table td[colspan]{grid-template-columns:1fr}.admin-table td[colspan]:before{content:none}.admin-table td>.button{margin-left:0!important;margin-top:.35rem;width:fit-content}.admin-table td code{white-space:pre-wrap}.tree-view-details{grid-template-columns:1fr}.tree-view-details>div>p,.tree-view-details-full>p,.entity-view-details>div>p,.entity-view-details-full>p{font-size:.84rem!important}.tree-view-details>div>span,.tree-view-details>div>strong,.tree-view-details-full>span,.tree-view-details-full>strong,.tree-view-details>div>.muted,.tree-view-details-full>.muted,.entity-view-details>div>span,.entity-view-details>div>strong,.entity-view-details-full>span,.entity-view-details-full>strong,.entity-view-details>div>.muted,.entity-view-details-full>.muted{font-size:.9rem!important;font-weight:600;align-self:center;color:var(--color-text)}.tree-view-tab{min-height:38px;padding-inline:.75rem}.tree-view-calendar-toolbar{justify-content:flex-end}.tree-view-calendar-window-field,.tree-view-calendar-window-field select{width:auto}.tree-calendar-table{min-width:max-content}.tree-calendar-table th:first-child,.tree-calendar-table tbody th{min-width:auto;width:calc(var(--tree-calendar-label-ch) * .56rem)}.tree-log-entry-head{align-items:flex-start;flex-direction:column}.entity-view-details{grid-template-columns:1fr}.entity-view-section .admin-list-header{flex-direction:column;align-items:flex-start;justify-content:flex-start}.entity-view-section .admin-list-header>.button,.entity-view-section .admin-list-header>.button-row{width:auto;margin-left:0}.tree-view-hero{min-height:168px;border-radius:14px;display:block}.tree-view-hero-media{position:absolute;top:0;right:-8%;bottom:0;width:min(82%,420px);min-height:168px;border-radius:14px}.tree-view-hero-copy{position:absolute;top:0;right:0;bottom:0;left:0;width:auto;min-height:0;border-radius:14px;padding:.85rem clamp(6.5rem,34vw,14rem) .85rem 1rem}.entity-view-hero{min-height:168px;border-radius:14px}.entity-view-hero-media{right:-8%;width:min(82%,420px);border-radius:14px}.entity-view-hero-copy{padding:.85rem clamp(6.5rem,34vw,14rem) .85rem 1rem}.tree-photo-item{grid-template-columns:1fr;align-items:start}.tree-photo-list{grid-template-columns:repeat(2,minmax(0,1fr))}.tree-photo-upload-form{grid-template-columns:1fr}.tree-photo-upload-form .button{width:100%}.tree-photo-lightbox-stage{grid-template-columns:1fr;gap:.55rem}.tree-view-reminders-strip{gap:.55rem;padding-bottom:.25rem}.reminder-visual-card{flex-basis:124px;width:124px;min-width:124px;max-width:124px;min-height:114px;padding:.3rem .46rem .26rem;border-radius:16px}.reminder-visual-card-icon{width:28px;height:28px;margin-top:0}.reminder-visual-card-title{font-size:.76rem}.reminder-visual-card-subtitle,.reminder-visual-card-next{font-size:.68rem}.tree-photo-lightbox-nav{width:100%}.tree-photo-lightbox-frame{width:min(100%,calc(100vw - 1rem));max-height:calc(100dvh - 1rem);padding:.8rem;gap:.55rem}.tree-photo-lightbox-fields{gap:.55rem}.tree-photo-lightbox-fields .field span{font-size:.82rem}.tree-photo-lightbox-fields .field input,.tree-photo-lightbox-fields .field textarea{width:100%;max-width:100%}.tree-photo-lightbox-actions{display:grid;grid-template-columns:1fr;justify-content:stretch}.tree-photo-lightbox-actions .button{width:100%}.tree-photo-thumb{width:100%;height:140px}.sections-shell{border-radius:16px;padding:.85rem}.entity-modal .modal-entity-form,.admin-credentials-form{grid-template-columns:1fr}.entity-modal .modal-entity-form .form-actions-row,.admin-credentials-actions{justify-content:stretch}.entity-modal .modal-entity-form .form-actions-row .button,.admin-credentials-actions .button{flex:1 1 auto;min-width:0}}@media (max-width: 720px){.mobile-nav{display:flex;justify-content:flex-end}.top-bar-main{align-items:center}.top-bar-actions{width:100%;flex-wrap:wrap}.top-bar-actions>.button-row.compact{width:100%}.dashboard-quick-actions{flex-direction:column;flex-wrap:nowrap;align-items:stretch}.dashboard-quick-action-btn{width:100%;flex:1 1 auto}.header-filters{width:100%;flex-direction:column;align-items:stretch;gap:.45rem}.header-filters>.button,.header-filters .filter-input,.header-filters .filter-select{width:100%;flex:0 0 auto}.admin-section{padding:.7rem}.admin-list-header>.button-row>.button,.admin-list-header>.button{flex:1 1 100%}.profile-device-notification-actions{grid-template-columns:1fr}.admin-table tr{padding:.6rem}.admin-table td{grid-template-columns:1fr;gap:.18rem}.admin-table td:before{font-size:.74rem}.login-hero-logo{width:min(168px,43.4vw)}.login-hero-title{font-size:clamp(1.5rem,5vw,1.8rem)}.user-card.reminder-compact{grid-template-columns:1fr;gap:.35rem;align-items:start;padding:.55rem .65rem}.reminder-compact-copy h3{font-size:.92rem}.reminder-compact-copy .muted{font-size:.78rem}.reminder-compact-actions{justify-self:end;gap:.35rem}.tree-view-header-actions{width:auto;justify-content:flex-end;flex-wrap:nowrap}.tree-view-header-actions .button{flex:0 1 calc(50% - .225rem);min-width:0;width:auto;padding:.4rem .6rem;min-height:34px;font-size:.8rem}.tree-view-tab-bar{width:100%;gap:.5rem;justify-content:stretch}.tree-view-tab{flex:1 1 0;min-width:0;justify-content:center;text-align:center;padding-inline:.6rem}.entity-view-header-actions{width:auto;justify-content:flex-end;flex-wrap:nowrap}.entity-view-header-actions .button{flex:0 1 calc(50% - .225rem);min-width:0;width:auto;padding:.4rem .6rem;min-height:34px;font-size:.8rem}.user-card.reminder-compact.reminder-action-card{gap:.18rem;padding:.48rem .6rem}.reminder-row-main{gap:.45rem}.reminder-row-icon{width:22px;height:22px}.reminder-action-modal{width:100%;gap:.6rem}.confirm-modal.entity-modal.reminder-action-frame{width:min(308px,calc(100vw - 1rem));padding:.65rem}.reminder-action-modal-buttons{justify-content:stretch}.reminder-repeat-grid{grid-template-columns:1fr;gap:.45rem}.reminder-excluded-month-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem}.reminder-excluded-month-option{display:grid;justify-items:center;align-content:center;gap:.18rem;padding:.28rem .15rem;border:1px solid var(--color-border-soft);border-radius:10px;background:var(--color-surface);font-size:.72rem;line-height:1.1;text-align:center}.reminder-excluded-month-option input{width:14px;height:14px}#tree-reminder-form .reminder-excluded-month-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}#tree-reminder-form .reminder-excluded-month-option{min-height:0;padding:.3rem .2rem;justify-items:center;text-align:center}.tree-reminders-header-controls{width:100%;align-items:stretch}.tree-reminders-filter-field{flex:1 1 auto;width:100%}.tree-reminders-filter-field select,#tree-reminders-filter{width:100%;min-width:0}.field input[type=date],.field input[type=time],.filter-input[type=date]{font-size:.92rem;padding-right:1.9rem}.reminder-action-modal-buttons .button{flex:1 1 calc(50% - .225rem);min-width:0}.dashboard-entity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-bar-right{gap:.45rem}.top-bar-right>.dashboard-header-actions{display:flex;width:auto;flex:0 0 auto;margin-left:0}.top-bar-right>.dashboard-header-actions .dashboard-quick-launch-btn{width:2.4rem;height:2.4rem;min-width:2.4rem}.tree-gallery-card-title,.tree-gallery-card-meta{max-width:100%}.top-bar-title,.page-title,.public-title{font-size:1.55rem}.app-nav{flex-direction:column;align-items:flex-start}.nav-links{justify-content:flex-start}.account-dropdown-menu{left:0;right:auto;min-width:200px}}.provider-links-grid{display:grid;gap:.75rem;margin-top:.25rem}.storage-provider-card{gap:.4rem;padding:.75rem .8rem}.storage-provider-card .button-row.compact{gap:.45rem;flex-wrap:wrap}.storage-provider-card .button-row.compact .button{min-width:0}.storage-migration-card{display:grid;gap:.55rem;margin-bottom:.35rem;padding:.85rem .95rem;border-color:color-mix(in srgb,var(--color-primary) 18%,var(--color-border-soft));background:color-mix(in srgb,var(--color-surface) 90%,var(--color-primary-soft) 10%)}.storage-migration-card h3{margin:0}.storage-migration-progress{position:relative;overflow:hidden;min-height:1.15rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--color-primary) 24%,var(--color-border-soft));background:color-mix(in srgb,var(--color-primary-soft) 45%,white)}.storage-migration-progress-bar{position:absolute;inset:0 auto 0 0;min-width:0;border-radius:inherit;background:linear-gradient(90deg,color-mix(in srgb,var(--color-primary) 82%,white),color-mix(in srgb,var(--color-primary) 58%,white))}.storage-migration-progress-value{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:1.15rem;padding:0 .55rem;color:var(--color-text);font-size:.74rem;font-weight:700;letter-spacing:.01em}.storage-migration-card.is-failed{border-color:color-mix(in srgb,#d49c55 42%,var(--color-border-soft));background:color-mix(in srgb,#f7ecd9 70%,white)}.storage-migration-card.is-failed .storage-migration-progress-bar{background:linear-gradient(90deg,#d8a155,#e2b56f)}.storage-migration-card.is-completed .storage-migration-progress-bar{background:linear-gradient(90deg,#6ea37c,#90b79b)}.storage-migration-stats{margin:0;font-weight:600}@media (min-width: 760px){.provider-links-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}#provider-links-panel{gap:.6rem}.provider-links-grid{grid-auto-rows:1fr}.storage-provider-card{height:100%;grid-template-rows:auto auto 1fr auto;gap:.35rem;padding:.72rem .78rem}.storage-provider-card .muted{margin:0;font-size:.84rem;line-height:1.3}.storage-provider-card .button-row.compact{margin-top:auto}.storage-provider-header{align-items:flex-start}.storage-provider-header .notice-inline,.storage-provider-header .error-inline{margin:0;text-align:right}.storage-migration-card{gap:.45rem;padding:.72rem .8rem}.storage-migration-card .muted{margin:0;font-size:.84rem;line-height:1.3}.storage-migration-progress{min-height:.95rem}.storage-migration-progress-value{min-height:.95rem;font-size:.7rem}
