@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-latin-400-normal-C38fXH4l.woff2)format("woff2"),url(/assets/inter-latin-400-normal-CyCys3Eg.woff)format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-latin-500-normal-Cerq10X2.woff2)format("woff2"),url(/assets/inter-latin-500-normal-BL9OpVg8.woff)format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-latin-600-normal-LgqL8muc.woff2)format("woff2"),url(/assets/inter-latin-600-normal-CiBQ2DWP.woff)format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/inter-latin-700-normal-Yt3aPRUw.woff2)format("woff2"),url(/assets/inter-latin-700-normal-BLAVimhd.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-latin-700-normal-BZp_XxE4.woff2)format("woff2"),url(/assets/manrope-latin-700-normal-DGRFkw-m.woff)format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/manrope-latin-800-normal-BfWYOv1c.woff2)format("woff2"),url(/assets/manrope-latin-800-normal-uHUdIJgA.woff)format("woff")}:root{color:#0d172a;--font-brand:"Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-ui:"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;font-family:var(--font-ui);font-synthesis:none;text-rendering:optimizelegibility;--color-bg:#f5f9ff;--color-bg-deep:#eaf3ff;--color-surface:#fff;--color-surface-muted:#f7faff;--color-text:#0d172a;--color-text-muted:#52647f;--color-text-soft:#76859c;--color-primary:#075eea;--color-primary-dark:#0349c6;--color-primary-soft:#e8f0ff;--color-success:#0ea66b;--color-success-soft:#e2f8ef;--color-warning:#f59e0b;--color-warning-soft:#fff2d8;--color-danger:#ef3d48;--color-danger-soft:#ffe9eb;--color-border:#dfe7f2;--color-border-strong:#c8d4e6;--shadow-card:0 10px 28px #0f203d14;--shadow-modal:0 28px 80px #0a182e47;--shadow-button:0 8px 18px #075eea38;--radius-sm:6px;--radius-md:8px;--radius-sheet:18px;--radius-pill:999px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:32px;--space-8:40px;background:#f5f9ff;line-height:1.5}*{box-sizing:border-box}html{background:radial-gradient(circle at top left, #cae1ffb8, transparent 32rem), linear-gradient(180deg, #fff 0%, var(--color-bg) 48%, var(--color-bg-deep) 100%);overscroll-behavior-y:auto;min-width:320px;min-height:100dvh}body{min-width:320px;min-height:100dvh;color:var(--color-text);font-family:var(--font-ui);-webkit-text-size-adjust:100%;overscroll-behavior-y:auto;margin:0}#root{min-height:100dvh}button,input,select,textarea{font:inherit;-webkit-tap-highlight-color:transparent}input,select,textarea{min-width:0;max-width:100%}button{border:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #075eea38}.app-shell{width:min(100%,480px);min-height:100dvh;padding:var(--space-5) var(--space-4) 104px;background:linear-gradient(180deg, #fffffff5 0%, #f7fbfff5 58%), var(--color-bg);margin:0 auto}.app-header{align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);grid-template-columns:38px minmax(0,1fr) auto;display:grid}.app-header-brand{margin-top:var(--space-3);margin-bottom:var(--space-7)}.coming-soon-panel h2,.section-heading h2,.sheet-header h2,.template-card h3,.reminder-card h3{margin:0}.header-actions{justify-content:flex-end;align-items:center;gap:var(--space-2);display:flex}.icon-button,.primary-button,.secondary-button,.danger-button,.action-button,.small-outline-button,.template-use-button{justify-content:center;align-items:center;gap:var(--space-2);border-radius:var(--radius-md);cursor:pointer;min-height:44px;font-family:var(--font-ui);font-weight:700;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s,border-color .15s,color .15s;display:inline-flex}.icon-button:hover,.primary-button:hover,.secondary-button:hover,.danger-button:hover,.action-button:hover,.small-outline-button:hover,.template-use-button:hover{transform:translateY(-1px)}.icon-button{width:42px;color:var(--color-primary);background:var(--color-surface);box-shadow:var(--shadow-card);flex:0 0 42px}.ghost-icon-button{color:var(--color-text);box-shadow:none;background:0 0}.primary-icon-button{color:#fff;background:var(--color-primary);box-shadow:var(--shadow-button)}.primary-icon-button:hover,.primary-button:hover{background:var(--color-primary-dark)}.primary-button{width:100%;min-height:48px;padding:0 var(--space-4);color:#fff;background:var(--color-primary);box-shadow:var(--shadow-button)}.secondary-button,.danger-button,.small-outline-button{padding:0 var(--space-4)}.secondary-button{color:var(--color-primary);background:var(--color-primary-soft);border:1px solid #075eea33}.small-outline-button{min-height:34px;padding:0 var(--space-3);color:var(--color-primary);border-radius:var(--radius-pill);background:#fff;border:1px solid #075eea38;font-size:.78rem;box-shadow:0 6px 16px #0f203d0f}.primary-button:disabled,.secondary-button:disabled,.danger-button:disabled,.action-button:disabled,.template-use-button:disabled{cursor:not-allowed;opacity:.6;box-shadow:none;transform:none}.alert,.notice{align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);box-shadow:var(--shadow-card);font-size:.9rem;font-weight:720;display:flex}.alert span,.notice span{flex:1}.message-dismiss-button{border-radius:var(--radius-pill);color:currentColor;cursor:pointer;background:#ffffffa6;flex:0 0 32px;place-items:center;width:32px;height:32px;display:inline-grid}.alert{color:var(--color-danger);background:var(--color-danger-soft);border:1px solid #ef3d4840}.notice{color:#08764e;background:var(--color-success-soft);border:1px solid #0ea66b38}.coming-soon-panel{justify-items:center;gap:var(--space-3);min-height:420px;padding:var(--space-7) var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-card);text-align:center;background:#ffffffc7;align-content:center;display:grid}.coming-soon-icon{border-radius:var(--radius-pill);width:66px;height:66px;color:var(--color-primary);background:var(--color-primary-soft);place-items:center;display:grid}.coming-soon-panel h2{font-family:var(--font-brand);font-size:1.25rem;font-weight:800;line-height:1.15}.coming-soon-panel p{max-width:280px;color:var(--color-text-muted);margin:0;font-size:.92rem;font-weight:500}.settings-sign-out-button{width:min(220px,100%);margin-top:var(--space-2)}.dashboard-summary-card{margin-bottom:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-card);grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.stat-item{min-height:88px;padding:var(--space-3) 5px;text-align:center;align-content:center;justify-items:center;gap:4px;display:grid;position:relative}.stat-item+.stat-item{border-left:1px solid var(--color-border)}.stat-item-blue{--stat-color:var(--color-primary);--stat-bg:var(--color-primary-soft)}.stat-item-red{--stat-color:var(--color-danger);--stat-bg:var(--color-danger-soft)}.stat-item-orange{--stat-color:var(--color-warning);--stat-bg:var(--color-warning-soft)}.stat-item-green{--stat-color:var(--color-success);--stat-bg:var(--color-success-soft)}.stat-item svg{color:var(--stat-color);border-radius:var(--radius-pill);background:var(--stat-bg);box-sizing:content-box;padding:4px}.stat-item strong{color:var(--color-text);font-family:var(--font-brand);font-size:1.38rem;font-weight:800;line-height:1}.stat-item span{color:var(--color-text-muted);font-size:.64rem;font-weight:500;line-height:1.15}.stat-item{color:inherit;cursor:pointer;background:0 0;border:0}.stat-item-selected{background:linear-gradient(#e8f0ff9e,#fffffff5);box-shadow:inset 0 0 0 1px #075eea33}.stat-selected-indicator{border-radius:var(--radius-pill);color:#fff;background:var(--color-primary);place-items:center;width:20px;height:20px;display:grid;position:absolute;top:7px;right:7px;box-shadow:0 6px 14px #075eea42}.stat-selected-indicator svg{color:#fff;background:0 0;padding:0}.workspace{gap:var(--space-4);min-width:0;display:grid}.reminders-panel{min-width:0;min-height:420px}.section-heading{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-4);border-bottom:1px solid var(--color-border);display:flex}.section-heading h2{font-family:var(--font-brand);font-size:1rem;font-weight:800;line-height:1.2}.section-heading span{color:var(--color-text-soft);font-size:.78rem;font-weight:760}.filter-tabs,.template-filters{gap:var(--space-2);scrollbar-width:none;display:flex;overflow-x:auto}.filter-tabs::-webkit-scrollbar{display:none}.template-filters::-webkit-scrollbar{display:none}.filter-tabs{margin:0 calc(var(--space-4) * -1);padding:var(--space-1) var(--space-4) var(--space-2)}.reminder-type-tabs{padding-top:0;padding-bottom:var(--space-4)}.filter-tab,.template-filter{max-width:none;min-height:34px;padding:0 var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-pill);color:var(--color-text-muted);cursor:pointer;white-space:nowrap;background:#fff;flex:none;justify-content:center;align-items:center;gap:6px;font-size:.72rem;font-weight:600;display:inline-flex;box-shadow:0 3px 10px #0f203d0a}.filter-tab.active,.template-filter.active{color:#fff;border-color:var(--color-primary);background:var(--color-primary);box-shadow:var(--shadow-button)}.filter-tab strong{border-radius:var(--radius-pill);min-width:22px;color:inherit;text-align:center;background:#ffffff38;padding:2px 6px;font-size:.7rem;line-height:1.2}.filter-tab:not(.active) strong{color:var(--color-primary);background:var(--color-primary-soft)}.reminder-list{gap:var(--space-3);min-width:0;padding:0 0 var(--space-4);display:grid}.reminder-card{gap:var(--space-3);width:100%;min-width:0;padding:var(--space-4) var(--space-4) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);display:grid;position:relative;overflow:hidden;box-shadow:0 6px 18px #0f203d12}.reminder-card-accent{inset:var(--space-3) auto var(--space-3) 0;border-radius:0 var(--radius-pill) var(--radius-pill) 0;background:var(--tone);width:4px;position:absolute}.reminder-card-main{gap:var(--space-3);grid-template-columns:50px minmax(0,1fr);display:grid}.reminder-card-body-button{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.reminder-card-body-button:focus-visible{outline-offset:3px;border-radius:var(--radius-sm);outline:3px solid #075eea3d}.reminder-card-content{gap:var(--space-2);min-width:0;display:grid}.card-topline{justify-content:space-between;align-items:flex-start;gap:var(--space-2);display:flex}.card-chip-row{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.category-icon{border-radius:var(--radius-pill);width:48px;height:48px;color:var(--tone);background:var(--tone-soft);flex:0 0 48px;place-items:center;display:grid}.category-icon-large{flex-basis:64px;width:64px;height:64px}.record-detail-dialog .category-icon-large{flex-basis:48px;width:48px;height:48px}.tone-car{--tone:var(--color-primary);--tone-soft:var(--color-primary-soft)}.tone-health{--tone:#12a071;--tone-soft:#dcf8ee}.tone-finance{--tone:#0f9d74;--tone-soft:#e0f7ed}.tone-home{--tone:#0a8faf;--tone-soft:#def7fb}.tone-family{--tone:#7c3aed;--tone-soft:#f0e8ff}.tone-subscriptions{--tone:#ef8c0c;--tone-soft:#fff1d7}.tone-other{--tone:#64748b;--tone-soft:#eef3f8}.category-chip,.type-chip,.status-chip{max-width:100%;min-height:24px;padding:3px var(--space-2);border-radius:var(--radius-pill);align-items:center;font-size:.7rem;font-weight:780;line-height:1.2;display:inline-flex}.category-chip{color:var(--tone);background:var(--tone-soft);white-space:nowrap}.type-chip{color:var(--color-text-muted);background:var(--color-surface-muted);white-space:nowrap}.status-chip{color:var(--color-text-muted);background:var(--color-surface-muted);overflow-wrap:anywhere}.status-overdue{color:var(--color-danger);background:var(--color-danger-soft)}.status-today{color:#b96b00;background:var(--color-warning-soft)}.status-week,.status-month{color:var(--color-primary);background:var(--color-primary-soft)}.status-completed{color:#08764e;background:var(--color-success-soft)}.reminder-card h3{font-family:var(--font-ui);color:var(--color-text);overflow-wrap:anywhere;font-size:1rem;font-weight:700;line-height:1.25}.reminder-summary-line,.due-date{color:var(--color-text-muted);flex-wrap:wrap;align-items:center;gap:6px;margin:5px 0 0;font-size:.82rem;font-weight:690;line-height:1.35;display:flex}.smart-summary-text{color:#5b4bd8;align-items:center;gap:5px;display:inline-flex}.reminder-meta-row{gap:var(--space-2);flex-wrap:wrap;display:flex}.reminder-meta-row span,.template-meta span{min-height:26px;padding:3px var(--space-2);border-radius:var(--radius-pill);color:var(--color-text-muted);background:var(--color-surface-muted);align-items:center;gap:5px;font-size:.72rem;font-weight:730;display:inline-flex}.priority-high{color:var(--color-danger)!important;background:var(--color-danger-soft)!important}.priority-medium{color:#b96b00!important;background:var(--color-warning-soft)!important}.priority-low{color:var(--color-text-soft)!important}.reminder-meta-row .smart-context-chip,.template-meta .smart-template-badge,.template-card-labels .smart-template-badge{color:#5b4bd8;background:#eef0ff}.notes{color:var(--color-text-muted);overflow-wrap:anywhere;margin:0 0 0 62px;font-size:.82rem;line-height:1.45}.card-actions{gap:var(--space-2);border-top:1px solid var(--color-border);grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;padding-top:6px;display:grid}.card-actions .action-button{min-height:30px;padding-block:2px}.action-button{min-width:0;min-height:38px;padding:0 var(--space-2);white-space:nowrap;background:0 0;font-size:.75rem;font-weight:600}.complete-button{color:var(--color-success)}.edit-button{color:var(--color-primary)}.delete-button,.text-danger-button{color:var(--color-danger)}.text-danger-button{justify-content:center;align-items:center;gap:var(--space-2);border-radius:var(--radius-md);cursor:pointer;background:0 0;width:100%;min-height:40px;font-weight:760;display:inline-flex}.empty-state{gap:var(--space-3);padding:var(--space-5) var(--space-4);color:var(--color-text-muted);margin:0;font-size:.92rem;display:grid}.empty-state-card{margin:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:0 8px 24px #0f203d0d}.empty-state p{margin:0}.empty-state-actions{gap:var(--space-2);grid-template-columns:1fr;display:grid}.empty-template-button,.empty-add-button,.start-blank-button{width:100%}.privacy-note{justify-content:center;align-items:center;gap:var(--space-3);margin:var(--space-6) auto 0;color:var(--color-text-muted);text-align:left;display:flex}.privacy-note svg{color:#48b79d}.privacy-note div{gap:2px;display:grid}.privacy-note strong{color:var(--color-text);font-size:.8rem}.privacy-note span{font-size:.76rem}.bottom-nav{z-index:40;width:min(100%,480px);padding:0 var(--space-2) env(safe-area-inset-bottom);border-top:1px solid var(--color-border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff5;grid-template-rows:58px 24px;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;display:grid;position:fixed;bottom:0;right:50%;overflow:visible;transform:translate(50%);box-shadow:0 -8px 22px #0f203d0d}.bottom-nav:after{content:"";pointer-events:none;background:inherit;height:120px;-webkit-backdrop-filter:inherit;backdrop-filter:inherit;position:absolute;bottom:-120px;left:0;right:0}.bottom-nav button{min-width:0;min-height:54px;color:var(--color-text-muted);cursor:pointer;background:0 0;border-radius:12px;align-content:center;justify-items:center;gap:3px;font-size:.67rem;font-weight:600;display:grid}.bottom-nav button:hover,.bottom-nav button.active{color:var(--color-primary);background:0 0}.update-toast{right:50%;bottom:calc(92px + env(safe-area-inset-bottom));z-index:30;gap:var(--space-3);width:min(100% - 24px,448px);padding:var(--space-3);border-radius:var(--radius-md);color:var(--color-text);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff7;border:1px solid #c8d4e6e6;grid-template-columns:40px minmax(0,1fr);display:grid;position:fixed;transform:translate(50%);box-shadow:0 18px 50px #0f203d2e}.update-toast-icon{border-radius:var(--radius-pill);width:40px;height:40px;color:var(--color-primary);background:var(--color-primary-soft);place-items:center;display:grid}.update-toast-copy{gap:2px;min-width:0;display:grid}.update-toast-copy strong{font-family:var(--font-brand);font-size:.92rem;font-weight:800;line-height:1.2}.update-toast-copy span{color:var(--color-text-muted);font-size:.78rem;font-weight:500;line-height:1.35}.update-toast-actions{gap:var(--space-2);grid-column:1/-1;grid-template-columns:1fr 1fr;display:grid}.update-toast-primary,.update-toast-dismiss{border-radius:var(--radius-md);cursor:pointer;min-height:36px;font-family:var(--font-ui);font-size:.8rem;font-weight:700}.update-toast-primary{color:#fff;background:var(--color-primary)}.update-toast-dismiss{color:var(--color-text-muted);background:var(--color-surface-muted)}.sheet-backdrop{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background-color:#0b142666!important}.sheet-dialog{backface-visibility:hidden;contain:layout paint;border-bottom:0;flex-direction:column;overflow:hidden;width:min(100vw,480px)!important;height:calc(100vh - max(12px, env(safe-area-inset-top)))!important;max-height:calc(100vh - max(12px, env(safe-area-inset-top)))!important;border-radius:var(--radius-sheet) var(--radius-sheet) 0 0!important;box-shadow:var(--shadow-modal)!important;background:#fffffffa!important;border:1px solid #dfe7f2e6!important;display:flex!important;left:max(0px,50vw - 240px)!important;right:auto!important}@supports (height:100dvh){.sheet-dialog{height:calc(100dvh - max(12px, env(safe-area-inset-top)))!important;max-height:calc(100dvh - max(12px, env(safe-area-inset-top)))!important}}.add-dialog,.edit-dialog,.add-type-dialog{grid-template-rows:auto auto minmax(0,1fr)}.template-dialog{grid-template-rows:auto auto auto minmax(0,1fr) auto}.sheet-header{justify-content:space-between;align-items:center;gap:var(--space-3);padding:14px var(--space-4) 10px;background:#fffffffa;border-bottom:1px solid #dfe7f2c7;flex:none;display:flex}.sheet-header-title-row{align-items:center;gap:var(--space-2);min-width:0;display:flex}.sheet-title-copy{gap:2px;min-width:0;display:grid}.sheet-header h2{font-family:var(--font-brand);overflow-wrap:anywhere;font-size:1.04rem;font-weight:800;line-height:1.18}.sheet-header p{color:var(--color-text-muted);overflow-wrap:anywhere;margin:0;font-size:.74rem;font-weight:500;line-height:1.25}.sheet-icon-lockup{justify-items:center;gap:var(--space-2);padding:0 var(--space-5) var(--space-4);display:grid}.sheet-body{min-height:0;padding:var(--space-3) var(--space-4) var(--space-4);overscroll-behavior:contain;flex:auto;margin:0;scroll-padding-bottom:96px;overflow-y:auto}.sheet-footer{padding:12px max(var(--space-4), calc(env(safe-area-inset-right) + var(--space-3))) calc(var(--space-4) + env(safe-area-inset-bottom)) max(var(--space-4), calc(env(safe-area-inset-left) + var(--space-3)));background:#fffffffa;border-top:1px solid #dfe7f2db;flex:none;box-shadow:0 -12px 28px #0f203d0f}.sheet-footer-actions{gap:var(--space-2);display:grid}.sheet-footer .primary-button{border-radius:10px;min-height:52px}.reminder-form{gap:var(--space-3);display:grid}.add-type-options{gap:var(--space-3);padding:var(--space-3) var(--space-5) var(--space-5);display:grid}.add-type-option{align-items:center;gap:var(--space-3);min-width:0;min-height:82px;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);background:var(--color-surface);cursor:pointer;text-align:left;grid-template-columns:48px minmax(0,1fr) auto;display:grid;box-shadow:0 8px 24px #0f203d0f}.add-type-option:disabled{cursor:not-allowed;opacity:.72}.add-type-icon{border-radius:var(--radius-pill);width:46px;height:46px;color:var(--add-type-color);background:var(--add-type-bg);place-items:center;display:grid}.add-type-option-blue{--add-type-color:var(--color-primary);--add-type-bg:var(--color-primary-soft)}.add-type-option-pink{--add-type-color:#5b4bd8;--add-type-bg:#eef0ff}.add-type-option-green{--add-type-color:var(--color-success);--add-type-bg:var(--color-success-soft)}.add-type-option-orange{--add-type-color:var(--color-warning);--add-type-bg:var(--color-warning-soft)}.add-type-copy{gap:4px;min-width:0;display:grid}.add-type-copy strong{color:var(--color-text);font-size:.96rem;font-weight:780;line-height:1.2}.add-type-copy span,.add-type-option small{color:var(--color-text-muted);overflow-wrap:anywhere;font-size:.76rem;font-weight:570;line-height:1.35}.add-type-option>svg{color:var(--color-text-soft)}.birthday-details-section,.remind-me-section{gap:var(--space-3);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);display:grid}.birthday-details-section{--birthday-accent:#5b4bd8;--birthday-accent-soft:#eef0ff;--birthday-border:#cfd6ff;border-color:var(--birthday-border);background:#f8f9ff}.birthday-details-section .form-section-heading{color:var(--birthday-accent)}.birthday-helper-text,.birthday-preview{color:var(--color-text-muted);margin:0;font-size:.76rem;font-weight:560;line-height:1.4}.birthday-preview{padding:var(--space-3);border:1px solid var(--birthday-border);border-radius:var(--radius-md);color:#3f3aa0;background:#fff;font-weight:680}.field-label-row{justify-content:space-between;align-items:center;gap:var(--space-2);min-width:0;display:flex}.field-label-row>span{overflow-wrap:anywhere;min-width:0}.calculated-badge{border-radius:var(--radius-pill);color:var(--birthday-accent);background:var(--birthday-accent-soft);flex:none;padding:2px 6px;font-size:.62rem;font-weight:800;line-height:1.2}.form-section-heading{align-items:center;gap:var(--space-2);color:var(--color-primary);font-size:.78rem;font-weight:780;display:inline-flex}.birthday-details-section .form-row,.remind-me-section .form-row{gap:var(--space-2)}.reminder-form label{color:var(--color-text-muted);gap:6px;font-size:.78rem;font-weight:600;display:grid}.form-row{gap:var(--space-3);grid-template-columns:minmax(0,1fr);display:grid}.form-row>label{min-width:0}.reminder-form input,.reminder-form select,.reminder-form textarea{border:1px solid var(--color-border);border-radius:var(--radius-md);width:100%;color:var(--color-text);background-color:var(--color-surface-muted);appearance:none;background-image:none;font-size:16px;font-weight:500;line-height:1.25;box-shadow:inset 0 1px #ffffffb8}.reminder-form input,.reminder-form select{height:46px;padding:0 var(--space-3);line-height:46px}.reminder-form input:disabled,.reminder-form select:disabled{cursor:not-allowed;color:var(--color-text-muted);opacity:1;background-color:#eef3f8}.reminder-form select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2352647f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:18px 18px;padding-right:40px}.reminder-form input[type=date],.reminder-form input[type=time]{min-width:100%;padding-right:var(--space-3);text-align:left;display:block}.reminder-form input[type=date]::-webkit-date-and-time-value{text-align:left;align-items:center;height:46px;margin:0;display:flex}.reminder-form input[type=time]::-webkit-date-and-time-value{text-align:left;align-items:center;height:46px;margin:0;display:flex}.reminder-form input[type=date]::-webkit-calendar-picker-indicator{margin:0;padding:0}.reminder-form input[type=time]::-webkit-calendar-picker-indicator{margin:0;padding:0}.reminder-form textarea{resize:vertical;min-height:92px;padding:10px var(--space-3)}.reminder-form input::placeholder,.reminder-form textarea::placeholder,.template-search input::placeholder{color:#9aa7b8}.modal-actions{gap:var(--space-2);display:grid}.template-search{align-items:center;gap:var(--space-2);min-height:50px;margin:var(--space-3) var(--space-4) var(--space-2);padding:0 var(--space-3);border:1px solid var(--color-border);color:var(--color-text-soft);background:var(--color-surface-muted);border-radius:13px;flex:none;display:flex;box-shadow:inset 0 1px #ffffffb8}.template-search input{width:100%;min-width:0;height:48px;color:var(--color-text);appearance:none;background:0 0;border:0;font-size:16px;line-height:48px}.template-filters{padding:0 var(--space-4) var(--space-2);flex:none}.template-results{min-height:0;padding:var(--space-2) var(--space-4) var(--space-4);overscroll-behavior:contain;flex:auto;scroll-padding-bottom:96px;overflow-y:auto}.template-section{padding:0 0 var(--space-4)}.template-section+.template-section{padding-top:var(--space-1)}.template-section>h3{margin:0 0 var(--space-2);color:var(--color-text);font-size:.82rem;font-weight:800}.template-grid{gap:var(--space-2);display:grid}.template-card{align-items:center;gap:var(--space-2);min-height:84px;padding:10px var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:none;grid-template-columns:42px minmax(0,1fr) 44px;display:grid}.template-card .category-icon{flex-basis:40px;width:40px;height:40px}.template-card-content{gap:5px;min-width:0;display:grid}.template-card-labels{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.template-card-labels .smart-template-badge,.template-card-labels .coming-soon-template-badge{border-radius:var(--radius-pill);align-items:center;min-height:20px;padding:2px 7px;font-size:.66rem;font-weight:780;display:inline-flex}.template-card-labels .coming-soon-template-badge{color:var(--color-text-soft);background:var(--color-surface-muted)}.template-card h3{color:var(--color-text);overflow-wrap:anywhere;font-size:.88rem;font-weight:780;line-height:1.2}.template-card p{color:var(--color-text-muted);margin:0;font-size:.74rem;font-weight:560;line-height:1.35}.template-meta{flex-wrap:wrap;gap:5px;display:flex}.template-card-coming-soon{background:#f8fafcd1;border-style:dashed}.template-use-button{border-radius:var(--radius-pill);color:#fff;background:var(--color-primary);width:44px;min-height:44px;box-shadow:var(--shadow-button);padding:0}.template-use-button span{font-size:.64rem;font-weight:800}.template-footer{padding:10px var(--space-4) calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--color-border);background:#fffffffa;flex:none;box-shadow:0 -12px 28px #0f203d0f}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=360px){.app-shell{padding-inline:var(--space-3)}.header-actions{gap:4px}.icon-button{flex-basis:38px;width:38px}.stat-item{min-height:90px;padding-inline:5px}.card-actions{grid-template-columns:1fr}.notes{margin-left:0}}@media (width<=430px){.refresh-button{display:none}}@media (width>=560px){.app-shell{margin-top:var(--space-6);margin-bottom:var(--space-6);border:1px solid #dfe7f2e0;border-radius:28px;min-height:calc(100vh - 48px);box-shadow:0 30px 80px #0f203d24}}@media (width>=680px){.form-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.app-shell{padding:var(--space-4) var(--space-4) calc(124px + env(safe-area-inset-bottom))}.app-header-main{margin-bottom:var(--space-4);grid-template-columns:90px minmax(0,1fr) 90px}.app-title{min-width:0;font-family:var(--font-brand);letter-spacing:0;justify-content:center;justify-self:center;align-items:center;gap:7px;margin:0;font-size:1.04rem;font-weight:800;line-height:1.1;display:inline-flex}.app-title-brand{transform:translate(-1px)}.app-title-logo{color:#fff;background:radial-gradient(circle at 32% 28%,#ffffff57,#0000 30%),linear-gradient(145deg,#0c6ff6 0%,#064bc5 100%);border-radius:7px;place-items:center;width:22px;height:22px;display:inline-grid;box-shadow:0 7px 14px #075eea2e}.app-title-logo svg{stroke-width:3px}.header-main-actions{justify-self:end;gap:4px}.header-search-button,.header-notification-button{color:var(--color-text);box-shadow:none;background:0 0;position:relative}.header-search-button.active{color:var(--color-primary);background:#075eea14}.notification-badge{border-radius:var(--radius-pill);color:#fff;background:var(--color-danger);border:2px solid #fff;place-items:center;min-width:15px;height:15px;padding:0 4px;font-size:.52rem;font-weight:800;line-height:1;display:grid;position:absolute;top:6px;right:6px}.home-dashboard{gap:var(--space-3);display:grid}.home-hero-card,.home-digest-card,.quick-actions-card,.home-card,.settings-card{border-radius:var(--radius-md);background:var(--color-surface);border:1px solid #dfe7f2db;box-shadow:0 8px 24px #0f203d12}.home-hero-card{align-items:center;gap:var(--space-3);min-height:78px;padding:var(--space-3);background:#eaf3ff;grid-template-columns:48px minmax(0,1fr) 32px;display:grid}.home-hero-icon{border-radius:var(--radius-pill);width:44px;height:44px;color:var(--color-warning);background:#fffaf0;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #f59e0b24}.home-hero-copy{min-width:0}.home-hero-copy h2,.home-card-header h2,.settings-card h2{font-family:var(--font-brand);color:var(--color-text);letter-spacing:0;margin:0;font-size:1rem;font-weight:800;line-height:1.15}.home-hero-copy p,.settings-card-header p{color:var(--color-text-muted);margin:5px 0 0;font-size:.84rem;font-weight:600;line-height:1.25}.home-hero-link{border-radius:var(--radius-pill);width:32px;height:32px;color:var(--color-text-muted);cursor:pointer;background:0 0;place-items:center;display:grid}.home-digest-card{align-items:center;gap:var(--space-2);padding:var(--space-3);background:linear-gradient(135deg,#fff 0%,#edf6ff 100%);grid-template-columns:40px minmax(0,1fr);display:grid}.home-digest-icon{border-radius:var(--radius-pill);width:42px;height:42px;color:var(--color-primary);background:var(--color-primary-soft);place-items:center;display:grid}.home-digest-copy{gap:5px;min-width:0;display:grid}.home-digest-header{min-height:auto;padding:0}.home-digest-copy p{padding-left:var(--space-4);color:var(--color-text);margin:0;font-size:.86rem;font-weight:720;line-height:1.3}.home-digest-copy small{padding-left:var(--space-4);color:var(--color-text-muted);font-size:.72rem;font-weight:620;line-height:1.3}.digest-seen-badge{white-space:nowrap;border-radius:var(--radius-pill);color:var(--color-primary);background:#2563eb1a;padding:5px 9px;font-size:.65rem;font-weight:800}.home-digest-button{width:100%;min-height:38px;margin-top:var(--space-2);padding-inline:var(--space-4);grid-column:1/-1;justify-self:stretch}.quick-actions-card{gap:var(--space-1);padding:var(--space-3) var(--space-2);grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;display:grid}.quick-action{border-radius:var(--radius-md);min-width:0;min-height:82px;color:var(--color-text);cursor:pointer;text-align:center;background:0 0;grid-template-rows:40px auto 14px;align-content:center;place-items:center;gap:5px;padding:0 3px;font-size:.63rem;font-weight:760;line-height:1.12;display:grid}.quick-action-icon{border-radius:var(--radius-pill);width:36px;height:36px;color:var(--quick-color);background:var(--quick-bg);place-items:center;display:grid}.quick-action-blue,.quick-action-blue-soft{--quick-color:var(--color-primary);--quick-bg:var(--color-primary-soft)}.quick-action-blue .quick-action-icon{color:#fff;background:var(--color-primary);box-shadow:var(--shadow-button)}.quick-action-green{--quick-color:var(--color-success);--quick-bg:var(--color-success-soft)}.quick-action-orange{--quick-color:var(--color-warning);--quick-bg:var(--color-warning-soft)}.quick-action small{color:var(--color-text-soft);min-height:12px;font-size:.54rem;font-weight:700;line-height:1.1}.quick-action:disabled{cursor:not-allowed}.quick-action:disabled .quick-action-icon,.quick-action:disabled>span:not(.quick-action-icon){opacity:.72}.home-card{overflow:hidden}.home-card-header{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:50px;padding:var(--space-3) var(--space-4);display:flex}.count-badge{border-radius:var(--radius-pill);min-width:24px;height:24px;color:var(--color-text-muted);background:var(--color-surface-muted);place-items:center;padding:0 7px;font-size:.74rem;font-weight:800;line-height:1;display:inline-grid}.count-badge-danger{color:#fff;background:var(--color-danger)}.home-list{display:grid}.home-list-row{align-items:center;gap:var(--space-3);width:100%;min-width:0;min-height:62px;padding:var(--space-2) var(--space-4);color:var(--color-text);cursor:pointer;text-align:left;background:0 0;grid-template-columns:38px minmax(0,1fr) 18px;display:grid}.home-list-row+.home-list-row{border-top:1px solid var(--color-border)}.home-row-icon{border-radius:var(--radius-pill);width:34px;height:34px;color:var(--tone);background:var(--tone-soft);place-items:center;display:grid}.home-row-copy{gap:3px;min-width:0;display:grid}.home-row-copy strong{overflow-wrap:anywhere;color:var(--color-text);font-size:.86rem;font-weight:760;line-height:1.2}.home-row-copy span{overflow-wrap:anywhere;color:var(--color-text-muted);font-size:.72rem;font-weight:620;line-height:1.25}.home-row-copy em{font-style:normal;font-weight:760}.attention-text-danger{color:var(--color-danger)}.attention-text-warning{color:#b96b00}.attention-text-primary{color:var(--color-primary)}.home-row-chevron{color:var(--color-text-soft)}.home-empty-state{padding:0 var(--space-4) var(--space-4);color:var(--color-text-muted);margin:0;font-size:.84rem;font-weight:570}.home-card-link{border-top:1px solid var(--color-border);width:100%;min-height:44px;color:var(--color-primary);cursor:pointer;background:0 0;font-size:.78rem;font-weight:780}.header-calendar-button{color:var(--color-primary);background:var(--color-surface);border:1px solid #075eea1f;justify-self:start;box-shadow:0 8px 20px #0f203d0f}.header-calendar-button.active{color:#fff;background:var(--color-primary);box-shadow:var(--shadow-button)}.calendar-view{gap:var(--space-3);display:grid}.calendar-page-heading{justify-content:space-between;align-items:center;gap:var(--space-3);padding:0 2px;display:flex}.calendar-page-heading h2,.calendar-agenda-header h3,.calendar-later-header h3,.calendar-agenda-group h4{color:var(--color-text);font-family:var(--font-brand);letter-spacing:0;margin:0}.calendar-page-heading h2{font-size:1.22rem;font-weight:850;line-height:1.08}.calendar-page-heading p{color:var(--color-text-muted);margin:4px 0 0;font-size:.82rem;font-weight:650;line-height:1.25}.calendar-today-button,.calendar-add-date-button,.calendar-empty-button{width:auto;min-height:36px;padding-inline:var(--space-3);white-space:nowrap;font-size:.78rem}.calendar-month-card,.calendar-agenda-card{border-radius:var(--radius-md);background:var(--color-surface);border:1px solid #dfe7f2e0;overflow:hidden;box-shadow:0 8px 24px #0f203d12}.calendar-month-card{padding:var(--space-3)}.calendar-month-toolbar{align-items:center;gap:var(--space-2);margin-bottom:var(--space-3);grid-template-columns:42px minmax(0,1fr) 42px;display:grid}.calendar-month-toolbar strong{overflow-wrap:anywhere;min-width:0;color:var(--color-text);font-family:var(--font-brand);justify-self:center;font-size:1rem;font-weight:850;line-height:1.15}.calendar-month-button{width:38px;height:38px;min-height:38px;color:var(--color-text);background:#fff;border:1px solid #dfe7f2eb;box-shadow:0 6px 16px #0f203d0d}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.calendar-weekdays{margin-bottom:6px}.calendar-weekdays span{min-width:0;color:var(--color-text-soft);text-align:center;font-size:.62rem;font-weight:820;line-height:1}.calendar-grid{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-border);gap:1px;overflow:hidden}.calendar-day{min-width:0;min-height:52px;color:var(--color-text);cursor:pointer;background:#fff;grid-template-rows:24px 14px;align-content:center;justify-items:center;gap:3px;padding:5px 2px;display:grid}.calendar-day-adjacent{color:#a8b3c4;background:#fbfdff}.calendar-day-number{border-radius:var(--radius-pill);place-items:center;width:25px;height:25px;font-size:.78rem;font-weight:780;line-height:1;display:grid}.calendar-day-today .calendar-day-number{color:var(--color-primary);box-shadow:inset 0 0 0 1px #075eea57}.calendar-day-selected{background:#eef5ff}.calendar-day-selected .calendar-day-number{color:#fff;background:var(--color-primary);box-shadow:0 8px 18px #075eea3d}.calendar-day-markers{justify-content:center;align-items:center;gap:3px;min-width:0;min-height:12px;display:flex}.calendar-dot{border-radius:var(--radius-pill);background:var(--color-primary);flex:0 0 5px;width:5px;height:5px}.calendar-dot-generic{background:var(--color-primary)}.calendar-dot-birthday{background:#7c3aed}.calendar-dot-renewal{background:var(--color-warning)}.calendar-dot-maintenance{background:var(--color-success)}.calendar-dot-count{color:var(--color-text-soft);font-size:.56rem;font-weight:820;line-height:1}.calendar-agenda-card{display:grid}.calendar-agenda-header{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);grid-template-columns:minmax(0,1fr) auto;display:grid}.calendar-agenda-header h3{overflow-wrap:anywhere;font-size:1rem;font-weight:840;line-height:1.18}.calendar-agenda-header p{color:var(--color-text-muted);margin:4px 0 0;font-size:.72rem;font-weight:650;line-height:1.25}.calendar-add-date-button{min-width:0;color:var(--color-primary);background:#edf4ff}.calendar-empty-text{padding:var(--space-4);color:var(--color-text-muted);margin:0;font-size:.84rem;font-weight:600}.calendar-empty-card{justify-items:center;gap:var(--space-2);margin:var(--space-3);padding:var(--space-5) var(--space-4);border-radius:var(--radius-md);color:var(--color-text-muted);background:var(--color-surface-muted);text-align:center;border:1px solid #dfe7f2eb;display:grid}.calendar-empty-card svg{color:var(--color-primary)}.calendar-empty-card p{margin:0;font-size:.86rem;font-weight:650;line-height:1.35}.calendar-agenda-list,.calendar-month-agenda{display:grid}.calendar-agenda-row{align-items:center;gap:var(--space-3);width:100%;min-width:0;min-height:66px;padding:var(--space-2) var(--space-4);color:var(--color-text);cursor:pointer;text-align:left;background:0 0;grid-template-columns:38px minmax(0,1fr) 18px;display:grid}.calendar-agenda-row+.calendar-agenda-row{border-top:1px solid var(--color-border)}.calendar-type-icon{border-radius:var(--radius-pill);place-items:center;width:34px;height:34px;display:grid}.calendar-type-generic{color:var(--color-primary);background:var(--color-primary-soft)}.calendar-type-birthday{color:#7c3aed;background:#f0e8ff}.calendar-type-renewal{color:var(--color-warning);background:var(--color-warning-soft)}.calendar-type-maintenance{color:var(--color-success);background:var(--color-success-soft)}.calendar-agenda-copy{gap:3px;min-width:0;display:grid}.calendar-agenda-copy strong,.calendar-agenda-copy span,.calendar-agenda-copy small{overflow-wrap:anywhere;min-width:0;line-height:1.25}.calendar-agenda-copy strong{color:var(--color-text);font-size:.86rem;font-weight:780}.calendar-agenda-copy span,.calendar-agenda-copy small{color:var(--color-text-muted);font-size:.72rem;font-weight:630}.calendar-agenda-copy small{color:var(--color-text-soft)}.calendar-sync-pill{border-radius:var(--radius-pill);align-items:center;gap:5px;width:fit-content;max-width:100%;min-height:24px;padding:4px 8px;font-size:.66rem;font-weight:820;line-height:1;display:inline-flex}.calendar-sync-pill-synced{color:var(--color-success);background:var(--color-success-soft)}.calendar-sync-pill-attention{color:var(--color-danger);background:var(--color-danger-soft)}.calendar-sync-pill-muted{color:var(--color-text-muted);background:var(--color-surface-muted)}.calendar-agenda-chevron{color:var(--color-text-soft)}.calendar-later-section{border-top:1px solid var(--color-border)}.calendar-later-header{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:46px;padding:var(--space-3) var(--space-4) 0;display:flex}.calendar-later-header h3{font-size:.9rem;font-weight:820}.calendar-later-header span{border-radius:var(--radius-pill);min-width:22px;height:22px;color:var(--color-text-muted);background:var(--color-surface-muted);place-items:center;padding:0 7px;font-size:.68rem;font-weight:820;display:grid}.calendar-full-agenda-button{align-items:center;gap:var(--space-2);width:100%;min-height:44px;padding:0 var(--space-4);border-top:1px solid var(--color-border);color:var(--color-primary);cursor:pointer;text-align:left;background:0 0;grid-template-columns:20px minmax(0,1fr) 18px;font-size:.78rem;font-weight:800;display:grid}.calendar-agenda-group+.calendar-agenda-group{border-top:1px solid var(--color-border)}.calendar-agenda-group h4{padding:var(--space-3) var(--space-4) 0;color:var(--color-text-muted);font-size:.76rem;font-weight:820;line-height:1.2}.overview-grid{gap:var(--space-2);padding:0 var(--space-3) var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.overview-grid-smart{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-tile{min-width:0;min-height:86px;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);cursor:pointer;text-align:center;background:#fff;align-content:center;justify-items:center;gap:6px;display:grid}.overview-tile:disabled{cursor:not-allowed;opacity:.72}.overview-tile-icon{border-radius:var(--radius-pill);width:32px;height:32px;color:var(--overview-color);background:var(--overview-bg);place-items:center;display:grid}.overview-tile-blue{--overview-color:var(--color-primary);--overview-bg:var(--color-primary-soft)}.overview-tile-green{--overview-color:var(--color-success);--overview-bg:var(--color-success-soft)}.overview-tile-orange{--overview-color:var(--color-warning);--overview-bg:var(--color-warning-soft)}.overview-tile-teal{--overview-color:#0a8faf;--overview-bg:#def7fb}.overview-tile-purple{--overview-color:#7c3aed;--overview-bg:#f0e8ff}.overview-tile-cyan{--overview-color:#0891b2;--overview-bg:#e0f7ff}.overview-tile-copy{justify-items:center;gap:2px;min-width:0;display:grid}.overview-tile-copy span,.overview-tile-copy small{overflow-wrap:anywhere;color:var(--color-text-muted);font-size:.66rem;font-weight:650;line-height:1.14}.overview-tile-copy strong{color:var(--color-text);font-family:var(--font-brand);font-size:1.2rem;font-weight:800;line-height:1}.records-page{gap:var(--space-3);display:grid}.records-page-header{align-items:center;gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-md);background:var(--color-surface);border:1px solid #dfe7f2db;grid-template-columns:minmax(0,1fr) auto;display:grid;box-shadow:0 8px 24px #0f203d12}.records-page-header h2,.records-page-header p{margin:0}.records-page-header h2{font-family:var(--font-brand);color:var(--color-text);font-size:1.18rem;font-weight:820;line-height:1.14}.records-page-header p{color:var(--color-text-muted);margin-top:4px;font-size:.84rem;font-weight:600;line-height:1.35}.records-add-button{width:auto;min-width:126px}.records-summary-strip{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.records-summary-strip span{border:1px solid var(--color-border);border-radius:var(--radius-md);min-height:58px;color:var(--color-text-muted);background:#fff;align-content:center;justify-items:center;gap:2px;font-size:.72rem;font-weight:700;display:grid;box-shadow:0 6px 16px #0f203d0d}.records-summary-strip strong{color:var(--color-text);font-family:var(--font-brand);font-size:1.2rem;font-weight:820;line-height:1}.record-filter-tabs{margin-bottom:0}.records-archive-toggle{justify-self:start}.records-archive-toggle.active{color:#08764e;background:var(--color-success-soft);border-color:#0ea66b47}.records-list{gap:var(--space-3);display:grid}.record-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);overflow:hidden;box-shadow:0 6px 18px #0f203d12}.record-card-main{align-items:center;gap:var(--space-3);width:100%;padding:var(--space-4);color:inherit;text-align:left;cursor:pointer;background:0 0;grid-template-columns:48px minmax(0,1fr) 24px;display:grid}.record-card-copy{gap:5px;min-width:0;display:grid}.record-card-copy strong{color:var(--color-text);overflow-wrap:anywhere;font-size:1rem;font-weight:780;line-height:1.18}.record-card-copy span,.record-card-copy small{color:var(--color-text-muted);overflow-wrap:anywhere;font-size:.78rem;font-weight:650;line-height:1.28}.record-card-copy .record-protected-indicator{color:#075eea;align-items:center;gap:5px;display:inline-flex}.record-card-copy .card-chip-row{margin-bottom:2px}.record-card-chevron{color:var(--color-text-soft)}.records-empty-state{text-align:center;justify-items:center}.records-empty-state svg{color:var(--color-primary)}.record-type-lockup-label{min-height:30px;padding:4px var(--space-3);border-radius:var(--radius-pill);color:var(--color-text-muted);background:var(--color-surface-muted);align-items:center;font-size:.76rem;font-weight:780;display:inline-flex}.record-form{padding-bottom:var(--space-5);grid-template-columns:minmax(0,1fr);align-content:start}.record-form-shell{flex-direction:column;flex:auto;min-height:0;display:flex}.record-form-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.record-form-type-row,.record-safety-note{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);display:flex}.record-form-type-row{color:var(--color-text-muted);background:var(--color-surface-muted);font-size:.78rem;font-weight:720}.record-form-type-row strong{color:var(--color-text);overflow-wrap:anywhere;text-align:right;font-size:.86rem}.record-safety-note{color:#08764e;background:var(--color-success-soft);border:1px solid #0ea66b33;justify-content:flex-start;font-size:.74rem;font-weight:660;line-height:1.35}.record-protected-section{gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);background:#075eea0f;border:1px solid #075eea2e;display:grid}.record-protected-header{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.record-protected-header h3,.record-protected-header p,.record-protected-edit-note{margin:0}.record-protected-header h3{color:var(--color-text);font-size:.88rem;font-weight:820}.record-protected-header p,.record-protected-edit-note{color:var(--color-text-muted);font-size:.74rem;font-weight:650;line-height:1.35}.record-protected-header svg{color:#075eea;flex:none}.record-protected-wide-field{grid-column:1/-1}.record-attachment-queue{gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);background:#0ea66b0f;border:1px solid #0ea66b38;display:grid}.record-attachment-queue-heading{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.record-attachment-queue-heading h3,.record-attachment-queue-note{margin:0}.record-attachment-queue-heading h3{color:var(--color-text);font-size:.88rem;font-weight:820}.record-attachment-queue-heading span{border-radius:var(--radius-pill);color:#08764e;background:var(--color-success-soft);padding:3px 8px;font-size:.68rem;font-weight:800}.record-attachment-add-button{width:100%;min-height:40px}.record-attachment-add-button svg{flex:none}.record-attachment-queue-note{color:var(--color-text-muted);font-size:.74rem;font-weight:650;line-height:1.4}.record-attachment-queue-list{gap:var(--space-2);display:grid}.record-attachment-queue-row{align-items:center;gap:var(--space-2);min-width:0;padding:var(--space-2);border-radius:var(--radius-md);background:#ffffffd1;border:1px solid #dfe7f2e6;grid-template-columns:minmax(0,1fr) auto;display:grid}.record-tag-list{gap:var(--space-2);flex-wrap:wrap;display:flex}.record-tag{min-height:26px;padding:3px var(--space-2);border-radius:var(--radius-pill);color:var(--color-text-muted);background:var(--color-surface-muted);align-items:center;font-size:.72rem;font-weight:730;display:inline-flex}@media (width<=380px){.records-page-header{grid-template-columns:1fr}.records-add-button{width:100%}.record-form-grid{grid-template-columns:1fr}}.digest-dialog{grid-template-rows:auto minmax(0,1fr)}.digest-body{align-content:start;gap:var(--space-3);min-height:0;padding:var(--space-3) var(--space-4) max(var(--space-4), env(safe-area-inset-bottom));overscroll-behavior:contain;scroll-padding-bottom:96px;display:grid;overflow-y:auto}.digest-summary-card,.digest-empty-card,.digest-section{border-radius:var(--radius-md);background:var(--color-surface);border:1px solid #dfe7f2e0;box-shadow:0 8px 24px #0f203d0f}.digest-summary-card{align-items:center;gap:var(--space-3);padding:var(--space-3);background:#edf6ff;grid-template-columns:42px minmax(0,1fr);display:grid}.digest-summary-icon{border-radius:var(--radius-pill);width:40px;height:40px;color:var(--color-primary);background:#fff;place-items:center;display:grid}.digest-summary-card h3,.digest-empty-card h3,.digest-section-header h3{font-family:var(--font-brand);color:var(--color-text);margin:0;font-size:.96rem;font-weight:800;line-height:1.2}.digest-summary-card p,.digest-empty-card p,.digest-empty-state,.digest-more-note{color:var(--color-text-muted);margin:4px 0 0;font-size:.78rem;font-weight:620;line-height:1.35}.digest-empty-card{justify-items:center;gap:var(--space-2);padding:var(--space-5) var(--space-4);color:var(--color-success);text-align:center;display:grid}.digest-empty-card p{margin:0}.digest-section{overflow:hidden}.digest-section-header{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:48px;padding:var(--space-3) var(--space-4);display:flex}.digest-list{display:grid}.digest-item+.digest-item{border-top:1px solid var(--color-border)}.digest-item-main{align-items:center;gap:var(--space-3);width:100%;min-width:0;padding:var(--space-3) var(--space-4);color:var(--color-text);cursor:pointer;text-align:left;background:0 0;grid-template-columns:38px minmax(0,1fr) 18px;display:grid}.digest-item-icon{border-radius:var(--radius-pill);width:34px;height:34px;color:var(--tone);background:var(--tone-soft);place-items:center;display:grid}.digest-item-copy{gap:3px;min-width:0;display:grid}.digest-item-badge{border-radius:var(--radius-pill);color:var(--tone);background:var(--tone-soft);justify-self:start;padding:3px 8px;font-size:.65rem;font-weight:800}.digest-item-copy strong{color:var(--color-text);overflow-wrap:anywhere;font-size:.88rem;font-weight:780;line-height:1.2}.digest-item-copy span:not(.digest-item-badge),.digest-item-copy small{color:var(--color-text-muted);overflow-wrap:anywhere;font-size:.72rem;font-weight:620;line-height:1.3}.digest-item-copy small{color:var(--color-text-soft);font-size:.68rem}.digest-item-chevron{color:var(--color-text-soft)}.digest-item-actions{justify-content:flex-end;gap:var(--space-2);padding:0 var(--space-4) var(--space-3);display:flex}.digest-chip-button{min-height:32px;padding:0 var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-pill);color:var(--color-text-muted);background:var(--color-surface);cursor:pointer;font-size:.7rem;font-weight:780}.digest-chip-button-primary{color:var(--color-primary);background:var(--color-primary-soft);border-color:#2563eb38}.digest-more-note{padding:0 var(--space-4) var(--space-3);margin:0}.digest-smart-summary{padding-bottom:var(--space-3)}.digest-smart-grid{gap:var(--space-2);padding:0 var(--space-4);display:grid}.digest-smart-pill{align-items:center;gap:var(--space-2);padding:var(--space-2);border-radius:var(--radius-md);color:var(--color-text-muted);background:var(--color-surface-muted);grid-template-columns:32px minmax(0,1fr);display:grid}.digest-smart-pill strong{border-radius:var(--radius-pill);color:#fff;background:var(--color-primary);place-items:center;width:28px;height:28px;font-size:.76rem;display:grid}.digest-smart-pill span{color:var(--color-text);font-size:.78rem;font-weight:720}.settings-view{gap:var(--space-3);display:grid}.settings-save-bar{right:50%;bottom:calc(92px + env(safe-area-inset-bottom));z-index:30;justify-content:space-between;align-items:center;gap:var(--space-3);width:min(100% - 24px,448px);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);color:var(--color-text);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff7;border:1px solid #c8d4e6e6;display:flex;position:fixed;transform:translate(50%);box-shadow:0 18px 50px #0f203d2e}.settings-save-bar-text{color:var(--color-text-muted);font-size:.85rem;font-weight:600}.settings-save-bar-actions{gap:var(--space-2);display:flex}.settings-save-bar-button{width:auto;padding-inline:var(--space-3);white-space:nowrap}.settings-card{gap:var(--space-4);padding:var(--space-4);display:grid}.settings-card-header{align-items:center;gap:var(--space-3);grid-template-columns:54px minmax(0,1fr);display:grid}.settings-icon{width:50px;height:50px}.settings-list{border:1px solid var(--color-border);border-radius:var(--radius-md);display:grid;overflow:hidden}.settings-row{padding:var(--space-3);background:var(--color-surface);gap:4px;display:grid}.settings-row+.settings-row{border-top:1px solid var(--color-border)}.settings-row span{color:var(--color-text-soft);font-size:.72rem;font-weight:760}.settings-row strong{color:var(--color-text);overflow-wrap:anywhere;font-size:.86rem;font-weight:680;line-height:1.35}.settings-digest-card{gap:var(--space-3);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:#f8fbff;display:grid}.settings-digest-header{grid-template-columns:minmax(0,1fr) auto}.settings-digest-header h3{font-family:var(--font-brand);color:var(--color-text);margin:0;font-size:.96rem;font-weight:800}.settings-save-state{border-radius:var(--radius-pill);color:var(--color-text-muted);background:var(--color-surface);padding:5px 9px;font-size:.68rem;font-weight:800}.settings-control-row{align-items:center;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);background:var(--color-surface);grid-template-columns:minmax(0,1fr) auto;display:grid}.settings-control-row span{gap:3px;min-width:0;display:grid}.settings-control-row strong{color:var(--color-text);font-size:.84rem;font-weight:760}.settings-control-row small{color:var(--color-text-muted);font-size:.7rem;font-weight:600;line-height:1.35}.settings-control-row input[type=time],.settings-control-row select{min-height:38px;padding:0 var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text);background:var(--color-surface);font:inherit;font-size:.82rem;font-weight:700}.settings-control-row input[type=checkbox]{width:22px;height:22px;accent-color:var(--color-primary)}.settings-digest-timezone-row{border-radius:var(--radius-md)}.bottom-nav{min-height:calc(76px + env(safe-area-inset-bottom));padding:6px var(--space-2) env(safe-area-inset-bottom);grid-template-rows:76px;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;gap:0}.bottom-nav button{border-radius:var(--radius-md);gap:3px;min-height:58px;font-size:.61rem;line-height:1.1}.bottom-nav .bottom-nav-add{border-radius:var(--radius-pill);color:#fff;background:var(--color-primary);place-self:start center;width:58px;height:58px;min-height:58px;margin-top:-20px;box-shadow:0 12px 26px #075eea52}.bottom-nav .bottom-nav-add:hover{color:#fff;background:var(--color-primary-dark)}.update-toast,.settings-save-bar{bottom:calc(108px + env(safe-area-inset-bottom))}@media (width<=360px){.quick-actions-card{gap:2px;padding-inline:6px}.calendar-agenda-header{grid-template-columns:1fr}.calendar-add-date-button{justify-self:stretch;width:100%}.quick-action{font-size:.58rem}.quick-action-icon{width:32px;height:32px}.overview-grid{padding-inline:var(--space-2);gap:6px}.overview-tile{grid-template-columns:1fr;gap:5px;min-height:92px}}.renewal-details-section{--renewal-accent:var(--color-primary);--renewal-accent-soft:var(--color-primary-soft);--renewal-border:#075eea38;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--renewal-border);border-radius:var(--radius-md);background:#f8fbff;display:grid}.renewal-details-section .form-section-heading{color:var(--renewal-accent)}.renewal-helper-text,.renewal-preview{color:var(--color-text-muted);margin:0;font-size:.76rem;font-weight:560;line-height:1.4}.renewal-preview{padding:var(--space-3);border-radius:var(--radius-md);color:var(--color-text-muted);background:#fff;border:1px solid #dfe7f2eb;font-weight:680}.renewal-details-section .form-row{gap:var(--space-2)}.renewal-kind-grid{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.renewal-kind-option{align-items:center;gap:var(--space-2);border-radius:var(--radius-md);min-width:0;min-height:62px;color:var(--color-text-muted);cursor:pointer;text-align:left;background:#ffffffdb;border:1px solid #c8d4e6db;grid-template-columns:minmax(0,1fr) auto;padding:9px 10px;display:grid}.renewal-kind-option.active{border-color:var(--renewal-accent);color:var(--color-primary);background:#f3f7ff;box-shadow:inset 0 0 0 1px #075eea14}.renewal-kind-option svg{color:var(--color-primary);flex:none}.renewal-kind-copy{gap:3px;min-width:0;display:grid}.renewal-kind-option strong{color:var(--color-text);font-size:.78rem;font-weight:780;line-height:1.2}.renewal-kind-option small{color:inherit;overflow-wrap:anywhere;font-size:.68rem;font-weight:560;line-height:1.25}.renewal-safety-note,.field-error{margin:0;font-size:.72rem;font-weight:620;line-height:1.35}.renewal-safety-note{color:var(--color-text-muted)}.field-error{color:var(--color-danger)}.renewal-preview{gap:4px;display:grid}.renewal-preview strong,.renewal-preview span,.renewal-preview small{overflow-wrap:anywhere}.renewal-preview strong{color:var(--color-text);font-size:.8rem}.renewal-preview span,.renewal-preview small{color:var(--color-text-muted);font-size:.72rem;font-weight:620}.maintenance-details-section{--maintenance-accent:#22735d;--maintenance-border:#bfe2d7;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--maintenance-border);border-radius:var(--radius-md);background:#f3fbf8;display:grid}.maintenance-details-section .form-section-heading{color:var(--maintenance-accent)}.maintenance-helper-text,.maintenance-safety-note,.maintenance-preview{color:var(--color-text-muted);margin:0;font-size:.76rem;font-weight:560;line-height:1.4}.maintenance-details-section .form-row{gap:var(--space-2)}.maintenance-today-button{justify-self:start}.maintenance-safety-note{font-size:.72rem;font-weight:620;line-height:1.35}.maintenance-preview{padding:var(--space-3);border:1px solid var(--maintenance-border);border-radius:var(--radius-md);color:#135c49;background:#fff;gap:4px;font-weight:680;display:grid}.maintenance-preview strong,.maintenance-preview span,.maintenance-preview small{overflow-wrap:anywhere}.maintenance-preview strong{color:#135c49;font-size:.8rem}.maintenance-preview span,.maintenance-preview small{color:var(--color-text-muted);font-size:.72rem;font-weight:620}.alerts-dialog{grid-template-rows:auto minmax(0,1fr)}.alerts-header{align-items:flex-start}.alerts-body{min-height:0;padding:0 var(--space-5) var(--space-5);overflow-y:auto}.alerts-list{align-content:start;gap:var(--space-3);display:grid}.alert-center-item{align-self:start;gap:var(--space-2);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);display:grid;box-shadow:0 8px 22px #0f203d12}.alert-center-main{align-items:start;gap:var(--space-3);grid-template-columns:42px minmax(0,1fr);display:grid}.alert-center-main-button{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.alert-center-main-button:focus-visible{outline-offset:3px;border-radius:var(--radius-sm);outline:3px solid #075eea3d}.alert-center-icon{border-radius:var(--radius-pill);width:40px;height:40px;color:var(--tone);background:var(--tone-soft);place-items:center;display:grid}.alert-center-copy{gap:3px;min-width:0;display:grid}.alert-center-copy h3,.alert-center-copy p,.alert-center-copy small{overflow-wrap:anywhere;margin:0}.alert-center-copy h3{color:var(--color-text);font-size:.98rem;font-weight:780;line-height:1.2}.alert-center-copy p{color:var(--color-text-muted);font-size:.82rem;font-weight:620;line-height:1.35}.alert-center-copy small{color:var(--color-text-soft);font-size:.7rem;font-weight:700;line-height:1.25}.alert-center-reason{font-size:.72rem;font-weight:820;line-height:1.2}.alert-center-reason-danger{color:var(--color-danger)}.alert-center-reason-warning{color:#b96b00}.alert-center-reason-primary{color:var(--color-primary)}.alert-center-actions{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(32px,auto);gap:6px;display:grid}.alert-action-primary,.alert-action-secondary{height:34px;min-height:34px;padding-inline:var(--space-3);font-size:.76rem}.alert-action-chip{width:100%;height:32px;min-height:32px;padding-inline:var(--space-2);white-space:nowrap;font-size:.72rem}.alerts-empty-state{padding:var(--space-4) 0;color:var(--color-text-muted);margin:0;font-size:.88rem;font-weight:600}.alerts-empty-card{align-content:center;place-items:center;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);text-align:center;min-height:160px;display:grid}.alerts-empty-card svg{color:var(--color-success)}.detail-dialog{max-height:calc(100vh - max(12px, env(safe-area-inset-top)))!important}.detail-body{min-height:0;padding:var(--space-3) var(--space-4) var(--space-4);overscroll-behavior:contain;scroll-padding-top:var(--space-3);flex:auto;scroll-padding-bottom:112px;display:block;overflow-y:auto}.detail-body>*+*{margin-top:var(--space-4)}.detail-hero{align-items:center;gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-md);background:linear-gradient(135deg,#fffffffa,#f7fbffeb);border:1px solid #dfe7f2f2;grid-template-columns:auto minmax(0,1fr);display:grid;position:relative;overflow:hidden;box-shadow:0 8px 20px #0f203d0e}.detail-hero:after{content:none}.detail-hero-copy{gap:var(--space-2);z-index:1;min-width:0;display:grid;position:relative}.detail-hero-copy h3,.detail-hero-copy p{overflow-wrap:anywhere;margin:0}.detail-hero-copy h3{color:var(--color-text);font-family:var(--font-brand);font-size:1.14rem;font-weight:860;line-height:1.16}.detail-hero-copy p{color:var(--color-text-muted);font-size:.8rem;font-weight:600;line-height:1.35}.detail-updated-label{color:var(--color-text-muted)!important;font-size:.74rem!important;font-weight:640!important}.detail-smart-label{align-items:center;gap:var(--space-2);border-radius:var(--radius-pill);width:fit-content;color:var(--tone);background:var(--tone-soft);box-shadow:none;padding:5px 8px;display:inline-flex}.detail-hero-meta{flex-wrap:wrap;gap:6px;margin-top:2px;display:flex}.detail-hero-pill{min-height:26px;padding:4px var(--space-2);border-radius:var(--radius-pill);color:var(--color-text-muted);background:#ffffffc2;border:1px solid #dfe7f2db;align-items:center;font-size:.72rem;font-weight:760;display:inline-flex}.detail-section{gap:var(--space-2);padding:14px var(--space-4);border-radius:var(--radius-md);background:#ffffffdb;border:1px solid #dfe7f2e0;display:grid;box-shadow:0 6px 16px #0f203d09}.detail-section h3{color:var(--color-text);margin:0;font-size:.92rem;font-weight:820}.detail-list{gap:5px;margin:0;display:grid}.detail-row{gap:var(--space-3);grid-template-columns:minmax(76px,.36fr) minmax(0,1fr);align-items:baseline;padding:4px 0;display:grid}.detail-row dt,.detail-row dd{margin:0}.detail-row dt{color:var(--color-text-soft);letter-spacing:.01em;font-size:.72rem;font-weight:780}.detail-row dd{color:var(--color-text);overflow-wrap:anywhere;font-size:.88rem;font-weight:690}.detail-schedule-section{background:linear-gradient(90deg,#075eea14,#0000 42%),#ffffffe6;border-color:#075eea2e;position:relative}.protected-details-section{background:linear-gradient(90deg,#075eea14,#0000 48%),#ffffffeb;border-color:#075eea33}.protected-details-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.protected-details-heading p,.protected-details-empty{color:var(--color-text-muted);margin:0;font-size:.75rem;font-weight:650;line-height:1.4}.protected-details-heading svg{color:#075eea;flex:none}.protected-detail-list dd{font-family:var(--font-body)}.protected-detail-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.protected-detail-actions .primary-button,.protected-detail-actions .secondary-button,.protected-detail-actions .text-danger-button{min-height:38px;padding-inline:var(--space-3);font-size:.8rem}.protected-detail-error{margin:0}.attachments-section{background:linear-gradient(90deg,#0ea66b14,#0000 48%),#ffffffeb;border-color:#0ea66b33}.attachments-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.attachments-heading p,.attachments-empty,.attachments-toolbar span,.attachment-message{color:var(--color-text-muted);margin:0;font-size:.75rem;font-weight:650;line-height:1.4}.attachments-heading svg{color:var(--color-success);flex:none}.attachments-toolbar{gap:var(--space-2);display:grid}.attachment-add-button{width:100%;min-height:40px}.attachment-file-input{display:none}.attachment-message{align-items:center;gap:var(--space-2);display:flex}.attachment-message-success{color:#08764e}.attachments-list{gap:var(--space-2);display:grid}.attachment-row{align-items:center;gap:var(--space-2);min-width:0;padding:var(--space-2);border-radius:var(--radius-md);background:#ffffffd1;border:1px solid #dfe7f2e6;grid-template-columns:minmax(0,1fr) auto;display:grid}.attachment-main{align-items:center;gap:var(--space-2);grid-template-columns:42px minmax(0,1fr);min-width:0;display:grid}.attachment-icon{border-radius:var(--radius-pill);width:36px;height:36px;color:var(--color-primary);background:var(--color-primary-soft);place-items:center;display:grid}.attachment-thumbnail{border-radius:var(--radius-md);width:42px;height:42px;color:var(--color-primary);background:var(--color-primary-soft);box-shadow:none;cursor:pointer;border:1px solid #075eea29;place-items:center;display:grid;position:relative}.attachment-thumbnail svg+svg{border-radius:var(--radius-pill);color:#fff;background:var(--color-primary);width:14px;height:14px;padding:2px;position:absolute;bottom:4px;right:4px}.attachment-thumbnail img{object-fit:cover;border-radius:calc(var(--radius-md) - 1px);width:100%;height:100%}.attachment-thumbnail img+svg{border-radius:var(--radius-pill);color:#fff;background:var(--color-primary);width:14px;height:14px;padding:2px;position:absolute;bottom:4px;right:4px}.attachment-thumbnail:disabled{cursor:default;opacity:.72}.attachment-copy{gap:2px;min-width:0;display:grid}.attachment-copy strong,.attachment-copy span,.attachment-copy small{overflow-wrap:anywhere;min-width:0;line-height:1.25}.attachment-copy strong{color:var(--color-text);font-size:.82rem;font-weight:780}.attachment-copy span{color:var(--color-text-muted);font-size:.7rem;font-weight:620}.attachment-status{border-radius:var(--radius-pill);width:fit-content;padding:3px 7px;font-size:.65rem;font-weight:800}.attachment-status-available{color:#08764e;background:var(--color-success-soft)}.attachment-status-scanning{color:var(--color-primary);background:var(--color-primary-soft)}.attachment-status-failed{color:var(--color-danger);background:var(--color-danger-soft)}.attachment-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px;display:flex}.attachment-preview-button{border-radius:var(--radius-md);min-height:34px;padding:0 10px;font-size:.72rem;font-weight:780}.attachment-action-button{width:34px;min-height:34px;color:var(--color-primary);background:var(--color-surface-muted);box-shadow:none;flex:0 0 34px}.attachment-delete-action{color:var(--color-danger);background:var(--color-danger-soft)}@media (width<=560px){.attachment-row{grid-template-columns:1fr}.attachment-actions{justify-content:flex-start}}.attachment-preview-backdrop{z-index:1400;padding:var(--space-3);background:#0a1221c7;place-items:center;display:grid;position:fixed;inset:0}.attachment-preview-shell{border-radius:var(--radius-md);background:#fff;grid-template-rows:auto minmax(0,1fr);width:min(1040px,100%);height:min(760px,100%);display:grid;overflow:hidden;box-shadow:0 24px 80px #00000057}.attachment-preview-header{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3);border-bottom:1px solid #dfe7f2eb;display:flex}.attachment-preview-header h3,.attachment-preview-header p{margin:0}.attachment-preview-header h3{color:var(--color-text);overflow-wrap:anywhere;font-size:.94rem;font-weight:820}.attachment-preview-stage{min-height:0;padding:var(--space-3);background:#f4f7fb;place-items:center;display:grid}.attachment-preview-state{color:var(--color-text-muted);margin:0;font-size:.84rem;font-weight:700}.attachment-preview-image{object-fit:contain;border-radius:var(--radius-sm);background:#fff;max-width:100%;max-height:100%}.attachment-preview-frame{border-radius:var(--radius-sm);background:#fff;border:0;width:100%;height:100%}.detail-schedule-section:before{content:"";inset:var(--space-4) auto var(--space-4) 0;border-radius:0 var(--radius-pill) var(--radius-pill) 0;background:var(--color-primary);width:4px;position:absolute}.detail-schedule-section .detail-row:first-child dd{color:var(--color-primary);font-size:.96rem;font-weight:820}.detail-note{padding:var(--space-3);border-radius:var(--radius-sm);color:var(--color-text-muted);background:var(--color-surface-muted);white-space:pre-line;border:1px solid #dfe7f2db;margin:0;font-size:.86rem;font-weight:560;line-height:1.45}.detail-actions{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.reminder-detail-actions{gap:10px}.detail-actions .secondary-button,.detail-actions .primary-button,.detail-actions .small-outline-button{border-radius:10px;width:100%;min-height:44px}.detail-delete-button{width:auto;min-height:40px;padding-inline:var(--space-4);color:var(--color-danger);grid-column:1/-1;justify-self:center;font-size:.82rem}.confirm-dialog-backdrop{z-index:1500;padding:var(--space-5);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0b142675;place-items:center;display:grid;position:fixed;inset:0}.confirm-dialog{gap:var(--space-3);width:min(100%,390px);padding:var(--space-5);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-modal);border:1px solid #dfe7f2f2;display:grid}.confirm-dialog-header{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.confirm-dialog-icon{border-radius:var(--radius-pill);width:42px;height:42px;color:var(--color-danger);background:var(--color-danger-soft);place-items:center;display:grid}.confirm-dialog h2,.confirm-dialog p{margin:0}.confirm-dialog h2{color:var(--color-text);font-family:var(--font-brand);font-size:1.16rem;font-weight:820}.confirm-dialog p{color:var(--color-text-muted);font-size:.92rem;font-weight:560;line-height:1.45}.confirm-dialog-actions{gap:var(--space-2);margin-top:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.confirm-dialog-actions .danger-button{color:#fff;border-color:var(--color-danger);background:var(--color-danger);min-height:48px;box-shadow:0 10px 20px #ef3d4838}.alerts-empty-card p{margin:0}.settings-push-card{background:#fff}.settings-push-status-pill{border-radius:var(--radius-pill);white-space:nowrap;justify-self:end;padding:5px 9px;font-size:.68rem;font-weight:800;line-height:1.1}.settings-push-status-pill-enabled{color:#08764e;background:var(--color-success-soft)}.settings-push-status-pill-blocked{color:var(--color-danger);background:var(--color-danger-soft)}.settings-push-status-pill-disabled{color:var(--color-text-muted);background:var(--color-surface-muted)}.settings-push-summary{padding:var(--space-3);border-radius:var(--radius-md);background:var(--color-surface-muted);gap:4px;display:grid}.settings-push-summary strong{color:var(--color-text);font-size:.86rem;font-weight:760;line-height:1.35}.settings-push-summary span{color:var(--color-text-muted);font-size:.74rem;font-weight:620;line-height:1.35}.settings-push-note,.settings-push-error,.settings-push-message{padding:0 var(--space-1);margin:0;font-size:.72rem;font-weight:620;line-height:1.4}.settings-push-note{color:var(--color-text-muted)}.settings-push-error{color:var(--color-danger)}.settings-push-message{color:#08764e}.settings-push-inline-message{justify-content:space-between;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);display:flex}.settings-push-inline-message span{min-width:0}.settings-push-error.settings-push-inline-message{background:var(--color-danger-soft)}.settings-push-message.settings-push-inline-message{background:var(--color-success-soft)}.settings-push-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.settings-push-button{flex:190px}.settings-push-advanced{border-top:1px solid var(--color-border);padding-top:var(--space-2)}.settings-push-advanced summary{cursor:pointer;color:var(--color-text-muted);font-size:.74rem;font-weight:760}.settings-push-advanced-list{margin-top:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-border);gap:1px;display:grid;overflow:hidden}.settings-push-advanced-row{justify-content:space-between;align-items:center;gap:var(--space-3);min-width:0;padding:var(--space-2) var(--space-3);background:var(--color-surface);display:flex}.settings-push-advanced-row span{color:var(--color-text-soft);font-size:.68rem;font-weight:760}.settings-push-advanced-row strong{color:var(--color-text);text-align:right;overflow-wrap:anywhere;font-size:.76rem;font-weight:720;line-height:1.35}.settings-calendar-card{background:#fff}.settings-calendar-summary{background:#f7fbff}.settings-calendar-details{margin-top:0}.settings-calendar-picker{gap:var(--space-2);padding:var(--space-3);border-radius:var(--radius-md);background:#fbfdff;border:1px solid #075eea29;display:grid}.settings-calendar-picker label{gap:var(--space-2);min-width:0;display:grid}.settings-calendar-picker label>span{color:var(--color-text-soft);font-size:.7rem;font-weight:760}.settings-calendar-picker small{color:var(--color-text-muted);font-size:.72rem;line-height:1.4}.settings-calendar-select-row{gap:var(--space-2);flex-wrap:wrap;min-width:0;display:flex}.settings-calendar-select{border:1px solid var(--color-border-strong);border-radius:var(--radius-md);min-width:min(100%,220px);min-height:42px;padding:0 var(--space-3);color:var(--color-text);background:var(--color-surface);font:inherit;flex:240px;font-size:.88rem}.settings-calendar-save-button{flex:none;min-height:42px}.detail-calendar-sync-section{background:linear-gradient(#f7fbfff5,#ffffffe6);border-color:#075eea2e}.detail-calendar-sync-summary{align-items:start;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);color:var(--color-primary);background:var(--color-primary-soft);grid-template-columns:32px minmax(0,1fr);display:grid}.detail-calendar-sync-summary div{gap:3px;min-width:0;display:grid}.detail-calendar-sync-summary strong{color:var(--color-text);overflow-wrap:anywhere;font-size:.86rem;font-weight:780;line-height:1.3}.detail-calendar-sync-summary span{color:var(--color-text-muted);overflow-wrap:anywhere;font-size:.74rem;font-weight:620;line-height:1.35}.detail-calendar-sync-button{width:100%;margin-top:var(--space-1)}.detail-header-title-row{align-items:flex-start;gap:var(--space-2);min-width:0;display:flex}.detail-back-button{flex-basis:40px;width:40px;min-height:40px;margin-top:-3px}.linked-items-section{gap:var(--space-3)}.linked-items-tab-section{box-shadow:none;background:0 0;border:0;padding:0}.linked-items-staged-section{background:#ffffffe6}.linked-items-tab-section .linked-overview{margin-top:var(--space-1)}.linked-group-add-button{width:auto;min-height:30px;padding:0 var(--space-2);font-size:.7rem}.linked-items-header,.linked-items-group-header{justify-content:space-between;align-items:flex-start;gap:var(--space-3);min-width:0;display:flex}.linked-items-header div{min-width:0}.linked-items-header p{color:var(--color-text-muted);margin:4px 0 0;font-size:.76rem;font-weight:620;line-height:1.35}.linked-items-add-button{flex:none}.linked-overview{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.linked-overview span{min-width:0;padding:var(--space-2);border-radius:var(--radius-md);color:var(--color-text-muted);background:var(--color-surface-muted);text-align:center;border:1px solid #dfe7f2eb;justify-items:center;gap:3px;font-size:.64rem;font-weight:720;line-height:1.2;display:grid}.linked-overview strong{color:var(--color-text);font-family:var(--font-brand);font-size:1rem;font-weight:850;line-height:1}.linked-items-state{color:var(--color-text-muted);margin:0;font-size:.78rem;font-weight:620;line-height:1.4}.linked-items-error{margin:0}.linked-items-empty-state{justify-items:center;gap:var(--space-3);padding:var(--space-5) var(--space-3);border-radius:var(--radius-md);color:var(--color-text-muted);text-align:center;background:#f7fbff;border:1px dashed #075eea3d;display:grid}.linked-items-empty-state svg{color:var(--color-primary)}.linked-items-empty-state p{margin:0;font-size:.82rem;font-weight:680}.linked-items-group{gap:var(--space-2);display:grid}.linked-items-group+.linked-items-group{padding-top:var(--space-1)}.linked-items-group-header h4{color:var(--color-text);margin:0;font-size:.78rem;font-weight:840}.linked-items-group-header span{border-radius:var(--radius-pill);min-width:24px;min-height:24px;color:var(--color-primary);background:var(--color-primary-soft);place-items:center;font-size:.68rem;font-weight:820;display:inline-grid}.linked-items-list{gap:var(--space-2);display:grid}.linked-item-card{align-items:center;gap:var(--space-2);min-width:0;padding:var(--space-2);border-radius:var(--radius-md);background:var(--color-surface);border:1px solid #dfe7f2eb;grid-template-columns:minmax(0,1fr) auto;display:grid;box-shadow:0 6px 18px #0f203d0e}.linked-item-main{align-items:center;gap:var(--space-3);min-width:0;min-height:44px;color:inherit;text-align:left;cursor:pointer;background:0 0;grid-template-columns:40px minmax(0,1fr) auto;padding:0;display:grid}.linked-item-main:disabled,.linked-item-main-static{cursor:default}.linked-item-icon{border-radius:var(--radius-pill);width:40px;height:40px;color:var(--tone);background:var(--tone-soft);flex:0 0 40px;place-items:center;display:grid}.linked-item-copy{gap:2px;min-width:0;display:grid}.linked-item-copy strong,.linked-item-copy span{overflow-wrap:anywhere;min-width:0}.linked-item-copy strong{color:var(--color-text);font-size:.84rem;font-weight:820;line-height:1.25}.linked-item-copy span{color:var(--color-text-muted);font-size:.7rem;font-weight:650;line-height:1.3}.linked-item-chevron{color:var(--color-text-soft)}.linked-item-remove-button{width:44px;min-height:44px;color:var(--color-danger);background:var(--color-danger-soft);box-shadow:none;flex-basis:44px}.linked-item-actions{align-items:center;gap:var(--space-1);display:inline-flex}.linked-item-edit-button,.linked-item-remove-button{width:40px;min-height:40px;box-shadow:none;flex-basis:40px}.linked-item-edit-button{color:var(--color-primary);background:var(--color-primary-soft)}.linked-picker-dialog{grid-template-rows:auto minmax(0,1fr)}.linked-picker-header{align-items:flex-start}.linked-picker-title-row{align-items:flex-start;gap:var(--space-2);min-width:0;display:flex}.linked-picker-back{flex-basis:40px;width:40px;min-height:40px;margin-top:-3px}.linked-picker-body,.linked-picker-type-options,.linked-picker-select-step,.linked-picker-relationship-step{gap:var(--space-3);align-content:start;display:grid}.linked-picker-body{padding-top:var(--space-2)}.linked-picker-type-card{align-items:center;gap:var(--space-2);min-width:0;min-height:76px;padding:10px var(--space-3);border-radius:var(--radius-md);color:inherit;background:var(--color-surface);box-shadow:none;cursor:pointer;text-align:left;border:1px solid #dfe7f2f0;grid-template-columns:42px minmax(0,1fr) auto;display:grid}.linked-picker-type-icon{border-radius:var(--radius-pill);place-items:center;width:40px;height:40px;display:grid}.linked-picker-record-icon{color:var(--color-primary);background:var(--color-primary-soft)}.linked-picker-reminder-icon{color:#7c3aed;background:#f0e8ff}.linked-picker-document-icon{color:#0f766e;background:#dff7f2}.linked-picker-type-card span:not(.linked-picker-type-icon){gap:3px;min-width:0;display:grid}.linked-picker-type-card strong{color:var(--color-text);font-size:.86rem;font-weight:820;line-height:1.25}.linked-picker-type-card small,.linked-picker-footnote,.linked-picker-label-field small{color:var(--color-text-muted);font-size:.72rem;font-weight:620;line-height:1.35}.linked-picker-search{align-items:center;gap:var(--space-2);min-width:0;min-height:50px;padding:0 var(--space-3);border:1px solid var(--color-border);color:var(--color-text-muted);background:var(--color-surface-muted);border-radius:13px;grid-template-columns:auto minmax(0,1fr);display:grid;box-shadow:inset 0 1px #ffffffb8}.linked-picker-search input{width:100%;height:48px;min-height:48px;color:var(--color-text);background:0 0;border:0;font-size:16px;line-height:48px}.linked-picker-candidate-list{gap:var(--space-2);display:grid}.linked-picker-candidate{align-items:center;gap:var(--space-3);min-width:0;min-height:64px;padding:var(--space-2);border-radius:var(--radius-md);color:inherit;background:var(--color-surface);cursor:pointer;text-align:left;border:1px solid #dfe7f2eb;grid-template-columns:40px minmax(0,1fr) auto;display:grid}.linked-picker-candidate span:not(.linked-item-icon){gap:2px;min-width:0;display:grid}.linked-picker-candidate strong,.linked-picker-candidate small{overflow-wrap:anywhere;min-width:0}.linked-picker-candidate strong{color:var(--color-text);font-size:.84rem;font-weight:820;line-height:1.25}.linked-picker-candidate small{color:var(--color-text-muted);font-size:.7rem;font-weight:650;line-height:1.3}.linked-picker-empty{padding:var(--space-4);border-radius:var(--radius-md);text-align:center;background:#f7fbff;border:1px dashed #075eea3d}.linked-picker-selected-item{align-items:center;gap:var(--space-3);min-width:0;padding:10px var(--space-3);border-radius:var(--radius-md);background:#f7fbff;border:1px solid #075eea2e;grid-template-columns:40px minmax(0,1fr);display:grid}.linked-picker-selected-item div{gap:2px;min-width:0;display:grid}.linked-picker-selected-item strong,.linked-picker-selected-item span{overflow-wrap:anywhere;min-width:0}.linked-picker-selected-item strong{color:var(--color-text);font-size:.9rem;font-weight:840}.linked-picker-selected-item span{color:var(--color-text-muted);font-size:.72rem;font-weight:680}.linked-relationship-options{background:0 0;border:0;gap:0;margin:0;padding:0;display:grid;overflow:visible}.linked-relationship-options legend{margin:0 0 var(--space-2);color:var(--color-text);padding:0;font-size:.82rem;font-weight:820;line-height:1.25}.linked-relationship-options label{align-items:center;gap:var(--space-2);min-height:44px;padding:0 var(--space-3);border:1px solid var(--color-border);background:var(--color-surface);cursor:pointer;border-bottom:0;grid-template-columns:auto minmax(0,1fr);display:grid}.linked-relationship-options label:first-of-type{border-radius:var(--radius-md) var(--radius-md) 0 0}.linked-relationship-options label:last-of-type{border-bottom:1px solid var(--color-border);border-radius:0 0 var(--radius-md) var(--radius-md)}.linked-relationship-options input{width:16px;height:16px;accent-color:var(--color-primary)}.linked-relationship-options span{color:var(--color-text);font-size:.82rem;font-weight:690}.linked-picker-label-field{gap:5px;display:grid;position:relative}.linked-picker-label-field input{width:100%;height:50px;min-height:50px;padding:0 54px 0 var(--space-3);border:1px solid var(--color-border);color:var(--color-text);background-color:var(--color-surface-muted);appearance:none;border-radius:13px;font-size:16px;font-weight:500;line-height:50px;box-shadow:inset 0 1px #ffffffb8}.linked-picker-label-field>span{color:var(--color-text-soft);font-size:.7rem;font-weight:760}.linked-picker-label-field small{right:var(--space-3);position:absolute;bottom:14px}.linked-picker-relationship-step .primary-button{min-height:52px;margin-top:var(--space-1);border-radius:14px}.record-detail-tabs,.record-form-tabs{background:0 0;border:0;border-bottom:1px solid #c8d4e6e6;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0;display:grid}.record-detail-tabs,.record-form-tabs-three{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-hero+.record-detail-tabs{margin-top:var(--space-2)}.record-detail-tab,.record-form-tab{min-width:0;min-height:44px;padding:0 var(--space-2);color:var(--color-text-muted);cursor:pointer;text-align:center;background:0 0;border-radius:0;justify-content:center;align-items:center;font-size:.76rem;font-weight:780;line-height:1.15;display:inline-flex;position:relative}.record-detail-tab:after,.record-form-tab:after{content:"";border-radius:var(--radius-pill) var(--radius-pill) 0 0;background:0 0;height:2px;position:absolute;bottom:-1px;left:18%;right:18%}.record-detail-tab.active,.record-form-tab.active{color:var(--color-primary);box-shadow:none;background:0 0;border:0}.record-detail-tab.active:after,.record-form-tab.active:after{background:var(--color-primary)}.record-detail-tab:focus-visible,.record-form-tab:focus-visible{outline-offset:-4px;outline:2px solid #075eea47}.record-tab-panel,.record-form-tab-panel{gap:var(--space-4);display:grid}.record-tab-panel[hidden],.record-form-tab-panel[hidden]{display:none!important}.record-form-tab-panel{gap:var(--space-3)}.record-documents-unavailable{align-content:center;justify-items:center;gap:var(--space-3);min-height:280px;padding:var(--space-6) var(--space-4);border-radius:var(--radius-md);color:var(--color-text-muted);text-align:center;background:#f7fbff;border:1px dashed #075eea47;display:grid}.record-documents-unavailable svg{color:var(--color-primary)}.record-documents-unavailable h3,.record-documents-unavailable p{margin:0}.record-documents-unavailable h3{color:var(--color-text);font-size:.98rem;font-weight:840}.record-documents-unavailable p{max-width:28ch;font-size:.8rem;font-weight:620;line-height:1.4}.documents-panel{gap:var(--space-3);display:grid}.documents-panel-header{gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-md);background:linear-gradient(135deg,#fff 0%,#eef6ff 100%);border:1px solid #dfe7f2eb;grid-template-columns:minmax(0,1fr);display:grid;box-shadow:0 8px 22px #0f203d0f}.documents-title-lockup{align-items:start;gap:var(--space-3);grid-template-columns:40px minmax(0,1fr);min-width:0;display:grid}.documents-title-icon{border-radius:var(--radius-pill);color:#08764e;background:var(--color-success-soft);place-items:center;width:40px;height:40px;display:grid}.documents-title-lockup h3,.documents-title-lockup p{margin:0}.documents-title-lockup h3{color:var(--color-text);font-family:var(--font-brand);font-size:1.02rem;font-weight:850;line-height:1.15}.documents-title-lockup p{color:var(--color-text-muted);margin-top:4px;font-size:.78rem;font-weight:630;line-height:1.35}.documents-add-button{width:100%;min-height:42px}.documents-meta-strip{gap:var(--space-2);flex-wrap:wrap;display:flex}.documents-meta-strip span{border-radius:var(--radius-pill);min-height:28px;color:var(--color-text-muted);background:var(--color-surface-muted);align-items:center;padding:4px 9px;font-size:.7rem;font-weight:780;display:inline-flex}.document-inline-message{align-items:center;gap:var(--space-2);margin:0;font-size:.76rem;font-weight:680;line-height:1.4;display:flex}.document-inline-message-success{color:#08764e}.documents-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.document-card{border-radius:var(--radius-md);background:var(--color-surface);border:1px solid #dfe7f2eb;grid-template-rows:minmax(0,1fr) auto;min-width:0;display:grid;overflow:hidden;box-shadow:0 8px 22px #0f203d12}.document-card-warning{background:snow;border-color:#ef3d4833}.document-card-targeted{border-color:var(--accent);box-shadow:0 0 0 3px #2f6b5729}.document-card-open{gap:var(--space-2);min-width:0;padding:var(--space-2);color:inherit;cursor:pointer;text-align:left;background:0 0;display:grid;position:relative}.document-card-open:not(:disabled):not(.document-card-static):hover{background:#f8fbff}.document-card-static,.document-card-open:disabled{cursor:default}.document-thumbnail{aspect-ratio:4/3;border-radius:var(--radius-md);width:100%;color:var(--color-primary);background:#f4f8ff;border:1px solid #c8d4e6c7;place-items:center;display:grid;position:relative;overflow:hidden}.document-thumbnail img,.document-pdf-thumbnail-canvas,.document-pdf-thumbnail-canvas canvas{width:100%;height:100%}.document-thumbnail img{object-fit:cover;display:block}.document-thumbnail-pdf{background:#eef4fb}.document-pdf-thumbnail-canvas{place-items:center;display:grid;position:relative;overflow:hidden}.document-pdf-thumbnail-canvas canvas{object-fit:contain;background:#fff;display:block}.document-pdf-thumbnail-loading canvas,.document-pdf-thumbnail-idle canvas,.document-pdf-thumbnail-error canvas{opacity:0}.document-thumbnail-skeleton,.document-thumbnail-loading:before,.document-card-skeleton:before{content:"";background:linear-gradient(90deg,#eef3f8 0%,#f8fbff 48%,#eef3f8 100%) 0 0/220% 100%;animation:1.4s ease-in-out infinite document-skeleton;position:absolute;inset:0}.document-thumbnail-muted{color:var(--color-primary);background:var(--color-primary-soft)}.document-thumbnail-failed{color:var(--color-danger);background:var(--color-danger-soft)}.document-file-type-pill{color:#fff;background:var(--color-danger);border-radius:6px;align-items:center;min-height:21px;padding:3px 7px;font-size:.6rem;font-weight:850;line-height:1;display:inline-flex;position:absolute;bottom:7px;left:7px}.document-preview-cue{right:var(--space-3);top:var(--space-3);border-radius:var(--radius-pill);color:#fff;background:#075eeaeb;place-items:center;width:26px;height:26px;display:grid;position:absolute;box-shadow:0 8px 18px #075eea38}.document-card-copy{gap:4px;min-width:0;display:grid}.document-card-copy strong,.document-card-copy span,.document-card-copy small{overflow-wrap:anywhere;min-width:0;line-height:1.24}.document-card-copy strong{color:var(--color-text);font-size:.82rem;font-weight:820}.document-card-copy span{color:var(--color-text-muted);font-size:.7rem;font-weight:640}.document-status{border-radius:var(--radius-pill);align-items:center;gap:4px;width:fit-content;max-width:100%;min-height:24px;padding:4px 7px;font-size:.63rem;font-weight:830;display:inline-flex}.document-status-available{color:#08764e;background:var(--color-success-soft)}.document-status-scanning{color:var(--color-primary);background:var(--color-primary-soft)}.document-status-failed{color:var(--color-danger);background:var(--color-danger-soft)}.document-card-actions{justify-content:flex-end;gap:var(--space-2);padding:0 var(--space-2) var(--space-2);display:flex}.document-action-button{width:44px;min-height:44px;color:var(--color-primary);background:var(--color-surface-muted);box-shadow:none;flex:0 0 44px}.document-delete-button{color:var(--color-danger);background:var(--color-danger-soft)}.documents-empty-state{justify-items:center;gap:var(--space-3);padding:var(--space-6) var(--space-4);border-radius:var(--radius-md);color:var(--color-text-muted);text-align:center;background:#f7fbff;border:1px dashed #075eea3d;display:grid}.documents-empty-state svg{color:var(--color-primary)}.documents-empty-state strong,.documents-empty-state p{margin:0}.documents-empty-state strong{color:var(--color-text);font-size:.94rem;font-weight:840}.documents-empty-state p{margin-top:4px;font-size:.76rem;font-weight:620;line-height:1.35}.document-card-skeleton{background:#f8fbff;min-height:210px;position:relative}@keyframes document-skeleton{0%{background-position:120% 0}to{background-position:-120% 0}}.attachment-preview-backdrop{z-index:1400;background:#0a1221d1;place-items:center;padding:0;display:grid;position:fixed;inset:0}.attachment-preview-shell{background:#fff;border-radius:0;grid-template-rows:auto auto minmax(0,1fr);width:100%;height:100dvh;display:grid;overflow:hidden;box-shadow:0 24px 80px #00000057}.attachment-preview-header{align-items:center;gap:var(--space-3);min-width:0;padding:calc(var(--space-3) + env(safe-area-inset-top)) var(--space-3) var(--space-3);background:#fffffffa;border-bottom:1px solid #dfe7f2eb;grid-template-columns:minmax(0,1fr) 44px;display:grid}.attachment-preview-header h3,.attachment-preview-header p{overflow-wrap:anywhere;min-width:0;margin:0}.attachment-preview-header h3{color:var(--color-text);font-size:.94rem;font-weight:850;line-height:1.18}.attachment-preview-header p{color:var(--color-text-muted);margin-top:3px;font-size:.72rem;font-weight:680}.attachment-preview-toolbar{justify-content:space-between;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);background:#f8fbff;border-bottom:1px solid #dfe7f2e6;flex-wrap:wrap;display:flex}.attachment-page-controls,.attachment-zoom-controls{align-items:center;gap:var(--space-2);display:flex}.attachment-page-controls span{min-width:58px;color:var(--color-text-muted);text-align:center;font-size:.72rem;font-weight:800}.attachment-preview-tool-button{width:40px;min-height:40px;color:var(--color-primary);background:#fff;flex:0 0 40px;box-shadow:0 6px 16px #0f203d0f}.attachment-preview-tool-button:disabled{cursor:not-allowed;color:var(--color-text-soft);opacity:.72;background:#eef3f8}.attachment-preview-stage{min-width:0;min-height:0;padding:var(--space-3);overscroll-behavior:contain;background:#edf2f8;display:block;overflow:auto}.attachment-preview-state{color:var(--color-text-muted);text-align:center;margin:0;font-size:.84rem;font-weight:720}.attachment-pdf-viewer{justify-content:center;align-items:flex-start;width:100%;min-height:100%;display:flex;position:relative}.attachment-pdf-canvas{border-radius:var(--radius-sm);background:#fff;max-width:none;display:block;box-shadow:0 12px 30px #0f203d2e}.attachment-render-state{top:var(--space-4);z-index:1;border-radius:var(--radius-pill);background:#ffffffeb;padding:7px 10px;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 8px 18px #0f203d1f}.attachment-image-viewer{place-items:center;width:100%;min-height:100%;display:grid;overflow:auto}.attachment-preview-image{object-fit:contain;border-radius:var(--radius-sm);transform-origin:50%;background:#fff;max-width:100%;max-height:calc(100dvh - 190px);transition:transform .12s;display:block}@media (width>=460px){.documents-panel-header{grid-template-columns:minmax(0,1fr) auto;align-items:center}.documents-add-button{width:auto;min-width:136px}}@media (width>=720px){.attachment-preview-backdrop{padding:var(--space-4)}.attachment-preview-shell{border-radius:var(--radius-md);width:min(100%,720px);height:min(100dvh - 32px,900px)}}@media (width<=380px){.documents-grid{grid-template-columns:1fr}.attachment-preview-toolbar{justify-content:center}}.dynamic-fields-section,.record-progressive-section,.reminder-progressive-section{gap:var(--space-3);display:grid}.dynamic-fields-heading{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.dynamic-fields-heading span{min-height:24px;padding:3px var(--space-2);border-radius:var(--radius-pill);color:var(--color-text-muted);background:var(--color-surface-muted);align-items:center;font-size:.68rem;font-weight:780;display:inline-flex}.dynamic-field-row dd{gap:var(--space-2);display:grid}.dynamic-field-row a{color:var(--color-primary);overflow-wrap:anywhere;text-decoration:none}.dynamic-field-row a:focus-visible,.dynamic-field-row a:hover{text-decoration:underline}.dynamic-field-actions,.protected-detail-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.dynamic-field-actions .small-outline-button,.dynamic-field-remove{min-height:34px}.dynamic-field-remove{width:36px;height:36px}.masked-field-value{font-family:var(--font-body);letter-spacing:.08em}.dynamic-add-field-button,.add-field-save-button{width:100%;min-height:44px}.add-field-dialog{grid-template-rows:auto minmax(0,1fr)}.add-field-header,.add-field-title-row,.add-field-selected-summary{align-items:center;gap:var(--space-3);display:flex}.add-field-title-row{min-width:0}.add-field-body,.add-field-form,.add-field-suggestions{gap:var(--space-3);align-content:start;display:grid}.add-field-mode-tabs{border-radius:var(--radius-md);border:1px solid #c8d4e6e6;grid-template-columns:repeat(2,minmax(0,1fr));min-height:44px;display:grid;overflow:hidden}.add-field-mode-tabs button{min-height:44px;color:var(--color-text-muted);background:#ffffffbd;font-size:.8rem;font-weight:780}.add-field-mode-tabs button.active{color:var(--color-primary);background:#eef5ff}.add-field-list-heading{color:var(--color-text);margin:0;font-size:.76rem;font-weight:780;line-height:1.25}.add-field-suggestion{align-items:center;gap:var(--space-3);min-height:72px;padding:var(--space-3);border-radius:var(--radius-md);color:var(--color-text);text-align:left;background:#ffffffe6;border:1px solid #dfe7f2e6;grid-template-columns:auto minmax(0,1fr) auto;display:grid}.add-field-suggestion span:nth-child(2),.add-field-selected-summary div{gap:2px;min-width:0;display:grid}.add-field-suggestion strong,.add-field-selected-summary strong{overflow-wrap:anywhere;font-size:.9rem}.add-field-suggestion small,.add-field-selected-summary small{color:var(--color-text-muted);font-size:.72rem;font-weight:650;line-height:1.35}.add-field-suggestion-icon{border-radius:var(--radius-md);width:34px;height:34px;color:var(--color-primary);background:#eef5ff;justify-content:center;align-items:center;display:inline-flex}.add-field-empty{align-content:center;justify-items:center;gap:var(--space-3);min-height:124px;color:var(--color-text-muted);text-align:center;display:grid}.add-field-empty p{margin:0;font-size:.84rem;font-weight:680}.field-toggle-label{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:44px;display:flex}.field-toggle-label input[type=checkbox]{width:20px;height:20px}.record-progressive-section,.reminder-progressive-section{padding:var(--space-3);border-radius:var(--radius-md);background:#ffffffe6;border:1px solid #dfe7f2e0}.record-collapsible-section,.reminder-collapsible-section{align-content:start}.record-collapsible-section summary,.reminder-collapsible-section summary{min-height:44px;color:var(--color-text);cursor:pointer;align-items:center;font-size:.88rem;font-weight:820;list-style-position:inside;display:flex}.record-collapsible-section[open] summary{margin-bottom:0}.record-collapsible-section[open]>summary+*{margin-top:-12px}.record-collapsible-section[open]>label+label{margin-top:var(--space-3)}.record-suggested-fields{gap:var(--space-2);flex-wrap:wrap;display:flex}.record-suggested-fields .small-outline-button{min-height:36px}.reminder-essentials-section .form-section-heading,.record-essentials-section .form-section-heading{color:var(--color-text);font-size:.88rem;font-weight:820}.reminder-progressive-section .maintenance-details-section,.reminder-progressive-section .renewal-details-section,.reminder-progressive-section .birthday-details-section{box-shadow:none;background:0 0;border:0;padding:0}@media (width<=520px){.detail-row.dynamic-field-row{grid-template-columns:minmax(0,1fr);gap:2px}.dynamic-field-actions .small-outline-button{flex:auto}}.record-form-dialog,.reminder-form-dialog,.add-field-dialog{grid-template-rows:auto minmax(0,1fr)}.record-form-dialog .sheet-header,.reminder-form-dialog .sheet-header,.add-field-dialog .sheet-header{min-height:0;padding:14px var(--space-5) 10px;border-bottom:1px solid #dfe7f2b8;align-items:center}.record-form-dialog .sheet-header>div,.reminder-form-dialog .sheet-header>div,.add-field-dialog .sheet-header>div{min-width:0}.record-form-dialog .sheet-header h2,.reminder-form-dialog .sheet-header h2,.add-field-dialog .sheet-header h2{overflow-wrap:anywhere;font-size:1.04rem;line-height:1.18}.record-form-dialog .sheet-header p,.reminder-form-dialog .sheet-header p,.add-field-dialog .sheet-header p{margin-top:3px;font-size:.74rem;line-height:1.25}.record-form-dialog .sheet-body,.reminder-form-dialog .sheet-body,.add-field-dialog .sheet-body{padding-top:var(--space-2);padding-bottom:max(var(--space-4), env(safe-area-inset-bottom))}.record-form,.reminder-form,.record-form-tab-panel,.add-field-body,.add-field-form,.add-field-suggestions{gap:var(--space-2)}.record-form-tab-panel{align-content:start;display:grid}.record-form-tabs{margin-bottom:var(--space-1)}.record-form-tab,.record-detail-tab{min-height:42px}.record-progressive-section,.reminder-progressive-section{gap:var(--space-2);box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.record-essentials-section,.reminder-essentials-section{padding-bottom:var(--space-2);border-bottom:1px solid #dfe7f2c7}.record-collapsible-section,.reminder-collapsible-section{border-bottom:1px solid #dfe7f2c7}.record-collapsible-section[open]{padding-bottom:var(--space-3)}.record-collapsible-section summary,.reminder-collapsible-section summary{min-height:46px;color:var(--color-text);justify-content:space-between;padding:0;font-size:.82rem;font-weight:780;list-style:none}.record-collapsible-section summary::-webkit-details-marker{display:none}.reminder-collapsible-section summary::-webkit-details-marker{display:none}.record-collapsible-section summary::marker{content:""}.reminder-collapsible-section summary::marker{content:""}.record-collapsible-section summary:after,.reminder-collapsible-section summary:after{content:"";width:8px;height:8px;margin-left:var(--space-3);border-right:2px solid var(--color-text-soft);border-bottom:2px solid var(--color-text-soft);transition:transform .16s;transform:rotate(-45deg)}.record-collapsible-section[open] summary,.reminder-collapsible-section[open] summary{margin-bottom:var(--space-2)}.record-collapsible-section[open] summary:after,.reminder-collapsible-section[open] summary:after{transform:rotate(45deg)}.record-essentials-section .form-section-heading,.reminder-essentials-section .form-section-heading{color:var(--color-text-soft);letter-spacing:.04em;text-transform:uppercase;font-size:.68rem;font-weight:820}.record-form-grid,.record-form .form-row,.reminder-form .form-row,.add-field-form .form-row{gap:var(--space-2);grid-template-columns:minmax(0,1fr)}.reminder-form label,.add-field-form label{gap:5px;font-size:.74rem}.reminder-form input,.reminder-form select,.add-field-dialog input,.add-field-dialog select{height:50px;min-height:50px;padding:0 var(--space-3);border-radius:13px;line-height:50px}.reminder-form textarea,.add-field-dialog textarea{min-height:88px;padding:10px var(--space-3);border-radius:13px}.add-field-dialog input,.add-field-dialog select,.add-field-dialog textarea{border:1px solid var(--color-border);width:100%;color:var(--color-text);background-color:var(--color-surface-muted);appearance:none;font-size:16px;font-weight:500;box-shadow:inset 0 1px #ffffffb8}.add-field-dialog select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2352647f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:18px 18px;padding-right:40px}.reminder-form input[type=date]::-webkit-date-and-time-value{height:50px}.reminder-form input[type=time]::-webkit-date-and-time-value{height:50px}.record-form-type-row{background:0 0;border-top:1px solid #dfe7f2b8;border-bottom:1px solid #dfe7f2b8;border-radius:0;min-height:44px;padding:0}.record-suggested-fields{gap:var(--space-2);padding-top:var(--space-1);padding-bottom:var(--space-3)}.record-suggested-fields .small-outline-button,.dynamic-field-actions .small-outline-button{border-radius:12px;min-height:34px}.reminder-progressive-section .maintenance-details-section,.reminder-progressive-section .renewal-details-section,.reminder-progressive-section .birthday-details-section{gap:var(--space-2);background:0 0;border:0;padding:0}.birthday-helper-text,.renewal-helper-text,.maintenance-helper-text{font-size:.72rem;line-height:1.35}.birthday-preview,.renewal-preview,.maintenance-preview{padding:10px var(--space-3);border-radius:13px}.reminder-form>.reminder-essentials-section{order:1}.reminder-form>.reminder-smart-details-section{order:2}.reminder-form>.primary-button,.reminder-form>.modal-actions{order:3}.reminder-form>.reminder-collapsible-section:not(.reminder-smart-details-section){order:4}.reminder-form>.reminder-template-action{order:5}.record-form-tab-panel>.primary-button,.record-form-footer .primary-button,.reminder-form-footer .primary-button,.reminder-form>.primary-button,.reminder-form>.modal-actions .primary-button,.add-field-save-button{border-radius:14px;width:100%;min-height:52px}.modal-actions{gap:var(--space-2)}.text-link-button{justify-content:center;align-items:center;gap:var(--space-2);min-height:40px;color:var(--color-primary);background:0 0;border:0;font-size:.8rem;font-weight:760;display:inline-flex}.text-link-button:hover,.text-link-button:focus-visible{color:var(--color-primary-dark);text-decoration:underline}.reminder-template-action{justify-self:center}.add-field-mode-tabs{background:#f7faff;border:1px solid #c8d4e6eb;border-radius:12px;height:40px;min-height:40px;padding:2px;box-shadow:inset 0 1px 2px #0f203d0a}.add-field-mode-tabs button{height:34px;min-height:34px;color:var(--color-text-muted);background:0 0;border-radius:10px;font-size:.76rem;font-weight:760}.add-field-mode-tabs button.active{color:var(--color-primary);background:var(--color-surface);box-shadow:0 1px 4px #0f203d14}.add-field-mode-tabs button:focus-visible{outline-offset:-2px;outline:2px solid #075eea3d}.add-field-suggestion{min-height:72px;padding:10px var(--space-3);box-shadow:none;border-radius:13px}.add-field-suggestion:hover,.add-field-suggestion:focus-visible{background:#f8fbff;border-color:#075eea5c}.add-field-suggestion-icon{border-radius:11px;width:32px;height:32px}.add-field-selected-summary{min-height:56px;padding:0 0 var(--space-2);border-bottom:1px solid #dfe7f2c7}.add-field-empty{min-height:124px}.field-toggle-label{background:0 0;border:0;min-height:54px;padding:0}.field-toggle-label>span{gap:2px;min-width:0;display:grid}.field-toggle-label strong{color:var(--color-text);font-size:.84rem;font-weight:760}.field-toggle-label small{color:var(--color-text-muted);font-size:.72rem;font-weight:560;line-height:1.35}.privacy-toggle{border-radius:var(--radius-pill);background:#d8e2ee;border:0;flex:none;justify-content:flex-start;align-items:center;width:52px;height:32px;padding:3px;transition:background-color .16s;display:inline-flex}.privacy-toggle span{background:#fff;border-radius:50%;width:26px;height:26px;transition:transform .16s;transform:translate(0);box-shadow:0 2px 7px #0f203d33}.privacy-toggle.active{background:var(--color-primary)}.privacy-toggle.active span{transform:translate(20px)}.privacy-toggle:focus-visible{outline-offset:2px;outline:3px solid #075eea33}@media (width>=680px){.birthday-details-section .form-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=760px){.record-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.record-form-dialog .sheet-header,.reminder-form-dialog .sheet-header,.add-field-dialog .sheet-header,.record-form-dialog .sheet-body,.reminder-form-dialog .sheet-body,.add-field-dialog .sheet-body{padding-right:var(--space-4);padding-left:var(--space-4)}}.action-center-panel{box-shadow:none;background:0 0;border:0;border-radius:0;overflow:visible}.action-center-panel .section-heading{padding:var(--space-2) 0;border-bottom:0}.action-center-panel .filter-tabs{margin-left:0;margin-right:0;padding-left:0;padding-right:0}.action-center-panel .reminder-type-tabs{padding-bottom:var(--space-2)}.action-center-heading p{color:var(--color-text-muted);margin:3px 0 0;font-size:.76rem;font-weight:560;line-height:1.35}.action-center-groups{gap:var(--space-3);padding:0;display:grid}.action-center-group{gap:var(--space-2);display:grid}.action-center-group-heading{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:28px;padding:0;display:flex}.action-center-group .reminder-list{padding-bottom:0}.action-center-group-heading h3{color:var(--color-text);font-size:.84rem;font-weight:820}.action-center-group-heading span{border-radius:var(--radius-pill);min-width:24px;height:24px;color:var(--color-text-muted);background:var(--color-surface-muted);place-items:center;padding:0 8px;font-size:.68rem;font-weight:820;display:grid}.action-center-group-overdue .action-center-group-heading span{color:var(--color-danger);background:var(--color-danger-soft)}.action-center-group-today .action-center-group-heading span,.action-center-group-soon .action-center-group-heading span,.status-urgent{color:var(--color-warning);background:var(--color-warning-soft)}.status-upcoming,.status-scheduled{color:var(--color-primary);background:var(--color-primary-soft)}.reminder-owner-line{color:var(--color-text-soft);overflow-wrap:anywhere;margin:0;font-size:.72rem;font-weight:650;line-height:1.3}.lifecycle-actions-section,.lifecycle-history-section,.record-reminder-section{gap:var(--space-3)}.lifecycle-action-grid{gap:var(--space-3);display:grid}.lifecycle-action-panel{gap:var(--space-2);padding:var(--space-3);border-radius:var(--radius-sm);background:#f8fbff;border:1px solid #dfe7f2db;display:grid}.lifecycle-action-panel strong,.record-reminder-history h4{color:var(--color-text);font-size:.84rem;font-weight:820}.lifecycle-action-panel p,.record-reminder-header p{color:var(--color-text-muted);margin:0;font-size:.74rem;font-weight:560;line-height:1.35}.lifecycle-button-row{gap:var(--space-2);flex-wrap:wrap;display:flex}.lifecycle-date-field{color:var(--color-text-muted);gap:5px;font-size:.72rem;font-weight:760;display:grid}.lifecycle-date-field input{min-height:42px;color:var(--color-text);font:inherit;background:#fff;border:1px solid #c8d4e6eb;border-radius:10px;padding:0 11px}.lifecycle-renew-button{border-radius:10px;width:100%;min-height:42px}.lifecycle-history-list,.record-reminder-history ol{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}.lifecycle-history-list li,.record-reminder-history li{gap:var(--space-2);border-top:1px solid #dfe7f2c7;grid-template-columns:minmax(0,1fr) auto;padding:10px 0;display:grid}.record-reminder-history li{grid-template-columns:18px minmax(0,1fr) auto;align-items:start}.lifecycle-history-list strong,.lifecycle-history-list span,.lifecycle-history-list time,.record-reminder-history strong,.record-reminder-history small,.record-reminder-history time{overflow-wrap:anywhere;min-width:0}.lifecycle-history-list strong,.record-reminder-history strong{color:var(--color-text);font-size:.78rem;font-weight:800}.lifecycle-history-list span,.record-reminder-history small{color:var(--color-text-muted);font-size:.72rem;font-weight:560;line-height:1.35}.lifecycle-history-list time,.record-reminder-history time{color:var(--color-text-soft);white-space:nowrap;font-size:.68rem;font-weight:720}.record-reminder-header{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.record-reminder-header>div{min-width:0}.record-reminder-stats{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.record-reminder-stats div{min-width:0;padding:var(--space-2);border-radius:var(--radius-sm);background:#fff;border:1px solid #dfe7f2db;gap:3px;display:grid}.record-reminder-stats span{color:var(--color-text-muted);font-size:.66rem;font-weight:760}.record-reminder-stats strong{color:var(--color-text);overflow-wrap:anywhere;font-size:.82rem;font-weight:820}.record-reminder-list{gap:var(--space-2);display:grid}.record-reminder-row{align-items:center;gap:var(--space-2);border-radius:var(--radius-sm);min-width:0;min-height:54px;color:inherit;text-align:left;background:#fff;border:1px solid #dfe7f2db;grid-template-columns:32px minmax(0,1fr) auto;padding:9px 10px;display:grid}.record-reminder-row-icon{width:32px;height:32px;color:var(--color-primary);background:var(--color-primary-soft);border-radius:10px;place-items:center;display:grid}.record-reminder-row-copy{gap:2px;min-width:0;display:grid}.record-reminder-row-copy strong,.record-reminder-row-copy span{overflow-wrap:anywhere;min-width:0}.record-reminder-row-copy strong{color:var(--color-text);font-size:.8rem;font-weight:800}.record-reminder-row-copy span{color:var(--color-text-muted);font-size:.7rem;font-weight:600}.record-reminder-row-action{color:var(--color-primary);white-space:nowrap;align-items:center;gap:3px;font-size:.7rem;font-weight:820;display:inline-flex}@media (width>=680px){.lifecycle-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.record-reminder-stats{grid-template-columns:1fr}.record-reminder-row{grid-template-columns:32px minmax(0,1fr)}.record-reminder-row-action{grid-column:2}}.search-view{gap:var(--space-4);display:grid}.search-toolbar,.search-section-header,.search-sort-row,.search-sheet-header{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.search-toolbar h2,.search-panel h3,.search-filter-section h3{color:var(--color-text);margin:0}.search-toolbar h2{font-size:1.42rem;line-height:1.12}.search-toolbar p,.search-muted,.search-loading{color:var(--color-text-muted);margin:0;font-size:.82rem}.search-form{gap:var(--space-2);grid-template-columns:minmax(0,1fr) 42px;display:grid}.search-input-shell{align-items:center;gap:var(--space-2);min-height:44px;padding:0 var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text-muted);background:#fff;grid-template-columns:auto minmax(0,1fr) auto;display:grid}.search-input-shell input{width:100%;color:var(--color-text);background:0 0;border:0;outline:none;font-size:16px}.search-input-shell button,.search-filter-button,.text-button{color:var(--color-text-muted);cursor:pointer;background:0 0;place-items:center;display:inline-grid}.search-filter-button{border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;min-height:44px}.search-filter-button.active,.search-chip.active,.search-filter-tile.active{color:var(--color-primary);background:var(--color-primary-soft);border-color:#075eea57}.search-chip-row{gap:var(--space-2);scrollbar-width:none;display:flex;overflow-x:auto}.search-chip-row::-webkit-scrollbar{display:none}.search-chip-row-wrap{flex-wrap:wrap;overflow:visible}.search-chip{min-height:34px;padding:0 var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-pill);color:var(--color-text-muted);cursor:pointer;background:#fff;flex:none;align-items:center;gap:6px;font-size:.78rem;font-weight:700;display:inline-flex}.search-sort-row{min-height:36px;color:var(--color-text-muted);font-size:.78rem}.search-sort-row label{border:1px solid var(--color-border);border-radius:var(--radius-pill);background:#fff;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.search-sort-row select{min-height:32px;color:var(--color-primary);background:0 0;border:0;font-size:.78rem;font-weight:700}.search-error{padding:var(--space-3);border:1px solid var(--color-danger-soft);border-radius:var(--radius-md);color:var(--color-danger);background:#fff6f6;margin:0;font-size:.84rem}.search-start-state,.search-results,.saved-view-list{gap:var(--space-3);display:grid}.search-panel{gap:var(--space-2);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;display:grid}.search-panel h3,.search-filter-section h3{font-size:.86rem}.text-button{min-height:30px;color:var(--color-primary);padding:0;font-size:.78rem;font-weight:800}.recent-search-row,.saved-view-row>button:first-child,.search-result-card button{text-align:left;cursor:pointer;background:0 0;align-items:center;width:100%;min-width:0;display:grid}.recent-search-row{gap:var(--space-2);min-height:38px;color:var(--color-text);grid-template-columns:auto minmax(0,1fr) auto}.recent-search-row-with-remove{align-items:center;gap:var(--space-1);grid-template-columns:minmax(0,1fr) auto;display:grid}.recent-search-setting{margin-bottom:var(--space-2)}.recent-search-row span,.saved-view-row span,.search-result-copy strong,.search-result-copy span,.search-result-copy small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.recent-search-row small{color:var(--color-text-soft);font-size:.72rem}.search-result-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;box-shadow:0 7px 18px #0f203d0d}.search-result-card button{gap:var(--space-3);padding:var(--space-3);color:inherit;grid-template-columns:42px minmax(0,1fr) auto}.search-result-icon{border-radius:var(--radius-md);width:42px;height:42px;color:var(--color-primary);background:var(--color-primary-soft);place-items:center;display:grid}.search-result-icon.type-document{color:#2563eb;background:#eaf1ff}.search-result-icon.type-reminder{color:#d97706;background:#fff4dc}.search-result-copy{gap:2px;min-width:0;display:grid}.search-result-kicker{align-items:center;gap:var(--space-2);color:var(--color-text-muted);text-transform:uppercase;font-size:.72rem;font-weight:800;display:flex}.search-result-kicker em{border-radius:var(--radius-pill);color:var(--color-success);background:var(--color-success-soft);text-transform:none;padding:1px 7px;font-style:normal}.search-result-copy strong{color:var(--color-text);font-size:.94rem}.search-result-copy span,.search-result-copy small{color:var(--color-text-muted);font-size:.78rem}.search-result-context{color:var(--color-primary)!important}.search-load-more{justify-self:center}.search-empty-state{align-content:center;place-items:center;gap:var(--space-3);min-height:280px;color:var(--color-text-muted);text-align:center;display:grid}.search-empty-state strong{color:var(--color-text)}.search-sheet-backdrop{z-index:70;background:#0a182e47;align-items:end;display:grid;position:fixed;inset:0}.search-filter-sheet{gap:var(--space-4);width:min(100%,480px);max-height:min(82vh,680px);padding:var(--space-4) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));box-shadow:var(--shadow-modal);background:#fff;border-radius:18px 18px 0 0;justify-self:center;display:grid;overflow-y:auto}.search-sheet-header{min-height:36px}.search-filter-section{gap:var(--space-3);display:grid}.search-filter-grid{gap:var(--space-2);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.search-filter-tile{min-width:0;min-height:68px;padding:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text-muted);cursor:pointer;background:#fff;align-content:center;place-items:center;gap:6px;font-size:.72rem;font-weight:700;display:grid}.search-toggle-row{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:46px;padding:0 var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);display:flex}.search-toggle-row span{align-items:center;gap:var(--space-2);font-size:.84rem;font-weight:700;display:inline-flex}.search-toggle-row input{width:22px;height:22px;accent-color:var(--color-primary)}.search-apply-button{min-height:46px}.saved-view-form{gap:var(--space-3);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);display:grid}.saved-view-form label{color:var(--color-text-muted);gap:6px;font-size:.76rem;font-weight:800;display:grid}.saved-view-form input{min-height:42px;padding:0 var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);background:#fff;font-size:16px}.saved-view-row{align-items:center;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;grid-template-columns:minmax(0,1fr) 38px;display:grid}.saved-view-row>button:first-child{gap:var(--space-2);min-height:54px;padding:0 0 0 var(--space-3);color:var(--color-text);grid-template-columns:auto minmax(0,1fr) auto}.saved-view-row small{color:var(--color-text-muted);font-size:.72rem;display:block}@media (width>=760px){.search-sheet-backdrop{align-items:center}.search-filter-sheet{border-radius:var(--radius-sheet)}}@media (width<=768px){input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px}}.record-workflow-stages{gap:.45rem;margin:.7rem 0 0;padding:0;list-style:none;display:grid}.record-workflow-stages li{border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:.65rem;justify-content:space-between;gap:1rem;padding:.55rem .7rem;display:flex}.add-option-group{gap:var(--space-2);display:grid}.add-option-group+.add-option-group{margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--color-border)}.add-option-group>h3{color:var(--color-text-muted);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.76rem;font-weight:800}.record-detail-tabs-four,.record-detail-tabs-five{overscroll-behavior-inline:contain;scrollbar-width:none;max-width:100%;display:flex;overflow-x:auto}.record-detail-tabs-four::-webkit-scrollbar{display:none}.record-detail-tabs-five::-webkit-scrollbar{display:none}.record-detail-tabs-four .record-detail-tab,.record-detail-tabs-five .record-detail-tab{white-space:nowrap;flex:1 0 auto;min-width:92px}.app-loading{min-height:180px;color:var(--color-text-muted);place-items:center;font-weight:720;display:grid}.lifecycle-action-form,.lifecycle-review,.lifecycle-review-list,.responsibility-history-copy,.responsibility-history-documents{gap:var(--space-3);display:grid}.lifecycle-action-footer{justify-content:space-between;gap:var(--space-3);width:100%;display:flex}.lifecycle-review-heading,.lifecycle-evidence-heading,.responsibility-history-title-row{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.lifecycle-review-heading>span{min-width:38px;min-height:38px;color:var(--color-primary);background:var(--color-primary-soft);border-radius:50%;place-items:center;display:grid}.lifecycle-review-heading h3,.lifecycle-review-heading p,.lifecycle-evidence-heading h3,.lifecycle-evidence-heading p,.responsibility-history-heading h3,.responsibility-history-heading p,.responsibility-history-copy p,.lifecycle-review-list{margin:0}.lifecycle-review-list>div{gap:var(--space-3);padding:var(--space-2) 0;border-top:1px solid var(--color-border);grid-template-columns:minmax(110px,.8fr) minmax(0,1.3fr);display:grid}.lifecycle-review-list dt{color:var(--color-text-muted);font-weight:680}.lifecycle-review-list dd{overflow-wrap:anywhere;margin:0}.responsibility-history-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.responsibility-history-list>li{gap:var(--space-2);padding:var(--space-3) 0;border-top:1px solid var(--color-border);grid-template-columns:28px minmax(0,1fr);display:grid}.responsibility-history-icon{width:28px;height:28px;color:var(--color-primary);background:var(--color-primary-soft);border-radius:50%;place-items:center;display:grid}.responsibility-history-title-row time,.history-document-status{color:var(--color-text-muted);font-size:.74rem}.responsibility-history-note{padding:var(--space-2);border-radius:var(--radius-sm);background:var(--color-surface-muted)}.responsibility-history-note span{color:var(--color-text-soft);text-transform:uppercase;font-size:.68rem;font-weight:800;display:block}.history-reminder-link{width:fit-content;color:var(--color-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:760}.history-load-more{justify-self:start}.history-reconciliation{gap:var(--space-2);padding:var(--space-3);border-radius:var(--radius-sm);background:var(--color-warning-soft);border:1px solid #bb730f4d;display:grid}.history-reconciliation p{margin:0}.history-reconciliation button{justify-self:start}.history-loading-announcement:empty{display:none}@media (width<=340px){.responsibility-history-title-row,.lifecycle-review-heading,.lifecycle-evidence-heading{flex-direction:column}.lifecycle-review-list>div{grid-template-columns:1fr;gap:3px}}.home-first-item-card{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-md);background:linear-gradient(135deg,#e8f1ffe0,#fffffffa);border:1px solid #075eea2e;display:flex}.home-first-item-card h2,.home-first-item-card p{margin:0}.home-first-item-card p{margin-top:var(--space-1);color:var(--color-text-muted);line-height:1.45}.home-first-item-card .primary-button{flex:none}.record-suggested-detail-section,.record-custom-detail-section{gap:var(--space-2);display:grid}.suggested-detail-input{gap:4px;display:grid}.staged-detail-list{gap:var(--space-1);display:grid}.staged-detail-row{align-items:center;gap:var(--space-1);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);min-width:0;display:flex}.staged-detail-main{min-width:0;padding:var(--space-2) var(--space-3);text-align:left;background:0 0;flex:1;gap:2px;display:grid}.staged-detail-main strong,.staged-detail-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.staged-detail-main span{color:var(--color-text-muted);font-size:.78rem}.responsibility-suggestions{gap:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--color-border);display:grid}.responsibility-suggestions h4{margin:0}.responsibility-suggestions>div{gap:var(--space-2);flex-wrap:wrap;display:flex}.linked-picker-default-relationship{padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);color:var(--color-text-muted);background:var(--color-surface-subtle);margin:0}.linked-relationship-advanced{border-top:1px solid var(--color-border);padding-top:var(--space-2)}.linked-relationship-advanced>summary{min-height:44px;color:var(--color-primary);cursor:pointer;align-items:center;font-weight:750;display:flex}.linked-relationship-advanced[open]{gap:var(--space-2);display:grid}@media (width<=520px){.home-first-item-card{flex-direction:column;align-items:stretch}.home-first-item-card .primary-button{width:100%}}.guided-workflow-dialog{width:min(680px,100vw)}.guided-workflow-body,.guided-step,.guided-step-content,.guided-fields,.guided-schedule,.guided-review,.guided-completion{gap:var(--space-4);align-content:start;display:grid}.guided-progress{gap:var(--space-2);grid-template-columns:repeat(5,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid}.guided-progress li{color:var(--color-text-muted);text-align:center;align-content:start;justify-items:center;gap:5px;display:grid}.guided-progress li>span{border:1px solid var(--color-border);background:var(--color-surface);border-radius:50%;place-items:center;width:28px;height:28px;font-size:.78rem;font-weight:800;display:grid}.guided-progress-short-label{display:none}.guided-progress li.active,.guided-progress li.complete{color:var(--color-primary)}.guided-progress li.active>span,.guided-progress li.complete>span{border-color:var(--color-primary);color:#fff;background:var(--color-primary)}.guided-step>h3{outline:none;margin:0}.guided-step-content>label,.guided-field>label,.guided-schedule>label,.guided-schedule .form-row>label{gap:var(--space-2);color:var(--color-text);font-weight:700;display:grid}.guided-step-content label small,.guided-field label small,.guided-document-step small{color:var(--color-text-muted);font-weight:500}.guided-item-mode{gap:var(--space-2);border-radius:var(--radius-md);background:var(--color-surface-subtle);grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;display:grid}.guided-item-mode button{border-radius:calc(var(--radius-md) - 2px);min-height:44px;color:var(--color-text-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;font-weight:750}.guided-item-mode button.active{border-color:var(--color-border);color:var(--color-primary);background:var(--color-surface);box-shadow:0 2px 8px #0f172a14}.guided-existing-items{gap:var(--space-2);display:grid}.guided-existing-items>button{align-items:center;gap:var(--space-3);min-height:58px;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);background:var(--color-surface);text-align:left;cursor:pointer;display:flex}.guided-existing-items>button.active{border-color:var(--color-primary);box-shadow:0 0 0 2px color-mix(in srgb, var(--color-primary) 15%, transparent)}.guided-existing-items>button>span:nth-child(2){flex:1;gap:2px;min-width:0;display:grid}.guided-existing-items small{color:var(--color-text-muted)}.guided-field{gap:var(--space-2);display:grid}.guided-protected-existing,.guided-advice-note,.guided-review-relationship,.guided-review-skip{padding:var(--space-3);border-radius:var(--radius-md);color:var(--color-text-muted);background:var(--color-surface-subtle);margin:0}.guided-protected-existing{align-items:center;gap:var(--space-2);display:flex}.guided-conflict{gap:var(--space-2);padding:var(--space-3);border:1px solid var(--color-warning);border-radius:var(--radius-md);background:var(--color-warning-soft);display:grid}.guided-conflict p,.guided-schedule p,.guided-document-step p,.guided-completion p,.home-guided-starts p,.guided-responsibility-suggestions p{color:var(--color-text-muted);margin:0}.guided-conflict>div,.guided-workflow-footer-actions,.guided-completion-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.guided-conflict .small-outline-button.active{border-color:var(--color-primary);color:var(--color-primary)}.guided-schedule,.guided-document-step,.guided-review-group{padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface)}.guided-schedule h4,.guided-document-step h4,.guided-review-group h4,.guided-completion h3{margin:0}.guided-document-step{gap:var(--space-3);display:grid}.guided-document-icon,.guided-completion-icon{width:46px;height:46px;color:var(--color-primary);background:var(--color-primary-soft);border-radius:50%;place-items:center;display:grid}.guided-document-file{align-items:center;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);display:flex}.guided-document-file>span{flex:1;min-width:0;display:grid}.guided-review-group dl,.guided-review-group dl>div{margin:0}.guided-review-group dl>div{gap:var(--space-3);padding:var(--space-2) 0;grid-template-columns:minmax(120px,.8fr) minmax(0,1.4fr);display:grid}.guided-review-group dt{color:var(--color-text-muted)}.guided-review-group dd{overflow-wrap:anywhere;margin:0}.guided-workflow-footer-actions{justify-content:space-between;width:100%}.guided-completion.complete .guided-completion-icon{color:var(--color-success);background:var(--color-success-soft)}.guided-completion.partial .guided-completion-icon{color:var(--color-warning);background:var(--color-warning-soft)}.home-guided-starts .home-card-header>div{gap:4px;display:grid}.home-guided-start-grid{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.home-guided-start-grid button{align-items:center;gap:var(--space-2);min-height:50px;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);background:var(--color-surface);text-align:left;cursor:pointer;display:flex}.home-guided-start-grid button span{flex:1;min-width:0;font-weight:700}.guided-responsibility-suggestions>p{font-size:.84rem}@media (width<=520px){.guided-progress{gap:3px}.guided-progress small{font-size:.65rem}.guided-item-mode,.home-guided-start-grid{grid-template-columns:1fr}.guided-workflow-footer-actions .primary-button,.guided-completion-actions>button{flex:1}}@media (width<=340px){.guided-progress-full-label{display:none}.guided-progress-short-label{display:inline}}.account-data-card{gap:1rem;display:grid}.account-action-panel{border:1px solid var(--border-color,#d9e0e7);background:var(--surface-subtle,#f8fafb);border-radius:14px;gap:.75rem;padding:1rem;display:grid}.account-action-panel h4,.account-action-panel p{margin:0}.account-protected-option{cursor:pointer;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.7rem;display:grid}.account-protected-option input{width:1.15rem;height:1.15rem;margin-top:.15rem}.account-protected-option span{gap:.2rem;display:grid}.account-protected-option small,.account-flow-status,.account-support-note{color:var(--muted-text,#5d6874)}.account-sensitive-warning,.account-flow-error{border-radius:10px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.6rem;padding:.75rem;display:grid}.account-sensitive-warning{color:#714b00;background:#fff5d6}.account-flow-error{color:#8b1e1e;background:#fff0f0}.account-flow-error span{grid-column:1/-1}.account-action-row,.account-confirm-actions{flex-wrap:wrap;gap:.65rem;display:flex}.danger-secondary-button,.danger-button{min-height:44px;font:inherit;border-radius:10px;justify-content:center;align-items:center;gap:.45rem;padding:.7rem 1rem;font-weight:700;display:inline-flex}.danger-secondary-button{color:#992c2c;background:0 0;border:1px solid #b63a3a}.danger-button{color:#fff;background:#a92f2f;border:1px solid #9d2929}.danger-button:disabled,.danger-secondary-button:disabled{cursor:not-allowed;opacity:.55}.account-confirm-backdrop{z-index:1200;padding:max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));background:#141c2494;place-items:center;display:grid;position:fixed;inset:0}.account-confirm-dialog{background:#fff;border-radius:16px;gap:.85rem;width:min(100%,32rem);max-height:min(90dvh,42rem);padding:1.25rem;display:grid;position:relative;overflow:auto;box-shadow:0 24px 70px #00000040}.account-confirm-dialog h3,.account-confirm-dialog p{margin:0}.account-confirm-dialog input{box-sizing:border-box;width:100%;min-height:44px;font:inherit;border:1px solid #9aa6b2;border-radius:9px;padding:.65rem .75rem}.account-confirm-close{position:absolute;top:.65rem;right:.65rem}.account-confirm-actions{justify-content:flex-end}@media (width<=430px){.account-action-panel{padding:.85rem}.account-action-row>*,.account-confirm-actions>*{width:100%}.account-confirm-actions{flex-direction:column-reverse}}
