/* Family Calendar v7.5 — shared design tokens and typography.
   Existing versioned rules retained in source order to preserve app behavior. */
:root {
  --font-display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-primary: #68263a;
  --color-primary-hover: #512034;
  --color-text: #20334a;
  --color-muted: #495b6c;
  --color-border: #d9cbd2;
  --color-surface: #ffffff;
  --color-subtle: #f4eff1;
  --radius-control: 10px;
  --radius-card: 18px;
  --focus-ring: #9e5c75;
}
/* Original style block 1 */

:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#1c2935;background:#f4f7fa}*{box-sizing:border-box}body{margin:0}.shell{max-width:1050px;margin:auto;padding:22px}header{background:white;border-bottom:1px solid #dfe6ed}header .shell{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;padding-bottom:14px}h1{font-size:1.45rem;margin:0}h2{font-size:1.15rem;margin:0 0 12px}.muted{color:#627183}.card{background:white;border:1px solid #dfe6ed;border-radius:16px;padding:20px;margin:18px 0;box-shadow:0 2px 10px #182a3808}.hidden{display:none!important}input,textarea,select,button{font:inherit}input,textarea,select{padding:11px;border:1px solid #b8c5d1;border-radius:9px;width:100%;background:white}label{display:block;font-weight:600;margin:12px 0 6px}button{cursor:pointer;border:0;border-radius:9px;padding:10px 15px;background:#1769a9;color:white;font-weight:650}button.secondary{background:#eaf0f5;color:#263c50}button.danger{background:#a83232}button:disabled{opacity:.55;cursor:default}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.spread{justify-content:space-between}.stats{display:flex;gap:10px;flex-wrap:wrap}.stat{padding:10px 15px;border-radius:12px;background:#eef4f9}.stat strong{font-size:1.25rem}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{text-align:center;color:#6b7a88;font-size:.85rem;font-weight:700;padding:10px 0}.day{min-height:88px;border:1px solid #dce5ed;border-radius:10px;padding:8px;background:#f9fbfc;display:flex;flex-direction:column;gap:6px}.day.blank{border:0;background:transparent}.day .date{font-weight:750;color:#1b3045}.day .who{color:#243d55}.day.unknown .who{color:#5b6977}.day.brian{background:#e6f0ff;border-color:#b2d1ff}.day.jeff{background:#fcece7;border-color:#f1c6b9}.day.unknown{background:#f5f6f7}.day .who{font-size:.78rem;font-weight:650}.day .where{font-size:.67rem;font-weight:500;color:#536579}.legend-item{display:inline-flex;align-items:center;gap:3px}.legend-item strong{color:#243d55}.day.selected{outline:3px solid #1769a9;outline-offset:-3px}.legend{display:flex;gap:15px;flex-wrap:wrap;font-size:.9rem}.dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:5px}.dot.brian{background:#4b8fdd}.dot.jeff{background:#dd8b71}.request{border:1px solid #e0e7ed;border-radius:11px;padding:14px;margin-top:10px}.request p{margin:6px 0}.notice{padding:12px 14px;background:#fff6db;border:1px solid #ecd596;border-radius:10px}.error{background:#ffe8e8;border-color:#edb3b3}.success{background:#e4f7e8;border-color:#a9d9b6}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.small{font-size:.88rem}.footer{font-size:.82rem;color:#657584;padding:20px 0}@media(max-width:600px){.shell{padding:12px}.card{padding:14px}.day{min-height:68px;padding:5px}.day .who{font-size:.65rem}.day .where{font-size:.58rem;line-height:1.2}.day .date{font-size:.85rem}.calendar{gap:3px}.grid2{grid-template-columns:1fr}header .shell{align-items:flex-start}}
.swap-preview{background:#eef4f9;border:1px solid #cbdce9;padding:13px;border-radius:10px;margin-top:12px}.swap-row{border:1px solid #dce5ed;border-radius:10px;padding:12px;margin:10px 0}.swap-row p{margin:6px 0}

.monthly-status{padding:10px 13px;border-radius:9px;background:#eef4f9;display:inline-block;font-weight:650}.draft-day{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #dfe6ed;padding:7px 10px;border-radius:8px;margin:5px 0}.draft-day select{max-width:190px;padding:6px}.draft-day .dname{font-weight:600}.draft-day .sub{font-size:.76rem;color:#657584}.month-controls{margin-top:12px}.month-history{font-size:.85rem;color:#556779;max-height:180px;overflow:auto}

/* v6.5 navigation and usability */
.nav65{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 10px;position:sticky;top:0;z-index:5;background:#f4f7fa;padding:9px 0}
.nav65 button{background:white;color:#344c61;border:1px solid #dbe4ec;padding:13px 8px;display:flex;align-items:center;justify-content:center;gap:7px}
.nav65 button.active{background:#1769a9;color:white;border-color:#1769a9}
.nav65 button:focus-visible,.quick65 button:focus-visible{outline:3px solid #f2a94e;outline-offset:2px}
.panel65[hidden]{display:none!important}.quick65{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.quick65 button{background:white;color:#1769a9;border:1px solid #cbdce9;text-align:left;padding:18px;min-height:75px}
.quick65 small{display:block;color:#627183;font-weight:400;margin-top:5px}
.identity65{font-weight:750;color:#1769a9;background:#e6f0ff;border-radius:8px;padding:7px 10px}
.attention65{border-left:4px solid #1769a9}.attention65 p{margin:7px 0}.attention-item65{padding:9px 0;border-top:1px solid #e4ebf1}.attention-item65 button{padding:7px 12px}
.history65{margin-top:14px}.history65 summary{cursor:pointer;color:#1769a9;font-weight:700;padding:8px 0}
.panel65>section.card:first-child{margin-top:10px}
@media(max-width:650px){.nav65{position:sticky;top:0;bottom:auto;margin:10px 0;padding:7px 0;box-shadow:0 3px 9px #182a3810;z-index:20}.nav65 button{font-size:.76rem;flex-direction:column;gap:3px;padding:10px 3px}.shell{padding:12px}#app{padding-bottom:0}header .shell{flex-wrap:wrap}.quick65 button{padding:12px}.identity65{font-size:.85rem}}

/* v6.7 workflow clarity */
.subnav67{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.subnav67 button{background:#fff;color:#24516d;border:1px solid #ccdbe7}.subnav67 button.active{background:#1769a9;color:white}
.workflow67{border:1px solid #c9dce9;border-left:4px solid #1769a9;border-radius:12px;background:#fff;padding:16px;margin:12px 0}.workflow67 h3{margin:0 0 8px}.workflow67 p{margin:7px 0 12px}.workflow67 button{margin-right:8px}
.proposed67{border-style:dashed!important;opacity:.88}.proposed67 .where{font-style:italic}.planbadge67{display:inline-block;background:#fff3d9;border:1px solid #ebc980;border-radius:7px;padding:5px 9px;font-weight:650}
.history67{margin-top:12px}.history67 summary{cursor:pointer;font-weight:700;color:#1769a9}.settings67 details{margin-top:12px}.settings67 summary{cursor:pointer;color:#1769a9;font-weight:650}
@media(max-width:650px){.subnav67{display:grid;grid-template-columns:repeat(3,1fr)}.subnav67 button{font-size:.8rem;padding:10px 4px}}

/* v6.7.1 usability polish */
.nav65{border-radius:12px}.nav65 button{transition:background .15s,border-color .15s}
.nav65 button:hover:not(.active),.subnav67 button:hover:not(.active){background:#eef5fb}
.request,.swap-row{background:#fff;box-shadow:0 1px 2px #142b3b08}
.request strong,.swap-row strong{color:#203e57}
.card{box-shadow:0 3px 14px #182a3808}
.subnav67 button.active{box-shadow:0 2px 5px #1769a925}
@media(max-width:650px){.nav65{top:0;border-radius:0}.nav65 button{min-height:49px}.subnav67{gap:5px}}

/* v6.8 • Friendly & Colorful design system */
:root{color-scheme:light;--ink:#20324b;--sub:#66768a;--blue:#2775c9;--blue-soft:#e9f3ff;--peach:#f49d7d;--mint:#e4f5ee;--lavender:#f1edff;--line:#e4e7f0;--paper:#fff;--canvas:#f8f8fd;font-family:ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--canvas)}
body{background:radial-gradient(circle at 6% 4%,#eaf4ff 0,transparent 28%),radial-gradient(circle at 100% 14%,#fff0e9 0,transparent 26%),#f8f8fd;min-height:100vh}
.shell{max-width:1100px}
header{background:#ffffffee;border-bottom:1px solid #e8e8f1;box-shadow:0 2px 16px #30406508}
header h1{font-weight:800;letter-spacing:-.045em;color:#233956}
header .shell{padding-top:16px;padding-bottom:16px}
h2{letter-spacing:-.025em;font-weight:800;color:#273a55}
h3{color:#2a3e59}
.muted,.footer{color:var(--sub)}
.card{border:1px solid #e6e7f0;border-radius:20px;padding:23px;box-shadow:0 6px 24px #4054780b;background:#fff;margin:16px 0}
.card:hover{box-shadow:0 8px 28px #40547810}
button{background:#2775c9;border-radius:11px;box-shadow:0 2px 4px #275b9e14;transition:background .16s,transform .16s,box-shadow .16s}
button:hover:not(:disabled){background:#1f63ac;box-shadow:0 4px 10px #275b9e25}
button:active:not(:disabled){transform:translateY(1px)}
button.secondary{background:#eef2f9;color:#3c5570;box-shadow:none}
button.secondary:hover:not(:disabled){background:#e4ebf5}
button.danger{background:#c94e62}
button.danger:hover:not(:disabled){background:#b63d52}
input,textarea,select{border:1px solid #d5deec;border-radius:11px;background:#fff;box-shadow:0 1px 3px #243d5706}
input:focus,textarea:focus,select:focus{outline:3px solid #b8d9ff;border-color:#4e97df}
.nav65{position:sticky;top:0;z-index:60;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:15px 0 16px;padding:6px;background:#ffffffed;border:1px solid #e3e9f3;border-radius:17px;box-shadow:0 6px 22px #3b5b8d16;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.nav65 button{background:transparent;border:1px solid transparent;border-radius:12px;color:#526780;box-shadow:none;font-weight:700;min-height:48px}
.nav65 button:hover:not(.active){background:#edf4ff;border-color:transparent;color:#286bb5}
.nav65 button.active{background:#e7f1ff;color:#1d65b4;border-color:#d5e7ff;box-shadow:inset 0 0 0 1px #e0ecff}
.nav65 button.active:hover{background:#e7f1ff}
.identity65{background:#e7f1ff;color:#205eaa;border:1px solid #d6e8ff;border-radius:999px;padding:7px 12px}
.notice{background:#fff5df;border-color:#f1db9e;border-radius:14px;line-height:1.55}
.success{background:#e8f8ef;border-color:#b8e7cb}
.error{background:#fff0f0;border-color:#efc6c6}
.stat{background:#f0f5ff;border:1px solid #e3ebfc;border-radius:14px}
.day{border-radius:13px;border-color:#e7eaf3;background:#fafbfe;transition:transform .12s,box-shadow .12s,border-color .12s}
.day:not(.blank):hover{transform:translateY(-1px);box-shadow:0 4px 10px #2b4c7c12}
.day.brian{background:#e8f2ff;border-color:#bcd8ff}
.day.jeff{background:#fff0e9;border-color:#f5ccbd}
.day.unknown{background:#f6f7fa;border-color:#eaedf2}
.day.selected{outline:3px solid #4c82d8;outline-offset:-3px;box-shadow:0 0 0 2px #fff}
.dot.brian{background:#4c8cde}.dot.jeff{background:#ed987a}
.quick65{gap:12px}
.quick65 button{background:#fff;border:1px solid #dce7f6;color:#2765ad;border-radius:15px;box-shadow:0 4px 12px #4054780a;min-height:83px}
.quick65 button:hover:not(:disabled){background:#edf5ff;border-color:#b9d6ff;color:#205da5}
.quick65 small{color:#738298}
.attention65{border-left:0;position:relative;overflow:hidden}
.attention65:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(#77b5f5,#a994e8)}
.workflow67{border:1px solid #dce8f6;border-left:5px solid #77aaf0;border-radius:17px;background:#fff;box-shadow:0 4px 14px #34496b08;padding:18px}
.planbadge67,.monthly-status{background:#fff3dc;color:#74531f;border:1px solid #f2dfa9;border-radius:11px}
.subnav67{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 18px;padding:5px;background:#edf1f9;border-radius:13px;width:fit-content}
.subnav67 button{background:transparent;color:#5a6d86;border:1px solid transparent;box-shadow:none;border-radius:9px}
.subnav67 button.active{background:white;color:#1e66b5;border-color:#dfe7f2;box-shadow:0 2px 7px #3c5d8512}
.subnav67 button:hover:not(.active){background:#e4edfc;color:#2b67a8}
.request,.swap-row{border:1px solid #e4e9f2;border-radius:14px;padding:15px;background:#fff;box-shadow:0 2px 7px #324d7508}
.request strong,.swap-row strong{color:#2b4e75}
.draft-day{border-color:#e4e9f2;border-radius:11px;background:#fdfdff}
.swap-preview{background:#eff6ff;border-color:#d5e7fc;border-radius:12px}
.footer{font-size:.77rem}
button:focus-visible,.nav65 button:focus-visible,.subnav67 button:focus-visible{outline:3px solid #ffba72;outline-offset:2px}
@media(max-width:650px){
 .shell{padding:12px}
 header .shell{gap:8px;align-items:center}
 header h1{font-size:1.2rem}
 .identity65{font-size:.75rem;padding:6px 9px}
 .nav65{top:0;margin:8px -4px 14px;padding:5px;gap:2px;border-radius:13px;box-shadow:0 5px 17px #3b5b8d18}
 .nav65 button{font-size:.75rem;flex-direction:column;gap:3px;min-height:56px;padding:7px 2px;border-radius:9px}
 .card{border-radius:16px;padding:16px}
 .quick65{gap:9px}
 .quick65 button{padding:13px;min-height:74px}
 .subnav67{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .subnav67 button{padding:10px 3px;font-size:.79rem}
 .day{border-radius:9px;min-height:69px;padding:5px}
 .stats{gap:6px}
 .stat{padding:7px 10px}
}
@media(prefers-reduced-motion:reduce){button,.day{transition:none!important}}

/* v6.9 genuine layout redesign — playful, editorial, mobile-first */
:root{--navy:#25355a;--violet:#7964bc;--teal:#218f90;--sun:#f8bf65;--sky:#dbeafe;--coral:#f7a58b;--bg:#f6f7fc}
body{background:#f6f7fc;background-image:radial-gradient(circle at 2% 0%,#e4edff 0,transparent 32%),radial-gradient(circle at 96% 8%,#ffede5 0,transparent 24%);color:var(--navy)}
.shell{max-width:1230px;padding-left:28px;padding-right:28px}
header{background:#fff;box-shadow:none;border-bottom:1px solid #e8eaf3}
header .shell{min-height:76px}
header h1{font-size:1.42rem;letter-spacing:-.045em;color:#243458}
#app{position:relative}
.nav65{top:0;background:#fff;box-shadow:0 12px 28px #33457412;border:1px solid #e7eaf3;border-radius:18px;padding:7px;margin:18px 0 24px;gap:8px}
.nav65 button{border-radius:12px;min-height:51px;font-size:.94rem;color:#68718d}
.nav65 button.active,.nav65 button.active:hover{background:#314f91;color:#fff;border-color:#314f91;box-shadow:0 4px 10px #314f9125}
.nav65 button:hover:not(.active){background:#f0f3fb;color:#304b87}
#app>.notice{font-size:.86rem;background:#fff9ed;border:1px solid #f2dfb8;border-left:4px solid #e6a94d;padding:10px 15px;border-radius:11px;margin-bottom:18px}
.panel65>h2{font-size:1.75rem;letter-spacing:-.055em;margin:5px 0 8px}
.card{border-radius:22px;border:1px solid #e7e9f2;box-shadow:0 8px 28px #273a6610;padding:24px;margin:16px 0}
.card:hover{box-shadow:0 8px 28px #273a6610}
button{border-radius:12px;background:#315fba}
button.secondary{background:#f0f3fa;color:#38517c}
button.danger{background:#cb526b}
.identity65{background:#eaf0ff;border:1px solid #dce7ff;color:#3458a4}
/* Calendar is now a dashboard: main schedule and companion action rail */
.hero69{padding:26px 29px;border-radius:24px;background:linear-gradient(115deg,#304c91 0%,#5b6fbd 58%,#8c7ac6 100%);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;position:relative;overflow:hidden;margin:0 0 19px;box-shadow:0 15px 30px #425ba32b}
.hero69:after{content:'✦';position:absolute;font-size:160px;color:#ffffff12;right:55px;top:-65px;pointer-events:none}
.hero69 h2{color:#fff;font-size:1.8rem;margin:5px 0 6px;letter-spacing:-.055em}
.hero69 p{color:#e5eaff;margin:0;font-size:.94rem;line-height:1.5}
.hero69 .eyebrow{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:#cddaff;font-weight:800}
.hero69 .hero-symbol{width:70px;height:70px;border-radius:20px;display:grid;place-items:center;background:#ffffff23;font-size:2.1rem;flex-shrink:0}
.dashboard69{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(275px,1fr);gap:18px;align-items:start}
.dashboard69>.card{margin:0}
.dashboard-side69{display:flex;flex-direction:column;gap:16px;min-width:0}
.dashboard-side69>.card,.dashboard-side69>.quick65,.dashboard-side69>.workflow67{margin:0}
.dashboard-side69>.quick65{display:grid;grid-template-columns:1fr;gap:10px}
.quick65 button{border:1px solid #dfe6f5;background:#fff;border-radius:16px;min-height:76px;padding:15px 18px;color:#2e569b;box-shadow:0 5px 12px #3248750a;font-size:.97rem}
.quick65 button:first-child{border-left:4px solid #4d8bdf}.quick65 button:last-child{border-left:4px solid #f2a47f}
.quick65 small{font-size:.8rem;line-height:1.4}
.workflow67{border:1px solid #dfe4f1;border-left:5px solid #9c84d6;border-radius:18px;padding:18px;background:#fff}
.workflow67 h3{font-size:1.04rem}
.attention65{border-left:5px solid #41a6a0;background:linear-gradient(145deg,#fff 45%,#f1faf8)}
.attention65 h2{font-size:1.1rem}
#panel65-calendar .calendar{gap:5px}
#panel65-calendar .day{min-height:80px;border-radius:12px}
#panel65-calendar .day.brian{background:#e8f1ff;border-color:#c9dcfa}
#panel65-calendar .day.jeff{background:#fff0e8;border-color:#f8d1c2}
#panel65-calendar .day.selected{outline-color:#755bc0}
#panel65-calendar .stats .stat{background:#f1f4ff}
/* Request view: real tabs and calmer content */
#panel65-requests .subnav67:first-of-type{padding:5px;background:#e9ecf6;border-radius:15px;display:inline-flex;gap:4px;margin-bottom:8px}
#panel65-requests .subnav67:first-of-type button{border:0;background:transparent;color:#576782;border-radius:11px;padding:12px 17px}
#panel65-requests .subnav67:first-of-type button.active{background:#fff;color:#2e4f92;box-shadow:0 3px 9px #33467518}
#panel65-requests .card{max-width:100%}
#panel65-requests .request,#panel65-requests .swap-row{border-radius:15px;border-color:#e6eaf3;padding:16px}
#panel65-requests .request:hover,#panel65-requests .swap-row:hover{border-color:#cbd7f2}
/* Settings are now a set of compact expandable preferences */
.settings-intro69{font-size:.93rem;color:#69758d;margin:0 0 20px}
.settings-grid69{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}
.settings-grid69>.card{margin:0}
.settings-grid69 .card h2{font-size:1.2rem;margin-bottom:8px}
.settings-grid69 .card p{line-height:1.55}
.settings-grid69 .row{gap:8px}
.settings-grid69 button{font-size:.88rem;padding:10px 12px}
.settings-tip69{background:#f1f7ff;border-radius:12px;padding:12px 14px;color:#4d6384;font-size:.83rem;margin-top:15px}
/* planning focus */
#panel65-planning .workflow67{background:#eef3ff;border-left-color:#7a74c9}
#panel65-planning #monthPlanCard{max-width:920px}
.monthly-status{background:#ecf6f4;color:#1f686a;border-radius:12px}
/* content legibility */
.footer{border-top:1px solid #e4e8f1;margin-top:30px;font-size:.76rem}
@media(max-width:900px){.dashboard69{grid-template-columns:1fr}.dashboard-side69{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dashboard-side69>.workflow67{grid-column:1/-1}.dashboard-side69>.quick65{grid-column:1/-1;grid-template-columns:repeat(2,1fr)}.settings-grid69{grid-template-columns:1fr}}
@media(max-width:650px){.shell{padding:12px 14px}.hero69{padding:19px 20px;border-radius:19px;margin-bottom:13px}.hero69 h2{font-size:1.45rem}.hero69 .hero-symbol{width:49px;height:49px;font-size:1.5rem}.hero69 p{font-size:.8rem}.nav65{position:sticky;top:0;z-index:80;border-radius:14px;margin:9px 0 15px;gap:3px;padding:5px}.nav65 button{min-height:53px;font-size:.72rem;line-height:1.3}.card{padding:17px;border-radius:17px}.dashboard-side69{display:flex;flex-direction:column}.dashboard-side69>.quick65{grid-template-columns:repeat(2,minmax(0,1fr))}.quick65 button{font-size:.84rem;padding:13px;min-height:78px}.quick65 small{font-size:.72rem}.panel65>h2{font-size:1.4rem}#panel65-requests .subnav67:first-of-type{display:grid;grid-template-columns:repeat(3,1fr);width:100%}#panel65-requests .subnav67:first-of-type button{padding:11px 5px;font-size:.8rem}header h1{font-size:1.12rem}header .shell{min-height:65px}.identity65{padding:5px 8px;font-size:.76rem}header #identity{display:none}header #logout{font-size:.76rem;padding:7px 9px}}

/* v7.0: compact welcome and shared coordination events */
.hero69{padding:12px 19px;border-radius:17px;margin-bottom:14px;min-height:0;box-shadow:0 6px 16px #425ba319}
.hero69 .eyebrow,.hero69 .hero-symbol,.hero69 p{display:none}
.hero69 h2{font-size:1.12rem;letter-spacing:-.02em;margin:0}
.event-panel70{background:#fff;border:1px solid #dce5f5;border-radius:20px;padding:18px;box-shadow:0 5px 16px #304c910a}
.event-panel70 h3{margin:0;font-size:1.1rem}
.event-panel70 .event-head70{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}
.event-row70{border-top:1px solid #edf0f7;padding:10px 0;display:flex;gap:10px;align-items:flex-start;justify-content:space-between}
.event-row70:first-of-type{border-top:0}
.event-row70 strong{display:block;font-size:.88rem}
.event-row70 small{display:block;color:#60708a;margin-top:3px;line-height:1.4}
.event-actions70{display:flex;gap:5px}
.event-actions70 button{padding:5px 9px;font-size:.75rem;min-height:0}
.event-chip70{display:block;font-size:.65rem;margin-top:4px;background:#f2e9ff;color:#6941a2;border-radius:6px;padding:3px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.event-form70{border:1px solid #dbe3f2;border-radius:16px;padding:14px;background:#f8faff;margin:12px 0}
.event-form70 label{display:block;margin-top:9px;font-size:.85rem;font-weight:650}
.event-form70 input,.event-form70 select,.event-form70 textarea{width:100%;box-sizing:border-box}
.event-form70 .form-actions70{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.event-error70{color:#a12437;font-size:.82rem}
@media(max-width:650px){.hero69{padding:11px 15px}.hero69 h2{font-size:1rem}.event-panel70{padding:15px}}
/* v7.1 dialog and account styling */
.event-form70{position:fixed;z-index:1001;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;box-sizing:border-box;box-shadow:0 24px 90px #182f5870;background:#fff;padding:24px}
.event-form70 .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.event-form70 input[type=date]{min-width:0;width:100%}
#eventBackdrop71{position:fixed;inset:0;background:#12234b88;z-index:1000}
.account71{margin-bottom:18px}.account71 .account-actions{display:flex;flex-wrap:wrap;gap:10px}.account71 form{margin-top:14px;max-width:520px}.account71 input{width:100%;box-sizing:border-box}.account71 .account-note{font-size:.85rem;color:#5b6d87}
@media(max-width:520px){.event-form70{padding:17px}.event-form70 .grid2{grid-template-columns:1fr}}

/* v7.2 Bernstein design system: visual-only overrides */
:root{--navy:#172d4c;--ink:#20324d;--muted:#71809a;--accent:#345da9;--line:#e6ebf2;--canvas:#f7f9fc;--brian:#417fd1;--jeff:#dc8b77}
body{background:var(--canvas);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.shell{max-width:1260px;padding-left:34px;padding-right:34px}
header{background:#fff;border-bottom:1px solid var(--line)}
header .shell{min-height:78px}
header h1{display:flex;align-items:center;gap:11px;font-size:1rem;letter-spacing:0}
.brand-mark72{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#284e90;color:#fff;font-size:1.3rem;font-weight:850;box-shadow:0 4px 10px #244d8924}
.brand-name72{display:flex;flex-direction:column;line-height:1.2;gap:3px}
.brand-name72 strong{font-size:1.06rem;letter-spacing:-.035em;color:#152b49}
.brand-name72 small{font-size:.72rem;letter-spacing:.04em;color:#71809a;font-weight:600}
.identity65{background:#f1f5fc;border:1px solid #e2eaf7;color:#294f8d}
.card{border:1px solid #e6ebf3;border-radius:20px;box-shadow:0 7px 24px #243c5a08;padding:25px}
.card:hover{box-shadow:0 7px 24px #243c5a08}
h2,h3{color:#1c3150;letter-spacing:-.035em}
button{background:#345da9;border-radius:10px;box-shadow:none}
button:hover:not(:disabled){background:#294f94;box-shadow:0 3px 9px #244d8920}
button.secondary{background:#f0f4fa;color:#344e74}
button.secondary:hover:not(:disabled){background:#e8eef7}
input,select,textarea{border-color:#dbe3ef;border-radius:10px;box-shadow:none}
.nav65{background:transparent;border:0;box-shadow:none;backdrop-filter:none;padding:0;margin:19px 0 24px;gap:6px;border-radius:0;position:relative}
.nav65 button{background:transparent;border:0;min-height:44px;color:#728099;font-size:.91rem;border-radius:10px}
.nav65 button.active,.nav65 button.active:hover{background:#e8eef8;color:#294f91;border:0;box-shadow:none}
.nav65 button:hover:not(.active){background:#f0f4fa;color:#304e7e}
#app>.notice{background:#fff9ed;border:1px solid #f1e3c7;border-left:3px solid #d9b36c;color:#7c684b;font-size:.78rem;padding:8px 12px;border-radius:9px;margin-bottom:22px}
.hero69{background:transparent;box-shadow:none;padding:0;margin:0 0 19px;border-radius:0}
.hero69:after{display:none}
.hero69 h2{color:#1c3150;font-size:1.65rem;font-weight:790;letter-spacing:-.055em}
.dashboard69{grid-template-columns:minmax(0,2.2fr) minmax(275px,.92fr);gap:20px}
.dashboard69>.card{padding:26px}
.dashboard-side69{gap:14px}
.dashboard-side69>.workflow67,.dashboard-side69>.quick65,.dashboard-side69>.attention65,.dashboard-side69>.event-panel70{margin:0}
.workflow67{border:1px solid #e4eaf3;border-left:3px solid #a3b6d5;background:#fff;border-radius:16px;padding:17px;box-shadow:none}
.workflow67 h3{font-size:1rem}
.dashboard-side69>.quick65{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.quick65 button{border:1px solid #e3eaf3;border-left:0!important;border-radius:14px;min-height:100px;padding:14px 12px;background:#fff;color:#355b99;font-size:.87rem;box-shadow:none}
.quick65 button:hover:not(:disabled){background:#f5f8fc;border-color:#d5e2f4}
.quick65 small{font-size:.72rem}
.attention65{border:1px solid #e4eaf3;border-radius:16px;background:#fff}
.attention65:before{display:none}
.attention65 h2{font-size:1rem}
.event-panel70{border:1px solid #e4eaf3;border-radius:16px;box-shadow:none;padding:18px}
.event-panel70 h3{font-size:1rem}
.event-head70 button{font-size:.8rem;padding:9px 11px}
.event-chip70{background:#f0ebfb;color:#67519a;border-radius:6px;padding:4px 6px;font-size:.68rem}
#panel65-calendar .calendar{gap:6px}
#panel65-calendar .weekday{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#8b96a8;padding:13px 0}
#panel65-calendar .day{min-height:94px;border-radius:11px;padding:10px;gap:5px;text-align:left;box-shadow:none;position:relative}
#panel65-calendar .day.brian{background:#e9f2ff;border:1px solid #cbdffb}
#panel65-calendar .day.jeff{background:#fff0e9;border:1px solid #f4d7c9}
#panel65-calendar .day.unknown{background:#f8fafc;border:1px solid #eef1f6}
#panel65-calendar .day .date{font-size:.88rem;font-weight:750;color:#334866}
#panel65-calendar .day .who{font-size:0;line-height:1.3}
#panel65-calendar .day.brian .who:after{content:'Brian';font-size:.82rem;color:#275eae;font-weight:750}
#panel65-calendar .day.jeff .who:after{content:'Jeff';font-size:.82rem;color:#b5624e;font-weight:750}
#panel65-calendar .day.unknown .who:after{content:'Not set';font-size:.7rem;color:#9aa4b2;font-weight:500}
#panel65-calendar .day .where{display:none}
#panel65-calendar .day.selected{outline:3px solid #6b60b7;outline-offset:-3px}
#panel65-calendar .day:focus-visible{outline:3px solid #345da9;outline-offset:2px}
#panel65-calendar .legend{font-size:.79rem;gap:12px;color:#65758d}
#panel65-calendar .legend-item strong{color:#344b6a}
#panel65-calendar .stats .stat{background:#f6f8fc;border:1px solid #e8edf5;border-radius:10px;font-size:.8rem}
#panel65-calendar .stats .stat strong{font-size:1rem}
#panel65-calendar .dot.brian{background:#417fd1}
#panel65-calendar .dot.jeff{background:#dc8b77}
.panel65>h2{font-size:1.6rem}
.settings-grid69{gap:18px}
.settings-grid69 .card,.account71{border-radius:18px}
#panel65-requests .subnav67:first-of-type{background:#edf1f7}
#panel65-requests .subnav67:first-of-type button.active{color:#2d528e}
.event-form70{border:1px solid #e2e8f1;box-shadow:0 28px 90px #1b2e4c3f;border-radius:20px;padding:27px}
#eventBackdrop71{background:#14294599;backdrop-filter:blur(3px)}
.event-form70>strong{font-size:1.16rem;letter-spacing:-.025em;color:#1c3150}
.footer{border-top:1px solid #e7ebf1;color:#96a1b0}
@media(max-width:900px){.dashboard69{grid-template-columns:1fr}.dashboard-side69{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-side69>.event-panel70{grid-column:1/-1}.dashboard-side69>.quick65{grid-column:auto;grid-template-columns:1fr}.dashboard-side69>.workflow67{grid-column:auto}}
@media(max-width:650px){
 .shell{padding-left:14px;padding-right:14px}
 header .shell{min-height:66px}
 .brand-mark72{width:34px;height:34px;border-radius:10px}
 .brand-name72 strong{font-size:.95rem}.brand-name72 small{font-size:.63rem}
 .nav65{position:sticky;top:0;background:#f7f9fcf5;z-index:80;padding:6px 0;margin:10px 0 15px;gap:2px}
 .nav65 button{font-size:.72rem;min-height:47px;padding:7px 2px}
 .hero69 h2{font-size:1.34rem}
 .card,.dashboard69>.card{padding:16px;border-radius:16px}
 .dashboard-side69{display:flex;flex-direction:column}
 .dashboard-side69>.quick65{grid-template-columns:repeat(2,minmax(0,1fr))}
 .quick65 button{min-height:88px}
 #panel65-calendar .calendar{gap:3px}
 #panel65-calendar .day{min-height:61px;padding:5px;border-radius:7px;gap:4px}
 #panel65-calendar .day .date{font-size:.72rem}
 #panel65-calendar .day.brian .who:after,#panel65-calendar .day.jeff .who:after{font-size:.64rem}
 #panel65-calendar .day.unknown .who:after{font-size:.55rem}
 #panel65-calendar .legend{gap:7px;font-size:.7rem}
 #panel65-calendar .weekday{font-size:.63rem;padding:8px 0}
 .event-form70{padding:18px}
}

/* v7.4: warm editorial design + compact mobile weekly calendar */
:root{--ink:#20332f;--forest:#193f36;--mint:#e2f1e9;--terracotta:#b76d51;--sand:#f6e8dd}
body{background:#f7f5f0!important;color:var(--ink)!important;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
body>header{background:#193f36!important;border-bottom:0!important;box-shadow:none!important}
body>header .shell{max-width:1260px!important}
body>header h1,body>header h1 strong,body>header h1 small{color:#fff!important}
body>header h1 small{opacity:.72}
body>header .brand-mark72{background:#f1e4cb!important;color:#193f36!important;border-radius:12px!important;box-shadow:none!important}
body>header .nav65{background:#2b5147!important;border:1px solid #476a60!important;box-shadow:none!important}
body>header .nav65 button{color:#e7f1e9!important;background:transparent!important}
body>header .nav65 button.active{background:#f1e9d9!important;color:#193f36!important}
body>header #logout,body>header .secondary{background:#355a50!important;color:#fff!important;border:0!important}
body>header #identity,body>header .muted{color:#e2eae5!important}
body>header .identity-pill,body>header .signed-pill{background:#355a50!important;color:#fff!important}
main.shell{max-width:1260px!important}
#app>.notice{background:#f8f0dd!important;border:1px solid #e6d6af!important;color:#75603b!important;box-shadow:none!important;border-radius:9px!important}
.v73-intro h2{color:#1c3d34!important;font-weight:780!important;letter-spacing:-.055em!important}
.v73-intro p{color:#7d847a!important}
.v73-primary{background:#193f36!important;border-radius:30px!important;box-shadow:0 6px 18px #193f3625!important}
.v73-metric{background:#fffdfa!important;border:1px solid #e8e4d9!important;border-radius:12px!important;box-shadow:none!important}
.v73-metric.brian .v73-icon{background:#dcefe4!important;color:#267257!important}
.v73-metric.jeff .v73-icon{background:#f8e5d8!important;color:#ad674b!important}
.v73-metric strong{color:#193f36!important}
#panel65-calendar .dashboard69>section.card{background:#fffdfa!important;border:1px solid #e8e4d9!important;box-shadow:0 12px 45px #354e3a09!important;border-radius:18px!important}
#panel65-calendar .day{border-radius:9px!important;box-shadow:none!important}
#panel65-calendar .day.brian{background:#e2f1e9!important;border-color:#c4e2d2!important}
#panel65-calendar .day.jeff{background:#f8e8de!important;border-color:#eed2c0!important}
#panel65-calendar .day.brian .who,#panel65-calendar .day.brian .who:after{color:#236b51!important}
#panel65-calendar .day.jeff .who,#panel65-calendar .day.jeff .who:after{color:#a75f45!important}
#panel65-calendar .day.selected{outline:3px solid #193f36!important;outline-offset:-3px}
#panel65-calendar .day .date{color:#243d36!important}
#panel65-calendar .event-chip70{background:#fff9e9!important;color:#765a25!important;border-left:3px solid #d9b76e!important}
#panel65-calendar .dot.brian{background:#338361!important}#panel65-calendar .dot.jeff{background:#c67b5d!important}
#panel65-calendar .dashboard-side69 .card,#panel65-calendar .dashboard-side69 .attention65,#panel65-calendar .dashboard-side69 .event-panel70{background:#fffdfa!important;border-color:#e8e4d9!important;border-radius:13px!important}
.v73-section-heading{color:#193f36!important}
#monthTitle{color:#193f36!important}
.v74-switch{display:flex;align-items:center;gap:3px;padding:4px;background:#e9eee9;border-radius:40px;width:max-content;margin:0 0 12px auto}
.v74-switch button{padding:8px 15px!important;border:0!important;border-radius:30px!important;background:transparent!important;color:#4d675d!important;box-shadow:none!important;font-size:.85rem!important;font-weight:700!important}
.v74-switch button[aria-pressed="true"]{background:#193f36!important;color:#fff!important}
.v74-weeknav{display:none;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px 15px}
.v74-weeknav strong{font-size:1rem;color:#193f36}
.v74-weeknav button{border-radius:50%!important;width:37px;height:37px;padding:0!important;background:#e9eee9!important;color:#193f36!important;border:0!important}
.v74-bottom-nav{display:none}
@media(max-width:700px){
 body{background:#faf8f3!important;padding-bottom:78px!important}
 body>header{position:sticky!important;top:0;z-index:60!important}
 body>header .shell{padding:10px 14px!important;display:flex!important;flex-wrap:nowrap!important;min-height:58px!important;gap:8px!important}
 body>header h1{font-size:1rem!important;min-width:0!important}
 body>header h1 small{font-size:.6rem!important}
 body>header .brand-mark72{width:34px!important;height:34px!important;font-size:1.1rem!important}
 body>header .nav65{display:none!important}
 body>header #logout{font-size:.7rem!important;padding:8px 10px!important}
 body>header .shell>.row{margin-left:auto!important;gap:5px!important}
 body>header .shell>.row .pill,body>header .shell>.row .badge{font-size:.65rem!important;padding:5px 8px!important}
 #app>.notice{font-size:.7rem!important;line-height:1.3!important;padding:8px 10px!important;margin:10px 0 12px!important}
 main.shell{padding:9px 12px!important}
 .v73-intro{margin:0 0 10px!important;align-items:center!important}
 .v73-intro h2{font-size:1.25rem!important}
 .v73-intro p{display:none!important}
 .v73-primary{padding:9px 13px!important;font-size:.8rem!important}
 .v73-overview{display:none!important}
 #panel65-calendar .dashboard69>section.card{padding:13px 9px!important;border-radius:14px!important}
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child{margin-bottom:4px!important}
 #monthTitle{font-size:1.07rem!important;min-width:0!important;letter-spacing:-.02em!important}
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child .row{gap:5px!important}
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child button{padding:8px!important;font-size:.8rem!important}
 #panel65-calendar .legend{font-size:.65rem!important;gap:9px!important;margin:6px 0!important}
 #panel65-calendar .legend .muted{display:none!important}
 #panel65-calendar .calendar{gap:4px!important}
 #panel65-calendar .weekday{font-size:.65rem!important;padding:7px 0!important}
 #panel65-calendar .day{min-height:63px!important;padding:7px 3px!important;border-radius:8px!important;gap:7px!important}
 #panel65-calendar .day .date{font-size:.9rem!important}
 #panel65-calendar .day .who{font-size:.61rem!important}
 #panel65-calendar .day.brian .who:after,#panel65-calendar .day.jeff .who:after{font-size:.59rem!important}
 #panel65-calendar .event-chip70{font-size:.51rem!important;max-height:32px!important;line-height:1.2!important}
 #panel65-calendar .day.blank{display:block!important;min-height:63px!important;background:transparent!important;border:0!important}
 #panel65-calendar .calendar{grid-template-columns:repeat(7,minmax(0,1fr))!important}
 #panel65-calendar .day.v74-offweek{display:none!important}
 #panel65-calendar .calendar.v74-week-mode .day{min-height:93px!important}
 #panel65-calendar .calendar.v74-week-mode .day .date{font-size:1.05rem!important}
 #panel65-calendar .calendar.v74-week-mode .day .who:after{font-size:.61rem!important}
 .v74-weeknav{display:flex!important}
 .v74-switch{margin:4px 0 10px auto!important}
 .v74-bottom-nav{display:grid!important;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:90;background:#193f36;padding:9px 8px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -7px 25px #183a2f25}
 .v74-bottom-nav button{background:transparent!important;border:0!important;color:#c7d9d0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important;font-size:.67rem!important;padding:5px!important;box-shadow:none!important;border-radius:9px!important}
 .v74-bottom-nav button[aria-current="page"]{color:#fff!important;background:#315a4e!important}
 .v74-bottom-nav button span{font-size:1.15rem!important}
 .footer{margin-bottom:30px!important}
}

/* v7.4.1: burgundy + blue/coral, mobile-first refinements */
:root{--forest:#68263a;--mint:#e7f0fc;--terracotta:#c56d61;--sand:#f9e7e2;--ink:#2b2630}
body{background:#faf7f6!important;color:#2b2630!important}
body>header{background:#68263a!important}
body>header .brand-mark72{background:#fff0e7!important;color:#68263a!important}
body>header .nav65{background:#7b354a!important;border-color:#97566b!important}
body>header .nav65 button.active{background:#fff0e7!important;color:#68263a!important}
body>header #logout,body>header .secondary,body>header .identity-pill,body>header .signed-pill{background:#844457!important}
.v73-intro h2,.v73-section-heading,#monthTitle{color:#68263a!important}
.v73-primary,button:not(.secondary):not(.danger){background:#68263a}
#panel65-calendar .day.brian{background:#e7f0fc!important;border-color:#c7dcf6!important}
#panel65-calendar .day.jeff{background:#f9e7e2!important;border-color:#f1c9be!important}
#panel65-calendar .day.brian .who,#panel65-calendar .day.brian .who:after{color:#2c65a1!important}
#panel65-calendar .day.jeff .who,#panel65-calendar .day.jeff .who:after{color:#ad584c!important}
#panel65-calendar .day.selected{outline-color:#68263a!important}
#panel65-calendar .day .date{color:#322733!important}
#panel65-calendar .dot.brian{background:#3978bb!important}
#panel65-calendar .dot.jeff{background:#cf7564!important}
.v73-metric.brian .v73-icon{background:#e7f0fc!important;color:#3978bb!important}
.v73-metric.jeff .v73-icon{background:#f9e7e2!important;color:#ad584c!important}
.v73-metric strong{color:#68263a!important}
.v74-switch{background:#f2e8eb!important}
.v74-switch button[aria-pressed="true"]{background:#68263a!important;color:white!important}
.v74-weeknav strong{color:#68263a!important}
.v74-weeknav button{color:#68263a!important;background:#f4e9ed!important}
.v741-plan-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;margin:0 0 14px;border:1px solid #eadce1;border-radius:13px;background:#fff9fa}
.v741-plan-nav strong{font-size:1.05rem;color:#68263a}
.v741-plan-nav button{font-size:1.3rem;min-width:43px;background:#f2e8eb!important;color:#68263a!important}
.v741-details{display:none;margin:12px 0 2px;padding:14px 16px;border:1px solid #eadce1;border-radius:13px;background:#fff9fa}
.v741-details strong{display:block;font-size:1rem;color:#68263a}
.v741-details p{margin:5px 0;color:#5d5560;font-size:.88rem}
.v741-details small,.v741-date-label{color:#786d75;font-size:.77rem}
.v741-date-label{display:block;margin-bottom:4px}
@media(max-width:700px){
 body{background:#faf7f6!important}
 body>header .nav65,.nav65{display:none!important}
 .v74-bottom-nav{background:#68263a!important}
 .v74-bottom-nav button[aria-current="page"]{background:#85475b!important}
 .v73-intro{display:none!important}
 #app>.notice{font-size:.67rem!important;padding:7px 9px!important;margin:4px 0 8px!important}
 #panel65-calendar .dashboard69>section.card{margin-top:7px!important}
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child{margin-bottom:0!important}
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child #today{display:none!important}
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child #prev,
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child #next{display:none!important}
 #panel65-calendar .stats{display:none!important}
 #panel65-calendar .legend{margin:2px 0 7px!important}
 #panel65-calendar .dashboard69>section.card>p.muted.small{display:none!important}
 #panel65-calendar .day .who{font-size:0!important;line-height:0!important}
 #panel65-calendar .day .who:after{content:none!important;display:none!important}
 #panel65-calendar .day .where{display:none!important}
 #panel65-calendar .day.brian .date{color:#286aa8!important}
 #panel65-calendar .day.jeff .date{color:#a64c42!important}
 #panel65-calendar .day{min-height:65px!important;align-items:center!important;justify-content:center!important}
 #panel65-calendar .calendar.v74-week-mode .day{min-height:74px!important}
 #panel65-calendar .day.v741-pad{background:#f6f3f4!important;border:1px dashed #e7dfe2!important;opacity:.55!important}
 #panel65-calendar .day.v741-pad .date{color:#91868e!important}
 .v741-details{display:block}
 .v74-weeknav{padding:3px 2px 8px!important}
 .v74-switch{margin:3px 0 7px auto!important}
}

/* v7.4.2 readability and layout repairs */
body>header .nav65 button,.nav65 button{color:#fff5f5!important;background:#68263a!important}
body>header .nav65 button.active,.nav65 button.active{background:#fff0e7!important;color:#68263a!important}
#panel65-requests button:not(.secondary):not(.danger){color:#fff!important}
#panel65-requests .subnav67 button{background:#f1ebee!important;color:#68263a!important}
#panel65-requests .subnav67 button.active{background:#fff!important;color:#68263a!important}
#panel65-calendar .quick65 button small{color:inherit!important;opacity:.86}
.v742-monthly-list{display:grid;gap:11px;margin:14px 0 20px}
.v742-month-card{border:1px solid #e8dce0;background:#fffaf9;border-radius:13px;padding:15px}
.v742-month-card h3{margin:0 0 7px;color:#68263a;font-size:1rem}
.v742-month-card p{margin:5px 0;color:#554950;font-size:.86rem}
.v742-month-card .v742-actions{margin-top:10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.v742-month-card button{color:#fff!important;background:#68263a!important}
.v742-month-card .v742-wait{font-weight:700;color:#8b4935}
.v742-monthly-title{margin:18px 0 6px;color:#68263a;font-size:1.05rem}
@media(max-width:700px){
 #panel65-calendar .calendar.v74-week-mode .day.blank{display:none!important}
 #panel65-calendar .calendar.v74-week-mode .day{min-width:0!important;min-height:69px!important;padding:5px 1px!important}
 #panel65-calendar .calendar.v74-week-mode .day .date{font-size:.92rem!important}
 #panel65-calendar .calendar.v74-week-mode .weekday{font-size:.58rem!important}
 #panel65-calendar .dashboard-side69>.quick65 button{background:#fffaf9!important;color:#68263a!important;border:1px solid #eadce1!important}
 #panel65-calendar .dashboard-side69>.quick65 button small{color:#5d4d56!important}
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child{margin-top:0!important}
 #app>.notice{font-size:.7rem!important;line-height:1.35!important}
 .v74-bottom-nav button{color:#fff3f6!important}
}

/* v7.4.3 — contrast and compact request navigation (visual only) */
#panel65-requests .subnav67{background:#f2eef0!important;border:1px solid #e9dfe3!important;gap:5px!important;padding:5px!important;border-radius:14px!important}
#panel65-requests .subnav67 button{background:transparent!important;color:#68263a!important;border:1px solid transparent!important;box-shadow:none!important;font-weight:750!important;opacity:1!important;text-shadow:none!important;line-height:1.25!important;white-space:normal!important}
#panel65-requests .subnav67 button.active{background:#fff!important;color:#68263a!important;border-color:#e9dfe3!important;box-shadow:0 2px 6px #47202a12!important}
#panel65-requests .subnav67 button:hover:not(.active){background:#e7dce1!important;color:#572034!important}
#panel65-requests .subnav67 button:disabled{background:#f1eef0!important;color:#827781!important;opacity:.7!important;cursor:not-allowed!important}
#panel65-requests button.secondary{background:#f2eef0!important;color:#68263a!important;border-color:#e4dce0!important}
#panel65-requests button:not(.secondary):not(.danger):not(.active){color:#fff!important}
#panel65-requests .subnav67 button:not(.secondary):not(.danger):not(.active){color:#68263a!important}
#panel65-requests .v743-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;padding:2px 6px;margin-left:4px;border-radius:99px;background:#68263a;color:#fff;font-size:.72em;font-weight:800;vertical-align:middle}
#panel65-requests .subnav67 button.active .v743-count{background:#68263a;color:#fff}
#panel65-requests .v742-month-card button{color:#fff!important;background:#68263a!important}
@media(max-width:700px){
 #panel65-requests .subnav67:first-of-type{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:4px!important}
 #panel65-requests .subnav67:first-of-type button{min-width:0!important;min-height:46px!important;padding:9px 4px!important;font-size:.83rem!important;white-space:nowrap!important}
 #panel65-requests .subnav67:nth-of-type(2){width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #panel65-requests .subnav67:nth-of-type(2) button{min-width:0!important;padding:10px 5px!important;font-size:.82rem!important}
}


/* Original style block 2 */

.history67 .history744-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.history744-toolbar button{background:#f3eef0!important;color:#65253c!important;border:1px solid #e6d9df!important;padding:10px 14px;border-radius:12px;font-weight:700}
.history744-toolbar button.active{background:#65253c!important;color:#fff!important;border-color:#65253c!important}
.history744-group{margin-top:18px}
.history744-group>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 12px;background:#faf7f8;border:1px solid #eadfe3;border-radius:12px;color:#65253c;font-weight:800;list-style:none}
.history744-group>summary::-webkit-details-marker{display:none}
.history744-group>summary:after{content:'⌄';font-size:20px}
.history744-group:not([open])>summary:after{content:'›'}
.history744-count{background:#eee3e8;border-radius:99px;padding:3px 9px;font-size:12px;margin-left:auto}
.history744-content{padding:10px 0}
.history744-entry{border:1px solid #e8e0e3;border-radius:12px;margin:8px 0;overflow:hidden;background:#fff}
.history744-entry>summary{cursor:pointer;padding:13px 14px;list-style:none;display:flex;justify-content:space-between;gap:12px;align-items:center;font-weight:700;color:#25344a}
.history744-entry>summary::-webkit-details-marker{display:none}
.history744-entry>summary:after{content:'⌄';color:#65253c}
.history744-entry[open]>summary:after{content:'⌃'}
.history744-entry-body{padding:0 14px 14px}
.history744-more{display:block;margin:12px auto;background:#f3eef0!important;color:#65253c!important;border:1px solid #e6d9df!important}
.history744-hidden{display:none!important}
@media(max-width:700px){.history744-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.history744-toolbar button{font-size:13px;padding:11px 8px}.history744-group>summary{font-size:15px}}


/* Original style block 3 */

/* v7.4.6: accessible contrast and compact history */
#panel65-requests .subnav67 button,
#panel65-requests .history744-toolbar button,
#panel65-requests .history744-group>summary,
#panel65-requests .history744-entry>summary{color:#65253c!important;opacity:1!important;text-shadow:none!important}
#panel65-requests .subnav67 button.active,
#panel65-requests .history744-toolbar button.active{background:#fff!important;color:#65253c!important;border-color:#e1d3da!important}
#panel65-requests .history744-toolbar button{background:#f3eef0!important;color:#65253c!important}
#panel65-requests .history744-toolbar button.active{background:#65253c!important;color:#fff!important;border-color:#65253c!important}
#panel65-requests .history744-group[hidden]{display:none!important}
#panel65-requests .history744-content{padding:6px 0}
#panel65-requests .history744-group{margin-top:9px}
#panel65-requests .history744-entry{margin:5px 0}
#panel65-requests .history744-entry>summary{padding:11px 13px;font-size:.9rem}
#panel65-requests .history744-entry .v742-month-card{margin:0!important;padding:12px!important;box-shadow:none!important}
#panel65-requests .history744-entry-body{padding:0 8px 8px}
#panel65-requests .history744-group>summary{background:#faf7f8!important}
@media(max-width:700px){
 body>header{position:relative!important}
 #panel65-requests .history744-toolbar{display:flex!important;flex-wrap:nowrap!important;gap:4px!important}
 #panel65-requests .history744-toolbar button{flex:1;min-width:0;padding:10px 3px!important;font-size:.72rem!important}
 #panel65-requests .history744-group>summary{padding:12px!important}
 #panel65-requests .history744-entry>summary{font-size:.82rem!important}
}


/* Original style block 4 */

/* v7.4.6: cohesive controls, contrast, and responsive rhythm */
:root{--wine746:#68263a;--wineDeep746:#512034;--wineTint746:#f5edf0;--navy746:#1b324b;--slate746:#526477;--line746:#e5dce1}
body{background:#faf8f7!important;color:var(--navy746)!important}
.card{border-color:#e6e8ef!important;box-shadow:0 8px 28px rgba(52,33,48,.045)!important}
.card h2,.card h3,#panel65-requests>h2{color:var(--navy746)!important;letter-spacing:-.025em}
.muted,.card p.muted{color:var(--slate746)!important}
button{transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ba879a!important;outline-offset:3px!important}
button:hover:not(:disabled){filter:brightness(.96)}
button:active:not(:disabled){transform:translateY(1px)}
button.secondary{background:#f2edef!important;color:var(--wineDeep746)!important;border:1px solid #e5d8df!important}
button.danger{background:#a63851!important;color:#fff!important}
#panel65-requests .subnav67{box-shadow:none!important}
#panel65-requests .subnav67 button{color:var(--wineDeep746)!important;background:transparent!important;opacity:1!important;text-shadow:none!important}
#panel65-requests .subnav67 button.active{background:#fff!important;color:var(--wineDeep746)!important;box-shadow:0 2px 9px #4d243017!important}
#panel65-requests .history744-toolbar button{background:#f5eef1!important;color:var(--wineDeep746)!important;border-color:#e6d9df!important;opacity:1!important;text-shadow:none!important}
#panel65-requests .history744-toolbar button.active{background:var(--wine746)!important;color:#fff!important}
#panel65-requests .history744-group>summary{color:var(--wineDeep746)!important}
#panel65-requests .history744-group[hidden]{display:none!important}
#panel65-requests .history744-entry>summary{color:var(--navy746)!important}
#panel65-calendar .dashboard-side69>.quick65 button{background:#fffaf9!important;color:var(--wineDeep746)!important;border:1px solid #e6d8de!important;box-shadow:0 2px 8px #68263a0d!important}
#panel65-calendar .dashboard-side69>.quick65 button small{color:#5b5260!important;opacity:1!important}
#panel65-calendar .day.selected{outline:3px solid var(--wine746)!important;outline-offset:-3px!important;box-shadow:inset 0 0 0 2px #fff,0 2px 7px #68263a24!important;position:relative}
#panel65-calendar .day.selected:before{content:'✓';position:absolute;right:5px;top:4px;background:var(--wine746);color:#fff;font-size:10px;line-height:16px;width:16px;height:16px;border-radius:50%;text-align:center}
#panel65-calendar .day:disabled{cursor:default}
#panel65-planning #monthPlanCard{max-width:100%!important}
#panel65-planning .v741-plan-nav{max-width:920px}
#panel65-planning .v746-plan-overview{margin:12px 0 16px;padding:14px 16px;border:1px solid #e6dce1;border-radius:14px;background:#fffcfb}
.v746-plan-overview .v746-plan-label{display:block;font-size:.72rem;font-weight:800;letter-spacing:.08em;color:#80616d;text-transform:uppercase;margin-bottom:5px}
.v746-plan-overview .v746-plan-month{font-size:1.18rem;font-weight:800;color:var(--wineDeep746)}
.v746-plan-overview .v746-plan-hint{font-size:.83rem;color:var(--slate746);margin:6px 0 0}
#panel65-settings .card{min-width:0}
#panel65-settings .card button{margin-bottom:4px}
#panel65-settings input{min-width:0}
.footer{line-height:1.5}
@media(max-width:700px){
 .card{border-radius:17px!important}
 #panel65-requests .subnav67 button{min-height:44px!important}
 #panel65-requests .history744-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 #panel65-requests .history744-toolbar button{font-size:.84rem!important;padding:12px 8px!important;min-height:44px}
 #panel65-requests .history744-group>summary{min-height:52px;align-items:center}
 #panel65-requests .history744-entry>summary{min-height:48px}
 #panel65-requests .history744-group{margin-top:9px}
 #panel65-calendar .day.selected:before{top:2px;right:2px;font-size:9px;width:14px;height:14px;line-height:14px}
 #panel65-planning .v746-plan-overview{padding:12px}
 .footer{padding-bottom:95px!important}
 input,select,textarea{font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){button{transition:none!important}}


/* Original style block 5 */

/* v7.4.7 — readability-first UI refresh; does not change data or authorization */
:root{--ui-wine:#68263a;--ui-wine-dark:#512034;--ui-navy:#20334a;--ui-muted:#495b6c;--ui-border:#ddd6db;--ui-soft:#f4eff1}
body{color:var(--ui-navy)!important;background:#fbf9f8!important}
.card{border:1px solid #dedfe5!important;box-shadow:0 5px 18px #38222d0a!important}
.card h2,.card h3{color:var(--ui-navy)!important}
.muted,.card .muted,.footer{color:var(--ui-muted)!important}
button,summary{touch-action:manipulation}
button:disabled{opacity:.65}
/* High contrast across all three levels of request navigation. */
#panel65-requests .subnav67 button,
#panel65-requests .subnav67 button:not(.active),
#panel65-requests .history744-toolbar button,
#panel65-requests .history744-toolbar button:not(.active){background:#f4eff1!important;color:#512034!important;border:1px solid #d9cbd2!important;opacity:1!important;text-shadow:none!important;-webkit-text-fill-color:#512034!important}
#panel65-requests .subnav67 button.active{background:#fff!important;color:#512034!important;-webkit-text-fill-color:#512034!important;border:2px solid #68263a!important}
#panel65-requests .history744-toolbar button.active{background:#68263a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:2px solid #68263a!important}
#panel65-requests .subnav67[hidden],#panel65-requests .history744-group[hidden]{display:none!important}
#panel65-requests .subnav67 button:focus-visible,#panel65-requests .history744-toolbar button:focus-visible{outline:3px solid #bf8498!important}
#panel65-requests .history744-toolbar{gap:8px!important}
#panel65-requests .history744-toolbar button{font-weight:800!important;min-height:44px!important}
#panel65-requests .history744-group>summary{background:#f7f2f4!important;color:#512034!important;border-color:#d9cbd2!important;font-size:1rem!important}
#panel65-requests .history744-entry>summary{background:#fff!important;color:#20334a!important;font-size:.95rem!important}
#panel65-requests .history744-entry{border-color:#d8d9df!important}
/* Planning: remove redundant secondary summary; retain the original authoritative status and actions. */
#panel65-planning .v746-plan-overview{display:none!important}
#panel65-planning .workflow67{background:#f2f4fc!important;border-left:4px solid #8075c7!important;box-shadow:none!important}
#panel65-planning .v741-plan-nav{margin-bottom:10px!important}
#panel65-planning #monthPlanCard{padding:20px!important}
#panel65-planning #monthPlanCard .monthly-status{color:#255d60!important;background:#e9f5f4!important;border:1px solid #b8d8d6!important;line-height:1.4!important}
#panel65-planning #monthPlanCard .row.spread{gap:12px}
/* Calendar: make key actions legible and clearly interactive. */
#panel65-calendar .dashboard-side69>.quick65 button{background:#fff!important;color:#512034!important;border:2px solid #e0cdd5!important;box-shadow:none!important}
#panel65-calendar .dashboard-side69>.quick65 button small{color:#495b6c!important;opacity:1!important}
#panel65-calendar .day.selected{outline:3px solid #68263a!important}
#panel65-calendar .v74-switch button:not([aria-pressed="true"]){color:#512034!important}
#panel65-calendar .v74-switch button[aria-pressed="true"]{color:#fff!important;-webkit-text-fill-color:#fff!important}
/* Buttons and form fields. */
button.secondary{color:#512034!important;background:#f4eff1!important;border:1px solid #d9cbd2!important}
input,select,textarea{border:1px solid #aeb9c6!important;color:#20334a!important}
input::placeholder,textarea::placeholder{color:#66717f!important;opacity:1}
#panel65-requests .history744-count{background:#e9dfe4!important;color:#512034!important}
@media(max-width:700px){
 body{padding-bottom:calc(108px + env(safe-area-inset-bottom))!important}
 #app{padding-bottom:30px!important}
 .footer{padding-bottom:35px!important;margin-bottom:20px!important}
 #panel65-requests .history744-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #panel65-requests .history744-toolbar button{font-size:.86rem!important;padding:12px 7px!important;line-height:1.2!important}
 #panel65-requests .subnav67 button{min-height:48px!important}
 #panel65-planning .v741-plan-nav{width:100%!important;max-width:100%!important;padding:9px 11px!important}
 #panel65-planning .workflow67{padding:14px!important;margin:10px 0!important}
 #panel65-planning #monthPlanCard{padding:16px!important}
 #panel65-planning #monthPlanCard .row.spread{align-items:flex-start!important}
 #panel65-calendar .dashboard-side69>.quick65 button{min-height:75px!important}
 .v74-bottom-nav{padding-bottom:calc(12px + env(safe-area-inset-bottom))!important}
}

/* Unified typography and control baseline (v7.5). */
html { font-family: var(--font-body); }
body, button, input, select, textarea { font-family: var(--font-body) !important; }
body { font-size: 16px; line-height: 1.48; }
h1, h2, h3, h4, .brand-name72 strong, .day .date, .history744-group > summary, .history744-entry > summary {
  font-family: var(--font-display) !important;
  letter-spacing: .005em;
}
h1, h2, h3 { line-height: 1.2; }
button, input, select, textarea { font-size: 1rem; }
button { font-weight: 700; line-height: 1.2; border-radius: var(--radius-control); }
button:not(:disabled):hover { filter: brightness(.96); }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible, a:focus-visible { outline: 3px solid var(--focus-ring) !important; outline-offset: 2px; }
button:disabled { cursor: not-allowed; }
input, select, textarea { min-height: 44px; }
.muted, .small, .footer { line-height: 1.45; }
@media(max-width:700px) {
  input, select, textarea { font-size: 16px !important; }
  button { min-height: 44px; }
  .day .date { font-weight: 700; }
}
/* v7.6 Burgundy / warm ivory / slate navy; comfortable reading sizes */
:root{--font-display:"Barlow",sans-serif;--font-body:"Barlow",sans-serif;--color-primary:#64263d;--color-primary-hover:#512034;--color-text:#26364b;--color-muted:#4a596b;--color-subtle:#f6f0e9;--color-border:#dfd3cb;--focus-ring:#a66a7e}
html,body{background:#f6f0e9!important;color:#26364b!important}
body{font-size:17px!important;line-height:1.52!important}
.card{background:#fff!important;border-color:#e7ddd5!important}
.muted,.small,.footer{color:#4a596b!important;font-size:15px!important}
h1,h2,h3,h4{color:#26364b}
h2{font-size:23px!important}h3{font-size:20px!important}
button,input,select,textarea{font-size:17px!important;line-height:1.35!important}
button:not(.secondary):not(.danger){background-color:#64263d}
button:not(.secondary):not(.danger):hover:not(:disabled){background-color:#512034}
header h1{cursor:pointer}header h1:focus-visible{outline:3px solid #a66a7e;outline-offset:5px;border-radius:5px}
.brand-name72 small{font-size:13px!important}
#panel65-planning .workflow67{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px!important;background:#fff!important;border-left:4px solid #64263d!important}
#panel65-planning .workflow67 h3{margin:0!important;font-size:17px!important}
#panel65-planning .workflow67 button{margin:0!important}
.v76-inline-error{grid-column:1/-1;padding:12px;border-radius:10px;background:#fff0ed;color:#812c35;border:1px solid #e9a8a5;font-weight:650;margin-top:8px}
.v76-inline-error[hidden],.v76-fair-result[hidden]{display:none!important}
.v76-fairness{width:100%;margin-top:10px}
.v76-fair-result{margin-top:10px;padding:14px;background:#fff;border:1px solid #dfd3cb;border-radius:12px}
.v76-fair-options{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.v76-selected-list{display:grid;gap:5px;margin-top:8px;max-height:230px;overflow:auto}
.v76-selected-item{padding:7px 10px;background:#f6f0e9;border-radius:7px;color:#26364b;font-weight:550}
.history744-group>summary{font-size:18px!important}
.footer{font-size:15px!important}
@media(max-width:700px){
 body{font-size:18px!important}
 h2{font-size:25px!important}h3{font-size:21px!important}
 button,input,select,textarea{font-size:18px!important}
 .muted,.small,.footer,.v741-details p,.v741-details small,.v741-date-label{font-size:15px!important}
 .v741-details strong{font-size:19px!important}
 .day .date{font-size:17px!important}
 .day .who{font-size:12px!important;line-height:1.1!important}
 .day .where{font-size:11px!important;line-height:1.1!important}
 .weekday{font-size:14px!important}
 .v74-bottom-nav button{font-size:14px!important}
 #panel65-requests .subnav67 button,#panel65-requests .history744-toolbar button{font-size:16px!important}
 #panel65-planning .workflow67{flex-wrap:wrap}
}

/* v7.7: legible legend, navy hierarchy, compact mobile calendar, conditional fairness */
#panel65-calendar .legend,
#panel65-calendar .legend-item,
#panel65-calendar .legend-item strong{font-size:16px!important;line-height:1.4!important;color:#26364b!important}
#panel65-calendar .legend{gap:15px!important;align-items:center!important}
#panel65-calendar .legend .dot{width:15px!important;height:15px!important;margin-right:7px!important;flex-shrink:0}
#panel65-calendar .legend-item{gap:5px!important}
#panel65-calendar .v76-fairness[hidden],#v76FairButton[hidden]{display:none!important}
#panel65-calendar h2,#panel65-calendar h3,#panel65-calendar .dashboard-side69 h3,
#panel65-calendar .day.unknown .date{color:#26364b!important}
#panel65-calendar .weekday{color:#43546d!important}
#panel65-calendar .v74-weeknav strong{color:#26364b!important}
#panel65-calendar .v74-weeknav button{color:#26364b!important}
@media(max-width:700px){
 #panel65-calendar .legend,#panel65-calendar .legend-item,#panel65-calendar .legend-item strong{font-size:17px!important}
 #panel65-calendar .legend{gap:12px!important;margin:5px 0 9px!important}
 #panel65-calendar .legend .dot{width:16px!important;height:16px!important}
 #panel65-calendar .v74-weeknav{display:none!important}
 #panel65-calendar .calendar.v74-week-mode~.v74-weeknav{display:flex!important}
 #panel65-calendar .v74-switch{margin:3px 0 5px auto!important}
 #panel65-calendar .v76-fairness{margin-top:3px!important}
 #panel65-calendar #v76FairButton{padding:9px 13px!important}
}

/* v7.8 readability and request workflow */
#panel65-requests .history744-more, #panel65-requests button.history744-more{background:#64263d!important;color:#fff!important;border:2px solid #64263d!important;font-size:16px!important;font-weight:750!important;opacity:1!important;text-shadow:none!important;padding:13px 22px!important;min-height:48px!important;border-radius:11px!important;cursor:pointer!important}
#panel65-requests .history744-more:hover{background:#4c1c2e!important;color:#fff!important}
.v78-fair-choice{display:flex!important;align-items:center;gap:12px;padding:11px 13px;border:1px solid #c9b8c0;border-radius:10px;background:#fff;margin:7px 0;font-weight:650;color:#26364b;cursor:pointer}
.v78-fair-choice input{width:22px;height:22px;accent-color:#64263d;flex-shrink:0}
.v78-fair-preview{margin-top:14px;padding:14px;border-radius:12px;border:1px solid #c9b8c0;background:#f6f0e9;color:#26364b}
.v78-fair-preview p{margin:7px 0;line-height:1.5}.v78-fair-preview button{margin-top:8px}.v78-updated{font-size:12px;color:#26364b;display:inline-block;margin-bottom:8px}
@media(max-width:700px){#panel65-requests .history744-more{font-size:18px!important;min-height:52px!important}.v78-fair-choice{font-size:17px}}

/* v8.0: centralized design tokens and page refinements */
:root{--v80-burgundy:#64263d;--v80-navy:#26364b;--v80-ivory:#f6f0e9;--v80-paper:#fff;--v80-ink:#26364b}
body{background:var(--v80-ivory)!important;color:var(--v80-ink)!important}
#panel65-calendar h2,#panel65-planning h2,#panel65-settings h2,#panel65-requests h2,.v80-year-overview h2{color:var(--v80-navy)!important}
#panel65-calendar #monthTitle{color:var(--v80-navy)!important}
.v80-navy-button,.v80-year-nav button{background:var(--v80-navy)!important;color:white!important;border:1px solid var(--v80-navy)!important;border-radius:10px!important;font-weight:700!important;min-height:43px;padding:10px 16px}
#panel65-calendar #prev,#panel65-calendar #next,#panel65-calendar #today{background:var(--v80-navy)!important;color:white!important;border-color:var(--v80-navy)!important}
.v80-year-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.v80-year-header h2{margin:0 0 4px}.v80-year-header p{margin:0}.v80-year-nav{display:flex;gap:10px;align-items:center;color:var(--v80-navy);font-size:20px}
.v80-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:16px}
.v80-mini-month{display:block;text-align:left;background:#fff!important;color:var(--v80-navy)!important;border:1px solid #d9dfe5!important;border-radius:14px!important;padding:14px!important;min-width:0;cursor:pointer}
.v80-mini-month:hover,.v80-mini-month:focus-visible{outline:2px solid var(--v80-navy);outline-offset:1px}
.v80-mini-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:12px;flex-wrap:wrap}.v80-mini-heading strong{font-size:17px}
.v80-month-status{font-size:12px!important;color:var(--v80-navy);background:#e8edf3;border-radius:7px;padding:3px 6px;font-weight:700}
.v80-mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
.v80-mini-weekday{font-size:10px;font-weight:700;color:#526477;padding:3px 0}
.v80-mini-day{font-size:11px;min-width:0;min-height:25px;display:flex;align-items:center;justify-content:center;border-radius:4px;font-weight:700;color:#26364b}
.v80-mini-day.brian{background:#dceafa;color:#205b9c}.v80-mini-day.jeff{background:#f8e2dd;color:#a54335}.v80-mini-day.unset{background:#eef0f2;color:#65727c}
.v80-audit-intro{margin-top:24px}.v80-audit-intro h2{margin-bottom:4px}.v80-audit{margin-top:16px}.v80-audit .history67{display:block}.v80-audit .history67[hidden]{display:none!important}
#panel65-settings .history744-more,#panel65-settings button.history744-more{background:#64263d!important;color:white!important;border:2px solid #64263d!important;font-size:17px!important;font-weight:700!important;opacity:1!important;min-height:48px!important;padding:12px 20px!important}
.v80-bell{margin-left:12px;background:#fff!important;color:#64263d!important;border:0!important;border-radius:25px!important;display:flex;align-items:center;gap:6px;padding:9px 12px!important;font-size:19px!important;cursor:pointer}
.v80-bell-count{font-size:14px!important;font-weight:800!important;background:#64263d;color:#fff;border-radius:50%;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center}
.v80-bell-count[hidden]{display:none!important}
.v80-attention-banner{display:block;width:100%;margin-bottom:14px!important;padding:13px 16px!important;background:#26364b!important;color:white!important;text-align:left;font-size:16px!important;font-weight:700;border-radius:12px!important}
.v80-attention-banner[hidden]{display:none!important}.v80-attention-old{display:none!important}
@media(max-width:760px){.v80-year-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v80-mini-month{padding:9px!important}.v80-mini-day{min-height:22px;font-size:10px}.v80-month-status{font-size:10px!important}.v80-year-header{align-items:flex-start}.v80-bell{margin-left:4px;padding:7px 9px!important}.v80-mini-heading strong{font-size:15px}}
@media(max-width:390px){.v80-year-grid{grid-template-columns:1fr}.v80-mini-day{font-size:13px;min-height:27px}}

/* v8.1 */
.v81-overlay{position:fixed;inset:0;z-index:10000;background:rgba(20,31,47,.64);display:flex;justify-content:center;align-items:center;padding:20px;overflow:auto}
.v81-overlay[hidden]{display:none!important}.v81-modal-open{overflow:hidden}.v81-modal{width:min(760px,100%);max-height:calc(100dvh - 40px);overflow:auto;background:#f6f0e9;border-radius:18px;padding:20px;box-shadow:0 18px 80px #10192355}
.v81-modal-head{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.v81-modal-head>div{flex:1}.v81-modal-head h2{color:#26364b;margin:0}.v81-modal-head p{margin:4px 0 0}.v81-close{order:3;background:#26364b!important;color:white!important;border-radius:12px!important;min-width:44px;min-height:44px;font-size:20px!important}
.v81-month-card{margin:0!important}.v81-fair-visual{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.v81-fair-person{padding:13px;border-radius:12px;display:flex;flex-direction:column;gap:6px}.v81-fair-person.brian{background:#e5f0fc;color:#245d99}.v81-fair-person.jeff{background:#fbe9e4;color:#a34c40}.v81-fair-person span{font-size:23px;font-weight:800}.v81-fair-person s{font-size:17px;color:#64748b}.v81-fair-person small{font-size:12px}
.v80-year-nav strong{font-size:17px}.v80-audit-intro+button{margin-bottom:12px}.v80-audit .history67 h2{color:#26364b!important}
@media(max-width:760px){.v81-overlay{align-items:flex-end;padding:0}.v81-modal{width:100%;max-height:93dvh;border-radius:20px 20px 0 0;padding:18px}.v81-modal-head{gap:8px}.v81-modal-head h2{font-size:22px}.v81-fair-person span{font-size:20px}}

/* v8.2: compact, single-month planning dialog */
.v81-modal .v67-plan-header{display:none!important}
.v81-modal #monthPlanCard> .row:first-child{display:none!important}
.v81-modal #monthPlanCard>p.muted.small:first-of-type{display:none!important}
.v81-modal .v81-month-card{padding:14px!important;box-shadow:none!important;border:1px solid #e7dfe0!important}
.v81-modal #monthPlanDetails{max-height:min(48vh,440px);overflow-y:auto;overscroll-behavior:contain}
.v81-modal #monthPlanDates{margin-top:8px!important}
.v81-modal .draft-day{padding-block:6px}
@media(max-width:600px){.v81-modal #monthPlanDetails{max-height:45vh}.v81-modal .v81-month-card{padding:10px!important}}

/* v8.2.1: keep month review usable on smaller displays */
.v81-overlay{overflow:hidden!important;align-items:center!important}
.v81-modal{display:flex;flex-direction:column;overflow:hidden!important;max-height:calc(100dvh - 32px)!important}
.v81-modal-head{flex:0 0 auto}
#v81ModalContent{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.v81-modal #monthPlanDetails{max-height:none!important;overflow:visible!important}
@media(max-width:760px){.v81-overlay{align-items:flex-end!important}.v81-modal{max-height:94dvh!important}}

/* v8.2.2: custody totals use the same parent colors as calendar days. */
#panel65-calendar .stats .stat:first-child{background:#e5f0ff!important;border:1px solid #b9d5f7!important;color:#205a9b!important}
#panel65-calendar .stats .stat:first-child strong{color:#205a9b!important}
#panel65-calendar .stats .stat:nth-child(2){background:#fbe7e2!important;border:1px solid #f0c4b9!important;color:#ad4938!important}
#panel65-calendar .stats .stat:nth-child(2) strong{color:#ad4938!important}

/* v8.2.3: unified iconography and compact empty state */
.nav65 button,.v74-bottom-nav button{align-items:center;justify-content:center;gap:7px}
.v823-icon{width:19px;height:19px;flex:none;vertical-align:middle}
.nav65 button .v823-nav-label{display:inline-block}
.v74-bottom-nav button .v823-icon{width:23px;height:23px}
.v74-bottom-nav button .v823-nav-label{font-size:inherit}
.v823-empty{text-align:center;padding:34px 15px 28px}
.v823-empty[hidden]{display:none!important}
.v823-empty-icon{width:48px;height:48px;border-radius:50%;margin:0 auto 12px;background:#e8f5ed;color:#23764b;display:grid;place-items:center;font-size:27px;font-weight:700}
.v823-empty h3{font-size:1.25rem;margin:0 0 8px;color:#24364d}
.v823-empty p{margin:6px 0}
.v742-monthly-section[hidden],#requests[hidden],#swapRequests[hidden]{display:none!important}
@media(max-width:760px){.nav65 button{gap:4px}.v823-empty{padding:28px 8px}}

/* v8.2.4 consistency */
.dot.unassigned{background:#9ca3af!important}
.v824-year-legend{margin-top:9px;margin-bottom:5px}
.v824-year-legend .legend-item{gap:5px}
.v824-change-preview{margin:10px 0;padding:12px 14px;border-radius:10px;background:#edf4fc;border:1px solid #c9daef;color:#263d56;font-weight:600}
.v824-change-preview[hidden]{display:none!important}

/* v8.2.5 */
.v825-bulk{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;margin:0 0 14px;border:1px solid #e3ccd3;border-radius:12px;background:#fcf5f6}
.v825-bulk strong{margin-right:auto}
.v825-action{border-color:#d9b7c2!important}
.v825-preview{padding:10px 12px;background:#edf4fd;border:1px solid #c9dcf6;border-radius:9px;font-size:.92em;line-height:1.5}
#v825NewParentLabel[hidden]{display:none!important}

/* v8.3.0 Vacation Planner — build 1 */
.vacation83{margin-top:20px}.vac83-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}.vac83-heading h2{margin:0 0 8px}.vac83-phase{font-size:12px;font-weight:700;border-radius:999px;background:#f6e9e5;color:#68283c;padding:6px 10px;white-space:nowrap}.vac83-types{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.vac83-type{display:flex;align-items:center;gap:10px;margin:0;padding:16px;border:1px solid #e2cbd2;border-radius:14px;cursor:pointer;background:#fffaf9}.vac83-type input{width:auto;margin:0;accent-color:#67263c}.vac83-type span{display:grid;gap:4px}.vac83-type small{font-size:12px;font-weight:400;color:#687386}.vac83-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:12px}.vac83-grid label{display:block}.vac83-grid input{width:100%;box-sizing:border-box}.vac83-results{margin-top:18px}.vac83-results:empty{display:none}.vac83-results h3{margin:0 0 14px}.vac83-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}.vac83-summary>div{padding:13px 8px;background:#f5f7fa;border:1px solid #e1e6ed;border-radius:12px;display:grid;text-align:center;gap:4px}.vac83-summary strong{font-size:23px;color:#243850}.vac83-summary small{font-size:11px;color:#536477}.vac83-list{padding-left:24px;max-height:220px;overflow:auto}.vac83-list li{margin:5px 0}.vac83-emphasis{font-weight:700}.vac83-warning{color:#9b4b22}.vac83-good{color:#24654c;font-weight:600}@media(max-width:700px){.vac83-grid{grid-template-columns:1fr}.vac83-types{grid-template-columns:1fr 1fr}.vac83-type{padding:10px}.vac83-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v8.3.1 */
.v831-tabs{display:flex;gap:9px;margin:20px 0 12px;padding:5px;background:#f5e9e7;border:1px solid #e8d6d8;border-radius:14px;width:max-content;max-width:100%}
.v831-tabs button{background:transparent;color:#63263d;border:1px solid transparent;border-radius:10px;padding:11px 18px;font-weight:700}
.v831-tabs button[aria-selected="true"]{background:#fff;border-color:#d7b7c2;box-shadow:0 1px 4px #63263d1c}
#panel65-planning .vacation83[hidden],#panel65-planning .v80-year-overview[hidden]{display:none!important}
.v831-request-type{display:inline-block;border-radius:6px;padding:3px 8px;font-weight:800;line-height:1.35}
.v831-vacation{background:#e7f2fc;color:#175f9b}.v831-fairness{background:#f3eafa;color:#713a91}
@media(max-width:700px){.v831-tabs{width:100%;box-sizing:border-box}.v831-tabs button{flex:1;padding:11px 7px;font-size:14px}}

/* v8.3.2 — consistent planning tabs and cross-month vacation actions */
#panel65-planning > [hidden]{display:none!important}
#panel65-planning .v831-tabs{display:flex!important;align-items:stretch;gap:5px;width:fit-content;max-width:100%;margin:20px 0 14px;padding:5px;border:1px solid #e4cdd4;background:#f6e9e7;border-radius:13px}
#panel65-planning .v831-tabs button{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-width:160px;width:auto!important;max-width:none!important;min-height:44px;padding:11px 17px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#64243b!important;box-shadow:none!important;font-family:inherit;font-size:15px!important;font-weight:750!important;line-height:1.2!important;opacity:1!important;white-space:nowrap;text-transform:none!important}
#panel65-planning .v831-tabs button[aria-selected="true"]{background:#63243c!important;color:#fff!important;border-color:#63243c!important;box-shadow:0 2px 5px #63243c18!important}
#panel65-planning .v831-tabs button[aria-selected="false"]:hover{background:#fff8f6!important}
#panel65-planning .v831-tabs button span{display:inline!important;visibility:visible!important;font-size:inherit!important;color:inherit!important}
.vac832-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 8px}.vac832-actions button{background:#63243c;color:white;white-space:normal}.vac832-help{font-size:.9rem;color:#59687a}
@media(max-width:700px){#panel65-planning .v831-tabs{width:100%}#panel65-planning .v831-tabs button{flex:1;min-width:0;font-size:13px!important;padding:10px 6px!important;gap:5px}}

/* v8.3.3: consistent segmented controls and request filtering */
#panel65-planning .v831-tabs{background:#f6eff1!important;border-color:#e6d7de!important;gap:5px!important;padding:5px!important}
#panel65-planning .v831-tabs button{min-width:0!important;background:transparent!important;color:#63243c!important;border:1px solid #e4d4da!important;border-radius:9px!important;box-shadow:none!important}
#panel65-planning .v831-tabs button[aria-selected="true"]{background:#fff!important;color:#63243c!important;border:2px solid #63243c!important;box-shadow:none!important}
.v833-filters{display:flex;gap:5px;flex-wrap:wrap;padding:5px;margin:10px 0 14px;background:#f6eff1;border:1px solid #e6d7de;border-radius:12px;width:fit-content;max-width:100%}
.v833-filters button{background:transparent!important;color:#63243c!important;border:1px solid #e4d4da!important;border-radius:9px!important;padding:10px 12px!important;font-weight:700!important}
.v833-filters button.active{background:white!important;border:2px solid #63243c!important}
#requests .request[hidden],#requests .v825-bulk[hidden]{display:none!important}
@media(max-width:700px){.v833-filters{width:100%;box-sizing:border-box}.v833-filters button{flex:1 1 40%;font-size:13px!important}}


/* v8.3.4 — Shared segmented-control design tokens; visual-only patch. */
:root { --ui834-wine:#63243c; --ui834-wine-hover:#512034; --ui834-ink:#63243c; --ui834-quiet:#f6eff1; --ui834-line:#e4d4da; }
/* Explicit -webkit-text-fill-color overrides older global button rules on WebKit/Chromium. */
#panel65-planning .v831-tabs button,
#panel65-requests .v833-filters button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
 min-height:44px!important;min-width:0!important;width:auto!important;
 background:transparent!important;color:var(--ui834-ink)!important;-webkit-text-fill-color:var(--ui834-ink)!important;
 border:1px solid var(--ui834-line)!important;border-radius:9px!important;
 box-shadow:none!important;text-shadow:none!important;opacity:1!important;
 font-family:var(--font-body)!important;font-size:15px!important;font-weight:700!important;
 line-height:1.25!important;padding:10px 14px!important;white-space:nowrap!important;
}
#panel65-planning .v831-tabs button[aria-selected="true"],
#panel65-requests .v833-filters button.active{
 background:#fff!important;color:var(--ui834-wine)!important;-webkit-text-fill-color:var(--ui834-wine)!important;
 border:2px solid var(--ui834-wine)!important;padding:9px 13px!important;
}
#panel65-planning .v831-tabs button:hover,
#panel65-requests .v833-filters button:hover{background:#fffaf9!important;filter:none!important}
#panel65-planning .v831-tabs button[aria-selected="true"]:hover,
#panel65-requests .v833-filters button.active:hover{background:#fff!important}
#panel65-planning .v831-tabs button *,#panel65-requests .v833-filters button *{
 color:inherit!important;-webkit-text-fill-color:inherit!important;visibility:visible!important;opacity:1!important;
}
#panel65-planning .v831-tabs,#panel65-requests .v833-filters{
 display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;
 gap:5px!important;width:fit-content!important;max-width:100%!important;
 background:var(--ui834-quiet)!important;border:1px solid var(--ui834-line)!important;
 border-radius:12px!important;padding:5px!important;
}
/* Request classification is visible but doesn't overpower the requester and dates. */
#panel65-requests .v831-request-type{font-weight:750!important}
/* Remove duplicate-looking decoration on nested history items, retain audit information. */
#panel65-requests .history744-entry{border-radius:10px!important}
@media(max-width:700px){
 #panel65-planning .v831-tabs,#panel65-requests .v833-filters{width:100%!important;box-sizing:border-box!important}
 #panel65-planning .v831-tabs button{flex:1 1 42%!important;font-size:14px!important;padding-left:7px!important;padding-right:7px!important}
 #panel65-requests .v833-filters button{flex:1 1 42%!important;font-size:14px!important;padding-left:7px!important;padding-right:7px!important}
}

/* Shared line icons follow their label color, including inactive filters. */
.v823-icon{vertical-align:-.2em}
#panel65-requests .v833-filters button .v823-icon{color:var(--ui834-ink)!important}
#panel65-requests [data-request-type][hidden],
#panel65-requests .v742-month-card[hidden],
#panel65-requests .request-filter-hidden,
#panel65-requests .v825-bulk[hidden],
.v741-details[hidden]{display:none!important}
.v741-details:not([hidden]){display:block}
.v741-details ul{margin:.35rem 0 0;padding-inline-start:1.2rem;font-weight:400}

/* Match category icons on filters and request headings. */
.request-type-heading .v823-icon,.vac83-type strong .v823-icon{color:var(--ui834-ink);margin-inline-end:.2rem}
.day-events{margin-block:.5rem}
.day-event-notes{white-space:pre-wrap;overflow-wrap:anywhere}
.v741-details .latest-day-change{font-weight:700;background:#fff9fa;border:1px solid #e2cbd2;border-radius:6px;padding:.35rem .5rem;margin-block:.2rem}
.latest-day-change span{display:inline-block;font-size:.8em;background:#24354a;color:#fff;border-radius:4px;padding:.05rem .35rem;margin-inline-end:.2rem}

.vacation-overlap-warning{padding:.5rem .7rem;border:1px solid #ddbd7f;border-radius:6px;background:#fff6de;color:#65431c;font-weight:650}

.approval-preview{width:min(650px,calc(100% - 24px));max-height:calc(100% - 24px);padding:18px;border:1px solid #e2cbd2;border-radius:14px;color:#24354a;background:#fff;box-shadow:0 12px 45px #24354a40}
.approval-preview::backdrop{background:#24354a80}
.approval-preview h2{margin:0 0 8px}
.approval-preview h3{margin:12px 0 4px}
.approval-preview p{margin:4px 0;overflow-wrap:anywhere}
.approval-preview form{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:14px}

.vacation-overlap-warning strong{display:block;margin-bottom:.2rem}
.approval-preview .vacation-warning-heading{color:#65431c}
.bulk-conflict-warning{margin:-4px 0 14px;scroll-margin:16px}
.bulk-conflict-warning:focus{outline:2px solid #925910;outline-offset:2px}

.schedule-history-search{margin:16px 0;padding:14px;border:1px solid #e2cbd2;border-radius:10px}
.schedule-history-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:10px;margin-bottom:10px}
.schedule-history-fields input,.schedule-history-fields select{width:100%;margin-top:4px}
.schedule-history-results{margin-top:10px;max-height:360px;overflow:auto}
.schedule-history-record{padding:9px 0;border-bottom:1px solid #e6dce0;overflow-wrap:anywhere}
.schedule-history-record h4,.schedule-history-record p{margin:4px 0}
.schedule-history-print{display:none}
@media print{
 body.printing-schedule-history > :not(.schedule-history-print){display:none!important}
 .printing-schedule-history .schedule-history-print{display:block!important;color:#111;background:white}
 .schedule-history-print .schedule-history-results{max-height:none;overflow:visible}
 .schedule-history-print .schedule-history-record{break-inside:avoid}
}

#panel65-calendar .vacation-chip{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#e6eef8;color:#24354a;border-left:3px solid #6083ac;border-radius:5px;padding:3px 5px;font-size:.68rem;font-weight:700}
.vacation-chip .v823-icon{width:12px;height:12px}
.vacation-records{margin-top:20px;border-top:1px solid #e6dce0;padding-top:14px}
.vacation-records h3{margin-bottom:4px}
@media(max-width:700px){#panel65-calendar .vacation-chip{font-size:.58rem;padding:2px 3px}.vacation-chip .v823-icon{width:10px;height:10px}}

.approval-preview .decline-form{display:grid;gap:12px}.decline-form textarea{display:block;width:100%;margin-top:4px;resize:vertical}.decline-form .row{justify-content:flex-end}

.v76-selected-list.single-day{max-height:none;overflow:visible}
.earlier-day-changes{margin-top:.45rem}
.earlier-day-changes summary{cursor:pointer;color:#43546d;font-size:.9em}
.vacation-cancellation-notice{margin:8px 0}
.vacation-cancellation-notice[hidden]{display:none!important}

.v80-mini-day.mini-vacation{position:relative}
.v80-mini-day.mini-vacation::after{content:'';position:absolute;bottom:2px;left:3px;right:3px;height:2px;border-radius:2px;background:#68263a;pointer-events:none}
.v80-mini-day.mini-vacation-prev::after{left:-2px}
.v80-mini-day.mini-vacation-next::after{right:-2px}
.mini-vacation-key{display:inline-block;width:13px;height:3px;border-radius:2px;background:#68263a}
#panel65-settings h2 .v823-icon,.v80-bell .v823-icon{color:inherit}
#pendingVacationCancellations .vacation-cancellation-card[hidden]{display:none!important}
#pendingVacationCancellations .vacation-cancellation-card .row{flex-wrap:wrap}
@media(max-width:700px){
 #panel65-settings .history67,#panel65-settings .schedule-history-search,#panel65-settings .history744-group,#panel65-settings .history744-entry-body{min-width:0;max-width:100%}
 #panel65-settings .schedule-history-fields{grid-template-columns:minmax(0,1fr)}
 #panel65-settings .schedule-history-fields label,#panel65-settings .schedule-history-fields input,#panel65-settings .schedule-history-fields select{min-width:0;max-width:100%;box-sizing:border-box}
 #panel65-settings .history744-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #panel65-settings .history744-toolbar button,#panel65-settings .history744-entry>summary{min-width:0;white-space:normal;overflow-wrap:anywhere}
 #panel65-settings .history744-entry-body .row{flex-wrap:wrap}
 .approval-preview .decline-form label{width:100%;min-width:0}
}
.approval-preview .decline-form{justify-content:stretch}

#panel65-requests .prioritized-requests{display:flex;flex-direction:column}
#panel65-requests .prioritized-requests[hidden]{display:none!important}
#panel65-requests .prioritized-requests :is(#requests,#swapRequests,#pendingVacationCancellations,.v742-monthly-section,#v742MonthlyPending):not([hidden]):not(.request-filter-hidden){display:contents}
#panel65-requests .prioritized-requests .v742-monthly-title{display:none}
#panel65-requests .prioritized-request-card{order:20}
#panel65-requests .prioritized-request-card.needs-review{order:10}

#panel65-requests .inbox-heading{display:flex;align-items:center;gap:.55rem;margin:.95rem 0 .45rem;padding:.55rem .75rem;border-radius:9px;background:#f0f4f9;color:#24354a;font-size:1rem}
#panel65-requests .inbox-heading[hidden]{display:none!important}
#inboxNeedsReview{order:9}
#inboxWaiting{order:19}
.inbox-count{display:inline-flex;min-width:1.45rem;justify-content:center;padding:.1rem .35rem;border-radius:999px;background:#fff;color:#24354a;font-size:.8rem}
#panel65-requests .prioritized-request-card.needs-review{border-inline-start:3px solid #81354d}
.review-outcome{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));gap:8px;padding:8px 0;margin:6px 0 12px}
.review-outcome>div{display:grid;gap:2px;padding:10px 12px;background:#eef3f9;border-radius:9px;color:#24354a;overflow-wrap:anywhere}
.review-outcome strong{font-size:1.12rem}
.review-outcome span{font-size:.85rem}
.approval-preview .review-trip-title{font-weight:700}
.vacation-records{margin:10px 0 22px;padding:0 0 14px;border-top:0;border-bottom:1px solid #e6dce0}
.vacation-upcoming>h4,.vacation-archive>summary{margin:10px 0 4px;color:#43546d;font-weight:750}
.vacation-archive>summary{cursor:pointer;padding:9px 11px;background:#f4f1ee;border-radius:8px}
.vacation-card-title{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem}
.vacation-status{display:inline-flex;padding:.12rem .5rem;border-radius:999px;background:#eeeaf0;color:#593549;font-size:.78rem;font-weight:700}
.vacation-status[data-status=approved]{background:#e7f1eb;color:#276247}
.vacation-status[data-status=pending]{background:#fff3d9;color:#684313}
.vacation-status[data-status=closed],.vacation-status[data-status=declined]{background:#eceff3;color:#44536a}

#panel65-requests .prioritized-requests :is(#requests,#swapRequests,#pendingVacationCancellations,.v742-monthly-section,#v742MonthlyPending):not([hidden]):not(.request-filter-hidden){display:contents!important}
#panel65-requests .prioritized-requests .v742-monthly-title{display:none!important}
#panel65-requests .subnav67 button .v743-count{background:#68263a!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
#panel65-requests .withdraw-vacation,.vacation-records .withdraw-vacation{margin-top:.4rem}
.vacation-status[data-status=withdrawn]{background:#eceff3;color:#44536a}

#app .nav65 button[data-tab]{background:#f7f4f1!important;color:#24354a!important;-webkit-text-fill-color:#24354a!important;border-color:#e6dce0!important;box-shadow:none!important}
#app .nav65 button[data-tab].active{background:#eee9ef!important;color:#68263a!important;-webkit-text-fill-color:#68263a!important;box-shadow:inset 0 -2px #68263a!important}
.v74-bottom-nav button[aria-current=page]{background:#eee9ef!important;color:#68263a!important;-webkit-text-fill-color:#68263a!important}
.vacation-records h3{margin-bottom:.5rem}
.vacation-records .schedule-history-record{padding:.75rem .55rem}
.vacation-records .schedule-history-record .secondary{margin-top:.3rem}
#vacationPlanForm[hidden],.vacation-updates[hidden]{display:none!important}
.vacation-updates{margin:0 0 12px}
#inboxNeedsReview{scroll-margin:18px}
.mini-pending-key{display:inline-block;width:13px;border-top:2px dotted #64748b}
.v80-mini-day.mini-vacation-pending{position:relative}
.v80-mini-day.mini-vacation-pending::before{content:'';position:absolute;bottom:0;left:3px;right:3px;border-top:2px dotted #64748b;pointer-events:none}
.v80-mini-day.mini-pending-prev::before{left:-2px}
.v80-mini-day.mini-pending-next::before{right:-2px}
.v80-mini-day.mini-vacation.mini-vacation-pending::after{bottom:4px}
@media(min-width:760px){
 .vacation-records .schedule-history-record{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 14px;align-items:center}
 .vacation-records .schedule-history-record > :not(button):not(.row){grid-column:1}
 .vacation-records .schedule-history-record > button,.vacation-records .schedule-history-record > .row{grid-column:2;grid-row:1 / span 2;justify-self:end}
}

.vac83-type input[type=radio]:focus{outline:none!important;box-shadow:none!important}
.vac83-type:has(input[type=radio]:focus-visible){outline:2px solid #9d5870;outline-offset:2px}
#panel65-calendar .quick65 .vacation-quick{grid-column:1 / -1;justify-content:center}
#panel65-calendar .day.adjacent-day{opacity:.64;cursor:default}
#panel65-calendar .day.adjacent-day .date{font-size:.76rem}
#panel65-calendar .day.adjacent-day.unknown{background:#f6f5f2!important}
.day-history-time{display:block;color:#526477;font-weight:400;margin-top:3px}
#planRefresh[hidden]{display:none!important}
.rotation-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:12px;margin:14px 0}
.rotation-fields input,.rotation-fields select{display:block;width:100%;margin-top:4px}
.rotation-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:5px;padding:0;list-style:none}
.rotation-preview li{padding:.45rem .6rem;border-radius:6px;background:#f5f6f8}
.rotation-preview .rotation-weekend{background:#e7edf5}

#panel65-calendar #today:disabled{background:#e6e9ee!important;color:#536278!important;-webkit-text-fill-color:#536278!important;cursor:default;opacity:1}
.rotation-preview .rotation-brian{background:#e4effb;color:#214f7d}
.rotation-preview .rotation-jeff{background:#f9e8e3;color:#833e32}
.rotation-preview .rotation-weekend{box-shadow:inset 0 0 0 1px #8997ac}
.draft-tools{width:100%;padding:.7rem;background:#f4f6f9;border-radius:8px;margin-bottom:.6rem}
.draft-tools summary{cursor:pointer;color:#24354a;font-weight:700;margin-bottom:.45rem}
.draft-tools form,.draft-tools [data-result]{margin-block:.5rem}
.draft-adjustment-list{max-height:235px;overflow:auto;padding-inline-start:1.2rem}
.draft-adjustment-list label{display:flex;gap:.5rem;align-items:center}
.draft-adjustment-list input[type=checkbox]{width:auto}
.draft-adjustment-totals{font-weight:700;color:#24354a}

:root{--weekend-brian:#cbdff4;--weekend-jeff:#f1d1c8}
#panel65-calendar .day.brian.custody-weekend,.v80-mini-day.brian.custody-weekend,
.draft-day.brian.custody-weekend,.rotation-preview .rotation-brian.rotation-weekend{background:var(--weekend-brian)!important}
#panel65-calendar .day.jeff.custody-weekend,.v80-mini-day.jeff.custody-weekend,
.draft-day.jeff.custody-weekend,.rotation-preview .rotation-jeff.rotation-weekend{background:var(--weekend-jeff)!important}

#panel65-calendar .day.adjacent-day{background:#f7f5f2!important;border-color:#e6e1da!important;opacity:1;color:#536278}
#panel65-calendar .day.adjacent-day.brian{border-inline-start:3px solid #86abd2!important}
#panel65-calendar .day.adjacent-day.jeff{border-inline-start:3px solid #d29a8d!important}
#panel65-calendar .day.adjacent-day .date{color:#526477!important}
#panel65-calendar .day.adjacent-day .who::after{font-weight:500}
.family-options,.family-settings [data-add]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:10px;margin:12px 0}
.family-options label{display:flex;align-items:center;gap:7px}
.family-options input[type=checkbox]{width:auto;margin:0}
.family-settings [data-add] input,.family-date-card form input,.family-date-card form select{display:block;width:100%;margin-top:4px}
.family-birthdays .row{justify-content:space-between;margin-bottom:6px}
.family-holiday-panel{margin-top:16px}
.family-holiday-panel summary,.family-request-archive summary{cursor:pointer;font-weight:700}
.family-date-card{padding:10px 0;border-top:1px solid #e8e4de}
.family-date-card form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr));gap:8px;margin:8px 0}
.family-holiday-chip{display:block;max-width:100%;margin-top:3px;padding:2px 4px;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#59451f;background:#fff3d6;font-size:.68rem}
#panel65-requests .prioritized-requests .family-request-queue{display:contents}
#panel65-requests .family-request-card[hidden]{display:none!important}

#panel65-calendar .day.adjacent-day.custody-weekend{background:#f7f5f2!important}

.family-protection{margin:.6rem 0 1rem}
.family-protection summary{cursor:pointer;font-weight:700}
.family-protection [data-protection]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:6px;margin-top:8px}
.family-protection label{display:flex;align-items:center;gap:7px}
.family-protection input[type=checkbox]{width:auto;margin:0}

#app :is(.muted,.account-note,.family-date-card p,.event-panel70 p){color:#46576a}
#app :is(.muted.small,.account-note,.settings-tip69,.vac83-type small){font-size:.9rem;line-height:1.45}
#app label{color:#24354a;font-size:.95rem}
#app .quick65 button[data-go=change]{background:#68263a!important;color:#fff!important;border-color:#68263a!important}
#app .quick65 button[data-go=change] small{color:#fff!important;opacity:.92}
#panel65-requests .subnav67 button.active,#panel65-planning .v831-tabs button[aria-selected=true],.settings-tabs button[aria-pressed=true]{box-shadow:inset 0 -3px #68263a!important}
.settings-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
.settings-tabs button{flex:1 1 auto}
.settings-tabs button[aria-pressed=true]{background:#eae5ed!important;color:#5a2236!important;border-color:#b58c9c!important}
.settings-section[hidden],.swap-calendar-guide[hidden],#revokeFeed[hidden]{display:none!important}
.settings-section>*{margin-block:0 14px}
.settings-section .settings-grid69{align-items:start}
.feed-link-status,.request-state,.family-current-custody{font-weight:700;color:#24354a}
.rotation-comparison,.next-custody-summary,.swap-calendar-guide{padding:.75rem .9rem;border-radius:8px;background:#edf3fa;color:#24354a}
.next-custody-summary:empty{display:none}
.swap-calendar-guide{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}
#swapForm{display:grid;gap:12px}
#swapForm>.secondary{justify-self:start}
#swapForm .grid2{gap:14px;margin:0}
#swapForm>p{margin:0}
#swapPreview{padding:.75rem;border-radius:8px;background:#f0f4f8;max-width:70ch}
.vacation83 #vacationPlanForm,.vac83-results{margin-top:16px}
.vacation83 #vac83Form>h3,.vac83-results>h3{margin-block:0 12px}
#panel65-requests .prioritized-requests>p,.vacation83 .vac83-heading p{max-width:68ch}
@media(max-width:550px){.settings-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-tabs button{min-width:0;min-height:44px;padding:.45rem}.next-custody-summary{line-height:1.4}}

/* Phone forms and calendar controls */
.rotation-fields,.rotation-fields>label,.rotation-fields input,.rotation-fields select{
 min-width:0;min-inline-size:0;max-width:100%;box-sizing:border-box
}
.rotation-fields input[type=date],.rotation-fields input[type=month]{inline-size:100%}
.rotation-fields input[type=date]::-webkit-date-and-time-value,
.rotation-fields input[type=month]::-webkit-date-and-time-value{text-align:start}
@media(max-width:550px){
 .rotation-fields{grid-template-columns:1fr;gap:12px}
 .rotation-fields input,.rotation-fields select{min-height:44px}
 .settings-tabs{grid-auto-rows:1fr}
 .settings-tabs button{font-size:15px!important;line-height:1.2;white-space:normal}
 :is(.rotation-settings,.family-rotation-request) form>.row{flex-wrap:wrap;gap:8px}
}
@media(max-width:700px){
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;margin-bottom:8px!important}
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child>.row{display:flex;flex:1;min-width:0;justify-content:space-between;flex-wrap:nowrap}
 #panel65-calendar .dashboard69>section.card>.row.spread:first-child :is(#prev,#next){display:inline-grid!important;place-items:center;flex:0 0 44px;min-height:44px;padding:0!important}
 #panel65-calendar.mobile-week-view .dashboard69>section.card>.row.spread:first-child :is(#prev,#next){display:none!important}
 #panel65-calendar.mobile-week-view .dashboard69>section.card>.row.spread:first-child>.row{justify-content:center}
 #panel65-calendar .calendar-legend-row{margin:6px 0!important}
 #panel65-calendar .legend{margin:0!important;gap:4px 10px!important}
 #panel65-calendar :is(.legend-item,.legend-item strong){font-size:13px!important;line-height:1.25!important}
 #panel65-calendar .legend .dot{width:10px!important;height:10px!important;margin-right:2px}
 #panel65-calendar #v78Updated{display:none}
 #panel65-calendar .next-custody-summary{margin:8px 0 10px;padding:.65rem .75rem}
 #panel65-calendar .v74-switch{margin:5px 0 4px auto!important}
 #panel65-calendar .weekday{padding:3px 0!important}
}

.settings-native-date{display:block;min-width:0;max-width:100%}
@media(max-width:700px){
 #panel65-settings :is(.settings-section,.rotation-settings,.family-rotation-request,.schedule-history-search,.rotation-fields,.schedule-history-fields,.rotation-fields>label,.schedule-history-fields>label){min-width:0;min-inline-size:0}
 #panel65-settings :is(.rotation-fields,.schedule-history-fields){grid-template-columns:minmax(0,1fr)}
 #panel65-settings .settings-native-date{
  position:relative;block-size:46px;inline-size:100%;margin-top:4px;overflow:hidden;
  border:1px solid #aebccc;border-radius:8px;background:#fff;box-sizing:border-box
 }
 #panel65-settings .settings-native-date:focus-within{outline:2px solid #9d5870;outline-offset:2px}
 #panel65-settings .settings-native-date>input{
  position:absolute;inset:0;display:block;width:100%!important;max-width:100%!important;min-width:0!important;
  min-inline-size:0!important;height:100%;min-height:0;margin:0!important;box-sizing:border-box;
  padding:0 .65rem!important;border:0!important;border-radius:0;outline:none!important;
  box-shadow:none!important;-webkit-appearance:none;appearance:none;background:#fff;text-align:start
 }
 #panel65-settings .settings-native-date>input::-webkit-date-and-time-value{min-width:0;margin:0;text-align:start}
}
