:root{--bg:#f4f6fb;--surface:#ffffff;--surface-muted:#eef2f8;--border:#e2e8f0;--border-strong:#cbd5e1;--text:#0f172a;--text-muted:#64748b;--text-subtle:#94a3b8;--primary:#2563eb;--primary-hover:#1d4ed8;--primary-soft:#eff6ff;--accent:#06b6d4;--danger:#dc2626;--danger-soft:#fef2f2;--warn:#d97706;--ok:#16a34a;--radius:12px;--radius-sm:8px;--shadow-sm:0 1px 2px rgba(15,23,42,0.06);--shadow:0 1px 3px rgba(15,23,42,0.1),0 1px 2px rgba(15,23,42,0.06);--shadow-md:0 4px 12px rgba(15,23,42,0.08);--sidebar-w:248px;--font:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Pretendard","Malgun Gothic","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}*{box-sizing:border-box}body,html{margin:0;padding:0}body{background:var(--bg);font-family:var(--font);font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body,h1,h2,h3,h4{color:var(--text)}h1,h2,h3,h4{line-height:1.25;margin:0 0 .5em;font-weight:700;letter-spacing:-.01em}h1{font-size:1.25rem}h2{font-size:1.5rem}h3{font-size:1.05rem}p{margin:0 0 .75em}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}ul{margin:0;padding:0;list-style:none}strong{font-weight:700}button{font:inherit;cursor:pointer;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);padding:.45rem .85rem;border-radius:var(--radius-sm);transition:background .12s ease,border-color .12s ease,box-shadow .12s ease}button:hover{background:var(--surface-muted);border-color:var(--text-subtle)}button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}.btn-primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}.btn-secondary{background:var(--surface);color:var(--text);font-weight:600}.btn-secondary:hover{background:var(--surface-muted);border-color:var(--text-subtle)}.cc-entry-actions{flex-wrap:wrap}.cc-entry-actions label{display:inline-flex;align-items:center;justify-content:center;min-height:2.15rem;padding:.45rem .85rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);font-weight:600;line-height:1.2;cursor:pointer}.cc-entry-actions label.btn-secondary{background:var(--surface);color:var(--text)}.cc-entry-actions [aria-disabled=true]{opacity:.55;cursor:not-allowed}.undo-toast{position:fixed;left:50%;bottom:1.5rem;transform:translateX(-50%);z-index:1000;display:flex;align-items:center;gap:.85rem;padding:.7rem 1.1rem;border-radius:var(--radius-sm);background:#1f2937;color:#f9fafb;box-shadow:0 8px 24px rgba(0,0,0,.25);font-size:.9rem}.undo-toast-action{background:transparent;border:none;color:#93c5fd;font-weight:700;padding:.1rem .2rem;cursor:pointer}.undo-toast-action:hover{color:#bfdbfe;background:transparent;text-decoration:underline}.undo-toast-error{background:var(--danger);color:#fff}.global-search{position:relative;margin:.5rem 0 .75rem}.global-search-input{width:100%;font:inherit;padding:.45rem .65rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text)}.global-search-input:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.global-search-results{position:absolute;top:calc(100% + .25rem);left:0;right:0;z-index:900;max-height:22rem;overflow-y:auto;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:0 10px 28px rgba(0,0,0,.18);padding:.3rem}.global-search-empty{margin:0;padding:.5rem .6rem;font-size:.85rem;color:var(--text-muted)}.global-search-item{display:flex;align-items:center;gap:.55rem;width:100%;text-align:left;border:none;background:transparent;padding:.45rem .55rem;border-radius:var(--radius-sm);cursor:pointer}.global-search-item:hover{background:var(--surface-muted)}.global-search-badge{flex:none;font-size:.7rem;font-weight:700;color:var(--primary);background:var(--primary-soft,#eff6ff);border-radius:999px;padding:.1rem .45rem}.global-search-text{display:flex;flex-direction:column;min-width:0}.global-search-title{font-size:.88rem;color:var(--text)}.global-search-sub,.global-search-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.global-search-sub{font-size:.74rem;color:var(--text-muted)}.app-shell{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-w);flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);padding:1.25rem 1rem;position:-webkit-sticky;position:sticky;top:0;align-self:flex-start;height:100vh;overflow:hidden;display:flex;flex-direction:column}.sidebar .nav{flex:1 1 auto;min-height:0;overflow-y:auto}.brand{font-size:1.2rem;font-weight:800;letter-spacing:-.02em;margin:0 0 .25rem;padding:0 .5rem}.brand:before{content:"❄ ";color:var(--accent)}.sidebar p{font-size:.8rem;color:var(--text-muted);padding:0 .5rem;margin:0 0 1rem}.sidebar p button{padding:.15rem .5rem;font-size:.75rem}.nav{display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:.6rem;padding:.5rem .65rem;border-radius:var(--radius-sm);color:var(--text-muted);font-weight:500;font-size:.9rem}.nav-item-label{min-width:0}.nav-icon{flex:0 0 auto;color:var(--text-subtle)}.nav .nav-group-label{display:block;margin-top:1rem;padding:.75rem .65rem .2rem;border-radius:0;color:var(--text-subtle);font-size:.65rem;font-weight:600;letter-spacing:.08em;line-height:1;text-transform:uppercase}a.nav-item:hover{background:var(--primary-soft);text-decoration:none}a.nav-item:hover,a.nav-item:hover .nav-icon,a.nav-item[aria-current=page] .nav-icon{color:var(--primary)}a.nav-item[aria-current=page]{background:var(--primary-soft);color:var(--primary);font-weight:600}.nav-item[aria-disabled=true]{color:var(--text-subtle);cursor:default}.content{flex:1 1;min-width:0;padding:2rem 2.5rem;max-width:1200px}.content>main>h1,.content>main>h2,.page-header{margin-bottom:1.25rem}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.page-header h2{margin-bottom:.25rem}.page-subtitle{margin:0;color:var(--text-muted);font-size:.9rem}.page-header-actions{display:flex;align-items:center;gap:.5rem}.page-header-actions button:disabled{opacity:.55;cursor:not-allowed}.button-link{display:inline-flex;align-items:center;justify-content:center;min-height:2.15rem;padding:.45rem .85rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-weight:600;line-height:1.2}.button-link:hover{background:var(--surface-muted);border-color:var(--text-subtle);text-decoration:none}.btn-primary.button-link{background:var(--primary);border-color:var(--primary);color:#fff}.btn-primary.button-link:hover{border-color:var(--primary-hover)}.meta-row{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.65rem}.meta-row span{display:inline-flex;align-items:center;min-height:1.65rem;padding:.16rem .55rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font-size:.78rem;font-weight:600}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.search{flex:1 1 220px;max-width:320px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.45rem .75rem}.search::placeholder{color:var(--text-subtle)}.toolbar-count{margin-left:auto;color:var(--text-subtle);font-size:.8rem;font-weight:500;white-space:nowrap}.search:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.filter-chips{display:flex;flex-wrap:wrap;gap:.4rem}.chip{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .7rem;border:1px solid var(--border-strong);border-radius:999px;background:var(--surface);color:var(--text-muted);font-size:.82rem;font-weight:500}.chip:hover{border-color:var(--text-subtle);background:var(--surface-muted)}.chip-active,.chip-active:hover{background:var(--primary-soft);border-color:var(--primary);color:var(--primary);font-weight:600}.chip-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;padding:0 .35rem;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:.72rem;font-weight:600}.chip-active .chip-count{background:var(--primary);color:#fff}.badge{display:inline-flex;align-items:center;padding:.12rem .55rem;border-radius:999px;font-size:.75rem;font-weight:600;line-height:1.4;border:1px solid transparent}.badge-ok{background:#ecfdf5;color:var(--ok);border-color:#bbf7d0}.badge-info{background:var(--primary-soft);color:var(--primary);border-color:#bfdbfe}.badge-warn{background:#fffbeb;color:var(--warn);border-color:#fde68a}.badge-muted{background:var(--surface-muted);color:var(--text-muted);border-color:var(--border-strong)}.badge-danger{background:var(--danger-soft);color:var(--danger);border-color:#fecaca}.overdue-badge{margin-left:.45rem}.due-overdue{color:var(--danger);font-weight:600}tr.row-overdue td:first-child{box-shadow:inset 3px 0 0 0 var(--danger)}.overdue-alert{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem;padding:.8rem 1.05rem;background:var(--danger-soft);border:1px solid #fecaca;border-radius:var(--radius)}.overdue-alert-main{display:flex;align-items:center;gap:.55rem;margin:0;color:var(--danger);font-size:.92rem;font-weight:500}.overdue-alert-main strong{font-weight:800}.overdue-alert-dot{flex-shrink:0;width:.6rem;height:.6rem;border-radius:999px;background:var(--danger);box-shadow:0 0 0 0 rgba(220,38,38,.45);animation:overdue-pulse 1.8s ease-out infinite}@keyframes overdue-pulse{0%{box-shadow:0 0 0 0 rgba(220,38,38,.45)}70%{box-shadow:0 0 0 .5rem rgba(220,38,38,0)}to{box-shadow:0 0 0 0 rgba(220,38,38,0)}}@media (prefers-reduced-motion:reduce){.overdue-alert-dot{animation:none}}.overdue-alert-action{flex-shrink:0;padding:.4rem .9rem;border:1px solid var(--danger);border-radius:var(--radius-sm);background:var(--danger);color:#fff;font:inherit;font-size:.85rem;font-weight:600;text-decoration:none;cursor:pointer}.overdue-alert-action:hover{filter:brightness(.95)}.overdue-alert-action-ghost{background:var(--surface);color:var(--danger)}.chip-overdue{border-color:#fecaca;color:var(--danger)}.chip-overdue:hover{border-color:var(--danger);background:var(--danger-soft)}.chip-overdue.chip-active,.chip-overdue.chip-active:hover{background:var(--danger-soft);border-color:var(--danger);color:var(--danger)}.chip-overdue.chip-active .chip-count{background:var(--danger);color:#fff}.table-empty{text-align:center;color:var(--text-subtle);padding:1.5rem .85rem}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:1rem;gap:1rem;margin-bottom:1.5rem}.stat-grid article{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.1rem;box-shadow:var(--shadow-sm)}.stat-grid article p{margin:0 0 .35rem;color:var(--text-muted);font-size:.82rem;font-weight:500}.stat-grid article strong{font-size:1.9rem;font-weight:800;letter-spacing:-.02em}.stat-grid article .stat-hint{display:block;margin-top:.3rem;color:var(--text-subtle);font-size:.76rem}.kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));grid-gap:1rem;gap:1rem;margin-bottom:1.5rem}.kpi-card{position:relative;min-height:128px;display:flex;flex-direction:column;justify-content:space-between;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.1rem;box-shadow:var(--shadow-sm);overflow:hidden}.kpi-card p{margin:0 0 .35rem;color:var(--text-muted);font-size:.82rem;font-weight:600}.kpi-card strong{display:block;color:var(--text);font-size:1.75rem;font-weight:800;line-height:1.05;letter-spacing:0;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;word-break:keep-all}.kpi-hint{display:block;margin-top:.45rem;color:var(--text-subtle);font-size:.76rem}.kpi-card-accent{background:linear-gradient(135deg,var(--primary-soft) 0,var(--surface) 72%);border-color:var(--border-strong);box-shadow:var(--shadow)}.kpi-card-accent:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,var(--primary) 0,var(--accent) 100%)}.kpi-card-danger{border-color:var(--danger);background:var(--danger-soft)}.kpi-card-danger strong{color:var(--danger)}.dashboard-widget-danger{border-color:var(--danger);box-shadow:inset 3px 0 0 0 var(--danger)}.dashboard-widget-danger .widget-header h3{color:var(--danger)}.overdue-task-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.65rem}.overdue-task-list .overdue-task-row{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:.3rem;padding:.6rem .7rem;border-top:none;border-left:3px solid var(--danger);border-radius:var(--radius-sm);background:var(--danger-soft)}.overdue-task-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.overdue-task-title{margin:0;font-weight:600;color:var(--text)}.overdue-task-sub{margin:0;font-size:.82rem;color:var(--text-muted)}.overdue-task-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;font-size:.85rem}.overdue-task-owner{color:var(--text)}.overdue-task-due{color:var(--danger);font-weight:600}.overdue-task-duenormal{color:var(--text)}.dash-home-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 1.5rem;margin-bottom:1.5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.dash-home-header h2{margin:0}.dash-home-cta{flex-shrink:0;padding:.55rem 1.1rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-weight:600;font-size:.9rem;text-decoration:none;white-space:nowrap}.dash-home-cta:hover{border-color:var(--border-strong)}.dash-today-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1.5rem;gap:1.5rem;margin-bottom:1.5rem}@media (max-width:880px){.dash-today-grid{grid-template-columns:1fr}}.dash-section{margin-bottom:1.5rem}.dash-today-grid .dash-section{margin-bottom:0}.dash-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.dash-section-title{margin:0;font-size:1.15rem}.dash-section-sub{margin:.2rem 0 0;color:var(--text-muted);font-size:.88rem}.dash-section-link{flex-shrink:0;color:var(--primary);font-weight:600;font-size:.88rem;text-decoration:none;white-space:nowrap}.dash-section-body{display:flex;flex-direction:column;min-height:200px;padding:1.25rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.dash-empty{margin:auto;max-width:32rem;padding:1rem;text-align:center}.dash-empty-badge{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:.85rem;border-radius:12px;background:var(--surface-muted);color:var(--text-muted)}.dash-empty-icon{width:22px;height:22px}.dash-empty-title{margin:0 0 .4rem;font-weight:700}.dash-empty-desc{margin:0;color:var(--text-muted);font-size:.88rem;line-height:1.5}.dash-event-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}.dash-event-row{display:flex;align-items:center;gap:.75rem;padding:.55rem .7rem;border-radius:var(--radius-sm);background:var(--surface-muted)}.dash-event-time{flex-shrink:0;min-width:4.5rem;color:var(--primary);font-weight:600;font-size:.85rem}.dash-event-title{color:var(--text)}.dash-upcoming{gap:1.1rem}.dash-upcoming,.dash-upcoming-day{display:flex;flex-direction:column}.dash-upcoming-day{gap:.5rem}.dash-upcoming-date{margin:0;font-weight:700;font-size:.9rem}.dash-mail-list,.dash-project-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}.dash-mail-row,.dash-project-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem .7rem;border-radius:var(--radius-sm);background:var(--surface-muted)}.dash-project-row{flex-wrap:wrap}.dash-project-row.row-overdue{box-shadow:inset 3px 0 0 var(--danger);background:var(--danger-soft)}.dash-project-name{flex:1 1 12rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.dash-project-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;min-width:0;font-size:.85rem}.dash-project-owner{color:var(--text);white-space:nowrap}.dash-project-due{white-space:nowrap}.dash-project-due:not(.due-overdue){color:var(--text-muted)}.dash-mail-main{min-width:0}.dash-mail-subject{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.dash-mail-from{margin:.1rem 0 0}.dash-mail-date,.dash-mail-from{font-size:.82rem;color:var(--text-muted)}.dash-mail-date{flex-shrink:0}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1rem;gap:1rem;align-items:stretch}.dashboard-state{color:var(--text-muted)}.dashboard-widget{min-height:100%;margin-bottom:0;padding:1rem 1.1rem}.widget-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.widget-header h3{margin:0}.widget-link{flex:0 0 auto;border:1px solid var(--border);border-radius:var(--radius-sm);padding:.25rem .55rem;background:var(--primary-soft);color:var(--primary);font-size:.76rem;font-weight:700}.widget-link:hover{border-color:var(--border-strong);background:var(--surface-muted);text-decoration:none}.dashboard-widget>ul li,.widget-list li{min-height:2.4rem;color:var(--text);line-height:1.35}.widget-list .widget-empty,.widget-muted{color:var(--text-subtle)}.widget-muted{margin:0}.mini-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.75rem;gap:.75rem}.mini-metrics div{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);padding:.75rem}.mini-metrics span{display:block;color:var(--text-muted);font-size:.76rem;font-weight:600}.mini-metrics strong{display:block;margin-top:.15rem;color:var(--text);font-size:1.5rem;line-height:1.1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.mini-summary{margin:.7rem 0 0;color:var(--text-subtle);font-size:.8rem}.chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.chart-head h3{margin:0 0 .2rem}.chart-total{font-size:.85rem;font-weight:700;color:var(--primary);white-space:nowrap}.bar-chart{display:flex;gap:.75rem}.bar-chart-axis{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;height:240px;padding-bottom:1.6rem;flex:0 0 auto}.bar-chart-tick{font-size:.7rem;color:var(--text-subtle);line-height:1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.bar-chart-plot{display:flex;align-items:flex-end;gap:.5rem;flex:1 1 auto;min-width:0}.bar-chart-col{display:flex;flex:1 1;min-width:28px;flex-direction:column;align-items:center}.bar-chart-value{font-size:.68rem;font-weight:600;color:var(--text-muted);height:1rem;line-height:1rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.bar-chart-track{display:flex;align-items:flex-end;justify-content:center;width:100%;height:240px}.bar-chart-bar{width:70%;max-width:36px;min-height:2px;border-radius:var(--radius-sm) var(--radius-sm) 0 0;background:linear-gradient(180deg,var(--accent) 0,var(--primary) 100%);box-shadow:var(--shadow-sm);transition:height .2s ease}.bar-chart-bar-empty{background:var(--surface-muted)}.bar-chart-label{margin-top:.5rem;font-size:.72rem;color:var(--text-muted);height:1.1rem;line-height:1.1rem;white-space:nowrap}.filter-bar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}.filter-field{display:inline-flex;align-items:center;gap:.4rem;font-size:.82rem;font-weight:500;color:var(--text-muted)}.filter-field select{font:inherit;font-size:.85rem;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.4rem .6rem}.filter-field select:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.filter-field select:disabled{opacity:.55;cursor:not-allowed}.filter-check{display:inline-flex;align-items:center;gap:.4rem;font-size:.82rem;font-weight:500;color:var(--text-muted);cursor:pointer}.filter-check input{width:1rem;height:1rem;accent-color:var(--primary);cursor:pointer}.link-button{margin-top:.6rem;border:none;background:none;padding:0;color:var(--primary);font-weight:600;font-size:.85rem;text-decoration:underline}.link-button:hover{background:none;color:var(--primary-hover)}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));grid-gap:1rem;gap:1rem}.card-grid-empty{margin:0;padding:1.5rem .85rem;text-align:center;color:var(--text-subtle)}.contact-card{display:block;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:1rem 1.1rem;box-shadow:var(--shadow-sm);transition:border-color .12s ease,box-shadow .12s ease}.contact-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md)}.contact-card-name{margin:0;font-size:1.05rem;font-weight:700;letter-spacing:-.01em;color:var(--text)}.contact-card-company{margin:.2rem 0 0;color:var(--primary);font-size:.9rem;font-weight:600}.contact-card-title{margin:.15rem 0 0;color:var(--text-muted);font-size:.82rem}.contact-card-fields{margin:.85rem 0 0;padding-top:.75rem;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:.4rem}.contact-card-field{display:grid;grid-template-columns:5.5rem 1fr;grid-gap:.5rem;gap:.5rem;align-items:baseline}.contact-card-field dt{margin:0;color:var(--text-subtle);font-size:.76rem;font-weight:500;white-space:nowrap}.contact-card-field dd{margin:0;color:var(--text);font-size:.84rem;word-break:break-word;overflow-wrap:anywhere}.bc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));grid-gap:20px;gap:20px}.bc-grid .business-card-item{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;border:1px solid var(--border);border-radius:16px;background:var(--surface);padding:30px;box-shadow:0 8px 24px rgba(15,23,42,.06),0 1px 2px rgba(15,23,42,.06);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.bc-grid .business-card-item:hover{border-color:var(--border-strong);box-shadow:0 14px 34px rgba(15,23,42,.11),0 2px 6px rgba(15,23,42,.08);transform:translateY(-2px)}.bc-grid .business-card-item:first-of-type{border-top:1px solid var(--border)}.business-card-top-row{display:flex;align-self:stretch;align-items:flex-start;justify-content:space-between;text-align:left;gap:.75rem;min-width:0}.business-card-name{flex:1 1 auto;min-width:0;margin:0;text-align:left;color:var(--text);font-size:1.05rem;font-weight:700;line-height:1.35;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}.business-card-menu{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin:-.25rem -.35rem -.25rem auto;padding:0;border:0;border-radius:999px;background:transparent;color:var(--text-muted);font-size:1.35rem;line-height:1;cursor:default}.business-card-menu:hover{background:transparent;border-color:transparent;box-shadow:none}.business-card-company{margin:.35rem 0 0;color:#334155;font-size:.95rem;font-weight:500}.business-card-company,.business-card-title{align-self:flex-start;max-width:100%;text-align:left;word-break:keep-all;overflow-wrap:break-word}.business-card-title{margin:.2rem 0 0;color:var(--text-muted);font-size:.9rem}.business-card-fields{margin:13px 0 0;display:flex;flex-direction:column;text-align:left;gap:10px}.business-card-field{display:grid;grid-template-columns:1.35rem minmax(0,1fr);grid-gap:.6rem;gap:.6rem;align-items:center;text-align:left}.business-card-field dt{color:var(--text-muted)}.business-card-field dd,.business-card-field dt{margin:0;text-align:left;font-size:.9rem;line-height:1.45}.business-card-field dd{min-width:0;color:var(--text);overflow-wrap:break-word;word-break:normal}.business-card-address-more{margin-left:.4rem;color:var(--text-muted);font-size:.82rem;white-space:nowrap}.business-card-address-line{line-height:1.5}.business-card-address-line+.business-card-address-line{margin-top:.15rem}.bc-address-rows{display:flex;flex-direction:column;gap:.5rem}.bc-address-row{display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,1fr) auto;grid-gap:.5rem;gap:.5rem;align-items:center}.bc-address-row input{width:100%;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.5rem .7rem}.bc-address-row input:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.bc-address-add,.bc-address-remove{border:1px solid var(--border-strong);background:var(--surface);color:var(--text);border-radius:var(--radius-sm);cursor:pointer}.bc-address-remove{white-space:nowrap;padding:.45rem .6rem;font-size:.85rem}.bc-address-add{align-self:flex-start;padding:.42rem .75rem;font-size:.88rem}.bc-address-add:hover,.bc-address-remove:hover{border-color:var(--primary)}.list-layout{display:grid;grid-template-columns:minmax(180px,240px) 1fr;grid-gap:1.1rem;gap:1.1rem;align-items:start}.list-main{min-width:0}.list-main>table td:not(:first-child),.list-main>table th{white-space:nowrap}.filter-panel{display:flex;flex-direction:column;gap:.2rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-muted);padding:.6rem}.filter-panel-title{margin:.2rem .55rem .4rem;color:var(--text-subtle);font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.filter-panel-item{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;padding:.45rem .55rem;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);font-size:.86rem;font-weight:500;text-align:left;cursor:pointer}.filter-panel-item:hover{background:var(--surface);color:var(--text)}.filter-panel-item-active,.filter-panel-item-active:hover{background:var(--primary-soft);border-color:var(--primary);color:var(--primary);font-weight:600}.filter-panel-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.4rem;padding:0 .35rem;border-radius:999px;background:var(--surface);color:var(--text-muted);font-size:.72rem;font-weight:600}.filter-panel-item-active .filter-panel-count{background:var(--primary);color:#fff}.cell-sub{display:block;margin-top:.15rem;color:var(--text-subtle);font-size:.76rem}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem 1.25rem;box-shadow:var(--shadow-sm);margin-bottom:1.25rem}.panel h3{margin-bottom:.75rem}.section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:.85rem}.section-header h3{margin-bottom:.2rem}.section-subtitle{margin:0;color:var(--text-muted);font-size:.84rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.85rem 1rem;gap:.85rem 1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}.form-grid .form-actions,.form-grid .form-grid-wide,.form-grid [role=alert],.form-grid h4{grid-column:1/-1}.form-grid h4{margin:0;font-size:.95rem}.form-grid p{margin:0}.form-grid label{display:block;margin-bottom:.35rem;color:var(--text-muted);font-size:.8rem;font-weight:600}.form-grid input,.form-grid select,.form-grid textarea{width:100%;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.45rem .65rem}.form-grid textarea{resize:vertical}.form-grid input:focus-visible,.form-grid select:focus-visible,.form-grid textarea:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.field-hint{display:block;margin-top:.35rem;color:var(--text-subtle);font-size:.76rem}.form-actions{display:flex;justify-content:flex-end}.placeholder-card{border:1px dashed var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-muted);padding:1rem}.placeholder-card strong{display:block;margin-bottom:.25rem}.placeholder-card p{margin:0;color:var(--text-muted)}.panel li{padding:.55rem 0;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:.75rem}.panel li:first-of-type{border-top:none}.panel li[data-read=true]{color:var(--text-subtle)}.panel li button{padding:.2rem .6rem;font-size:.75rem}.content table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin-bottom:1.25rem}.content td,.content th{text-align:left;padding:.6rem .85rem;border-bottom:1px solid var(--border);font-size:.88rem}.content th{background:var(--surface-muted);color:var(--text-muted);font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.03em}.content tr:last-child td{border-bottom:none}.content th .th-sort{display:inline-flex;align-items:center;gap:.25rem;padding:0;border:none;background:transparent;color:inherit;font:inherit;font-size:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer;white-space:nowrap}.content th .th-sort:hover{background:transparent;color:var(--text)}.content th .th-sort:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:2rem 2.25rem;width:100%;max-width:380px}.auth-card h1{font-size:1.4rem;margin-bottom:1.25rem}.auth-card .btn-primary,.auth-card button{display:block;width:100%;margin-bottom:.6rem}.auth-card .btn-primary:disabled{color:#64748b;background:#e2e8f0;border-color:#e2e8f0;cursor:not-allowed}.auth-card [role=alert]{color:var(--danger);background:var(--danger-soft);border:1px solid #fecaca;border-radius:var(--radius-sm);padding:.5rem .75rem;font-size:.85rem}.auth-card section{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid var(--border)}.auth-card h2{font-size:.95rem}.calendar-toolbar{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem}.calendar-nav{display:inline-flex;align-items:center;gap:.35rem}.calendar-nav button{padding:.4rem .75rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;font-weight:500;line-height:1;cursor:pointer}.calendar-nav button:hover{background:var(--surface-muted);border-color:var(--text-subtle)}.calendar-range-label{font-size:1.05rem;font-weight:700;letter-spacing:-.01em}.view-toggle{display:inline-flex;margin-left:auto;padding:.2rem;border:1px solid var(--border-strong);border-radius:999px;background:var(--surface-muted);gap:.15rem}.view-toggle-item{padding:.3rem .85rem;border:none;border-radius:999px;background:transparent;color:var(--text-muted);font:inherit;font-size:.82rem;font-weight:600;cursor:pointer}.view-toggle-item:hover{color:var(--text)}.view-toggle-item-active,.view-toggle-item-active:hover{background:var(--surface);color:var(--primary);box-shadow:var(--shadow-sm)}.calendar{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--surface)}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-grid{display:flex;flex-direction:column}.calendar-week{position:relative;grid-auto-rows:min-content;grid-row-gap:.18rem;row-gap:.18rem;min-height:96px;padding-bottom:.3rem}.calendar-week,.calendar-week-bg{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-week-bg{position:absolute;inset:0;z-index:0;pointer-events:none}.calendar-weekday{padding:.5rem .4rem;text-align:center;font-size:.75rem;font-weight:600;color:var(--text-muted);background:var(--surface-muted);border-bottom:1px solid var(--border)}.calendar-weekday:first-child{color:var(--danger)}.calendar-cell{border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.calendar-cell-last{border-right:none}.calendar-day{position:relative;z-index:1;font-size:.78rem;font-weight:600;color:var(--text);justify-self:start;padding:.35rem .4rem .1rem}.calendar-cell-outside{background:var(--surface-muted)}.calendar-cell-today{background:var(--primary-soft)}.calendar-day-outside{color:var(--text-subtle)}.calendar-day-today{display:inline-flex;align-items:center;justify-content:center;min-width:1.4rem;height:1.4rem;margin:.35rem .4rem .1rem;padding:0 .3rem;border-radius:999px;background:var(--primary);color:#fff}.calendar-event{position:relative;z-index:1;display:flex;flex-direction:column;margin:0 .25rem;padding:.15rem .35rem;border-radius:var(--radius-sm);background:var(--primary-soft);border:1px solid #bfdbfe;color:inherit;text-align:left;min-width:0;cursor:pointer}.calendar-event:hover{background:#dbeafe;border-color:#93c5fd}.calendar-event-continues-before{margin-left:0;border-left:none;border-top-left-radius:0;border-bottom-left-radius:0}.calendar-event-continues-after{margin-right:0;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}.calendar-event-title{font-size:.72rem;font-weight:600;color:var(--primary)}.calendar-event-sub,.calendar-event-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-event-sub{font-size:.66rem;color:var(--text-muted)}.calendar-event-more{position:relative;z-index:1;font-size:.7rem;font-weight:600;color:var(--text-muted);padding:0 .35rem}button.calendar-event-more-toggle{margin:0 .25rem;text-align:left;background:none;border:none;border-radius:var(--radius-sm);cursor:pointer}button.calendar-event-more-toggle:hover{color:var(--primary);background:var(--primary-soft)}.calendar-agenda{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.calendar-agenda-list{list-style:none;margin:0;padding:0}.calendar-agenda-item{display:block;padding:0;border-bottom:1px solid var(--border)}.calendar-agenda-item:last-child{border-bottom:none}.calendar-agenda-button{display:flex;align-items:flex-start;gap:1rem;width:100%;padding:.75rem 1rem;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;font:inherit}.calendar-agenda-button:hover{background:var(--primary-soft)}.calendar-agenda-when{display:flex;flex-direction:column;flex:0 0 auto;min-width:6.5rem}.calendar-agenda-date{font-size:.78rem;font-weight:600;color:var(--text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.calendar-agenda-time{font-size:.74rem;color:var(--text-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.calendar-agenda-body{display:flex;flex-direction:column;gap:.3rem;min-width:0}.calendar-agenda-title{font-size:.9rem;font-weight:600}.calendar-agenda-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.calendar-agenda-meta .cell-sub{margin-top:0}.calendar-empty{margin:0;padding:2rem 1rem;text-align:center;color:var(--text-subtle);font-size:.9rem}.modal-overlay{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:rgba(15,23,42,.46)}.modal{width:min(720px,100%);max-height:min(860px,calc(100vh - 3rem));overflow-y:auto;border:1px solid #c7d2fe;border-radius:var(--radius);background:var(--surface);box-shadow:0 24px 60px rgba(15,23,42,.26)}.modal-narrow{width:min(560px,100%)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#eff6ff 0,var(--surface) 100%)}.modal-header h3{margin:0 0 .2rem;font-size:1.05rem}.modal-header p{margin:0;color:var(--text-muted);font-size:.84rem}.modal-close{flex:0 0 auto;padding:.35rem .65rem;border-color:#c7d2fe;color:var(--primary);font-size:.78rem;font-weight:700}.modal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.85rem 1rem;gap:.85rem 1rem;padding:1.2rem 1.25rem 1.25rem}.modal-field{display:flex;flex-direction:column;gap:.35rem;min-width:0}.modal-actions,.modal-check,.modal-error,.modal-field-wide{grid-column:1/-1}.modal-field label,.modal-label{color:var(--text-muted);font-size:.8rem;font-weight:700}.modal-field input,.modal-field select,.modal-field textarea{width:100%;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.5rem .7rem}.modal-field textarea{resize:vertical}.modal-field input:focus-visible,.modal-field select:focus-visible,.modal-field textarea:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.modal-check{display:inline-flex;align-items:center;gap:.45rem;color:var(--text);font-weight:700}.attendee-option input,.modal-check input{width:1rem;height:1rem;accent-color:var(--primary)}.attendee-checklist,.event-type-row,.quick-duration-row{display:flex;flex-wrap:wrap;gap:.45rem}.event-type-chip,.quick-duration-chip{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:2rem;border:1px solid #cbd5e1;border-radius:999px;background:var(--surface);color:var(--text-muted);font-size:.82rem;font-weight:700}.event-type-chip:hover,.quick-duration-chip:hover{background:#eff6ff;border-color:#93c5fd;color:var(--primary)}.event-type-chip-active,.event-type-chip-active:hover{background:#eef2ff;border-color:#818cf8;color:#3730a3}.event-type-chip-static,.event-type-chip-static:hover{min-height:1.75rem;background:#f8fafc;border-color:var(--border);color:var(--text);cursor:default}.event-type-dot{width:.55rem;height:.55rem;flex:0 0 auto;border-radius:999px;box-shadow:0 0 0 2px rgba(37,99,235,.12)}.attendee-checklist{padding:.65rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:#f8fafc}.attendee-option{display:inline-flex;align-items:center;gap:.4rem;min-height:2rem;padding:.25rem .45rem;border:1px solid transparent;border-radius:var(--radius-sm);color:var(--text-muted);font-size:.82rem;font-weight:700;cursor:pointer}.attendee-option:hover{border-color:#bfdbfe;background:#eff6ff;color:var(--text)}.modal-error{margin:0;padding:.55rem .75rem;border:1px solid #fecaca;border-radius:var(--radius-sm);background:var(--danger-soft);color:var(--danger);font-size:.84rem;font-weight:700}.modal-actions{display:flex;justify-content:flex-end;gap:.5rem;padding-top:.2rem}.modal-field-error{color:var(--danger);font-size:.78rem;font-weight:700}.employee-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;min-height:2.35rem;font:inherit;text-align:left;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.5rem .7rem;cursor:pointer}.employee-picker-trigger:hover:not(:disabled){border-color:var(--primary)}.employee-picker-trigger:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.employee-picker-trigger:disabled{cursor:not-allowed;opacity:.6}.employee-picker-trigger.is-empty .employee-picker-value{color:var(--text-muted)}.employee-picker-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-picker-caret{flex:0 0 auto;color:var(--text-muted);font-size:.7rem}.employee-picker-overlay{z-index:60}.employee-picker-body{display:flex;flex-direction:column;gap:.75rem;padding:1rem 1.25rem 1.25rem}.employee-picker-search{width:100%}.employee-picker-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem;max-height:320px;overflow-y:auto}.employee-picker-option{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;width:100%;text-align:left;padding:.6rem .75rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer}.employee-picker-option:hover{border-color:#93c5fd;background:#eff6ff}.employee-picker-option.is-active{border-color:#818cf8;background:#eef2ff}.employee-picker-option-name{font-weight:700;color:var(--text)}.employee-picker-option-email{font-size:.8rem;color:var(--text-muted)}.employee-picker-empty{padding:1rem;text-align:center;color:var(--text-muted);font-size:.85rem}.event-detail-actions{padding:0 1.25rem 1.25rem}.event-detail-list{display:flex;flex-direction:column;gap:0;margin:0;padding:.35rem 1.25rem 1.25rem}.event-detail-list>div{display:grid;grid-template-columns:5.5rem minmax(0,1fr);grid-gap:.85rem;gap:.85rem;padding:.75rem 0;border-bottom:1px solid var(--border)}.event-detail-list>div:last-child{border-bottom:none}.event-detail-list dt{color:var(--text-subtle);font-size:.78rem;font-weight:700}.event-detail-list dd{margin:0;color:var(--text);font-size:.88rem;word-break:break-word}.event-detail-memo{white-space:pre-wrap}.quick-status{display:flex;flex-wrap:wrap;gap:.35rem}.quick-status-error{margin:.45rem 0 0}.triage-select{width:100%;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.4rem .6rem}.triage-select:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.mail-triage-error{margin:0 1.25rem .75rem}.weekly-meeting-picker{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.weekly-meeting-picker label{font-weight:700;font-size:.9rem;color:var(--text-muted)}.weekly-meeting-picker select{flex:1 1;min-width:16rem;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.45rem .65rem}.weekly-meeting-picker select:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.weekly-meeting-picker-count{font-size:.84rem;color:var(--text-muted);white-space:nowrap}.weekly-meeting-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.weekly-meeting-banner-main{display:flex;align-items:center;gap:.6rem}.weekly-meeting-banner-main strong{font-size:1.05rem}.weekly-meeting-banner-week{color:var(--text-muted);font-size:.88rem;font-weight:600}.weekly-write-panel{margin-bottom:1.5rem}.weekly-write-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.85rem}.weekly-write-head h3{margin:0;font-size:1.02rem}.weekly-actions-head{margin-bottom:1rem}.weekly-saved{font-size:.8rem;font-weight:600;color:var(--ok)}.weekly-content-input,.weekly-field textarea{width:100%;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.6rem .7rem;resize:vertical}.weekly-content-input:focus-visible,.weekly-field textarea:focus-visible,.weekly-inline-form input:focus-visible,.weekly-inline-form select:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.weekly-write-actions{display:flex;justify-content:flex-end;margin-top:.75rem}.weekly-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:1rem;gap:1rem}.weekly-report-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-muted,#f8fafc);padding:1rem 1.1rem}.weekly-field{display:block;margin-top:.6rem}.weekly-field span{display:block;margin-bottom:.25rem;font-size:.8rem;font-weight:700;color:var(--text-subtle)}.weekly-auto-list{margin:0;padding:.5rem .75rem;list-style:none;display:flex;flex-direction:column;gap:.35rem;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm)}.weekly-auto-list li{position:relative;padding-left:.9rem;font-size:.85rem;color:var(--text);line-height:1.45}.weekly-auto-list li:before{content:"";position:absolute;left:0;top:.5rem;width:5px;height:5px;border-radius:50%;background:var(--primary)}.weekly-auto-empty{margin:0;padding:.5rem .75rem;font-size:.82rem;color:var(--text-subtle);background:var(--surface-muted);border:1px dashed var(--border);border-radius:var(--radius-sm)}.weekly-inline-form{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.85rem}.weekly-inline-form input,.weekly-inline-form select{flex:1 1 8rem;min-width:0;font:inherit;padding:.45rem .6rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text)}.weekly-issue-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.weekly-issue{display:flex;align-items:center;gap:.6rem;padding:.5rem .65rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.weekly-issue-title{font-weight:600;color:var(--text)}.weekly-issue-meta{margin-left:auto;font-size:.82rem;color:var(--text-muted)}.weekly-empty{margin:0;color:var(--text-subtle);font-size:.88rem}tr.row-clickable{cursor:pointer}tr.row-clickable:hover{background:#f1f5ff}.linklike{padding:0;border:none;background:none;color:var(--primary);font:inherit;font-weight:600;text-align:left;cursor:pointer}.linklike:hover{text-decoration:underline}.mail-tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--border);margin-bottom:1rem}.mail-tab{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1rem;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:none;color:var(--text-muted,#64748b);font-size:.92rem;font-weight:600;cursor:pointer}.mail-tab:hover{color:var(--text)}.mail-tab-active{color:var(--accent,#2563eb);border-bottom-color:var(--accent,#2563eb)}.mail-tab .chip-count{font-weight:500}.mail-attach-flag{color:var(--text-muted,#64748b);font-size:.85rem}.mail-attachments{padding:0 1.25rem 1rem}.mail-attachments .modal-label{margin:0 0 .4rem}.mail-attachment-list{list-style:none;display:flex;flex-direction:column;gap:.4rem;margin:0;padding:0}.mail-attachment{display:flex;align-items:center;gap:.6rem;padding:.5rem .75rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted,#f8fafc)}.mail-attachment-icon{flex:0 0 auto}.mail-attachment-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;color:var(--text)}.mail-attachment-size{flex:0 0 auto;font-size:.8rem;color:var(--text-muted,#64748b)}.mail-attachment-actions{flex:0 0 auto;display:flex;gap:.35rem}.mail-attachment-preview{margin-top:.75rem;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;background:var(--surface-muted,#f8fafc)}.mail-attachment-preview img{display:block;max-width:100%;max-height:480px;margin:0 auto;object-fit:contain}.mail-attachment-preview iframe{display:block;width:100%;height:480px;border:0}.mail-body-block{padding:0 1.25rem 1rem}.mail-body-block .modal-label{margin:0 0 .4rem}.mail-body{margin:0;max-height:360px;overflow-y:auto;padding:.85rem 1rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted,#f8fafc);color:var(--text);font:inherit;font-size:.88rem;line-height:1.55;white-space:pre-wrap;word-break:break-word}.modal-wide{width:min(1240px,96vw)}.modal-resizable{resize:both;overflow:auto;min-width:420px;min-height:320px;max-width:96vw;max-height:92vh}.mail-detail-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-gap:0 1.5rem;gap:0 1.5rem;padding:0 1.25rem;align-items:start}.mail-detail-grid .event-detail-list,.mail-detail-grid .mail-attachments,.mail-detail-grid .mail-body-block{padding-left:0;padding-right:0}.mail-detail-main{position:-webkit-sticky;position:sticky;top:0}.mail-detail-main .mail-body-block .modal-label{margin-top:.35rem}.mail-detail-main .mail-body{max-height:min(640px,64vh);font-size:.92rem}.mail-body-html{width:100%;background:#fff}.mail-body-html,.mail-body-loading{height:min(640px,64vh);border:1px solid var(--border);border-radius:var(--radius-sm)}.mail-body-loading{display:flex;align-items:center;justify-content:center;margin:0;background:var(--surface-muted,#f8fafc);color:var(--text-muted);font-size:.9rem}@media (max-width:768px){.mail-body-html{height:60vh}.mail-detail-grid{grid-template-columns:1fr;gap:0;padding:0}.mail-detail-grid .event-detail-list,.mail-detail-grid .mail-attachments,.mail-detail-grid .mail-body-block{padding-left:1.25rem;padding-right:1.25rem}.mail-detail-main{position:static}}.mail-thread{padding:.75rem 1.25rem 1.25rem}.mail-thread-list{display:flex;flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none}.mail-thread-item{display:grid;grid-template-columns:3.2rem minmax(0,1fr) auto;grid-template-areas:"dir subject date" "dir snippet date";grid-gap:.1rem .7rem;gap:.1rem .7rem;width:100%;padding:.6rem .75rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);text-align:left;cursor:pointer}.mail-thread-item:hover{border-color:var(--primary);background:#f1f5ff}.mail-dir{grid-area:dir;align-self:center;justify-self:start;padding:.15rem .45rem;border-radius:999px;font-size:.72rem;font-weight:700}.mail-dir-inbound{background:#e0f2fe;color:#075985}.mail-dir-outbound{background:#dcfce7;color:#166534}.mail-thread-subject{grid-area:subject;font-weight:600;color:var(--text)}.mail-thread-snippet{grid-area:snippet;color:var(--text-muted);font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-thread-date{grid-area:date;align-self:center;color:var(--text-subtle);font-size:.78rem;white-space:nowrap}.auth-gate{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:var(--surface-muted,#f8fafc)}.auth-gate-loading{color:var(--text-muted);font-size:.95rem}.auth-gate-card{width:min(420px,100%);display:flex;flex-direction:column;align-items:center;gap:.65rem;padding:2.25rem 2rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:0 24px 60px rgba(15,23,42,.12);text-align:center}.auth-gate-card .brand{margin:0 0 .25rem}.auth-gate-card h2{margin:0;font-size:1.15rem}.auth-gate-card p{margin:0 0 .5rem;color:var(--text-muted);font-size:.9rem}.card-clickable{cursor:pointer;transition:border-color .12s ease,box-shadow .12s ease}.card-clickable:hover{border-color:var(--primary);box-shadow:0 6px 18px rgba(15,23,42,.08)}.card-clickable:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.library-card-file{margin:.1rem 0 .4rem;color:var(--primary);font-size:.82rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn-icon{display:inline-flex;align-items:center;gap:.4rem}.stat-card-glyphed{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.1rem;box-shadow:var(--shadow-sm)}.stat-card-glyphed.stat-card-accent{background:var(--primary-soft);border-color:#bfdbfe}.stat-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.stat-card-head p{margin:0;color:var(--text-muted);font-size:.82rem;font-weight:500}.stat-card-glyph{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:var(--surface-muted);color:var(--text-muted);flex:0 0 auto}.stat-card-accent .stat-card-glyph{background:#dbeafe;color:var(--primary)}.stat-card-glyphed strong{display:block;margin-top:.5rem;font-size:1.6rem;font-weight:800;letter-spacing:-.02em}.stat-card-glyphed .stat-hint{display:block;margin-top:.35rem;color:var(--text-subtle);font-size:.76rem}.search-bar{display:flex;align-items:center;gap:.6rem;background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:.55rem 1.1rem;box-shadow:var(--shadow-sm);margin-bottom:1rem}.search-bar-icon{display:inline-flex;color:var(--text-subtle);flex:0 0 auto}.search-bar-input{flex:1 1 auto;border:none;background:transparent;font:inherit;color:var(--text);padding:0}.search-bar-input:focus{outline:none}.search-bar:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.library-board{display:flex;flex-direction:column;gap:1rem}.library-post-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:1.25rem 1.4rem;box-shadow:var(--shadow-sm);transition:border-color .12s ease,box-shadow .12s ease,transform .12s ease}.library-post-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);transform:translateY(-1px)}.library-post-title{margin:0;font-size:1.1rem;font-weight:700;letter-spacing:-.01em;color:var(--text)}.library-post-excerpt{margin:.5rem 0 0;color:var(--text-muted);font-size:.9rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.library-post-meta{margin-top:.95rem;padding-top:.8rem;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:1.5rem;color:var(--text);font-size:.84rem}.library-post-meta em{font-style:normal;color:var(--text-subtle);margin-right:.4rem}.worklog-cell-content{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.worklog-detail-content{white-space:pre-wrap;line-height:1.55}.sidebar-profile{flex:0 0 auto;margin-top:.75rem;display:flex;align-items:center;gap:.65rem;padding:.6rem .7rem;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-muted);text-decoration:none;color:var(--text);transition:border-color .12s ease,background .12s ease}.sidebar-profile:hover,.sidebar-profile[aria-current=page]{border-color:var(--primary);background:var(--primary-soft)}.sidebar-profile-avatar{flex:0 0 auto;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;font-weight:700;font-size:.95rem}.sidebar-profile-text{display:flex;flex-direction:column;min-width:0;line-height:1.25}.sidebar-profile-name{font-weight:700;font-size:.9rem;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-profile-role{font-size:.76rem;color:var(--text-muted)}.mypage-stat-value{display:block;margin-top:.5rem;font-size:1.45rem;font-weight:800;letter-spacing:-.02em;word-break:break-word}.mypage-info-grid{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.85rem;gap:.85rem}.mypage-info-field{border:1px solid var(--border);border-radius:var(--radius);padding:.85rem 1rem;background:var(--surface)}.mypage-info-field dt{margin:0;color:var(--text-muted);font-size:.78rem;font-weight:500}.mypage-info-field dd{margin:.3rem 0 0;color:var(--text);font-size:.95rem;word-break:break-word}@media (max-width:768px){.mypage-info-grid{grid-template-columns:1fr}}.library-detail-body{padding:.75rem 1.25rem .5rem}.md-body{color:var(--text);line-height:1.65;font-size:.95rem}.md-body>*{margin:0}.md-body>*+*{margin-top:.55rem}.md-h{font-weight:700}.md-h1{font-size:1.1rem;margin-top:.9rem}.md-h2{font-size:1rem;margin-top:.75rem}.md-h3{font-size:.92rem;color:var(--text-muted)}.md-list{padding-left:1.35rem;list-style:disc}ol.md-list{list-style:decimal}.md-list li{display:list-item;margin:.2rem 0}.library-detail-file{padding:.25rem 1.25rem 1.25rem}.library-detail-file .modal-label{margin:0 0 .45rem}.library-edit-file-current{display:flex;align-items:center;gap:.6rem;margin-bottom:.5rem;padding:.5rem .7rem;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm)}.library-edit-file-name{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--primary);font-weight:600;font-size:.88rem}.library-edit-file-removed{display:flex;align-items:center;gap:.6rem;margin-bottom:.5rem;color:var(--text-muted);font-size:.85rem}.btn-sm{padding:.3rem .7rem;font-size:.82rem}.btn-linklike{padding:0;border:0;background:none;color:var(--primary);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}.receipt-items{padding:.25rem 1.25rem 1rem}.receipt-items .modal-label{margin:0 0 .45rem}.receipt-items-table{width:100%}.receipt-items-table td,.receipt-items-table th{padding:.45rem .6rem;font-size:.85rem}.receipt-items-table td:not(:first-child),.receipt-items-table th:not(:first-child){text-align:right;white-space:nowrap}@media (max-width:768px){.app-shell{flex-direction:column}.sidebar{width:100%;height:auto;position:static;border-right:none;border-bottom:1px solid var(--border);padding:1rem 1rem .75rem;overflow:visible}.sidebar .nav{flex:initial;min-height:0;overflow-y:visible}.nav{flex-direction:row;flex-wrap:wrap;gap:4px}.nav a,.nav span{padding:.4rem .6rem;font-size:.85rem}.nav .nav-group-label{flex-basis:100%;margin-top:.65rem;padding:.35rem .6rem .05rem}.content{padding:1.25rem 1rem;max-width:none}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.kpi-row{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.dashboard-grid,.mini-metrics{grid-template-columns:1fr}.bar-chart-plot{overflow-x:auto;padding-bottom:.25rem}.bar-chart-col{flex:0 0 auto;width:40px}.toolbar{align-items:stretch;flex-direction:column}.search{max-width:none}.bc-grid,.card-grid,.list-layout{grid-template-columns:1fr}.calendar-toolbar{gap:.6rem}.view-toggle{margin-left:0}.calendar-range-label{flex-basis:100%;order:-1}.calendar{overflow-x:auto}.calendar-grid,.calendar-weekdays{min-width:560px}.calendar-week{min-height:78px}.calendar-agenda-item{flex-direction:column;gap:.35rem}.calendar-agenda-when{flex-direction:row;gap:.6rem}.modal-overlay{align-items:stretch;padding:.75rem}.modal{max-height:calc(100vh - 1.5rem)}.event-detail-list>div,.modal-form{grid-template-columns:1fr}.event-detail-list>div{gap:.25rem}}.page-tag{display:inline-block;margin-bottom:.4rem;padding:.18rem .6rem;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:.72rem;font-weight:600;letter-spacing:.02em}.form-status{margin:0 0 1rem;padding:.55rem .85rem;border-radius:var(--radius-sm);background:#ecfdf5;border:1px solid #bbf7d0;color:var(--ok);font-size:.85rem;font-weight:500}.form-status-error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.btn-danger{padding:.5rem .95rem;border:1px solid #dc2626;border-radius:var(--radius-sm);background:#dc2626;color:#fff;font:inherit;font-weight:600;cursor:pointer}.btn-danger:hover{background:#b91c1c;border-color:#b91c1c}.btn-danger:disabled{opacity:.6;cursor:default}.btn-danger-soft{padding:.5rem .95rem;border:1px solid #fecaca;border-radius:var(--radius-sm);background:#fff;color:#b91c1c;font:inherit;font-weight:600;cursor:pointer}.btn-danger-soft:hover{background:#fef2f2}.delete-confirm-text{align-self:center;margin-right:auto;color:var(--text-muted);font-size:.86rem;font-weight:600}.confirm-overlay{z-index:60}.confirm-dialog{width:min(420px,92vw);align-self:center}.confirm-dialog .confirm-error{margin:.9rem 1.25rem 0}.confirm-dialog .confirm-actions{display:flex;justify-content:flex-end;gap:.6rem;padding:1.1rem 1.25rem 1.25rem}.template-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:1rem;gap:1rem;margin-bottom:1.5rem}.template-card{display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;padding:1rem 1.1rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);text-align:left;cursor:pointer;transition:border-color .12s ease,box-shadow .12s ease,background .12s ease}.template-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);background:var(--surface)}.template-card-active,.template-card-active:hover{border-color:var(--primary);background:var(--primary-soft);box-shadow:var(--shadow-sm)}.template-card-icon{font-size:1.4rem;line-height:1}.template-card-title{font-size:1rem;font-weight:700;color:var(--text);letter-spacing:-.01em}.template-card-active .template-card-title{color:var(--primary)}.template-card-desc{font-size:.82rem;color:var(--text-muted)}.doc-builder{grid-template-columns:minmax(280px,360px) 1fr}.form-panel h3{margin-bottom:1rem}.form-grid{gap:.85rem}.form-field,.form-grid{display:flex;flex-direction:column}.form-field{gap:.3rem}.form-field label{font-size:.82rem;font-weight:600;color:var(--text-muted)}.form-field .required{color:var(--danger)}.form-field input,.form-field textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.45rem .7rem}.form-field textarea{resize:vertical;min-height:4.5rem}.form-field input:focus-visible,.form-field textarea:focus-visible{outline:2px solid var(--primary);outline-offset:1px;border-color:var(--primary)}.doc-preview{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:2rem 2.25rem}.doc-preview-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.85rem;margin-bottom:1.25rem;border-bottom:2px solid var(--primary)}.doc-brand{font-size:1.1rem;font-weight:800;letter-spacing:-.02em;color:var(--text)}.doc-type{font-size:.82rem;font-weight:600;color:var(--primary)}.doc-logo{height:40px;width:auto;max-width:240px;object-fit:contain}.doc-footer{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--border);text-align:right;color:var(--text-muted);font-size:.85rem;line-height:1.6}.doc-footer p{margin:0}.doc-footer-org{font-weight:700;color:var(--text)}.doc-footer .doc-footer-addr{margin-bottom:2.25rem}.doc-footer-sign{font-weight:700;color:var(--text);position:relative;display:inline-block;padding-right:3rem}.doc-seal{position:absolute;right:0;top:50%;transform:translateY(-50%);width:56px;height:56px;object-fit:contain;pointer-events:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}.doc-title{font-size:1.3rem;font-weight:700;text-align:center;margin:0 0 1.25rem}.doc-table{width:100%;border-collapse:collapse;margin-bottom:1.5rem;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.doc-table td,.doc-table th{padding:.5rem .85rem;border:1px solid var(--border);font-size:.86rem;text-align:left;vertical-align:top}.doc-table th{width:8.5rem;background:var(--surface-muted);color:var(--text-muted);font-weight:600;white-space:nowrap}.ecount-view-bar{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:1rem}.ecount-view-bar .cell-sub{color:var(--text-muted);font-size:.8rem}.ecount-search{display:flex;align-items:center;gap:.75rem;margin-bottom:.85rem}.ecount-search .search{flex:1 1;min-width:0}.erp-tab-switch{display:inline-flex;gap:.25rem;margin-bottom:1.1rem;padding:.25rem;background:#eef2f7;border:1px solid var(--border);border-radius:11px}.erp-tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;padding:.5rem 1.15rem;border-radius:8px;font:inherit;font-weight:700;font-size:.86rem;color:var(--text-muted);cursor:pointer;transition:background .15s,color .15s}.erp-tab:hover{color:var(--text)}.erp-tab.is-active{background:var(--surface);color:var(--primary);box-shadow:0 1px 4px rgba(15,23,42,.14)}.ecount-sync-btn{margin-left:auto;padding:.35rem .95rem;font-size:.82rem;font-weight:600;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:999px;cursor:pointer;transition:background .15s ease}.ecount-sync-btn:hover{background:var(--surface-muted)}.ecount-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:.5rem}.ecount-table{width:100%;border-collapse:collapse;font-size:.85rem}.ecount-table-fixed{table-layout:fixed}.ecount-table td,.ecount-table th{padding:.55rem .9rem;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}.ecount-table th{background:var(--surface-muted);color:var(--text-muted);font-weight:600;white-space:nowrap}.ecount-table td{overflow-wrap:anywhere}.ecount-table td.ecount-cell-nowrap{white-space:nowrap}.ecount-table td .ecount-cell-clip{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ecount-table tbody tr:last-child td{border-bottom:none}.ecount-table tbody tr:hover td{background:var(--surface-muted)}.ecount-detail-lines{padding:.4rem 1.25rem 1.25rem}.ecount-detail-lines .modal-label{margin-bottom:.5rem}.ecount-detail-lines .ecount-table td,.ecount-detail-lines .ecount-table th{white-space:nowrap}.finance-main{position:relative;display:block}.finance-content{min-width:0;padding-right:104px}.revenue-goal{position:fixed;top:1.25rem;bottom:1.25rem;right:1.25rem;width:84px;display:flex;flex-direction:column;align-items:center;z-index:20;pointer-events:none}.revenue-goal-space{position:relative;width:76px;height:76px;display:flex;align-items:center;justify-content:center;margin-bottom:.2rem;filter:drop-shadow(0 5px 14px rgba(109,40,217,.45))}.revenue-goal-space svg{position:absolute;inset:0}.revenue-goal-space span{position:relative;z-index:1;font-weight:800;font-size:1rem;color:#ffffff;text-shadow:0 1px 3px rgba(0,0,0,.6)}.revenue-goal-space .twinkle-a{animation:twinkle 1.6s ease-in-out infinite}.revenue-goal-space .twinkle-b{animation:twinkle 1.6s ease-in-out .8s infinite}@keyframes twinkle{0%,to{opacity:1}50%{opacity:.2}}.revenue-goal-track{position:relative;width:18px;flex:1 1;margin:.4rem 0;border-radius:999px;background:linear-gradient(0deg,#ef4444,#f97316,#facc15,#4ade80,#22d3ee,#6366f1,#d946ef);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06),0 2px 10px rgba(0,0,0,.08)}.revenue-goal-track:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(0deg,transparent 42%,rgba(255,255,255,.7) 50%,transparent 58%);background-size:100% 240%;animation:bar-shimmer 2.2s linear infinite;pointer-events:none}@keyframes bar-shimmer{0%{background-position:0 130%}to{background-position:0 -130%}}.revenue-goal-rider{position:absolute;right:50%;z-index:2;transform:translate(50%,50%);display:flex;align-items:center;gap:4px;white-space:nowrap;transition:bottom 1s cubic-bezier(.34,1.56,.64,1)}.revenue-goal-label{order:-1;text-align:right;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:2px 7px;box-shadow:0 3px 8px rgba(0,0,0,.1)}.revenue-goal-label strong{display:block;font-size:.74rem;color:var(--text)}.revenue-goal-label small{font-size:.66rem;color:var(--text-muted)}.revenue-rocket{filter:drop-shadow(0 3px 5px rgba(0,0,0,.25));animation:rocket-shake .22s ease-in-out infinite}.rk-flame{transform-box:fill-box;transform-origin:top center;animation:flame-flicker .18s ease-in-out infinite}@keyframes rocket-shake{0%,to{transform:translateX(-.7px) rotate(-1.5deg)}50%{transform:translateX(.7px) rotate(1.5deg)}}@keyframes flame-flicker{0%,to{transform:scaleY(1);opacity:1}50%{transform:scaleY(1.45);opacity:.85}}.revenue-goal-zero{margin-top:.4rem;font-size:.72rem;font-weight:700;color:var(--text-muted)}@media (max-width:1100px){.revenue-goal{width:60px;right:.5rem}.finance-content{padding-right:76px}.revenue-goal-space,.revenue-goal-space svg{width:54px;height:54px}.revenue-goal-label{padding:2px 6px}.revenue-goal-label strong{font-size:.68rem}.revenue-goal-label small{font-size:.6rem}}.doc-section{margin-bottom:1.1rem}.doc-section h4{margin:0 0 .35rem;padding-bottom:.2rem;font-size:.92rem;font-weight:700;color:var(--text);border-bottom:1px solid var(--border)}.doc-section p{margin:0;font-size:.88rem;color:var(--text);white-space:pre-wrap;word-break:break-word}@media (max-width:768px){.doc-builder{grid-template-columns:1fr}.doc-preview{padding:1.5rem 1.25rem}}@media print{.form-status,.no-print,.page-header,.sidebar,.template-cards{display:none!important}body{background:#fff}.app-shell{display:block}.content{padding:0;max-width:none}.doc-builder{display:block}.doc-preview{border:none;box-shadow:none;padding:0}}.resource-notice{margin:1rem 0;padding:1rem;border:1px solid #f1cc75;border-radius:.75rem;background:#fffbeb;color:#713f12}.resource-notice p{margin:0 0 .5rem}