/* style.css */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#142c3c;--teal:#087c72;--bg:#f5f7f8;--line:#e4e9ec;--muted:#657680}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--navy);font:16px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #e8a845;outline-offset:3px}aside{width:248px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:34px 20px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;text-decoration:none;color:var(--navy);font-weight:800;font-family:Manrope;font-size:18px;align-items:center}.brand-icon{font-size:30px;background:var(--teal);color:#fff;width:43px;height:43px;text-align:center;border-radius:12px}.brand small,.sidebar-bottom small{display:block;font:14px 'DM Sans';color:var(--muted);margin-top:4px}.nav-label{font-size:12px;letter-spacing:1.6px;color:#83919a;margin:48px 12px 16px}nav a{display:flex;align-items:center;gap:12px;color:#556672;text-decoration:none;padding:13px 15px;border-radius:9px;margin-bottom:6px;font-size:15px}nav a.active{background:#e7f4f0;color:#056d64;font-weight:700}nav a:hover{background:#f0f5f5}.nav-icon{font-size:19px;width:24px;text-align:center}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:22px;display:flex;gap:12px;align-items:center;font-size:14px}.avatar{background:#e9eff3;border-radius:50%;padding:11px;font-weight:700}.workspace{margin-left:248px}header{height:76px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:14px}.slash{color:#aeb8bd;margin:0 13px}.testbadge{font-size:11px;letter-spacing:1.5px;padding:7px 11px;background:#fff5df;border:1px solid #f1dfb8;border-radius:6px;color:#886314}.demo-banner{font-size:13px;background:#edf3f6;color:#536b7b;padding:10px 42px;display:flex;justify-content:space-between;gap:12px;align-items:center}.demo-banner button{font-size:13px;background:none;border:0;color:#536b7b;text-decoration:underline}main{max-width:1450px;margin:auto;padding:34px 42px 48px;min-height:78vh}h1,h2,h3{font-family:Manrope;margin:0}h1{font-size:29px;letter-spacing:-1px}h2{font-size:18px}h3{font-size:16px}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:27px}.heading p{color:var(--muted);margin:9px 0 0;font-size:15px}.eyebrow{font-size:12px;letter-spacing:1.8px;color:var(--teal);font-weight:700;margin-bottom:10px}.btn{border:1px solid var(--line);border-radius:8px;padding:10px 15px;background:#fff;color:var(--navy);font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.btn:hover{background:#f0f5f5}.btn.primary{background:var(--teal);color:white;border-color:var(--teal)}.btn.danger{color:#ad4242}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.card{border:1px solid var(--line);background:white;border-radius:13px;padding:23px}.stat-label{font-size:14px;color:var(--muted);margin-bottom:14px}.stat-value{font-family:Manrope;font-size:27px;font-weight:800;letter-spacing:-1px}.stat-note{font-size:13px;color:var(--muted);margin-top:10px}.stat.accent{background:var(--navy);color:white;border-color:var(--navy)}.stat.accent .stat-label,.stat.accent .stat-note{color:#bed2dc}.positive{color:var(--teal)}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;margin-bottom:22px}.section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:12px}.link{background:none;border:0;padding:0;color:var(--teal);font-size:14px;font-weight:600;text-decoration:none}.muted{color:var(--muted);font-size:14px}.summary{background:#edf6f2;border:1px solid #dbece4;border-radius:10px;padding:19px;line-height:1.7;font-size:15px;margin-bottom:20px}.tag{display:inline-block;background:#edf3f6;border-radius:5px;padding:5px 8px;font-size:12px;color:#526c7b}.tag.green{background:#e7f5ed;color:#14734b}.tag.orange{background:#fff0dd;color:#9b5915}.row{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #eef1f3}.row:last-child{border:0}.row-main{flex:1;min-width:0}.row-main strong{display:block;font-size:15px}.row-main small{display:block;font-size:13px;color:var(--muted);margin-top:5px}.symbol{background:#f0f4f6;border-radius:10px;width:41px;height:41px;display:grid;place-items:center;font-size:20px;flex-shrink:0}.amount{font-weight:700;font-size:15px;white-space:nowrap}.bar{height:7px;background:#edf1f3;border-radius:9px;overflow:hidden;margin-top:11px}.bar span{display:block;height:100%;background:var(--teal);border-radius:9px}.bar.orange span{background:#e7a041}.bar.red span{background:#d96561}.budget-row{padding:15px 0;border-bottom:1px solid #edf1f3}.budget-top{display:flex;justify-content:space-between;font-size:14px;gap:12px}.notice{padding:18px;border:1px solid #ebdfc8;background:#fffaf0;border-radius:10px;margin-bottom:14px}.notice p{font-size:14px;line-height:1.6;color:#6b624e}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;font-size:12px;letter-spacing:.4px;color:var(--muted);font-weight:500;padding:13px 12px;background:#f8fafb}td{padding:16px 12px;border-bottom:1px solid #edf1f3}td:last-child{text-align:right}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}input,select,textarea{background:white;border:1px solid #d9e1e5;border-radius:7px;padding:11px;color:var(--navy);max-width:100%;font-size:14px}input[type=search]{min-width:250px;flex:1}label{font-size:14px;display:block;margin:18px 0 7px}label input,label select,label textarea{display:block;width:100%;margin-top:8px}label input[type=checkbox]{display:inline;width:auto;margin-right:8px}textarea{min-height:90px;resize:vertical}.contract-row{display:grid;grid-template-columns:42px 1.8fr 1fr 1fr auto;gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.contract-row:last-child{border:0}.contract-row p{margin:5px 0;font-size:13px;color:var(--muted)}.pots{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.pot-emoji{font-size:34px;margin-bottom:18px}.pot h2{margin-bottom:15px}.pot .stat-value{font-size:24px}.pot .btn{margin-top:20px;width:100%}.category{margin-bottom:13px}.category summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.chip{background:#f4f7f8;border:1px solid #e4e9ec;border-radius:6px;padding:8px 11px;font-size:14px;cursor:pointer}footer{padding:22px 42px;border-top:1px solid var(--line);color:#73818b;font-size:13px;display:flex;justify-content:space-between;gap:20px}dialog{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:590px;max-width:100vw;border:0;padding:30px;background:#fff;color:var(--navy);box-shadow:-12px 0 50px #142c3c22}dialog::backdrop{background:#142c3c66}.panel-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:25px}.panel-top h2{font-size:23px}.close{background:#f1f5f6;border:0;border-radius:50%;width:35px;height:35px;font-size:24px}.detail{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;gap:15px}.detail span:first-child{color:var(--muted)}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.empty{padding:28px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--navy);color:#fff;padding:14px 22px;border-radius:10px;display:none;z-index:10;font-size:14px;max-width:90vw}.chart{height:150px;display:flex;gap:14px;align-items:end;margin:24px 0 6px}.chart-col{flex:1;text-align:center;font-size:12px;color:var(--muted)}.chart-bar{background:#acd6cc;border-radius:5px 5px 0 0;margin:0 8px 9px;min-height:3px}.chart-col:last-child .chart-bar{background:var(--teal)}.switcher{display:flex;align-items:center;gap:15px}.checkline{display:flex;align-items:center;gap:9px;margin:12px 0;font-size:14px} .tabs{display:flex;gap:8px;margin:20px 0}.tabs .btn.active{background:var(--navy);color:white}.budget-edit{width:110px} @media(min-width:1500px){main{padding-top:44px}.stats{gap:22px}.card{padding:27px}}@media(max-width:1100px){aside{width:208px;padding:28px 13px}.workspace{margin-left:208px}main{padding:28px 24px}.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.pots{grid-template-columns:repeat(2,1fr)}.contract-row{grid-template-columns:40px 1.5fr 1fr auto}.contract-row .person{display:none}header,.demo-banner{padding-left:24px;padding-right:24px}}@media(max-width:720px){aside{position:static;width:100%;padding:16px;border-bottom:1px solid var(--line)}.brand small,.nav-label,.sidebar-bottom{display:none}.brand{font-size:18px}nav{display:flex;overflow:auto;margin-top:18px;gap:5px}nav a{white-space:nowrap;font-size:13px;padding:10px;margin:0}.nav-icon{display:none}.workspace{margin:0}header{display:none}.demo-banner{font-size:12px;padding:10px 16px}.demo-banner button{white-space:nowrap}main{padding:25px 16px}.heading{align-items:flex-start;flex-wrap:wrap}h1{font-size:26px}.stats{gap:10px}.stat{padding:17px}.stat-value{font-size:23px}.card{padding:19px}.pots{grid-template-columns:1fr}.contract-row{grid-template-columns:35px 1fr auto;gap:10px}.contract-row .price{grid-column:2}.contract-row .btn{grid-column:3;grid-row:auto}.contract-row .symbol{width:35px;height:35px}.contract-row .status{display:none}footer{padding:20px 16px;flex-direction:column}.table-wrap{margin:0 -10px}.toolbar{gap:8px}input[type=search]{min-width:180px}dialog{padding:23px}.stat-note{line-height:1.4}}
/* Whole-household overview */
aside{overflow-y:auto}.nav-label{margin-top:30px}.nav-group{margin:4px 0}.nav-group>summary{list-style:none;display:flex;justify-content:space-between;cursor:pointer;padding:12px 15px;color:#556672;font-size:15px;font-weight:600}.nav-group>summary::-webkit-details-marker{display:none}.nav-group a{padding-left:26px;font-size:14px}.sidebar-bottom{padding-top:15px;margin-top:22px}.nav-group[open]>summary{color:var(--teal)}.home-heading h1{font-size:32px}.heading-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.profile-label{margin:0;color:var(--muted);font-size:12px}.profile-label select{margin:5px 0 0;min-width:95px}.home-strip{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:25px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:14px 18px;font-size:14px;color:#526b77}.home-strip b{color:var(--navy)}.home-strip button{margin-left:auto;color:var(--teal);border:0;background:none;font-size:13px}.home-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px}.home-widget{min-width:0;padding:23px}.widget-energy,.widget-finance{grid-column:span 7}.widget-agenda,.widget-tasks{grid-column:span 5}.widget-savings,.widget-contracts,.widget-documents{grid-column:span 4}.widget-devices,.widget-assistant{grid-column:span 6}.widget-system{grid-column:span 12}.home-widget .section-top{margin-bottom:19px}.energy-balance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.energy-number{border-right:1px solid var(--line)}.energy-number:last-child{border-right:0}.energy-number>span{font-size:14px;color:var(--muted);display:block}.energy-number strong{font:800 29px Manrope,sans-serif;display:block;margin-top:9px;letter-spacing:-.9px}.energy-number strong small{font:500 14px 'DM Sans',sans-serif;color:var(--muted);letter-spacing:0}.energy-number em{font-size:12px;font-style:normal;color:var(--muted)}.energy-number.solar strong{color:#a87a18}.energy-number.export strong{color:var(--teal)}.spark-area{margin-top:26px}.spark-area svg{width:100%;display:block;margin-top:15px}.graph-legend{display:flex;gap:15px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}.graph-legend i,.calendar-people i,.calendar-filter i{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:5px}.graph-times{display:flex;justify-content:space-between;font-size:11px;color:#72838c;margin-top:7px}.energy-daily{display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.energy-daily span{font-size:12px;color:var(--muted)}.energy-daily b{display:block;font-size:15px;color:var(--navy);margin-top:5px}.caption{font-size:12px;color:var(--muted);line-height:1.6;margin:15px 0 0}.compact-actions{display:flex;gap:5px}.compact-actions .btn{padding:7px 10px;font-size:12px}.day-nav{display:flex;justify-content:space-between;align-items:center;background:#f5f8f9;border-radius:8px;padding:7px;margin:10px 0 7px}.day-nav .btn{padding:3px 10px;background:none;border:0;font-size:22px}.day-title{background:none;border:0;color:var(--navy);font-size:14px;font-weight:600}.agenda-item{display:flex;gap:12px;align-items:center;text-align:left;width:100%;border:0;border-bottom:1px solid var(--line);background:none;padding:16px 0;color:var(--navy)}.agenda-item time{width:52px;flex-shrink:0;font-size:13px;color:var(--muted)}.event-mark{width:3px;height:32px;border-radius:2px;flex-shrink:0}.agenda-item strong{font-size:14px;display:block}.agenda-item small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.event-open{margin-left:auto;color:var(--muted)}.calendar-people{display:flex;gap:7px 12px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:20px 0}.section-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.mini-finance{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.mini-finance span{display:block;font-size:13px;color:var(--muted)}.mini-finance b{display:block;font:700 22px Manrope,sans-serif;letter-spacing:-.6px;margin-top:8px}.short-budgets .budget-row:nth-child(n+4){display:none}.short-budgets .budget-row{padding:13px 0}.short-budgets .stat-note{font-size:12px}.month-recap{background:#edf5f2;border-radius:9px;padding:17px;margin-top:18px;font-size:14px}.month-recap p{margin:7px 0;line-height:1.6}.month-recap small{font-size:11px;color:var(--muted);line-height:1.5}.task-item{display:flex;align-items:start;gap:13px;margin:0;padding:17px 0;border-bottom:1px solid var(--line);cursor:pointer}.task-item input{appearance:auto;display:inline-block;margin:2px 0 0;width:19px;height:19px;accent-color:var(--teal);flex-shrink:0}.task-item strong{font-size:14px;display:block;font-weight:500}.task-item small{font-size:12px;display:block;color:var(--muted);line-height:1.6;margin-top:5px}.task-item.done strong{text-decoration:line-through;color:#83938c}.soft-note{background:#f2f6f8;border-radius:9px;padding:16px;font-size:14px;line-height:1.7;color:#586f7d;margin-top:22px}.pot-preview{display:flex;gap:13px;align-items:center;color:var(--navy);text-decoration:none;padding:17px 0;border-bottom:1px solid var(--line)}.pot-preview>span{font-size:28px}.pot-preview>div{flex:1;min-width:0}.pot-preview strong{font-size:14px;display:block}.pot-preview small{font-size:12px;color:var(--muted);display:block;margin-top:5px}.pot-preview .bar{height:5px;margin-top:8px}.contract-total{display:flex;gap:12px;align-items:center;margin:15px 0}.contract-total b{font:800 37px Manrope}.contract-total span{color:var(--muted);font-size:14px}.dashboard-row{display:flex;gap:12px;align-items:center;padding:16px 0;width:100%;text-align:left;color:var(--navy);text-decoration:none;background:none;border:0;border-bottom:1px solid var(--line)}.dashboard-row>span:nth-child(2){flex:1;min-width:0}.dashboard-row strong{display:block;font-size:14px;line-height:1.5}.dashboard-row small{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.5}.dashboard-row>strong{font-size:14px;white-space:nowrap}.document-symbol{font-size:11px;font-weight:700;color:#9a6572;background:#faf0f3;width:35px;height:42px;border-radius:5px}.prompt-list{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:20px}.prompt-list .btn{text-align:left;justify-content:space-between;font-weight:500;font-size:14px;padding:13px}.widget-assistant{background:#eef6f5;border-color:#d8e9e5}.widget-assistant>p{font-size:15px;color:#5d776f}.system-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.system-grid span{display:block;color:var(--muted);font-size:13px}.system-grid strong{display:block;font-size:15px;margin-top:8px}.system-grid small{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:7px}.calendar-filter{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:24px}.calendar-filter label{display:flex;gap:6px;align-items:center;font-size:14px;margin:0}.calendar-filter input{display:inline;margin:0 3px 0 0;width:17px;height:17px;accent-color:var(--teal)}.calendar-filter i{margin:0}.agenda-full{max-width:800px}.agenda-full .agenda-item{padding:22px 0}.wide-panel{width:1100px;max-width:100vw}.calendar-scroll{overflow-x:auto}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));min-width:730px;border-top:1px solid var(--line);border-left:1px solid var(--line)}.calendar-dayname{padding:12px;text-align:center;color:var(--muted);font-size:13px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);background:#f7fafb}.calendar-cell{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:110px;padding:8px;min-width:0}.week .calendar-cell{min-height:240px}.calendar-cell.selected{background:#edf7f3}.calendar-date{background:none;border:0;padding:4px;font-weight:600;color:var(--navy);font-size:14px}.calendar-event{display:block;width:100%;text-align:left;border:0;border-left:3px solid;padding:6px;background:#edf1f4;color:var(--navy);font-size:12px;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}.calendar-event small{display:block;font-size:11px;color:var(--muted)}.document-page{padding:30px;border:1px solid var(--line);box-shadow:0 5px 22px #102e3b0a;margin:25px 0;min-height:250px}.document-page small{font-size:11px;letter-spacing:1px;color:var(--muted)}.document-page h2{margin-top:30px}.document-page p{font-size:15px;line-height:1.9}.assistant-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:22px}.assistant-welcome{padding:35px 15px;text-align:center}.assistant-welcome>span{font-size:44px;color:var(--teal)}.assistant-welcome h2{margin-top:15px}.assistant-welcome p{font-size:14px;line-height:1.7;color:var(--muted)}.chat-question{background:#e7f3ef;padding:14px 17px;border-radius:10px;margin:18px 0 12px 35px;font-size:15px;line-height:1.6}.chat-answer{font-size:15px;line-height:1.8;padding:15px;border:1px solid var(--line);border-radius:10px;margin-right:20px}.btn:disabled{opacity:.4;cursor:default}.nav-group summary:focus-visible{outline:3px solid #e8a845;outline-offset:2px}@media(max-width:1200px){.widget-energy,.widget-agenda,.widget-finance,.widget-tasks{grid-column:span 6}.widget-savings,.widget-contracts,.widget-documents{grid-column:span 6}.widget-assistant{grid-column:span 12}.energy-number strong{font-size:24px}.energy-number>span{font-size:12px}.mini-finance b{font-size:19px}.mini-finance{gap:10px}.home-strip{gap:15px}}@media(max-width:950px){.home-widget{grid-column:span 12}.widget-savings,.widget-contracts{grid-column:span 6}.assistant-layout{grid-template-columns:1fr}.home-heading h1{font-size:28px}.home-heading{align-items:flex-start}.energy-number strong{font-size:28px}}@media(max-width:720px){aside{overflow:visible}.nav-group{display:contents}.nav-group summary{display:none}.nav-group a{display:none}.nav-group:has(a.active) a.active{display:flex}.nav-group:not(:has(a.active)) a:first-of-type{display:flex}.nav-group a{padding:10px;font-size:13px}.home-widget{grid-column:span 12;padding:20px}.home-grid{gap:16px}.home-heading h1{font-size:27px}.home-heading .eyebrow{font-size:10px}.home-strip{gap:12px;font-size:12px;padding:14px}.home-strip button{margin:0;font-size:12px}.heading-controls{width:100%;justify-content:space-between}.system-grid{grid-template-columns:1fr;gap:18px}.energy-number strong{font-size:24px}.energy-number>span{font-size:12px}.mini-finance b{font-size:18px}.mini-finance span{font-size:12px}.energy-balance{gap:8px}.energy-number strong small{font-size:12px}.wide-panel{padding:19px}.calendar-popup>.section-top{flex-wrap:wrap}.section-top{flex-wrap:wrap} .caption{font-size:12px}.calendar-grid.month{grid-template-columns:repeat(7,minmax(85px,1fr));min-width:600px}}
@media(max-width:720px){nav{align-items:flex-start}.nav-group{display:block;min-width:max-content;margin:0}.nav-group>summary{display:flex;padding:10px;font-size:13px;gap:12px}.nav-group:not([open]) a{display:none!important}.nav-group[open] a{display:flex!important;padding:10px}.nav-group[open]{background:#f5f8f9;border-radius:8px}}
/* Interactive dashboard tiles. CSS dense placement closes available gaps. */
.home-grid{grid-auto-flow:row dense;grid-auto-rows:32px;align-items:stretch;gap:20px}.home-grid>.home-widget{position:relative;display:flex;flex-direction:column;padding:16px 20px 23px;min-height:0;overflow:hidden;container-type:inline-size}.tile-tools{display:flex;align-items:center;justify-content:space-between;flex:0 0 27px;margin:-3px -3px 10px;gap:8px}.tile-move{background:none;border:0;padding:2px 5px;display:flex;align-items:center;gap:7px;color:#637c88;font-size:23px;cursor:grab;touch-action:none;border-radius:5px}.tile-move span{font-size:12px}.tile-move:hover,.tile-move:focus-visible{background:#e9f3f0;color:var(--teal)}.tile-content{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#cedbdc transparent;overflow-wrap:break-word;padding-right:2px}.tile-resize{position:absolute;right:3px;bottom:2px;border:0;background:transparent;color:#60887e;width:30px;height:27px;cursor:nwse-resize;font-size:20px;touch-action:none;border-radius:4px}.tile-resize:hover,.tile-resize:focus-visible{background:#dceee7;color:#056d64}.tile-size-readout{font-size:11px;color:var(--muted);white-space:nowrap}.home-widget:not(.tile-resizing) .tile-size-readout{visibility:hidden}.tile-moving{outline:2px dashed var(--teal);outline-offset:-3px;background:#e9f5f1!important;opacity:.6}.tile-resizing{outline:2px solid var(--teal);box-shadow:0 10px 25px #142c3c15}.tile-interacting{user-select:none;cursor:grabbing}.tile-interacting .tile-content{pointer-events:none}.tile-drag-label{position:fixed;z-index:999;pointer-events:none;border-radius:9px;background:var(--navy);color:white;padding:13px 20px;font-weight:600;box-shadow:0 8px 24px #142c3c33;max-width:280px}.tile-help{font-size:13px;line-height:1.6;color:var(--muted);margin:-8px 0 18px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@container (max-width:420px){.energy-balance{gap:6px}.energy-number strong{font-size:22px}.energy-number>span{font-size:12px}.mini-finance{grid-template-columns:1fr;gap:10px}.mini-finance>div{display:flex;justify-content:space-between;align-items:center}.mini-finance b{margin:0;font-size:20px}.system-grid{grid-template-columns:1fr;gap:18px}.section-top{flex-wrap:wrap}.budget-top{flex-wrap:wrap}.energy-daily{gap:12px}.graph-legend{gap:10px}.day-title{font-size:13px}}@container (min-width:700px){.energy-number strong{font-size:36px}.spark-area svg{max-height:190px}.system-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:720px){.home-grid{grid-auto-rows:auto}.home-grid>.home-widget{grid-column:span 12!important;grid-row:auto!important;min-height:0}.tile-tools,.tile-resize{display:none}.tile-content{overflow:visible}.tile-help{font-size:0}.tile-help:after{content:'Op je computer kun je de tegels slepen en van formaat wijzigen. Hier passen ze zich aan je scherm aan.';font-size:13px}}
.en-demo{display:flex;align-items:center;gap:15px;flex-wrap:wrap;background:#edf5f2;border:1px solid #dcebe5;border-radius:9px;padding:13px 18px;margin-bottom:22px;font-size:14px}.en-demo span{font-size:13px;color:var(--muted)}.en-main{margin-bottom:23px}.en-controls{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--line)}.en-segment{display:inline-flex;gap:3px;background:#f0f4f6;border-radius:8px;padding:4px}.en-segment button{border:0;background:none;padding:10px 17px;border-radius:6px;color:#546b78;font-weight:600;font-size:14px}.en-segment button.selected{background:white;color:var(--teal);box-shadow:0 2px 5px #143b4920}.en-compare{margin:0 0 0 auto;display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.en-compare select{margin:0;width:auto}.en-dates{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.en-dates strong{font-family:Manrope;font-size:16px}.en-dates .btn{padding:6px 12px;font-size:20px}.en-dates select{margin-left:auto}.en-dates input{width:155px}.en-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:24px 0;border-top:1px solid var(--line)}.en-kpis>div{border-right:1px solid var(--line);min-width:0}.en-kpis>div:last-child{border:0}.en-kpis span{display:block;font-size:14px;color:var(--muted)}.en-kpis strong{display:block;font:800 29px Manrope,sans-serif;letter-spacing:-.8px;margin:10px 0}.en-kpis small{display:block;font-size:12px;color:var(--muted);line-height:1.7}.en-coverage{font-size:13px;line-height:1.6;background:#f1f7f5;color:#487269;padding:12px 15px;border-radius:7px;margin:4px 0 20px}.en-coverage.missing{background:#fff6e5;color:#986412}.en-legend{display:flex;gap:24px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--muted);margin:22px 0 0}.en-legend span:last-child{margin-left:auto}.en-legend i{display:inline-block;width:17px;height:3px;background:#087c72;vertical-align:middle;margin-right:7px}.en-legend i.compare{background:#a58bba}.en-chart{display:block;width:100%;max-height:370px;margin:10px 0 0}.en-chart text{font:12px 'DM Sans',sans-serif;fill:#647a85}.en-chart circle{cursor:help}.en-data{border-top:1px solid var(--line);margin-top:16px;padding-top:15px}.en-data summary{color:var(--teal);font-size:14px;cursor:pointer}.en-data .table-wrap{max-height:340px;margin-top:15px}.en-lower{grid-template-columns:1fr 1fr}.en-solar{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:25px}.en-solar span{display:block;font-size:14px;color:var(--muted)}.en-solar strong{display:block;font:700 23px Manrope;margin-top:7px}.en-percentages{display:flex;gap:25px;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.en-percentages>div{flex:1}.en-percentages strong{display:block;font:800 32px Manrope;color:var(--teal)}.en-percentages span{display:block;font-size:15px;font-weight:600;margin:5px 0}.en-percentages small{display:block;font-size:13px;color:var(--muted);line-height:1.7}.en-devices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.en-device{padding:20px;border:1px solid var(--line);background:#fbfcfd;text-align:left;border-radius:10px;color:var(--navy)}.en-device:hover{border-color:#6daf9f;background:#f0f8f5}.en-device .tag{font-size:11px}.en-device h3{font-size:15px;min-height:40px}.en-device>strong{display:block;font:700 23px Manrope;margin:12px 0}.en-device>small{display:block;font-size:12px;color:var(--muted);line-height:1.6;min-height:38px}.en-open{display:block;font-size:13px;font-weight:600;color:var(--teal);margin-top:17px}.en-empty{padding:50px 20px;background:#f5f8fa;border:1px dashed #d5dfe4;border-radius:9px;color:var(--muted);text-align:center;line-height:1.8;margin:20px 0}.en-cycles{border-top:1px solid var(--line);padding-top:25px;margin-top:25px}.en-cycle-summary{display:flex;gap:20px;flex-wrap:wrap;margin:15px 0;font-size:14px;color:var(--muted)}.en-cycle-summary b{color:var(--navy)}#panel .en-controls{margin-top:20px}#panel .en-compare{margin-left:0}#panel .en-kpis strong{font-size:25px}.en-cycles .table-wrap{max-height:450px;overflow:auto}.en-cycles td{font-size:13px}.en-cycles td small{color:var(--muted)}@media(max-width:1100px){.en-devices{grid-template-columns:1fr 1fr}.en-kpis strong{font-size:24px}.en-compare{margin-left:0}.en-lower{grid-template-columns:1fr}}@media(max-width:720px){.en-segment{flex:1}.en-segment button{flex:1;padding:10px 12px}.en-controls{gap:12px}.en-compare{flex-wrap:wrap}.en-dates{gap:8px}.en-dates strong{font-size:14px}.en-dates input{width:145px}.en-kpis{grid-template-columns:1fr;gap:15px;padding:18px 0}.en-kpis>div{border:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;align-items:center}.en-kpis strong,#panel .en-kpis strong{font-size:23px;text-align:right;margin:0}.en-kpis small{grid-column:1/-1}.en-kpis span{font-size:13px}.en-devices{grid-template-columns:1fr 1fr;gap:10px}.en-device{padding:14px}.en-device>strong{font-size:20px}.en-device .section-top{gap:8px}.en-device h3{font-size:14px}.en-chart{min-height:180px}.en-solar strong{font-size:20px}.en-solar{gap:20px}.en-legend{gap:12px;font-size:12px}.en-dates select{margin-left:0}.en-main{padding:18px}.en-demo{gap:7px}}


/* calm.css */
:root{--navy:#283d43;--teal:#4b7461;--bg:#dce4de;--line:#c7d4ce;--muted:#5c706a;--surface:#eaf0e9;--soft:#e2ebe3}body{background:var(--bg);font-family:'DM Sans',Segoe UI,sans-serif;color:var(--navy)}aside{background:#293f46;color:#edf3ef;border:0;width:224px;padding:30px 18px}.brand{color:#f0f4ef;font-size:17px;gap:10px}.brand-icon{background:none;width:28px;height:30px;display:grid;place-items:center}.brand-icon svg{width:27px;height:27px}.brand small{display:none}.nav-label{margin:24px 0 10px;height:0}#nav{display:flex;flex-direction:column;flex:1;gap:5px}#nav a{color:#dbe5e0;gap:14px;font-size:16px;padding:14px 15px;margin:0;border-radius:9px}#nav a svg{width:22px;height:22px;flex-shrink:0}#nav a.active{background:#415f60;color:#fff;font-weight:500}#nav a:hover{background:#38545a}#nav .settings-link{margin-top:auto;margin-bottom:18px}.sidebar-bottom{border-color:#52656a;color:#e3eae5;font-size:15px;padding-top:20px}.sidebar-bottom small{color:#b8c9c3;font-size:12px}.avatar{background:#526a6c;color:white;padding:9px}.workspace{margin-left:224px}header{height:54px;background:transparent;border:0;padding:0 38px;color:#5b706c;font-size:13px}.testbadge{background:#cedbd0;color:#4a6557;border:1px solid #c0cfc3;font-size:12px}.demo-banner{background:transparent;color:#637970;padding:0 38px;font-size:12px;border:0;margin:0;height:22px}.demo-banner button[hidden]{display:none}main{padding:24px 38px 40px;max-width:1600px;margin:0 auto}.heading{align-items:center;margin-bottom:25px;position:relative;gap:16px;flex-wrap:wrap}.heading h1{font-family:Manrope,'DM Sans',sans-serif;font-size:30px;letter-spacing:-.8px;line-height:1.3;margin:0}.heading p{font-size:15px;color:var(--muted);margin:8px 0 0}.eyebrow{display:none}.home-heading .heading-controls{margin-left:auto}.btn,button.chip{background:#e9efea;border-color:#bbcfc4;color:#36594c;border-radius:8px;box-shadow:none;font-size:14px}.btn:hover{background:#d5e2d6;border-color:#8ba899}.btn.primary{background:#4e7562;color:#fff;border-color:#4e7562}.btn.primary:hover{background:#3f6251}.link{color:#3f6957;font-size:14px}input,select,textarea{background:#eff4ee;border:1px solid #becfc3;border-radius:8px;color:#2a443b}select{padding:10px 12px}input:focus,select:focus,textarea:focus{outline-color:#587f69}.card{background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:0 3px 10px #263f3504;padding:24px}h2{font-size:18px;font-weight:650;letter-spacing:-.25px}.section-top{margin-bottom:18px}.section-top h2{margin:0}.caption,.stat-note{font-size:13px;color:#61746a}.tag{background:#dce7de;color:#476452;border:0}.tag.orange{background:#f1e5c9;color:#7c5d20}.positive{color:#3d7055}.negative{color:#974e41}.summary,.soft-note,.notice{background:#dee8dc;border:0;color:#405e4f;border-radius:8px}.row,.detail,th,td{border-color:#d0dcd1}td{padding:17px 12px;font-size:15px}th{font-size:12px;color:#64776c}.row .symbol,.symbol{background:#d9e5db}.row-main small{font-size:14px}.toolbar{gap:12px;margin-bottom:20px}.toolbar input{max-width:400px}.table-wrap{background:transparent}.card.table-wrap{background:var(--surface)}.bar{background:#cfddd3;height:7px;border-radius:4px}.bar>span{background:#61886e}.calm-energy{display:flex;align-items:center;justify-content:space-between;gap:20px}.calm-energy strong{font-size:34px;font-weight:650;letter-spacing:-1px}.calm-energy strong small{font-size:24px}.calm-energy span{display:block;font-size:14px;color:#5e7468}.calm-energy b{font-size:20px;font-weight:600;display:block;margin-top:4px}.calm-energy>div:last-child{text-align:right}.calm-spark{color:#587d63;width:100%;height:78px;margin-top:20px;display:block}.tile-open{color:#577866;text-decoration:none;font-size:20px}.calm-money{margin:10px 0 20px}.calm-money>div{display:flex;justify-content:space-between;padding:12px 0;gap:12px;border-bottom:1px solid #d1dcd1}.calm-money strong{font-size:20px;font-weight:600;white-space:nowrap}.calm-pot{display:flex;align-items:center;width:100%;background:transparent;border:1px solid #d1ded2;border-radius:8px;text-align:left;padding:16px 13px;margin:12px 0;gap:14px;color:#2c4339}.calm-pot:hover{background:#dee8dc}.pot-mark{font-size:28px;filter:saturate(.6)}.pot-name{font-size:15px;flex:1}.pot-progress{width:46%;text-align:right}.pot-progress strong{font-size:15px;font-weight:500;display:block;margin-bottom:10px}.pot-progress small{font-size:12px;color:#67806e}.pot-progress .bar{display:block;width:100%}.pot-progress .bar>span{display:block;height:100%}.home-grid{gap:20px;grid-auto-rows:52px}.home-widget{padding:23px 24px;position:relative}.home-widget .section-top{margin-bottom:12px}.home-widget .tile-content{height:100%}.home-grid:not(.layout-active) .tile-tools,.home-grid:not(.layout-active) .tile-resize{display:none}.home-grid.layout-active .tile-tools{margin-bottom:8px;background:transparent;border:0}.tile-move{background:transparent!important;color:#62846d!important}.tile-move span{font-size:12px}.tile-size-readout{font-size:12px;color:#6c8473}.tile-resize{color:#73917d}.home-grid.layout-active .home-widget{border:1px dashed #88a28e}.tile-help{font-size:14px;color:#5c7564;padding:0;margin:-5px 0 20px}.tile-drag-label{background:#2d493a;color:white}.agenda-item{background:transparent;border:0;border-radius:7px;padding:11px 3px;gap:12px}.agenda-item:hover{background:#dae7da}.agenda-item strong{font-size:15px;font-weight:500}.agenda-item time{font-size:15px}.agenda-item small{display:none}.agenda-item .event-open{display:none}.day-events{max-height:175px;overflow:auto}.compact-actions .btn{background:none;border:0;padding:3px 8px}.home-widget .section-bottom{border:0}.home-widget .card{box-shadow:none}.home-strip{display:none}.section-navigation{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #bbcdc0;margin:0 0 26px;position:relative;z-index:10}.section-tabs{display:flex;gap:30px;align-items:center;overflow:auto}.section-tabs a{padding:0 0 15px;color:#516a5b;text-decoration:none;white-space:nowrap;font-size:15px;border-bottom:3px solid transparent}.section-tabs a.active{color:#2b4d3d;border-color:#517760;font-weight:650}.context-menu{align-self:flex-start;position:relative;font-size:14px;margin-top:-7px}.context-menu>summary{list-style:none;cursor:pointer;padding:10px 15px;border:1px solid #acbfb2;border-radius:8px;white-space:nowrap;display:flex;gap:15px;align-items:center}.context-menu>summary::-webkit-details-marker{display:none}.context-menu[open]>summary{background:#cddcd0}.menu-pop{position:absolute;right:0;top:calc(100% + 7px);width:246px;padding:8px;background:#eaf0e9;border:1px solid #c0d0c2;box-shadow:0 12px 28px #294c3822;border-radius:10px;z-index:60}.menu-pop a,.menu-pop button{font:inherit;display:block;width:100%;text-align:left;padding:12px;border:0;border-radius:6px;color:#304e3d;background:transparent;text-decoration:none}.menu-pop a:hover,.menu-pop button:hover{background:#d6e3d6}.menu-pop a.active{background:#d6e3d6}.contract-tabs{display:flex;gap:12px;margin:-10px 0 24px}.contract-tabs a{font-size:14px;color:#4b6954;text-decoration:none;padding:9px 12px;border-radius:7px}.contract-tabs a.active{background:#ccddcc}.calm-stats{display:grid;grid-template-columns:repeat(3,1fr);background:#e7eee5;padding:24px 12px;border:1px solid #c8d5c7;border-radius:13px;margin-bottom:24px}.calm-stats>div{padding:0 23px;border-right:1px solid #c7d7c9}.calm-stats>div:last-child{border-right:0}.calm-stats span{display:block;font-size:14px;color:#637a69}.calm-stats strong{display:block;font-size:28px;letter-spacing:-.5px;font-weight:650;margin-top:8px}.row-open{border:0;font-size:25px;padding:1px 8px;background:transparent}.quiet-section{margin-top:22px;background:transparent;box-shadow:none;padding:17px 24px}.quiet-section>summary{cursor:pointer;font-weight:500;color:#48644f;list-style-position:inside}.budget-detail{padding-top:20px}.page-help{margin-left:auto;position:relative;font-size:13px}.page-help>summary{cursor:pointer;color:#58715e;list-style:none;padding:8px}.page-help[open]{flex-basis:100%;order:10}.page-help p{font-size:14px!important;margin:8px!important}.quiet-help{margin:12px 0 18px;color:#577160;font-size:14px}.quiet-help>summary{cursor:pointer}.quiet-help .summary{margin-top:10px}.category{margin-bottom:10px!important;padding:16px 22px}.category summary{font-size:16px}.chips{padding-top:16px}.stat{background:#e7eee5}.stat.accent{background:#d2e1d2;color:#2d4c3b}.stat-value{font-size:28px}.energy-module .card{background:var(--surface)}.energy-chart-wrap,.chart-shell{background:transparent!important}.assistant-conversation{background:#e6eee4}.chat-question{background:#ccdfcd}.chat-answer{background:#eff3ec}.system-grid>div{background:#dce7db}footer{padding:10px 38px 25px;color:#6b8072;font-size:12px;display:flex;justify-content:space-between}#panel{background:#e8efe6;color:#2a4436;border:0;border-left:1px solid #b6c9b8;position:fixed;inset:0 0 0 auto;margin:0;width:min(530px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;border-radius:0;padding:30px;box-shadow:-15px 0 60px #21382924}#panel::backdrop{background:#233c3140;backdrop-filter:blur(2px)}#panel.wide-panel{inset:5vh 3vw;margin:auto;width:94vw;max-width:1200px;height:auto;max-height:90vh;border-radius:14px}#panel .card{background:#eef3e9}#panel .close{background:#dce7d8;color:#3d5c46}.panel-top{margin-bottom:25px}#toast{background:#2f4e3c;color:#fff}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8d722e;outline-offset:3px}
@media(max-width:1100px){aside{width:195px;padding:26px 12px}.workspace{margin-left:195px}main{padding:22px}header,.demo-banner{padding-left:22px;padding-right:22px}.section-tabs{gap:18px}.heading h1{font-size:27px}.home-widget{padding:20px}.calm-pot{gap:8px;padding:12px}.pot-name{font-size:14px}.pot-progress strong{font-size:14px}}
@media(max-width:720px){aside{position:relative;inset:auto;width:auto;padding:17px 16px;display:block}.brand{font-size:17px}.nav-label,.sidebar-bottom{display:none}#nav{display:flex;flex-direction:row;overflow-x:auto;gap:4px;margin-top:17px}#nav a{flex-direction:column;gap:7px;padding:9px 12px;font-size:12px;flex-shrink:0}#nav a svg{width:20px;height:20px}#nav .settings-link{margin:0}.workspace{margin-left:0}header{height:42px;padding:0 16px}.demo-banner{padding:0 16px;font-size:12px;height:auto}main{padding:20px 16px}.heading{margin-bottom:20px}.heading h1{font-size:25px}.home-heading .heading-controls{margin-left:0}.home-grid{display:grid;gap:15px}.home-widget{min-height:220px}.calm-stats{padding:18px 4px;gap:0}.calm-stats>div{padding:0 10px}.calm-stats strong{font-size:20px}.calm-stats span{font-size:12px}.section-navigation{gap:8px;align-items:start}.section-tabs{gap:15px;flex-wrap:wrap;overflow:visible}.section-tabs a{font-size:14px;padding-bottom:12px}.context-menu{margin-top:0}.context-menu>summary{padding:7px 9px}.menu-pop{width:224px}.card{padding:18px}.calm-pot{padding:14px 10px}.heading-controls select{max-width:175px}footer{padding:8px 16px 20px;gap:10px}.page-help{margin-left:0}.pots,.stats{grid-template-columns:1fr 1fr}.stat-value{font-size:24px}.contract-tabs{flex-wrap:wrap}td{font-size:14px;padding:12px 9px}#panel{padding:22px}.tile-help::after{content:' Op een klein scherm staan de tegels onder elkaar.'}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.profile-switch{display:flex;align-items:center;gap:12px;background:transparent;border:0;color:#e3ece4;padding:0;text-align:left;font:inherit;width:100%}.profile-switch small{display:block;font-size:12px;margin-top:5px}.compact-actions .btn{font-size:20px;min-width:30px;min-height:30px}
.plan-row,.price-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid #cbd9ce}.plan-row:last-of-type,.price-row:last-of-type{border-bottom:0}.plan-row small{display:block;font-size:13px;line-height:1.4;color:#687b6e;margin-top:4px}.plan-row b{font-size:20px;white-space:nowrap;color:#426b51}.price-row strong{font-size:19px;white-space:nowrap}.price-row strong small{font-size:13px;font-weight:400}.scenario-control{max-width:340px;margin:0 0 24px;display:block}.scenario-control select{width:100%;margin-top:8px}.price-bars{display:flex;align-items:end;height:160px;gap:5px;padding:15px 0}.price-bars>div{flex:1;display:flex;flex-direction:column;justify-content:end;min-width:0}.price-bars span{display:block;background:#71967c;border-radius:4px 4px 0 0}.price-bars small{font-size:12px;height:20px;white-space:nowrap;margin-top:8px}.agenda-tools{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 22px;flex-wrap:wrap}.inline-calendar{min-width:650px}.inline-calendar .calendar-cell{min-height:120px;background:#e9f0e5}.inline-calendar.week .calendar-cell{min-height:360px}.inline-calendar .calendar-cell.other-month{background:#dde7dc;color:#849786}.inline-calendar .calendar-cell.selected{background:#d4e3d1}.inline-calendar .calendar-event{background:#dfeadc;color:#304b38;overflow-wrap:anywhere}.calendar-filter{margin:15px 0}.calendar-filter label{background:#e8efe4;color:#47634e}.calendar-scroll.card{padding:16px}.widget-planning .plan-row{padding:9px 0}.widget-prices .price-row{padding:12px 0}@media(max-width:720px){.price-row strong{font-size:17px}.plan-row b{font-size:18px}.section-navigation{flex-wrap:wrap}.section-tabs{gap:14px}.price-bars small{font-size:10px}.agenda-tools strong{font-size:15px}}

.today-heading{min-width:0}.today-datetime{font-size:1rem!important;color:var(--text)!important}.today-datetime time{font-variant-numeric:tabular-nums;white-space:nowrap}.today-weather{display:flex;flex-direction:column;gap:5px;margin-top:14px;font-size:.95rem;line-height:1.5}.today-weather strong{font-weight:600}.today-weather small{font-size:.8rem;color:#5b706b}.today-weather a{color:inherit;text-underline-offset:3px}.today-weather button{align-self:flex-start}.home-heading{align-items:flex-start}


/* visuals.css */
/* Small, consistent visual cues; user tile sizes and order stay intact. */
.color-icon,.company-logo{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;font-size:26px;flex:0 0 auto;line-height:1}.tone-blue{background:#d5e7f0}.tone-coral{background:#f3ddd3}.tone-teal{background:#d1e7df}.tone-green{background:#dce9cf}.tone-amber{background:#f4e7c8}.tone-purple{background:#e7dff1}.company-logo{background:#f8faf7;padding:5px;border:1px solid #d6dfd8}.company-logo img{width:100%;height:100%;object-fit:contain}.appliance-art{display:inline-block;width:62px;height:62px;flex:0 0 62px;background-image:url('assets/appliances.png');background-size:300% 100%;background-repeat:no-repeat;border-radius:12px}.appliance-washer{background-position:0% 50%}.appliance-dryer{background-position:50% 50%}.appliance-dishwasher{background-position:100% 50%}.plan-row{gap:14px;justify-content:initial}.plan-copy{flex:1;min-width:0}.plan-row>b{flex-shrink:0}.plan-row small{line-height:1.45}.price-label{display:flex;align-items:center;gap:12px}.price-label .color-icon{width:32px;height:32px;font-size:20px;border-radius:9px}.weather-with-picture{display:flex;align-items:center;gap:16px;margin-top:14px}.weather-with-picture .today-weather{margin:0}.weather-picture{font-size:56px;line-height:1.1;flex-shrink:0}.person-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.person-filter{display:inline-flex;align-items:center;gap:7px;border:1px solid #b6c5bd;border-radius:8px;background:#e5ebe6;color:#53645d;padding:7px 9px;font-size:14px;cursor:pointer;min-height:36px}.person-filter.is-on{background:color-mix(in srgb,var(--person-color) 18%,#f5f8f3);border-color:color-mix(in srgb,var(--person-color) 48%,#f5f8f3);color:#253d43}.person-filter input{appearance:auto;accent-color:var(--person-color);width:16px;height:16px;margin:0;flex-shrink:0}.person-filter:focus-within{outline:2px solid #3f6957;outline-offset:2px}.person-filter:not(.is-on) span{opacity:.7}.widget-agenda .agenda-item small{display:block!important;color:#5c706a;font-size:13px;margin-top:3px}.agenda-item .event-mark{display:block!important}.task-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.task-row:last-child{border:0}.task-icon-button{background:none;border:0;padding:0;cursor:pointer;border-radius:12px;flex-shrink:0}.task-icon-button:hover{box-shadow:0 0 0 2px #8aaa9a}.task-row .task-item{display:flex;flex:1;align-items:center;gap:14px;padding:0;margin:0;border:0;min-width:0;cursor:pointer}.task-row .task-item>span{flex:1;min-width:0}.task-row .task-item input{flex-shrink:0;width:19px;height:19px;accent-color:#4b7461}.task-row.done .task-item strong{text-decoration:line-through;color:#6f7b74}.task-row.done .task-icon-button{opacity:.55}.icon-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.icon-picker .btn{display:flex;align-items:center;gap:10px;text-align:left}.payment-description{display:flex;align-items:center;gap:12px;min-width:180px}.payment-description strong{overflow-wrap:anywhere}.payment-row{display:flex;align-items:center;gap:12px;text-align:left;width:100%;background:none;border:0;border-bottom:1px solid var(--line);padding:14px 0;color:var(--navy);cursor:pointer;font:inherit}.payment-row:last-child{border:0}.payment-row>span:nth-child(2){flex:1;min-width:0}.payment-row strong{display:block;font-size:15px;overflow-wrap:anywhere}.payment-row small{display:block;font-size:13px;color:var(--muted);margin-top:4px}.payment-row b{font-size:15px;white-space:nowrap}.payment-row:hover{background:#dce8df}.widget-energy .tile-content{position:relative;background-image:linear-gradient(90deg,#eaf0e9 15%,#eaf0e985 80%),url('assets/energy-house.png');background-size:100% 100%,75% auto;background-repeat:no-repeat;background-position:center,right bottom}.widget-energy .section-top,.widget-energy .calm-energy,.widget-energy .calm-spark{position:relative;z-index:1}.widget-energy .calm-energy{align-items:flex-start}.widget-energy .calm-spark{opacity:.9}.home-widget{container-type:inline-size}.dashboard-row>.appliance-art{width:50px;height:50px;flex-basis:50px}.dashboard-row>.color-icon{width:46px;height:46px}.today-heading h1{letter-spacing:-.7px}
@container (max-width:420px){.plan-row{gap:9px}.appliance-art{width:48px;height:48px;flex-basis:48px}.payment-row{gap:8px}.payment-row small{font-size:12px}.person-filters{gap:6px}.person-filter{padding:6px 8px}.widget-energy .tile-content{background-size:100% 100%,85% auto}.price-label{gap:7px}.price-label .color-icon{width:26px;height:26px;font-size:17px}}
@container (max-width:290px){.plan-row{flex-wrap:wrap}.plan-row>b{margin-left:57px}.payment-row{flex-wrap:wrap}.payment-row>b{margin-left:52px}.color-icon,.company-logo{width:36px;height:36px;font-size:22px}.person-filter{font-size:13px}.widget-energy .tile-content{background-image:none}.calm-energy{flex-wrap:wrap}.price-row{flex-wrap:wrap;gap:8px}}
@media(max-width:720px){.weather-picture{font-size:44px}.weather-with-picture{gap:10px}.icon-picker{grid-template-columns:1fr 1fr}.today-weather small{font-size:12px}.widget-energy .tile-content{min-height:185px}.payment-description{min-width:155px}.person-filter{min-height:40px}}

.person-filter{margin:0!important}.person-filter input[type=checkbox]{margin:0;display:block;width:16px;height:16px}.task-item input[type=checkbox]{margin:0}


/* local-theme.css */
.local-energy-frame{width:100%;height:1100px;border:0;background:transparent;display:block}.local-p1-status{font-size:13px;color:#397364}.local-energy-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.local-energy-grid span,.local-energy-grid small{display:block;font-size:12px;color:#61776d}.local-energy-grid strong{display:block;font-size:24px;margin:8px 0}.local-energy-grid{margin:14px 0}.widget-energy .detail,.widget-energy #live-p1-storage{display:none}.local-rate{display:grid;grid-template-columns:1fr auto;text-decoration:none;color:inherit;padding:12px 0;border-bottom:1px solid #dbe5df;gap:4px 12px}.local-rate strong{font-size:22px}.local-rate small{grid-column:1/-1;color:#65766e}.local-now #local-prices{display:grid;grid-template-columns:1fr 1fr;gap:12px 30px}.local-now .caption{grid-column:1/-1}.payment-row{text-decoration:none;color:inherit}.demo-banner{font-size:12px}.widget-finance .mini-finance{display:grid;gap:10px}.mini-finance>div{display:flex;justify-content:space-between}.local-now{margin-bottom:20px}@media(max-width:650px){.local-now #local-prices,.local-energy-grid{grid-template-columns:1fr}.local-rate strong{font-size:20px}}

.local-example{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#7c765b;margin-bottom:7px}


/* overviews.css */
.month-pot{display:flex;width:100%;gap:12px;background:transparent;color:inherit;border:0;border-bottom:1px solid var(--line);padding:16px 0;text-align:left;align-items:center;cursor:pointer}.month-pot:hover{background:#dce8df}.month-pot-body{flex:1;min-width:0}.month-pot .bar{display:block;margin:10px 0}.month-pot .bar>span{height:100%;display:block}.month-pot .budget-top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.month-pot .color-icon{flex-shrink:0}.month-pots{margin-bottom:16px}.heading-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.widget-weather .tile-content{display:flex;flex-direction:column}.weather-current{display:flex;align-items:center;gap:24px;margin:10px 0 20px}.weather-current>div{display:flex;flex-direction:column;gap:5px}.weather-current strong{font-size:42px;line-height:1.2}.weather-current strong small{font-size:22px}.weather-current .weather-picture{font-size:68px;width:90px;height:90px}.weather-today h3,.weather-week h3{font-size:16px;margin:12px 0}.weather-dayparts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.weather-dayparts>div,.weather-week-row>div{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;font-size:14px}.weather-dayparts .weather-picture{font-size:32px;width:40px;height:42px}.weather-dayparts small,.weather-week-row small{color:var(--muted);font-size:13px}.weather-week{margin-top:18px;border-top:1px solid var(--line)}.weather-week-row{display:grid;grid-template-columns:repeat(7,minmax(48px,1fr));gap:5px;overflow-x:auto;padding-bottom:5px}.weather-week-row .weather-picture{font-size:27px;width:32px;height:36px}.weather-week-row span{font-size:13px}.weather-source{font-size:12px;color:var(--muted);margin-top:16px}.weather-source a{color:inherit}.weather-empty{padding:30px 0;min-height:300px}.weather-current span{font-size:14px}.weather-today .caption{margin-top:0}.tile-content>h2{margin-top:0}@container(max-width:400px){.weather-current{gap:12px}.weather-current strong{font-size:34px}.weather-dayparts>div{font-size:13px}.weather-dayparts .weather-picture{font-size:28px}}@media(max-width:720px){.heading-controls{width:100%}.home-grid.layout-active .tile-tools{display:none}.month-pot .budget-top{font-size:14px}}

header[hidden]{display:none!important}


/* MONTH-POTS-COMPACT-V1 */

#local-budgets .month-pot {
  padding: 11px 0;
  cursor: default;
}

#local-budgets .month-pot:hover {
  background: transparent;
}

#local-budgets .month-pot-more {
  margin-top: 10px;
}

#local-budgets .month-pot-more > summary {
  cursor: pointer;
  padding: 12px 8px;
  border-radius: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
}

#local-budgets .month-pot-more > summary:hover {
  background: #edf6f2;
}


/* FINANCE-READONLY-LABEL */
.finance-readonly {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}



/* smarthome.css */
.smart-lights{display:grid;gap:12px}.smart-light{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;border-radius:18px;background:#f0f3f1}.smart-light.is-on{background:#fff3cc}.smart-light strong{overflow-wrap:anywhere}.smart-light small{display:block;margin-top:4px;color:#586a67}.smart-bulb{color:#81938f}.is-on .smart-bulb{color:#b97a09}.smart-dimmer{grid-column:2/4;display:flex;gap:12px;align-items:center;font-size:12px}.smart-dimmer input{min-width:70px;width:100%;accent-color:#b97a09}#smart-settings form{display:grid;gap:14px;max-width:680px}#smart-settings label{display:grid;gap:6px}#smart-settings .smart-check{display:flex;align-items:center;gap:12px}#smart-settings .smart-check input{width:auto}#smart-select{margin-top:24px}

/* Lampen als aanraakbare tegels, met afzonderlijke helderheidsinstelling. */
.smart-lights,.family-tile div.smart-lights{grid-template-columns:repeat(auto-fit,minmax(136px,1fr));gap:12px}
.smart-light{position:relative;display:block;padding:0;overflow:hidden;border:1px solid #dce4df;border-radius:18px;min-width:0}
.smart-light.is-on{border-color:#dfc371}
.smart-light-toggle{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;width:100%;min-height:218px;padding:38px 12px 16px;border:0;background:transparent;color:inherit;font:inherit;text-align:center;cursor:pointer;border-radius:17px}
.smart-light-toggle strong{line-height:1.35;font-size:14px}.smart-light-toggle small{margin:0;font-size:12px}
.smart-light .smart-bulb{display:flex;align-items:center;justify-content:center;height:128px;width:100%;color:#81938f}
.smart-lamp-photo{display:block;width:100%;max-width:130px;height:128px;object-fit:contain}
.smart-light-settings{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:36px;height:36px;padding:8px;border:0;border-radius:50%;background:#ffffffb8;color:#56665b;cursor:pointer}
.smart-light-toggle:hover{background:#ffffff38}.smart-light-settings:hover{background:#fff}
.smart-light-toggle:focus-visible,.smart-light-settings:focus-visible{outline:3px solid #0e766e;outline-offset:-3px}
.smart-light-toggle:disabled,.smart-light-settings:disabled{opacity:.55;cursor:not-allowed}
.smart-brightness-control{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:12px 0}
.smart-brightness-control input{grid-column:1/-1;width:100%;min-height:44px;accent-color:#b97a09}
@media(max-width:480px){.smart-lights,.family-tile div.smart-lights{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.smart-light-toggle{min-height:202px;padding:38px 10px 14px}.smart-light .smart-bulb,.smart-lamp-photo{height:110px}}

/* Lampstatus zichtbaar in de eigen afbeelding. */
.smart-lamp-photo{filter:brightness(.42) saturate(.55);transition:filter .3s ease,opacity .3s ease}
.is-on .smart-lamp-photo{filter:brightness(1.13) saturate(1.12) drop-shadow(0 0 9px #f3b84c80)}
@media(prefers-reduced-motion:reduce){.smart-lamp-photo{transition:none}}

dialog#panel:has(.smart-brightness-card){position:fixed;inset:0;margin:auto;width:min(440px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 40px);max-width:calc(100vw - 32px);padding:26px;border:1px solid #d8e0d7;border-radius:18px;background:#f9fbf5;box-shadow:0 20px 70px #152f3633;overflow:auto;transform:none}
dialog#panel:has(.smart-brightness-card)::backdrop{background:#142c3c66;backdrop-filter:blur(3px)}
#panel:has(.smart-brightness-card) .panel-top{gap:16px;margin-bottom:12px}
#panel:has(.smart-brightness-card) h2{font-size:21px}

/* Gloed volgt de ingestelde helderheid; uit blijft gedimd. */
.smart-lamp-photo,.is-on .smart-lamp-photo{filter:brightness(var(--lamp-brightness,.42)) saturate(var(--lamp-saturation,.55)) drop-shadow(0 0 var(--lamp-glow,0px) rgb(243 184 76 / var(--lamp-alpha,0)));transition:filter .12s ease}
@media(prefers-reduced-motion:reduce){.smart-lamp-photo{transition:none}}

body.lights-menu-enabled .workspace{margin-left:0!important;width:100%!important}
body.lights-menu-enabled aside{display:flex!important;position:fixed!important;inset:0 auto 0 0;width:280px;height:100dvh;z-index:130;transform:translateX(-101%);transition:transform 250ms ease;box-shadow:6px 0 30px #362c2433;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:26px 20px;overflow-y:auto;background:#354a3c}
body.lights-menu-enabled.music-menu-open aside{transform:translateX(0)}
body.lights-menu-enabled aside #nav{display:block!important;flex:1}
body.lights-menu-enabled aside .nav-label,body.lights-menu-enabled aside .profile-switch>span:last-child,body.lights-menu-enabled aside .brand small{display:block}
body.lights-menu-enabled aside .sidebar-bottom{margin-top:auto!important}
body.lights-menu-enabled .mobile-dock{display:none!important}
.lights-menu-enabled .music-menu-tab{display:block;position:fixed;z-index:132;left:0;top:40%;min-height:80px;padding:12px 9px;border:1px solid #b6a782;border-left:0;border-radius:0 8px 8px 0;background:#faf5e5;color:#4b5c40;font:13px system-ui;writing-mode:vertical-rl;letter-spacing:1px;cursor:pointer;box-shadow:2px 2px 8px #56482c1a;transition:left 250ms ease}
.lights-menu-enabled.music-menu-open .music-menu-tab{left:280px}
.lights-menu-enabled.music-menu-open .music-menu-backdrop{display:block;position:fixed;z-index:129;inset:0;background:#302a214d;border:0;border-radius:0}
.lights-menu-enabled footer{background:transparent;color:#6e614e;padding-top:20px}
.lights-menu-enabled #panel{background:#faf6e9;color:#35483a;border-color:#c4b493;box-shadow:-10px 0 45px #493f2730}
.lights-menu-enabled #panel input,.lights-menu-enabled #panel select,.lights-menu-enabled #panel textarea{background:#fffdf5;color:#35483a;border-color:#cdbfa5}
.lights-menu-enabled #panel .repeat-group{background:#eee9d9;border-color:#d4c7ad}
.lights-menu-enabled #panel .close{background:#e6e1ce;color:#46553b}

/* Een rustige woonkamerwand, warme lichtpoelen en houten vloer. */
body[data-route="lights"]{background-color:#b3a48b;background-image:radial-gradient(ellipse at 20% 4%,#ffe4ac8c,transparent 43%),radial-gradient(ellipse at 85% 25%,#faf0d338,transparent 44%),linear-gradient(180deg,#495447 0%,#6d7560 72%,#3c473a 72.3%,#3c473a 73%,#85705b 73.3%,#ae9070 100%);background-attachment:fixed;min-height:100dvh}
body[data-route="lights"] #main{max-width:1160px;padding:58px 54px 50px!important;min-height:100dvh}
.lamp-room{position:relative;padding:38px 40px 24px;border:1px solid #f7ebce38;border-radius:26px;background:linear-gradient(135deg,#f7edda0f,#15271c24);box-shadow:0 30px 80px #18251c33,inset 0 0 65px #fff2c908}
.lamp-room-heading{text-align:center;margin:0 0 30px;color:#fff5e1}.lamp-room-kicker{font-size:10px;letter-spacing:3.5px;color:#e5d5ac;margin:0 0 12px}
.lamp-room-heading h1{font-family:Georgia,serif;font-size:clamp(36px,5vw,54px);font-weight:400;letter-spacing:-1px}.lamp-room-heading>p:last-child{color:#e5decc;font-size:14px;margin-top:12px}
.lamp-room-controls>.section-top{color:#f9eed7;margin-bottom:16px}.lamp-room-controls>.section-top h2{font-size:15px;font-weight:500}.lamp-room-controls .tile-open{color:#f3e3c1}
.lamp-room-controls .smart-lights{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}
.lamp-room-controls .smart-light{background:linear-gradient(155deg,#f3ebdbe8,#d9d4c7de);border:1px solid #f9f0da66;box-shadow:0 8px 18px #17271c29;transition:background .2s}
.lamp-room-controls .smart-light.is-on{background:radial-gradient(ellipse at 50% 30%,#fff5c9,#e8dbb8);border-color:#f0dba5;box-shadow:0 6px 25px #ffe1a61a,0 8px 18px #17271c29}
.lamp-room-controls .smart-light-toggle{min-height:245px}.lamp-room-controls .smart-bulb,.lamp-room-controls .smart-lamp-photo{height:150px}
.lamp-room-controls .caption,.lamp-room-note{color:#e4dcc7;font-size:12px}.lamp-room-note{text-align:center;margin:24px 0 0;line-height:1.7}
@media(max-width:720px){body[data-route="lights"] #main{padding:30px 12px 26px 28px!important}.lamp-room{padding:26px 14px 18px;border-radius:20px}.lamp-room-heading{margin-bottom:24px}.lamp-room-controls .smart-lights{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lamp-room-controls .smart-light-toggle{min-height:215px}.lamp-room-controls .smart-bulb,.lamp-room-controls .smart-lamp-photo{height:120px}}

/* De eigen lampen in een warme woonkamer; alleen de bediening blijft in beeld. */
body[data-route="lights"]{background:#332718 url('/assets/lampen-woonkamer-warm-v1.png') center center/cover no-repeat fixed}
body[data-route="lights"] #main{display:flex;align-items:flex-end;max-width:1160px;padding:40px 44px 38px!important}
.lamp-room-photo{width:100%;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.lamp-room-photo .lamp-room-controls>.section-top,.lamp-room-photo [data-smart-content]>.caption{display:none}
.lamp-room-photo .smart-light{backdrop-filter:blur(12px);background:linear-gradient(145deg,#eee7d6d9,#d8d0bfbd);box-shadow:0 10px 30px #1b120d55;border-color:#fff3d355}
.lamp-room-photo .smart-light.is-on{background:linear-gradient(145deg,#fff0cde8,#e9d5a9d9)}
.lamp-room-photo .smart-light-toggle{min-height:226px}
@media(max-width:720px){body[data-route="lights"]{background-position:55% center}body[data-route="lights"] #main{padding:140px 12px 24px 28px!important;min-height:100dvh;align-items:flex-end}.lamp-room-photo{padding:0}.lamp-room-photo .smart-light-toggle{min-height:180px;padding-top:34px}.lamp-room-photo .smart-bulb,.lamp-room-photo .smart-lamp-photo{height:96px}.lamp-room-photo .smart-light-toggle strong{font-size:12px}}

/* Het gekozen ontwerp: drie grote tegels boven en twee gecentreerd eronder. */
body[data-route="lights"] #main{align-items:center;justify-content:center;max-width:1160px;padding:36px 46px!important}
.lamp-room-photo .smart-lights{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.lamp-room-photo .smart-light{grid-column:span 2;background:linear-gradient(135deg,#dec8a666,#c3a48166);border:1px solid #fff2d8a8;border-radius:22px;box-shadow:inset 0 1px 0 #fff6e54d,0 14px 34px #1c120c40;backdrop-filter:blur(16px)}
.lamp-room-photo .smart-light.is-on{background:radial-gradient(ellipse at 50% 52%,#f9d99e73,#dfc29b70);border-color:#fff0ccbd}
.lamp-room-photo .smart-light:nth-child(4):nth-last-child(2){grid-column:2/span 2}
.lamp-room-photo .smart-light:nth-child(5):last-child{grid-column:4/span 2}
.lamp-room-photo .smart-light-toggle{min-height:0;height:clamp(240px,35vh,340px);padding:28px 26px 20px;justify-content:center;gap:0}
.lamp-room-photo .smart-light-toggle strong,.lamp-room-photo .smart-light-toggle small{display:none}
.lamp-room-photo .smart-bulb{height:100%;min-height:0}
.lamp-room-photo .smart-lamp-photo{width:100%;max-width:240px;height:100%;max-height:290px;object-fit:contain}
.lamp-room-photo .smart-light-settings{top:10px;right:10px;width:40px;height:40px;background:transparent;color:#fff1d2}
.lamp-room-photo .smart-light-settings:hover{background:#fdf2dc2b}
.lamp-room-photo .smart-light-settings svg{width:25px;height:25px}
@media(max-width:720px){body[data-route="lights"] #main{padding:28px 14px 28px 30px!important}.lamp-room-photo .smart-lights{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lamp-room-photo .smart-light,.lamp-room-photo .smart-light:nth-child(4):nth-last-child(2),.lamp-room-photo .smart-light:nth-child(5):last-child{grid-column:auto}.lamp-room-photo .smart-light-toggle{height:clamp(185px,28vh,270px);padding:30px 18px 16px}.lamp-room-photo .smart-light-settings{top:5px;right:5px;width:36px;height:36px}.lamp-room-photo .smart-light-settings svg{width:21px;height:21px}.lamp-room-photo .smart-lamp-photo{height:100%;max-height:220px}}

/* Laat de volledige woonkamerfoto zichtbaar, ook achter het werkvlak. */
body:not(.family-locked)[data-route="lights"] .workspace{background:transparent!important;min-height:100dvh}
body:not(.family-locked)[data-route="lights"] .workspace::before{content:none!important;display:none!important;background:none!important}
body:not(.family-locked)[data-route="lights"] #main{background:transparent!important}
@media(max-width:720px){.lights-menu-enabled .music-menu-tab{min-height:68px;padding:10px 4px;font-size:11px}}


/* responsive.css */
/* Preserve the approved palette and artwork across every screen width. */
.mobile-dock,.mobile-weather-toggle{display:none}
main,.card,.heading>*,.section-top>*,.row-main,.detail>*{min-width:0}
button,a,input,select,textarea{touch-action:manipulation}
input,select,textarea{max-width:100%}
button:focus-visible,a:focus-visible{outline:3px solid #b47a18;outline-offset:3px}
.layout-columns,.layout-choice{display:grid;grid-template-columns:minmax(0,1fr) 64px 76px 44px;gap:8px;align-items:center}
.layout-columns{font-size:14px;color:var(--muted);margin-top:24px;padding-bottom:12px}
.layout-choice{border-top:1px solid var(--line);padding:12px 0}
.layout-choice strong{font-size:15px;overflow-wrap:anywhere}
.layout-choice label{margin:0;display:grid;place-items:center;min-height:44px}
.layout-choice input{width:21px;height:21px;margin:0;accent-color:#496e58}
.layout-choice .btn{min-height:44px;padding:6px}
.mobile-more-links{display:grid;gap:8px;margin-bottom:24px}
.mobile-more-links a{padding:16px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--navy);background:#eaf0e9}
@media(min-width:721px) and (max-width:1100px){
 aside{width:176px;padding:24px 12px}.workspace{margin-left:176px}main{padding:26px 24px}.brand{font-size:17px;gap:8px}nav a{padding:13px 10px}.heading{flex-wrap:wrap}
 .home-grid>.home-widget{grid-column:span 6!important;grid-row:auto!important;height:auto;min-height:240px}.home-grid{grid-auto-rows:auto}.home-widget .tile-content{height:auto;overflow:visible}.home-widget .tile-resize{display:none}
 .section-navigation,.agenda-tools{flex-wrap:wrap;gap:12px}.section-tabs{flex-wrap:wrap}.section-tabs a{padding:12px}
 .grid,.assistant-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:720px){
 :root{scroll-padding-top:16px}body{font-size:16px}aside{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;width:100%;height:auto;min-height:64px}
 aside #nav,aside .nav-label{display:none}aside .brand{font-size:18px;gap:10px}aside .brand-icon{width:28px;height:28px;font-size:26px}aside .brand small{display:none}
 aside .sidebar-bottom{display:block!important;margin:0;padding:0;border:0}aside .profile-switch{padding:0;background:none;border:0}aside .profile-switch>span:last-child{display:none}.avatar{padding:9px 12px;font-size:15px}
 .workspace{margin:0;width:100%}main{padding:24px 16px 28px;min-height:70vh}footer{margin:0;padding:18px 16px calc(94px + env(safe-area-inset-bottom));font-size:12px}
 h1,.today-heading h1{font-size:27px;letter-spacing:-.5px;line-height:1.2}h2{font-size:19px;line-height:1.3}.heading{display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px;margin-bottom:20px}.heading p,.today-heading p{font-size:14px;line-height:1.6}.heading-controls{display:flex;flex-wrap:wrap;gap:8px}.heading-controls .btn{font-size:14px}
 .btn,button.close{min-height:44px}.link,.tile-open{display:inline-flex;align-items:center;min-height:44px}.section-top{gap:10px;flex-wrap:wrap;margin-bottom:14px}label,input,select,textarea{font-size:16px}input,select,textarea{min-height:44px}.actions{flex-wrap:wrap;gap:8px}.toolbar{flex-wrap:wrap}.toolbar input{width:100%;min-width:0;flex-basis:100%}.detail{gap:12px;flex-wrap:wrap}.detail>*{overflow-wrap:anywhere}
 .card{padding:18px;border-radius:16px}.grid,.assistant-layout,.stats,.calm-stats,.mortgage-grid,.en-lower{grid-template-columns:minmax(0,1fr)!important;gap:14px}.card+.card{margin-top:14px}
 .home-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto!important;grid-auto-flow:row;gap:16px;align-items:start}
 .home-grid>.home-widget{grid-column:1!important;grid-row:auto!important;min-height:0;height:auto;max-height:none;padding:18px;margin:0;overflow:visible;container-type:inline-size}
 .home-widget .tile-content{height:auto;min-height:0;max-height:none;flex:none;overflow:visible;padding:0}.home-widget .tile-tools,.home-widget .tile-resize{display:none!important}.tile-help::after{content:none}
 .widget-energy .tile-content{min-height:205px;background-image:linear-gradient(90deg,#eaf0e9 12%,#eaf0e985 80%),url('assets/energy-house.png');background-size:100% 100%,90% auto;background-position:center,right bottom;background-repeat:no-repeat}.widget-energy .calm-spark{height:40px}.calm-energy strong{font-size:32px}
 .mobile-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:40;background:#f1f5f0;border-top:1px solid #c5d2c8;box-shadow:0 -4px 20px #263f4210;padding:6px 8px calc(8px + env(safe-area-inset-bottom));gap:2px}
 .mobile-dock a,.mobile-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;margin:0;padding:6px 2px;border:0;border-radius:12px;background:transparent;color:#56665f;text-decoration:none;font:500 12px 'DM Sans',sans-serif}
 .mobile-dock span{font-size:23px;line-height:24px}.mobile-dock [aria-current=page],.mobile-dock .active{background:#dbe8dc;color:#2d5640;font-weight:700}
 .section-navigation{flex-direction:column;align-items:stretch;gap:8px}.section-tabs{display:flex;flex-wrap:wrap;gap:4px;width:100%;border:0}.section-tabs a{padding:10px 11px;font-size:14px;min-height:44px;background:#e5ede4;border-radius:9px}.section-tabs a.active{background:#cdddce}.context-menu{align-self:flex-end}.menu-pop{max-width:calc(100vw - 40px);z-index:20}
 #panel,#panel.wide-panel{position:fixed;inset:0;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:20px 18px calc(28px + env(safe-area-inset-bottom));overflow:auto}#panel .panel-top{position:relative;padding-bottom:15px;align-items:flex-start;gap:12px}#panel .eyebrow{display:none}#panel .panel-top h2{font-size:23px}#panel .close{flex-shrink:0;order:-1;width:44px;padding:6px;font-size:25px}#panel .panel-top>div{flex:1}#toast{bottom:calc(84px + env(safe-area-inset-bottom));left:16px;right:16px;max-width:calc(100vw - 32px);transform:none;width:auto}
 .widget-weather:not(.weather-expanded) .weather-dayparts,.widget-weather:not(.weather-expanded) .weather-week{display:none}.mobile-weather-toggle{display:inline-flex;margin-top:14px}.weather-current{gap:16px}.weather-current .weather-picture{font-size:50px}.weather-current strong{font-size:36px}.weather-today{margin-top:12px}.weather-source{line-height:1.6;font-size:12px}.weather-week-row{gap:4px}.weather-week-row .weather-picture{font-size:24px}.weather-dayparts{gap:6px}
 .person-filters{gap:6px}.person-filter{font-size:13px;min-height:44px;padding:7px}.plan-row{gap:10px;flex-wrap:wrap}.plan-row .plan-copy{flex:1}.plan-row>b{font-size:16px;margin-left:0}.plan-row small{font-size:13px}.appliance-art{width:48px;height:48px;flex-basis:48px}.payment-row{gap:9px}.payment-row strong,.payment-row b{font-size:14px}.payment-row .company-logo{width:38px;height:38px}
 body[data-route=transactions] .table-wrap{overflow:visible}body[data-route=transactions] table,body[data-route=transactions] tbody{display:block;width:100%}body[data-route=transactions] thead{display:none}body[data-route=transactions] tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:15px 0;border-bottom:1px solid var(--line)}body[data-route=transactions] td{border:0;padding:0;white-space:normal;min-width:0}body[data-route=transactions] td:nth-child(1){grid-column:1/-1;font-size:12px;color:var(--muted)}body[data-route=transactions] td:nth-child(2){grid-column:1;grid-row:2/4;align-self:center}body[data-route=transactions] td:nth-child(3){display:none}body[data-route=transactions] td:nth-child(4){grid-column:2;grid-row:2;font-size:15px}body[data-route=transactions] td:nth-child(5){grid-column:2;grid-row:3}body[data-route=transactions] .payment-description{min-width:0;gap:9px}body[data-route=transactions] .payment-description strong{font-size:14px}body[data-route=transactions] .company-logo,body[data-route=transactions] .color-icon{width:36px;height:36px;flex-basis:36px}body[data-route=transactions] td .btn{padding:6px 10px;font-size:14px}
 .calendar-scroll{overflow:visible;padding:10px}.calendar-grid.inline-calendar,.calendar-grid.month,.calendar-grid.week{min-width:0;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.calendar-grid .calendar-cell{min-height:58px;padding:3px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:2px}.calendar-date{width:100%;height:38px;min-height:38px;text-align:center;padding:0}.calendar-grid .calendar-event{width:7px;height:7px;min-height:7px;flex:0 0 7px;margin:0;padding:0;background:currentColor;border-left-width:7px;font-size:0;overflow:hidden;pointer-events:none}.calendar-event small{display:none}.calendar-dayname{font-size:12px;padding:8px 0}.agenda-tools{flex-wrap:wrap;gap:12px}.agenda-tools strong{font-size:16px}.agenda-tools .actions{gap:8px}#selected-day-events{margin-top:16px}.agenda-item{grid-template-columns:52px 5px minmax(0,1fr) 14px}.agenda-item strong{overflow-wrap:anywhere}
 .month-pot{gap:10px}.budget-top{flex-wrap:wrap}.budget-top strong{font-size:14px}.month-pot .color-icon{width:36px;height:36px;font-size:22px}.calm-pot{flex-wrap:wrap}.contract-row{flex-wrap:wrap;gap:10px}.contract-row .row-main{flex-basis:65%}.dashboard-row{gap:10px}.dashboard-row>span{min-width:0;overflow-wrap:anywhere}.en-chart{width:100%;min-width:0}.en-controls{flex-wrap:wrap}.en-dates{flex-wrap:wrap}.en-dates input{max-width:100%}.en-devices{grid-template-columns:minmax(0,1fr)!important}.table-wrap{max-width:100%;overflow:auto}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:720px){aside{flex-direction:row}.widget-weather .weather-current{margin-top:10px}.widget-weather .weather-today h3{display:none}.widget-weather .weather-source{margin-bottom:0}.mobile-weather-toggle{width:100%}.widget-agenda .person-filters{gap:5px}.widget-agenda .person-filter{padding:6px;font-size:12px}}
@media(min-width:721px) and (max-width:950px){.home-grid>.home-widget{grid-column:span 12!important}}
#selected-day-events .agenda-item small{display:block;color:var(--muted);font-size:13px;margin-top:4px}


/* family.css */
.family-nav-icon{font-size:25px;display:inline-flex;width:27px;justify-content:center}.family-avatar{display:inline-grid;place-items:center;background:var(--avatar-color,#476956);color:white;width:46px;height:46px;flex:0 0 46px;border-radius:50%;overflow:hidden;font-weight:700}.family-avatar img{width:100%;height:100%;object-fit:cover}.family-greeting{margin:-12px 0 28px;color:var(--muted);font-size:17px}.family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.family-grid .family-tile{margin:0;min-width:0;overflow-wrap:anywhere;min-height:220px}.family-wide{grid-column:span 2}.family-compact{min-height:0!important}.family-compact .family-empty{padding:8px}.family-compact .weather-today,.family-compact .family-event small{display:none}.family-weather .weather-week,.family-weather .weather-dayparts{display:none}.family-weather:has(details[open]) .weather-week,.family-weather:has(details[open]) .weather-dayparts{display:grid}.family-weather summary{cursor:pointer;padding:14px 0;min-height:44px;color:#3e644b;font-weight:600}.family-weather-more p{display:none}.family-weather .section-top{margin-bottom:14px}.family-weather .weather-current{margin:12px 0}.family-weather .weather-picture{font-size:60px}.family-empty{padding:20px 0;color:var(--muted)}.family-empty>span{font-size:35px;color:#769783}.family-event{display:flex;gap:18px;border-bottom:1px solid var(--line);padding:14px 0}.family-event time{color:#52725a;min-width:50px}.family-event small{display:block;margin-top:6px}.family-meal{display:flex;gap:24px;align-items:center;min-height:185px}.family-tile-symbol{font-size:70px;color:#678968}.family-meal h2{font-size:26px;margin:10px 0}.family-energy{background-image:linear-gradient(90deg,#edf2ec 10%,#edf2ec85 90%),url('assets/energy-house.png');background-size:cover;background-position:center}.family-tile a,.family-columns a{color:#3f644d;min-height:44px;display:inline-flex;align-items:center;font-weight:600}.family-editbar{background:#e5ede4;border:1px solid #c2d2c2;border-radius:16px;padding:18px;margin-bottom:24px;display:flex;gap:20px;align-items:center;flex-wrap:wrap}.family-editbar label{margin:0;min-width:180px}.family-editbar p{margin:0;font-size:14px}.family-tile-tools{border-bottom:1px solid #bdcebd;padding-bottom:16px;margin-bottom:18px;font-size:14px}.family-tile-tools>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.family-tile-tools .btn{font-size:14px;padding:8px 12px;min-height:44px}.family-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.family-columns>.card{margin:0;min-width:0}.family-profile-hero{display:flex;gap:18px;align-items:center;margin-bottom:28px}.family-profile-hero .family-avatar{width:80px;height:80px;flex-basis:80px;font-size:28px}.family-profile-hero h2{margin:0 0 5px}.family-checks{display:grid;gap:6px}.family-checks label{display:flex;align-items:center;gap:14px;min-height:44px;margin:0}.family-checks input,.family-right input{width:23px;height:23px;min-height:23px;accent-color:#476956;flex-shrink:0}.family-right{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);gap:16px}.family-right small,.family-person small{display:block;color:var(--muted);font-size:14px;margin-top:5px}.family-person{width:100%;display:flex;gap:14px;align-items:center;text-align:left;background:transparent;border:1px solid transparent;border-radius:12px;padding:15px;margin:5px 0;font:inherit;color:var(--navy)}.family-person>span:nth-child(2){flex:1}.family-person.selected{background:#dfeadf;border-color:#adc5af}.family-notice{font-size:14px;color:#526a59;margin:0 0 24px}.family-profile-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.family-profile-choices button{border:1px solid #b9cdbb;background:#e8efe6;border-radius:15px;padding:22px;display:flex;gap:14px;align-items:center;font:inherit;color:#283f45}.family-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.family-menu>a{background:#edf2ec;border:1px solid #c2d1c4;padding:20px;border-radius:14px;color:#283f45;text-decoration:none}.family-next{padding:36px}.family-next p{max-width:600px;line-height:1.7}.family-mobile-layout{grid-template-columns:minmax(0,1fr);max-width:520px}.family-mobile-layout .family-wide{grid-column:auto}.family-wall-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:18px}.family-locked aside,.family-locked header,.family-locked footer,.family-locked .mobile-dock{display:none!important}.family-locked .workspace{margin:0}.family-locked main{padding:0}.family-lockscreen{width:100%;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#dce6df;color:#283f45;cursor:pointer}.family-lockscreen time{font-size:clamp(80px,16vw,220px);font-weight:500;line-height:1.1}.family-lock-weather .section-top,.family-lock-weather .weather-today,.family-lock-weather .weather-week,.family-lock-weather .weather-source,.family-lock-weather button{display:none}.family-lock-weather .weather-current{margin-top:30px;gap:20px}.family-lock-weather .weather-current strong{font-size:45px}.family-lock-weather .weather-picture{font-size:65px}.family-lock-weather .weather-empty{font-size:18px}.family-locked #panel{max-width:600px}#family-color{width:70px;height:44px;padding:4px}footer .btn{font-size:14px;padding:8px 12px}body:not(.family-locked) main{min-height:75vh}
@media(max-width:1100px){.family-grid,.family-columns{grid-template-columns:minmax(0,1fr)}.family-wide{grid-column:auto}.family-tile-tools .btn{font-size:14px}}
@media(max-width:720px){.family-greeting{font-size:15px;margin:-4px 0 22px}.family-grid{gap:16px}.family-grid .family-tile{min-height:0}.family-meal{min-height:160px;gap:14px}.family-meal h2{font-size:22px}.family-tile-symbol{font-size:48px}.family-profile-choices button{flex-direction:column;padding:16px;gap:10px}.family-menu{grid-template-columns:1fr}.family-editbar{gap:12px}.family-columns{gap:16px}.family-locked #panel{max-width:100%}.family-wall-actions{justify-content:stretch;flex-wrap:wrap}.family-right{font-size:16px}.family-tile a{font-size:14px}.family-avatar{width:40px;height:40px;flex-basis:40px}.family-person{padding:12px}.family-weather .weather-picture{font-size:48px}.family-weather .weather-current strong{font-size:34px}.family-profile-hero{flex-wrap:wrap}.family-columns input[type=file]{font-size:14px;width:100%}.family-profile-hero .family-avatar{width:64px;height:64px;flex-basis:64px}footer{line-height:1.8}.family-lockscreen time{font-size:24vw}}
@media(prefers-reduced-motion:reduce){.family-lockscreen{transition:none}}
.family-icon{width:26px;height:26px;display:block}.family-tile-symbol .family-icon{width:72px;height:72px}.family-nav-icon{flex-shrink:0}.family-tile-tools .btn:focus-visible{outline:3px solid #976718;outline-offset:2px}
.family-locked #toast{display:none!important}
.family-heading{margin:0 0 22px;gap:16px}.family-heading .actions{margin:0}.family-heading h1{margin:0}.family-weather .weather-empty{min-height:100px;padding:18px 0}.family-weather .weather-source a{display:inline;min-height:0;font-weight:400}.family-weather .weather-source{line-height:1.5}.family-weather .weather-current{margin:8px 0 14px}.family-weather .weather-today h3{display:none}.family-weather .weather-today{margin:0}.family-weather .weather-today p{margin:8px 0}.family-weather .weather-source{margin:12px 0 0}.family-weather summary{padding:12px 0 0;min-height:44px;font-size:14px}
@media(max-width:720px){.family-heading{gap:14px;margin-bottom:18px}.family-greeting{margin:0 0 20px}.family-weather:not(:has(details[open])) .weather-source{display:none}.family-weather .weather-current .weather-picture{width:60px;height:60px}.family-weather .weather-current strong{font-size:34px}.family-weather .weather-current{gap:18px}.family-grid .family-tile{padding:18px}.family-empty{padding:8px 0}.family-meal{min-height:130px}}
.light-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.light-card{padding:24px;background:#edf2ec;border:1px solid #c7d5c8;border-radius:18px;min-width:0}.light-card.light-on{background:#edf1de;border-color:#bdc59a}.light-row{display:flex;align-items:center;gap:14px}.light-bulb{width:44px;height:44px;color:#789080;flex:0 0 44px}.light-bulb svg{width:100%;height:100%}.light-on .light-bulb{color:#9b771d}.light-name{flex:1;min-width:0}.light-name strong{font-size:17px;overflow-wrap:anywhere}.light-name small{display:block;color:#627567;font-size:14px;margin-top:6px}.light-switch{border:0;border-radius:24px;background:#9caaa1;width:56px;height:36px;flex:0 0 56px;padding:4px;min-height:44px}.light-switch span{display:block;width:28px;height:28px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002}.light-switch[aria-checked=true]{background:#4b7155}.light-switch[aria-checked=true] span{margin-left:auto}.light-dimmer{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:24px 0 0;font-size:14px}.light-dimmer output{margin-left:auto}.light-dimmer input{width:100%;accent-color:#55735a;min-height:44px;padding:0;border:0;background:transparent;cursor:pointer}.light-connection{margin-top:24px!important;max-width:850px}.light-compact{grid-template-columns:1fr;gap:12px}.light-compact .light-card{padding:16px}.light-compact .light-dimmer{margin-top:12px}.light-compact .light-name strong{font-size:16px}
@media(max-width:1100px){.light-cards{grid-template-columns:1fr}.light-card{padding:20px}}@media(min-width:721px){aside #nav a{padding-top:10px;padding-bottom:10px}}@media(max-width:720px){.light-card{padding:18px}.light-name strong{font-size:16px}.light-row{gap:10px}.light-bulb{width:36px;height:36px;flex-basis:36px}}
.public-lights{padding:clamp(20px,5vw,64px);max-width:1400px;margin:auto;min-height:100dvh}.public-lights>.caption{margin-top:28px}.family-locked .public-lights .light-cards{margin-top:32px}.public-lights .heading{flex-wrap:wrap}
.assistant-context{max-width:900px;background:#edf2ec;border:1px solid #c6d5c8;border-radius:20px;padding:28px}.assistant-context-meta{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap}.assistant-context-meta>strong{font-size:20px}.assistant-context .tag{font-size:13px}.assistant-thread{max-height:45vh;overflow:auto;margin:22px 0;padding-right:8px}.assistant-message{border-bottom:1px solid #c8d8c9;padding:12px 0 22px;margin-bottom:14px}.assistant-message small{color:#5e7464;font-size:14px}.assistant-question{background:#dce9dc;padding:14px 18px;border-radius:14px;font-weight:600;white-space:pre-wrap;overflow-wrap:anywhere}.assistant-reply{padding:12px 4px;line-height:1.65}.assistant-reply p{margin-bottom:0;overflow-wrap:anywhere}.assistant-prompts{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 24px}.assistant-prompts button{white-space:normal;text-align:left}.page-assistant-button{margin-left:auto;font-size:14px;flex-shrink:0}#panel.context-assistant-panel{width:700px;max-width:95vw}#panel.context-assistant-panel .assistant-context{border:0;padding:0;background:transparent}.assistant-context textarea{width:100%}aside #nav{overflow-y:auto;min-height:0}aside .sidebar-bottom{flex-shrink:0}.assistant-intro{color:#5e7464}
@media(max-width:720px){.assistant-context{padding:18px}.page-assistant-button{margin-left:0;white-space:normal}.assistant-prompts{display:grid;grid-template-columns:1fr}.assistant-thread{max-height:38vh}#panel.context-assistant-panel{width:100%;max-width:100%}.assistant-context-meta>strong{font-size:18px}}

/* Compacte homepage met dezelfde profielindeling op alle apparaten. */
body[data-route="welcome"] #main,body[data-route="dashboard"] #main{padding-top:12px}
body[data-route="welcome"] .family-heading,body[data-route="dashboard"] .family-heading{flex-wrap:nowrap;align-items:center;gap:12px;margin-bottom:4px}
body[data-route="welcome"] .family-heading>div:first-child,body[data-route="dashboard"] .family-heading>div:first-child{min-width:0}
body[data-route="welcome"] .family-heading .actions,body[data-route="dashboard"] .family-heading .actions{width:auto;flex:0 0 auto;margin-left:auto;gap:8px}
body[data-route="welcome"] .family-greeting,body[data-route="dashboard"] .family-greeting{margin:0 0 12px}
.homepage-settings-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:10px}
.homepage-settings-button svg{display:block;width:22px;height:22px;flex-shrink:0}
@media(max-width:720px){body[data-route="welcome"] #main,body[data-route="dashboard"] #main{padding-top:8px}body[data-route="welcome"] .family-heading h1,body[data-route="dashboard"] .family-heading h1{font-size:24px}}

body:has(#huis-dock) nav.mobile-dock,
body.family-locked #huis-dock { display: none !important; }

#huis-dock {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 114;
  display: flex;
  align-items: center;
  gap: 10px;
}

#huis-dock :is(.huis-home, .huis-launcher) {
  box-sizing: border-box;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid #dce4d5;
  border-radius: 50%;
  background: #fffdf7;
  color: #48634b;
  box-shadow: 0 3px 12px #293e3324;
  cursor: pointer;
}

#huis-dock :is(.huis-home, .huis-launcher):hover,
#huis-dock .huis-home[aria-current="page"] { background: #e2eadb; }
#huis-dock :is(.huis-home, .huis-launcher):focus-visible { outline: 3px solid #b67d26; outline-offset: 3px; }
#huis-dock .huis-launcher[hidden] { display: none; }
#huis-dock svg { width: 25px; height: 25px; }
#huis-dock .huis-launcher svg { width: 29px; height: 29px; }

#huis-dock .huis-launcher.huis-listening::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60844d;
}

.huis-heading {
  max-width: 850px;
  margin: 0 auto 18px;
  color: var(--home-ink, #293e33);
}
.huis-heading p {
  margin: 0 0 5px;
  color: var(--home-green, #537456);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.huis-heading h1 { margin: 0 0 4px; }
.huis-heading span { color: #586958; }
.assistant-context.huis-conversation {
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(14px, 3vw, 28px);
  background: var(--home-paper, #fffdf7);
  border: 1px solid var(--home-line, #e1e6d9);
  border-radius: 22px;
  color: var(--home-ink, #293e33);
}
.huis-conversation .assistant-thread {
  min-height: min(185px, 28vh);
  max-height: 45vh;
  margin: 0 0 18px;
  padding: 4px;
}
.huis-empty {
  padding: 25px 12px;
  text-align: center;
}
.huis-empty > span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--home-sage, #dce6d6);
  color: var(--home-green, #537456);
  font-size: 1.5rem;
}
.huis-empty h2 { margin: 12px 0 5px; }
.huis-empty p { margin: 0; color: #586958; }
.huis-conversation .assistant-message { border: 0; padding: 0 0 12px; margin: 0 0 10px; }
.huis-conversation .assistant-question {
  width: fit-content;
  max-width: 88%;
  margin: 0 0 8px auto;
  background: var(--home-sage, #dce6d6);
  border-radius: 17px 17px 5px 17px;
}
.huis-conversation .assistant-reply {
  width: fit-content;
  max-width: 93%;
  padding: 10px 14px;
  background: var(--home-ivory, #faf8f2);
  border: 1px solid var(--home-line, #e1e6d9);
  border-radius: 17px 17px 17px 5px;
}
.huis-conversation .assistant-reply p { margin: 4px 0 0; white-space: pre-wrap; }
.huis-composer textarea {
  box-sizing: border-box;
  min-height: 72px;
  border: 1px solid #b8c7b6;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  resize: vertical;
}
.huis-composer-footer { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 8px; }
.huis-composer-footer p, .huis-disclosure { margin: 0; color: #586958; }
.huis-composer-footer button { flex-shrink: 0; }
.huis-disclosure { margin-top: 10px; }

body #panel.context-assistant-panel {
  background: var(--home-paper, #fffdf7);
  color: var(--home-ink, #293e33);
  border: 1px solid var(--home-line, #e1e6d9);
  font-family: 'Segoe UI', Arial, sans-serif;
}

.huis-sources a {
  color: #365d40;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* food.css */
/* Food trial: same calm palette, compact shopping controls on phones. */
.food-tabs{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px;margin:0 0 22px;scrollbar-width:thin}.food-tabs a{flex-shrink:0;padding:12px 16px;border-radius:10px;color:#45644e;text-decoration:none;font-size:15px}.food-tabs a[aria-current]{background:#d0dfd0;font-weight:700}.food-overview-grid,.food-recipes-grid,.food-history{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.food-overview-tile{margin:0!important;min-width:0}.food-overview-tile>a{display:block;text-decoration:none;color:inherit}.food-tile-icon{display:grid;place-items:center;width:50px;height:50px;border:1px solid #bdcfbc;border-radius:14px;background:#dfe9d9;color:#4c6c4e;font-size:30px;margin-bottom:24px}.food-overview-tile h2{font-size:22px}.food-overview-tile p{color:#637565;margin-bottom:0}.food-wide{grid-column:span 2}.food-small .food-tile-icon{display:none}.food-small{padding:20px!important}.food-today{display:flex;align-items:center;gap:28px;min-width:0}.food-today>img{width:240px;height:190px;object-fit:cover;border-radius:14px}.food-today h2{font-size:28px;margin:8px 0 12px}.food-today .caption{margin:10px 0}.food-empty-icon{display:grid;place-items:center;background:#dfe9d9;border-radius:18px;width:150px;height:150px;flex-shrink:0;font-size:70px;color:#648461}.food-search{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:16px}.food-filterbar{margin:12px 0 24px}.food-check-inline{display:flex!important;gap:12px;align-items:center;margin:0!important;min-height:44px}.food-check-inline input,.food-ingredient input,.food-list-row input,.food-merge input{width:24px!important;height:24px;min-height:24px;flex:0 0 24px;margin:0;accent-color:#476956}.food-recipe-card{padding:0!important;overflow:hidden;position:relative;margin:0!important}.food-recipe-card>a{display:block;color:inherit;text-decoration:none}.food-recipe-card img,.food-recipe-no-photo{width:100%;height:210px;object-fit:cover}.food-recipe-no-photo{display:grid;place-items:center;background:#d9e5d6;color:#65765f}.food-recipe-copy{padding:24px}.food-recipe-copy h2{font-size:22px}.food-recipe-copy p{margin-bottom:10px}.food-recipe-copy small{color:#647361}.food-favorite{position:absolute;top:14px;right:14px;width:44px;height:44px;border:1px solid #b6c7b0;border-radius:50%;background:#f4f7ed;color:#5b7857;font-size:28px;cursor:pointer}.food-recipe-detail,.food-route-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}.food-recipe-detail>.card,.food-route-grid>.card{min-width:0;margin:0}.food-detail-photo{width:100%;max-height:380px;object-fit:cover;border-radius:14px;margin-bottom:18px}.food-instructions{white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere;margin-bottom:26px}.food-ingredient{display:flex;align-items:center;gap:14px;padding:15px 0;margin:0;border-bottom:1px solid #ccd7c8}.food-ingredient>span{flex:1;min-width:0;overflow-wrap:anywhere}.food-ingredient strong{font-size:15px;text-align:right}#food-ingredients{margin:12px 0 24px}.food-panel{width:740px!important;max-width:95vw!important}.food-panel form>label{margin-top:18px}.food-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.food-ingredient-edit{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:end;margin-bottom:16px}.food-ingredient-edit label{margin:0}.food-ingredient-edit .btn{height:44px;padding:8px 12px}.food-week-toolbar,.food-list-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:24px}.food-week-toolbar strong{flex:1}.food-week-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.food-day{margin:0!important;min-width:0}.food-day h2{font-size:18px;text-transform:capitalize;margin-bottom:20px}.food-day h3{font-size:18px;line-height:1.5}.food-day a{color:inherit}.food-day img{width:100%;height:140px;object-fit:cover;border-radius:12px}.food-day article{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #cad7c8}.food-day .btn{font-size:14px;white-space:normal}.food-is-today{border-color:#83a17b!important}.food-staple,.food-review-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 50px auto;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #ccd7c8}.food-staple label,.food-review-row label{margin:0}.food-review-row{grid-template-columns:minmax(0,1fr) 90px 50px}.food-review-row small{grid-column:1/-1;color:#647661;padding-left:36px}.food-merge{border:1px solid #bbcdb7;border-radius:12px;padding:18px;margin:24px 0}.food-merge label{display:flex;align-items:center;gap:14px;min-height:44px;margin:8px 0}.food-merge .caption{margin-bottom:0}.food-shop-label{min-width:200px;margin:0}.food-list-toolbar .actions{margin-left:auto}.food-shopping{max-width:950px}.food-list-row{display:flex;gap:16px;align-items:center;border-bottom:1px solid #c5d3c1;padding:8px 0}.food-list-row>label{display:flex;align-items:center;gap:16px;flex:1;min-width:0;margin:0;min-height:54px;cursor:pointer}.food-list-row label>span{flex:1;overflow-wrap:anywhere}.food-list-row strong{font-size:16px;text-align:right}.food-row-edit{padding:8px 12px!important;font-size:23px;flex-shrink:0}.food-checked label>span{text-decoration:line-through;color:#778474}.food-cart{margin-top:24px}.food-cart summary{min-height:44px;cursor:pointer;color:#55734f;font-weight:600;padding:10px 0}.food-location{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #cad7c8;flex-wrap:wrap}.food-location>span{color:#7a8b74;width:20px}.food-location strong{flex:1;min-width:100px}.food-location .btn{padding:8px 12px}.food-map{display:grid;grid-template-columns:1fr 1.2fr;gap:14px;align-items:center;padding:12px 0;margin:0;border-bottom:1px solid #cbd6c8}.food-map small{display:block;color:#6c7c68;margin-top:6px}.food-cook-result{padding:24px 0;border-top:1px solid #c5d4bf;margin-top:24px}.food-cook-result .btn{margin:6px 8px 6px 0}.food-history .card{margin:0}.food-panel .actions,.food-overview-tile .family-tile-tools{display:flex;flex-wrap:wrap;gap:8px}.food-panel input,.food-panel textarea{max-width:100%}.food-panel .detail{gap:16px;overflow-wrap:anywhere}.food-panel .detail strong{text-align:right}.food-panel .btn{white-space:normal}#food-print{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1200px){.food-overview-grid,.food-recipes-grid,.food-week-grid,.food-history{grid-template-columns:repeat(2,minmax(0,1fr))}.food-search{grid-template-columns:repeat(2,minmax(0,1fr))}.food-recipe-detail,.food-route-grid{grid-template-columns:1fr}.food-today>img{width:180px;height:160px}}
@media(max-width:720px){.food-tabs{margin-bottom:18px;gap:2px}.food-tabs a{padding:10px 12px;font-size:14px}.food-overview-grid,.food-recipes-grid,.food-week-grid,.food-history{grid-template-columns:1fr;gap:16px}.food-wide{grid-column:auto}.food-overview-tile>a{display:grid;grid-template-columns:42px 1fr;column-gap:16px;align-items:center}.food-tile-icon{grid-row:span 2;width:42px;height:42px;margin:0;font-size:25px}.food-overview-tile h2{font-size:20px;margin:0}.food-overview-tile p{font-size:14px;margin:5px 0 0}.food-small>a{display:block}.food-today{gap:16px;align-items:flex-start}.food-today>img{width:85px;height:105px}.food-today h2{font-size:20px}.food-today p{font-size:14px}.food-today .btn{font-size:14px;padding:10px 12px}.food-empty-icon{width:58px;height:58px;font-size:34px;border-radius:12px}.food-search{gap:10px}.food-search label{font-size:13px}.food-search input,.food-search select{font-size:14px}.food-search label:first-child{grid-column:1/-1}.food-search label:last-child{grid-column:1/-1}.food-panel{max-width:100%!important;width:100%!important}.food-form-grid{gap:12px}.food-ingredient-edit{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}.food-ingredient-edit>label:first-child{grid-column:1/-1}.food-ingredient-edit label{font-size:13px}.food-staple{grid-template-columns:minmax(0,1fr) 70px 35px;gap:10px}.food-staple>.btn{grid-column:1/-1;justify-self:start;font-size:13px}.food-staple input{padding:10px}.food-review-row{grid-template-columns:minmax(0,1fr) 65px 32px;gap:10px;font-size:14px}.food-review-row input[type=number]{padding:8px}.food-list-toolbar{gap:12px}.food-list-toolbar .actions{margin-left:0;gap:8px}.food-list-toolbar .btn{font-size:13px;padding:10px 12px}.food-list-row{gap:6px}.food-list-row>label{gap:12px;font-size:16px}.food-list-row strong{font-size:14px;max-width:92px}.food-shopping{padding:18px!important}.food-shopping h2{font-size:20px}.food-row-edit{padding:8px!important;min-width:36px}.food-map{grid-template-columns:1fr}.food-week-toolbar strong{order:-1;flex-basis:100%;font-size:16px}.food-ingredient{gap:10px;font-size:15px}.food-ingredient strong{font-size:14px}.food-location .btn{padding:8px 10px}.food-panel fieldset{padding:12px}.food-panel .detail{font-size:15px}.food-panel form>.btn{margin-top:14px}.food-detail-photo{max-height:250px}.food-recipe-copy{padding:20px}.food-recipe-detail>.card{padding:18px}.food-overview-tile .family-tile-tools .btn{font-size:13px}.food-day{padding:20px!important}.food-day img{height:180px}}
@media print{@page{size:A4;margin:18mm}body:has(#food-print)>*:not(#food-print){display:none!important}body:has(#food-print){background:white!important;color:black!important;margin:0!important;padding:0!important}#food-print{display:block!important;font:12pt Arial,sans-serif;color:black}#food-print h1{font-size:22pt;margin:0 0 10mm}.food-print-row{display:flex;align-items:center;gap:5mm;padding:4mm 0;border-bottom:1px solid #bbb;break-inside:avoid}.food-print-row>span:nth-child(2){flex:1}.food-print-check{width:5mm;height:5mm;border:1px solid black;flex-shrink:0}.food-print-row strong{font-weight:400}.food-print-row span{overflow-wrap:anywhere}}

.food-list-options{margin:0 0 20px}.food-list-options>summary{min-height:44px;cursor:pointer;color:#45644e;padding:10px 0;font-weight:600}.food-list-options .food-list-toolbar{padding-top:16px}.food-tabs{margin-top:0!important}.food-tabs a{margin:0!important}

@media(max-width:720px){body[data-route="food/list"] .food-tabs{display:none}body[data-route^="food"] .page-assistant-button{font-size:12px;padding:10px}body[data-route^="food"] .heading{gap:10px}body[data-route^="food"] .heading h1{width:100%}.food-list-options{margin-bottom:12px}.food-list-options .food-list-toolbar{margin-bottom:12px}.food-tabs{padding-bottom:8px;margin-bottom:16px}.food-list-toolbar .actions{margin-top:0;margin-bottom:0}}
/* v16: approved Italian kitchen direction, existing household typography. */
body[data-route="food"] .workspace{background-image:linear-gradient(to bottom,rgba(220,228,222,.02) 0,rgba(220,228,222,.16) 110px,rgba(220,228,222,.90) 260px,#dce4de 570px),url('assets/italian-kitchen-v16.png');background-position:top center,center -100px;background-size:100% 100%,100% auto;background-repeat:no-repeat;background-attachment:scroll}
body[data-route="food"] main{padding-top:172px}
body[data-route="food"] .heading h1{font-family:Manrope,'DM Sans',sans-serif;font-size:34px}
body[data-route="food"] .food-tabs a{background:#eaf0e9d9}
body[data-route="food"] .food-tabs a[aria-current]{background:#cbdccaff}
.food-icon{display:block;width:32px;height:32px;flex-shrink:0}.food-tile-icon .food-icon{width:42px;height:42px}.food-empty-icon .food-icon{width:54px;height:54px}
.food-overview-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}.food-overview-tile{grid-column:span 2;padding:24px!important;background:rgba(234,240,233,.97);border-color:#c2d1c2;box-shadow:0 3px 18px #263f3505}.food-overview-tile:nth-child(1),.food-overview-tile:nth-child(2){grid-column:span 3}.food-overview-tile.food-wide{grid-column:span 6}.food-overview-tile>a{display:flex;align-items:center;gap:20px;min-height:80px}.food-tile-icon{background:none;border:0;width:48px;height:48px;flex:0 0 48px;margin:0;color:#365c49}.food-overview-tile h2{font-size:20px;margin:0 0 8px;line-height:1.35}.food-overview-tile p{font-size:15px;line-height:1.55;margin:0}.food-tile-arrow{font-size:26px;color:#5d7865;margin-left:auto}.food-overview-tile.food-small{padding:18px!important}.food-overview-tile.food-small>a{min-height:44px}.food-overview-tile.food-small p{display:none}.food-overview-tile.food-small .food-tile-icon{display:flex}.food-overview-tile.food-small .food-tile-icon .food-icon{width:30px;height:30px}.food-today-card{background:rgba(234,240,233,.97);padding:24px!important;border-color:#c2d1c2}.food-today-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.food-today-heading h2{font-size:20px;margin:0}.food-shopping-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:#365c49;font-size:15px;text-decoration:none}.food-shopping-link .food-icon{width:24px;height:24px}.food-today{gap:28px;align-items:center}.food-today>img,.food-today>.food-photo-placeholder{width:260px;height:200px;flex:0 0 260px;object-fit:cover;border-radius:12px}.food-today>div:not(.food-photo-placeholder){flex:1;min-width:0}.food-today h3{font-size:27px;line-height:1.3;margin:8px 0 12px;overflow-wrap:anywhere}.food-today .caption{font-size:14px}.food-today p{font-size:16px}.food-today-meals{display:grid;gap:20px}.food-multiple-meals{grid-template-columns:repeat(2,minmax(0,1fr))}.food-multiple-meals .food-today{gap:18px;padding:16px;border:1px solid #c8d5c5;border-radius:12px}.food-multiple-meals .food-today>img,.food-multiple-meals .food-today>.food-photo-placeholder{width:110px;height:135px;flex-basis:110px}.food-multiple-meals .food-today h3{font-size:20px}.food-photo-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#627760;background:#dbe6d6;font-size:14px;min-height:130px;text-align:center;padding:18px}.food-photo-placeholder.food-card-photo{height:210px}.food-photo-placeholder.food-detail-photo{height:220px}.food-day .food-photo-placeholder{height:140px}.food-undo{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px;background:#d0e3cd;border:1px solid #8eaf86;border-radius:12px;margin:0 0 20px}.food-undo small{font-size:13px;color:#4d674a}.food-panel label{min-width:0}.food-panel .food-ingredient-edit input{min-width:0}.food-panel .food-ingredient-edit{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1.1fr) auto}.food-shopping .food-cart[open] .food-checked{opacity:.8}.family-tile .food-today>img,.family-tile .food-today>.food-photo-placeholder{max-width:40%;flex-basis:40%}.family-tile .food-multiple-meals{grid-template-columns:1fr}.family-tile .food-today-heading{gap:8px}
@media(max-width:1200px){.food-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.food-overview-tile,.food-overview-tile:nth-child(1),.food-overview-tile:nth-child(2){grid-column:auto}.food-overview-tile.food-wide{grid-column:span 2}.food-overview-tile:last-child{grid-column:1/-1}.food-multiple-meals{grid-template-columns:1fr}.food-today>img,.food-today>.food-photo-placeholder{width:220px;flex-basis:220px}}
@media(max-width:720px){body[data-route="food"] .workspace{background-size:100% 100%,auto 420px;background-position:top center,top right}body[data-route="food"] main{padding-top:110px}body[data-route="food"] .heading h1{font-size:27px}.food-overview-grid{grid-template-columns:1fr;gap:12px}.food-overview-tile,.food-overview-tile:nth-child(1),.food-overview-tile:nth-child(2),.food-overview-tile.food-wide{grid-column:auto}.food-overview-tile{padding:18px!important}.food-overview-tile>a{display:flex;gap:16px;min-height:58px}.food-tile-icon{width:36px;height:40px;flex-basis:36px}.food-tile-icon .food-icon{width:34px;height:34px}.food-overview-tile h2{font-size:18px;margin:0 0 5px}.food-overview-tile p{font-size:14px}.food-today-card{padding:18px!important}.food-today-heading{margin-bottom:16px;gap:8px}.food-today-heading h2{font-size:19px}.food-shopping-link{font-size:14px;min-height:44px}.food-today{gap:16px;align-items:flex-start}.food-today>img,.food-today>.food-photo-placeholder,.food-multiple-meals .food-today>img,.food-multiple-meals .food-today>.food-photo-placeholder{width:90px;height:115px;flex-basis:90px;min-height:115px}.food-today h3,.food-multiple-meals .food-today h3{font-size:19px;margin:6px 0 10px}.food-today p{font-size:14px}.food-multiple-meals .food-today{padding:12px;gap:12px}.food-today .btn{font-size:14px;padding:10px 12px}.food-today .food-photo-placeholder{font-size:12px;padding:8px}.food-undo{padding:14px;gap:10px}.food-undo small{width:100%}.food-panel .food-ingredient-edit{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) 44px}.food-panel .food-ingredient-edit>label:first-child{grid-column:1/-1}.food-overview-tile .family-tile-tools{gap:5px}.food-today-meals{gap:12px}.food-tabs{scrollbar-width:none}.family-tile .food-today>img,.family-tile .food-today>.food-photo-placeholder{max-width:90px;flex-basis:90px}}
@media print{.food-undo{display:none!important}}

.food-promoted{margin:0 0 16px}.food-promoted .food-overview-tile{border-color:#a8bea4;background:#e2edde}
@media(max-width:720px){body[data-route="food"] .workspace{background-image:linear-gradient(to bottom,rgba(220,228,222,.02) 0,rgba(220,228,222,.55) 70px,rgba(220,228,222,.94) 125px,#dce4de 400px),url('assets/italian-kitchen-v16.png')}}

/* Welcome meal content has its own heading and list, never a shared horizontal row. */
.family-tile.family-meal{display:block;min-height:0}
.family-meal .food-today-meals{min-width:0;width:100%}
.family-meal .food-today{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:18px}
.family-meal .food-today>img,.family-meal .food-today>.food-photo-placeholder{width:100%;max-width:100%;height:150px;min-height:0}
.family-meal .food-today h3{font-size:22px;overflow-wrap:break-word}
@media(max-width:720px){
.family-meal .food-today-heading{display:block;margin-bottom:16px}
.family-meal .food-today-heading h2{font-size:20px;margin:0 0 8px}
.family-meal .food-today{grid-template-columns:80px minmax(0,1fr);gap:14px}
.family-meal .food-today>img,.family-meal .food-today>.food-photo-placeholder{height:105px;max-width:80px}
.family-meal .food-today h3{font-size:19px}
.family-meal .food-today .caption{margin:0}
.family-meal .food-empty-icon{width:80px;height:105px}
}

.food-sync-bar{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:0 0 1rem;color:var(--muted,#496257)}
.food-sync-bar [data-food-sync-status]{flex:1 1 220px;overflow-wrap:anywhere}
#food-save-error{padding:1rem;background:#fff1df;color:#633c17;border-radius:12px;overflow-wrap:anywhere}
@media(max-width:720px){.food-sync-bar .btn{min-height:44px}.food-sync-bar [data-food-sync-status]{flex-basis:100%}}

.food-category-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;border-bottom:1px solid #cfdbd2}.food-category-row strong{overflow-wrap:anywhere}.food-category-row small{display:block;color:#587263}.food-category-row>div:first-child{min-width:0}.food-subcategory{margin-left:1.25rem}.food-category-checks{margin:1rem 0;padding:1rem;border:1px solid #cfdbd2;border-radius:12px}.food-category-checks label{padding:.35rem 0;overflow-wrap:anywhere}.food-category-row .actions{flex-wrap:wrap}@media(max-width:720px){.food-category-row{align-items:flex-start;flex-direction:column}.food-category-row .btn{min-height:44px}.food-category-checks .food-subcategory{margin-left:.5rem}}

.food-import-notice{padding:1rem;background:#f6efdc;border:1px solid #ded3ae;border-radius:12px;margin:1rem 0;overflow-wrap:anywhere}.food-import-notice pre{white-space:pre-wrap;max-height:220px;overflow:auto;font:inherit}.food-import-original{grid-column:1/-1;color:#587263;font-size:.9rem;overflow-wrap:anywhere;margin:.25rem 0}.food-import-choice{border-bottom:1px solid #cfdad2;padding:1rem 0}#recipe-import-error{color:#8a321c;overflow-wrap:anywhere}.food-ingredient-edit input[type=hidden]{display:none}


/* RECIPE-PHOTO-EDITOR */
.recipe-photo-dialog{
  border:0;
  border-radius:16px;
  padding:24px;
  width:min(760px,95vw);
  max-height:90vh;
  overflow:auto;
}

.recipe-photo-dialog::backdrop{
  background:rgba(0,0,0,.65);
}

.recipe-photo-editor{
  display:grid;
  gap:18px;
}

.recipe-photo-editor canvas{
  width:100%;
  max-height:55vh;
  object-fit:contain;
  border-radius:12px;
  cursor:grab;
  touch-action:none;
}

.recipe-photo-editor canvas:active{
  cursor:grabbing;
}

.food-photo-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:20px;
}


/* RECIPE-FILTERS-COMPACT */

/* Desktop: vier compacte filters naast elkaar */
@media (min-width: 900px) {
  .food-search {
    display: grid;
    grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(120px, 1fr));
    gap: 10px;
    align-items: end;
  }

  .food-search label {
    min-width: 0;
    margin: 0;
    font-size: 13px;
  }

  .food-search input,
  .food-search select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    padding: 7px 10px;
    font-size: 14px;
  }
}

/* Tablet: twee kolommen */
@media (min-width: 600px) and (max-width: 899px) {
  .food-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .food-search label:first-child,
  .food-search label:last-child {
    grid-column: auto;
  }
}

/* Telefoon: overzichtelijk onder elkaar */
@media (max-width: 599px) {
  .food-search {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .food-search label:first-child,
  .food-search label:last-child {
    grid-column: auto;
  }
}


/* RECIPE-FILTERS-SLIM-V2 */
@media (min-width: 1050px) {
  .food-search {
    display: grid;
    grid-template-columns:
      minmax(180px, 1.5fr)
      repeat(4, minmax(115px, 1fr));
    gap: 8px;
    align-items: end;
  }

  .food-search label {
    min-width: 0;
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
  }

  .food-search input,
  .food-search select {
    width: 100%;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    padding: 5px 9px;
    font-size: 13px;
    border-radius: 8px;
  }

  .food-filterbar {
    margin: 8px 0 18px;
    gap: 12px;
  }

  .food-filterbar .btn {
    padding: 7px 12px;
    min-height: 36px;
    font-size: 13px;
  }
}

@media (min-width: 650px) and (max-width: 1049px) {
  .food-search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .food-search label:first-child,
  .food-search label:last-child {
    grid-column: auto;
  }
}

@media (max-width: 649px) {
  .food-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .food-search label:first-child {
    grid-column: 1 / -1;
  }

  .food-search label:last-child {
    grid-column: auto;
  }
}


/* RECIPE-MULTI-SUBCATEGORY */
.food-subcategory-filter {
  position: relative;
  width: 100%;
}

.food-subcategory-filter summary {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #c5d3c1;
  border-radius: 8px;
  background: #eef3ed;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}

.food-subcategory-filter summary::after {
  content: "?";
  margin-left: auto;
}

.food-subcategory-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  width: max(240px, 100%);
  max-height: 320px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid #c5d3c1;
  border-radius: 10px;
  background: #eef3ed;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.food-subcategory-options label {
  display: flex;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
}


/* RECIPE-RESET-FILTER-LAYOUT */
@media (min-width: 1050px) {
  .food-search {
    grid-template-columns:
      minmax(180px,1.5fr)
      repeat(3,minmax(130px,1fr))
      auto;
    align-items:end;
  }

  .food-filter-reset {
    align-self:end;
  }

  .food-filter-reset .btn {
    height:36px;
    min-height:36px;
    padding:6px 12px;
    white-space:nowrap;
    font-size:13px;
  }
}

@media (max-width:1049px) {
  .food-filter-reset {
    align-self:end;
  }
}

/* SUBCATEGORY-ARROW-FIX */

/* Subcategorie-dropdown: CSS-pijl zonder speciaal teken */
.food-subcategory-filter summary::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid #476956;
  border-bottom: 2px solid #476956;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.food-subcategory-filter[open] summary::after {
  transform: rotate(225deg);
}


/* RECIPE-INBOX-COMPACT-V1 */
.food-inbox-card {
  margin: 0 0 16px !important;
  padding: 16px 20px !important;
}

.food-inbox-card .section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.food-inbox-card .section-top h2 {
  font-size: 16px;
  margin: 0;
}

.food-inbox-card .section-top .btn {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 13px;
}

.food-inbox-empty #food-recipe-inbox {
  display: none;
}

.food-inbox-card:not(.food-inbox-empty) #food-recipe-inbox {
  margin-top: 14px;
}

@media (max-width: 600px) {
  .food-inbox-card {
    padding: 12px 14px !important;
  }
}


/* FOOD-RECIPE-CATEGORY-DROPDOWN */
.food-category-dropdown {
  margin: 12px 0;
}

.food-category-dropdown > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #cbd5d0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.food-category-count {
  font-size: 13px;
  font-weight: 400;
  opacity: .7;
}

.food-category-dropdown > .food-category-checks {
  max-height: 280px;
  overflow-y: auto;
  margin-top: 10px;
  padding: 12px;
}


/* RECIPE-DELETE-V1 */

.food-recipe-delete {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding-bottom: 20px;
}

.food-recipe-delete .btn {
  color: #b42318;
  border-color: #b42318;
}

.btn[data-food^="recipe-delete-confirm:"] {
  background: #b42318;
  border-color: #b42318;
  color: white;
}


/* backgrounds.css */
/* Per-section atmosphere; functional layout and user data are unchanged. */
body[data-route="welcome"],body[data-route="dashboard"]{--section-scene:url('assets/welcome-v17.png');--scene-position:center 48%}
body[data-route="agenda"]{--section-scene:url('assets/agenda-v17.png');--scene-position:center 57%}
body[data-route="music"]{--section-scene:url('assets/music-v17.png');--scene-position:center 52%}
body[data-route="lights"]{--section-scene:url('assets/lights-v17.png');--scene-position:center 50%}
body:is([data-route="month"],[data-route="transactions"],[data-route="savings"],[data-route="mortgage"],[data-route="categories"],[data-route="rules"]){--section-scene:url('assets/finance-v17.png');--scene-position:center 56%}
body:is([data-route="home"],[data-route="tasks"],[data-route="subscriptions"],[data-route="insurance"],[data-route="documents"]){--section-scene:url('assets/household-v17.png');--scene-position:center 52%}
body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"],[data-route="agenda"],[data-route="music"],[data-route="lights"],[data-route="month"],[data-route="transactions"],[data-route="savings"],[data-route="mortgage"],[data-route="categories"],[data-route="rules"],[data-route="home"],[data-route="tasks"],[data-route="subscriptions"],[data-route="insurance"],[data-route="documents"],[data-route="assistant"]) .workspace{position:relative;isolation:isolate;background-color:var(--bg)}
body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"],[data-route="agenda"],[data-route="music"],[data-route="lights"],[data-route="month"],[data-route="transactions"],[data-route="savings"],[data-route="mortgage"],[data-route="categories"],[data-route="rules"],[data-route="home"],[data-route="tasks"],[data-route="subscriptions"],[data-route="insurance"],[data-route="documents"],[data-route="assistant"]) .workspace::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0 0 auto;height:430px;background-image:linear-gradient(to bottom,rgba(220,228,222,.05) 0,rgba(220,228,222,.12) 62px,rgba(220,228,222,.9) 148px,#dce4de 420px),var(--section-scene);background-size:100% 100%,cover;background-position:center,var(--scene-position,center);background-repeat:no-repeat}
body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"],[data-route="agenda"],[data-route="music"],[data-route="lights"],[data-route="month"],[data-route="home"]) main{padding-top:154px}
/* Dense detail pages keep more space for their controls. */
body:not(.family-locked):is([data-route="transactions"],[data-route="savings"],[data-route="mortgage"],[data-route="categories"],[data-route="rules"],[data-route="tasks"],[data-route="subscriptions"],[data-route="insurance"],[data-route="documents"]) main{padding-top:68px}
body:not(.family-locked):is([data-route="transactions"],[data-route="savings"],[data-route="mortgage"],[data-route="categories"],[data-route="rules"],[data-route="tasks"],[data-route="subscriptions"],[data-route="insurance"],[data-route="documents"]) .workspace::before{height:250px;background-image:linear-gradient(to bottom,rgba(220,228,222,.66),rgba(220,228,222,.96) 115px,#dce4de 240px),var(--section-scene)}
body:not(.family-locked)[data-route="assistant"] .workspace::before{height:390px;background:radial-gradient(ellipse at 78% 5%,#f0f2d6c4,transparent 52%),radial-gradient(ellipse at 22% 0,#82ad9880,transparent 66%),linear-gradient(#c9ddcd,#dce4de)}
body:not(.family-locked)[data-route="assistant"] main{padding-top:80px}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-greeting{color:#3e574b}
@media(max-width:720px){
body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"],[data-route="agenda"],[data-route="music"],[data-route="lights"],[data-route="month"],[data-route="home"]) main{padding-top:100px}
body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"],[data-route="agenda"],[data-route="music"],[data-route="lights"],[data-route="month"],[data-route="home"]) .workspace::before{height:330px;background-image:linear-gradient(to bottom,rgba(220,228,222,.05),rgba(220,228,222,.60) 55px,rgba(220,228,222,.95) 95px,#dce4de 320px),var(--section-scene);background-position:center,var(--scene-position,center)}
body:not(.family-locked):is([data-route="transactions"],[data-route="savings"],[data-route="mortgage"],[data-route="categories"],[data-route="rules"],[data-route="tasks"],[data-route="subscriptions"],[data-route="insurance"],[data-route="documents"]) main{padding-top:40px}
body:not(.family-locked)[data-route="assistant"] main{padding-top:44px}
}
@media print{.workspace::before{display:none!important}body:not(.family-locked) main{padding-top:0!important}}


/* music.css */
.music-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:24px;align-items:start}.music-layout>.card{margin:0;min-width:0;padding:26px}.music-layout h2{font-size:23px}.music-now{display:grid;grid-template-columns:170px minmax(0,1fr);gap:26px;align-items:center;margin:28px 0}.music-cover{height:170px;border-radius:18px;background:#c7d9cd;color:#36574c;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px}.music-cover svg{width:62px;height:62px}.music-cover span{font-size:13px}.music-now h2{font-size:28px;line-height:1.3;margin:8px 0}.music-now p{margin:8px 0}.music-owner{font-size:14px;color:#536b60}.music-controls{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.music-controls .btn{min-height:44px}.music-volumes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.music-volume{display:block;margin:12px 0;font-size:15px}.music-volume>span{display:flex;justify-content:space-between;gap:12px}.music-volume input{width:100%;accent-color:#476956;min-height:44px;padding:0;border:0;background:transparent}.music-room{display:flex;gap:16px;align-items:center;text-align:left;width:100%;min-height:80px;border:1px solid transparent;border-radius:12px;color:inherit;background:transparent;padding:12px;font:inherit;cursor:pointer}.music-room.selected{background:#d7e5d8;border-color:#99b69d}.music-room svg{width:25px;height:25px}.music-room small,.music-room-check small{display:block;margin-top:6px;font-size:14px;color:#5d7065}.music-room-check{display:flex;align-items:center;gap:16px;padding:14px 0}.music-room-check input{width:24px;height:24px;min-height:24px;accent-color:#476956}.music-search-row{display:flex;gap:10px}.music-search-row input{min-width:0;flex:1}.music-playlists{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.music-playlist{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;background:#e1e9de;border:1px solid #b6cbb8;border-radius:14px;padding:18px;color:inherit;font:inherit;cursor:pointer;min-width:0}.music-playlist svg{width:28px;height:28px}.music-playlist span,.music-playlist small{font-size:14px}.music-demo-label{font-size:13px;color:#5c6f60}.music-layout .section-top{flex-wrap:wrap;gap:12px}.music-layout .caption{line-height:1.6}.family-music .music-controls{margin:12px 0}.family-music .music-volume{margin-bottom:0}
@media(max-width:1100px){.music-now{grid-template-columns:120px minmax(0,1fr);gap:18px}.music-cover{height:135px}.music-now h2{font-size:24px}.music-playlists{grid-template-columns:1fr}.music-volumes{grid-template-columns:1fr}}
@media(max-width:720px){.music-layout{grid-template-columns:minmax(0,1fr);gap:16px}.music-layout>.card{padding:18px}.music-rooms{order:3}.music-account{order:4}.music-now{grid-template-columns:80px minmax(0,1fr);gap:16px;margin:20px 0}.music-cover{height:110px;border-radius:12px}.music-cover svg{width:40px;height:40px}.music-cover span{display:none}.music-now h2{font-size:22px}.music-layout h2{font-size:21px}.music-controls{gap:6px}.music-controls .btn{padding:10px 12px}.music-search-row{flex-wrap:wrap}.music-search-row input{width:100%}.music-playlist{padding:16px}.music-layout .section-top{align-items:flex-start}}


/* RADIO-GRID-V1 */
.music-radio-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(110px,140px));
  gap:14px;
  align-items:start;
  margin-top:16px;
}

.music-radio-tile{
  appearance:none;
  width:100%;
  aspect-ratio:1/1;
  border:1px solid var(--line,#d9dedb);
  border-radius:14px;
  background:var(--card,#fff);
  padding:10px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  color:inherit;
  transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease;
}

.music-radio-tile:hover{
  transform:translateY(-1px);
}

.music-radio-tile.active{
  border-width:2px;
}

.music-radio-logo{
  width:72px;
  height:72px;
  object-fit:contain;
  display:block;
}

.music-radio-fallback{
  width:72px;
  height:72px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-size:1.15rem;
  font-weight:700;
  background:rgba(0,0,0,.055);
}

.music-radio-name{
  display:block;
  width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.9rem;
  font-weight:600;
}

.music-radio-playing{
  font-size:.72rem;
  line-height:1;
}

.music-radio-favorites{
  grid-template-columns:repeat(auto-fill,minmax(90px,110px));
}

.music-radio-favorites .music-radio-logo,
.music-radio-favorites .music-radio-fallback{
  width:58px;
  height:58px;
}

@media(max-width:720px){
  .music-radio-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
  }

  .music-radio-tile{
    padding:8px;
    border-radius:12px;
  }

  .music-radio-logo,
  .music-radio-fallback{
    width:58px;
    height:58px;
  }
}


/* MUSIC-NOW-V2 */
.music-icon-controls{
  display:flex;
  align-items:center;
  gap:12px;
}

.music-icon-button{
  width:52px;
  height:52px;
  padding:13px;
  display:grid;
  place-items:center;
}

.music-icon-button svg{
  width:24px;
  height:24px;
  display:block;
}

.music-icon-main{
  width:58px;
  height:58px;
}

.music-icon-main svg{
  width:27px;
  height:27px;
}

.music-now-cover{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.music-now-cover .music-radio-logo{
  width:82%;
  height:82%;
  object-fit:contain;
}

.music-now-cover .music-radio-fallback{
  width:72%;
  height:72%;
  font-size:1.5rem;
}

@media(max-width:720px){
  .music-icon-button{
    width:48px;
    height:48px;
  }

  .music-icon-main{
    width:54px;
    height:54px;
  }
}


/* MUSIC-FADE-V1 */
.music-fade-button{
  min-width:72px;
  height:48px;
  padding:0 16px;
  display:grid;
  place-items:center;
}



/* MUSIC-SCENES-V1 */
.music-scene-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:14px;
  margin-top:18px;
}

.music-scene-card{
  border:1px solid var(--line,#d9dedb);
  border-radius:14px;
  padding:10px;
}

.music-scene-run{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  width:100%;
  padding:10px;
  text-align:left;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.music-scene-run strong{
  font-size:1.05rem;
}

.music-scene-run span,
.music-scene-run small{
  opacity:.72;
}

.music-scene-room{
  margin:10px 0;
  padding:10px 0;
  border-bottom:1px solid var(--line,#d9dedb);
}



/* MUSIC-MANAGE-FINAL */
.music-manage-station{
  padding-top:10px;
  padding-bottom:10px;
}

.music-manage-station .music-radio-logo,
.music-manage-station .music-radio-fallback{
  max-width:48px;
  max-height:48px;
}

.music-manage-station .actions{
  gap:8px;
}

.music-favorite-button{
  width:46px;
  min-width:46px;
  height:42px;
  padding:0;
  font-size:1.35rem;
  display:grid;
  place-items:center;
}

@media(max-width:720px){
  .music-manage-station{
    align-items:flex-start;
  }

  .music-manage-station .actions{
    flex-wrap:wrap;
    justify-content:flex-end;
  }
}

/* Welkomsttegel: bediening en de zes voorkeuzes van de gekozen box. */
.music-dashboard{container-type:inline-size;min-width:0}
.music-dashboard-layout{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,2fr);gap:20px;align-items:center}
.music-dashboard-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center;min-width:0}
.music-dashboard-player{display:grid;gap:8px;font-size:14px;min-width:0}
.music-dashboard-player select{width:100%;min-width:0;min-height:44px;border:1px solid #afc2b5;border-radius:10px;background:#fff;color:inherit;font:inherit;padding:8px}
.music-dashboard-controls .music-volume{min-width:0;margin:0;font-size:14px}
.music-dashboard-controls .music-volume>span{font-size:0;align-items:center;min-height:20px}
.music-dashboard-controls .music-volume>span::before{content:'Volume';font-size:14px}
.music-dashboard-controls .music-volume output{font-size:14px}
.music-dashboard-status{grid-column:1/-1;font-size:13px;line-height:1.4;margin:0;overflow-wrap:anywhere;color:#536b60}
.music-dashboard-presets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;min-width:0}
.music-dashboard-preset{position:relative;min-width:0;min-height:94px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #afc2b5;border-radius:12px;background:#fff;color:inherit;padding:18px 6px 10px;font:inherit;cursor:pointer}
.music-dashboard-preset.active{background:#d7e5d8;border-color:#0e766e;box-shadow:inset 0 0 0 1px #0e766e}
.music-dashboard-preset:focus-visible,.music-dashboard-player select:focus-visible{outline:3px solid #0e766e;outline-offset:3px}
.music-dashboard-preset:disabled{opacity:.55;cursor:default}
.music-dashboard-number{position:absolute;top:4px;left:7px;font-size:11px;color:#536b60}
.music-dashboard-preset .music-radio-logo,.music-dashboard-preset .music-radio-fallback,.music-dashboard-empty{width:36px;height:36px;flex-shrink:0;font-size:14px}
.music-dashboard-empty{display:grid;place-items:center;color:#536b60}
.music-dashboard-name{font-size:12px;line-height:1.3;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@container(max-width:700px){.music-dashboard-layout{grid-template-columns:minmax(0,1fr);gap:14px}.music-dashboard-presets{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.music-dashboard-layout{grid-template-columns:minmax(0,1fr);gap:14px}.music-dashboard-presets{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Persoonlijke Spotify-koppeling. */
.spotify-source{display:flex;align-items:center;gap:10px;font-size:14px;margin:12px 0}
.spotify-source select,.spotify-player-controls select{font:inherit;min-height:44px;max-width:100%;padding:8px;border:1px solid #afc2b5;border-radius:10px;background:#fff;color:inherit}
.spotify-dashboard{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2fr);gap:20px;container-type:inline-size}
.spotify-player-controls{min-width:0}.spotify-player-controls>label{display:block;margin:12px 0;font-size:14px}.spotify-player-controls select{display:block;width:100%;margin-top:8px}
.spotify-current{display:flex;align-items:center;gap:12px;margin:16px 0;min-width:0}.spotify-current>div{min-width:0}.spotify-current img{width:64px;height:64px;object-fit:contain;border-radius:0}.spotify-current small{display:block;font-size:13px;margin-top:5px;overflow-wrap:anywhere}
.spotify-note{display:grid;place-items:center;background:#e1e9de;width:64px;height:64px;flex-shrink:0;font-size:28px}
.spotify-favorites{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.spotify-favorite{min-width:0;border:1px solid #afc2b5;border-radius:12px;background:#fff;overflow:hidden}
.spotify-favorite>button:first-child{border:0;background:transparent;color:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px 8px;min-height:126px;width:100%;font:inherit;cursor:pointer}
.spotify-favorite img{width:64px;height:64px;object-fit:contain}.spotify-favorite>button:first-child>span:last-child{font-size:13px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spotify-favorite>.btn{font-size:11px;padding:8px 4px;width:100%;min-height:44px;border-radius:0;border-width:1px 0 0}
.spotify-favorite button:disabled{opacity:.5;cursor:default}.spotify-error{grid-column:1/-1;line-height:1.5;color:#9a302c}
.family-music:has(.spotify-dashboard){container-type:inline-size}
@container(max-width:650px){.spotify-dashboard{grid-template-columns:minmax(0,1fr)}}
@media(max-width:720px){.spotify-dashboard{grid-template-columns:minmax(0,1fr)}.spotify-favorites{grid-template-columns:repeat(3,minmax(0,1fr))}.spotify-favorite img,.spotify-favorite .spotify-note{width:48px;height:48px}}


/* server-trial.css */
/* Integration-only adjustments; original design remains in its own style sheets. */
#server-test-banner{position:relative;z-index:10000;background:#fff0c2;color:#382e16;padding:10px 18px;font:13px/1.5 system-ui;text-align:center;margin-left:240px}
.family-tile{min-width:0;overflow:hidden}
.family-tile .person-filters{flex-wrap:wrap}
.family-tile .calendar-tile{min-width:0}
.family-tile .smart-lights{grid-template-columns:1fr}
.family-tile .mini-finance>div{display:flex;justify-content:space-between;gap:12px}
.family-tile .mini-finance b{white-space:nowrap}
.smart-light button:disabled,.smart-dimmer input:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:720px){#server-test-banner{margin-left:0}.family-tile .section-top{flex-wrap:wrap}.family-tile .section-top h2{font-size:21px}.family-tile .calendar-event{overflow-wrap:anywhere}}
.account-person{padding:22px 0;border-bottom:1px solid #bfcec2}.account-person:first-child{padding-top:0}.account-person form>.btn{margin-top:18px}.account-result{color:#3d654e}

.wall-device{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:16px 0;flex-wrap:wrap}


/* phone.css */
#phone-install{position:fixed;z-index:90;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;max-width:calc(100vw - 24px);padding:14px 16px;border:1px solid #afc2b5;border-radius:16px;background:#edf2ec;color:#293f44;box-shadow:0 6px 28px #12342930;font:15px system-ui,sans-serif}
#phone-install button{font:inherit;border:0;border-radius:10px;min-height:44px;padding:10px 14px;background:#0e766e;color:white;cursor:pointer;white-space:nowrap}
#phone-install .phone-dismiss{background:transparent;color:#293f44;font-size:24px;padding:4px 10px}
@media(max-width:720px){#phone-install{bottom:calc(86px + env(safe-area-inset-bottom));width:calc(100% - 24px);gap:8px;padding:12px}#phone-install span{flex:1;font-size:14px}#phone-install button{padding:10px}}

#phone-update{position:fixed;z-index:100;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 24px);padding:12px 16px;border:1px solid #81aa94;border-radius:16px;background:#143c32;color:white;box-shadow:0 6px 28px #12342930;font:15px system-ui,sans-serif}#phone-update button{font:inherit;border:0;border-radius:10px;min-height:44px;padding:10px 14px;background:#d9f5df;color:#143c32;cursor:pointer;white-space:nowrap}@media(max-width:720px){#phone-update{bottom:calc(86px + env(safe-area-inset-bottom));font-size:14px}}


/* spotify-room.css */
/* Muziekruimte: artwork centraal, instellingen uit het dagelijkse gebruik. */
.sp-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}.sp-page-heading h1{font-size:clamp(30px,3vw,46px);letter-spacing:-1.5px;margin:4px 0}.sp-eyebrow{font-size:11px;letter-spacing:2.2px;font-weight:700;margin:0 0 12px;text-transform:uppercase}.sp-source{display:flex;align-items:center;gap:6px;margin:14px 0;flex-wrap:wrap}.sp-source .sp-button{border-radius:24px;background:transparent;color:inherit;border:1px solid #a6b9b1}.sp-source .selected{background:#143c32;color:#fff;border-color:#143c32}.sp-room-label{font-size:14px;padding:0 10px;color:#547065}
.sp-room{--sp-green:#1ed760;--sp-text:#f4f7f5;--sp-muted:#a5b9b0;color:var(--sp-text);background:#12211e;border-radius:24px;overflow:hidden;container-type:inline-size;box-shadow:0 12px 34px #12211e16;min-width:0}.sp-room button,.sp-room input,.sp-room select{font-family:inherit}.sp-room a{color:#8be6aa}.sp-room h2,.sp-room h3,.sp-room p{color:inherit}.sp-room .sp-eyebrow{color:#96d6ae}.sp-room .sp-button{color:var(--sp-text)}
.sp-hero{position:relative;padding:38px;background:radial-gradient(ellipse at top right,#225440 0,transparent 64%),linear-gradient(130deg,#1b352c,#101c19);isolation:isolate;overflow:hidden}.sp-watermark{position:absolute;bottom:-35px;right:-12px;font-size:clamp(120px,19vw,270px);line-height:1;font-weight:800;letter-spacing:-10px;color:#1ed760;opacity:.065;z-index:-1;pointer-events:none;user-select:none}
.sp-now{display:grid;grid-template-columns:minmax(160px,240px) minmax(0,1fr);gap:36px;align-items:center;max-width:1000px}.sp-now-art{aspect-ratio:1;min-width:0;display:grid;place-items:center;background:#12251e;box-shadow:0 16px 32px #0005}.sp-now-art .sp-album{width:100%;height:100%;object-fit:contain;display:block;border-radius:0}.sp-now-copy{min-width:0}.sp-now-copy h2{font-size:clamp(26px,3vw,44px);letter-spacing:-1px;line-height:1.12;margin:0 0 12px;overflow-wrap:anywhere}.sp-artist{font-size:18px;color:#c5d7cd!important;margin:0 0 24px}.sp-progress{height:3px;background:#ffffff22;max-width:460px;border-radius:3px;margin:20px 0}.sp-progress>span{display:block;height:100%;background:#1ed760;border-radius:3px;transition:width .5s linear}
.sp-button{appearance:none;display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:44px;border:1px solid #7f9a8d70;border-radius:10px;background:transparent;color:inherit;padding:10px 16px;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none}.sp-button:hover{background:#ffffff0c}.sp-button:focus-visible,.sp-cover-button:focus-visible,.sp-track button:focus-visible{outline:3px solid #1ed760;outline-offset:3px}.sp-button:disabled{opacity:.35;cursor:default}.sp-transport{display:flex;align-items:center;gap:16px;margin:18px 0}.sp-icon{width:48px;height:48px;border:0;border-radius:50%;padding:12px}.sp-icon svg{width:24px;height:24px;fill:currentColor}.sp-play{width:60px;height:60px;background:#1ed760!important;color:#0b2214!important;box-shadow:0 4px 24px #1ed76024}.sp-play svg{width:30px;height:30px}.sp-volume{display:flex;align-items:center;gap:14px;max-width:360px;margin:22px 0 16px;font-size:12px;color:#c5d7cd}.sp-volume input{width:100%;min-width:0;min-height:32px;padding:0;accent-color:#1ed760;background:transparent;border:0}.sp-volume output{min-width:36px}.sp-external{font-size:12px;text-decoration:none}
.sp-browser{padding:24px 34px 32px}.sp-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 26px;border-bottom:1px solid #ffffff12;padding:0 0 14px}.sp-tabs .sp-button{border:0;border-radius:24px;color:#b4c8be}.sp-tabs .selected{background:#274538;color:#fff}.sp-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.sp-section-title h3{font-size:24px;margin:0;letter-spacing:-.4px}.sp-section-title>.sp-button{color:#9bd7af;border:0;font-size:13px}.sp-section-title>span{font-size:12px;color:#a5b9b0}
.sp-favorites{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.sp-favorite{position:relative;min-width:0;padding:0;background:transparent}.sp-cover-button{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:12px;appearance:none;border:0;background:transparent;color:inherit;font:inherit;text-align:left;min-width:0;width:100%;padding:0;cursor:pointer}.sp-cover-button img,.sp-cover-button>.sp-placeholder{width:100%;aspect-ratio:1;object-fit:contain;display:block;box-shadow:0 8px 18px #0002;border-radius:0}.sp-placeholder{display:grid!important;place-items:center;background:linear-gradient(145deg,#2b4939,#1a2f26);color:#7fa590;font-size:42px;aspect-ratio:1}.sp-cover-button>span:last-child,.sp-cover-button strong{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-cover-button small{font-size:12px;color:#9db5a8;margin-top:-6px}.sp-favorite.empty .sp-placeholder{opacity:.5}.sp-favorite-tools{display:flex;justify-content:space-between;margin-top:8px}.sp-favorite-tools .sp-button{min-height:32px;padding:3px 10px;border:0;color:#a6cbb5}.sp-favorite-tools .sp-small-play{background:#1ed760;color:#0d2719;border-radius:50%;width:32px}.sp-favorite-tools .sp-edit{margin-left:auto}.sp-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:22px;margin:20px 0 30px}.sp-library>.sp-cover-button{max-width:220px}
.sp-track-list{display:grid;margin:18px 0 24px}.sp-track{display:flex;align-items:center;min-width:0;border-bottom:1px solid #ffffff0b}.sp-track.active{background:#1ed76010;color:#64df8e}.sp-track>button:first-child{display:flex;align-items:center;gap:14px;flex:1;min-width:0;appearance:none;border:0;background:transparent;color:inherit;font:inherit;text-align:left;padding:12px 10px;cursor:pointer;min-height:68px}.sp-track>button:first-child:disabled{opacity:.4;cursor:default}.sp-track:hover{background:#ffffff05}.sp-track img,.sp-track .sp-placeholder{width:42px;height:42px;flex-shrink:0;font-size:18px;object-fit:contain}.sp-track-number{width:24px;flex-shrink:0;font-size:12px;color:#87a295}.sp-track-copy{flex:1;min-width:0}.sp-track-copy strong,.sp-track-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-track-copy strong{font-size:14px;font-weight:600}.sp-track-copy small{font-size:12px;color:#9eb6a8;margin-top:5px}.sp-duration{font-size:12px;color:#90aa9b}.sp-track .sp-queue{font-size:20px;padding:0;width:36px;border:0}.sp-track>a{display:grid;place-items:center;min-width:36px;min-height:44px;text-decoration:none}.sp-artist-links{display:flex;gap:10px;flex-wrap:wrap}
.sp-search{display:flex;gap:10px;margin:0 0 30px}.sp-search input{flex:1;min-width:0;background:#f2f6f3;color:#152d21;border:0;border-radius:28px;font:inherit;padding:14px 20px;min-height:50px}.sp-search .sp-button{border-radius:28px;background:#1ed760;color:#0f2a19;border:0}.sp-muted{color:#9eb6a8!important}.sp-message{font-size:14px;margin:0;padding:0 34px;line-height:1.5}.sp-message:not(:empty){padding-top:18px;color:#efcf96}.sp-settings{border-top:1px solid #ffffff12;margin:0 34px;padding:18px 0;color:#9eb6a8;font-size:13px}.sp-settings summary{cursor:pointer;min-height:28px}.sp-settings label{display:block;margin:16px 0}.sp-settings select{display:block;width:min(100%,360px);margin-top:10px;min-height:44px;background:#21372d;color:#fff;border:1px solid #638574;border-radius:10px;padding:10px}.sp-attribution{font-size:11px;color:#90aa9b!important;padding:0 34px 22px;margin:0}.sp-empty{padding:48px}.sp-empty h2{font-size:36px}.sp-compact .sp-hero{padding:22px}.sp-compact .sp-browser{padding:20px}.sp-compact .sp-tabs{display:none}.sp-compact .sp-favorites{grid-template-columns:repeat(3,minmax(0,1fr))}.sp-compact .sp-now{grid-template-columns:90px minmax(0,1fr);gap:18px}.sp-compact .sp-now-copy h2{font-size:23px}.sp-compact .sp-artist{font-size:14px;margin-bottom:10px}.sp-compact .sp-transport{gap:6px;margin:10px 0}.sp-compact .sp-play{width:46px;height:46px}.sp-compact .sp-progress,.sp-compact .sp-settings,.sp-compact .sp-volume,.sp-compact .sp-external{display:none}.sp-compact .sp-section-title h3{font-size:19px}.sp-compact .sp-section-title>.sp-button{font-size:11px;padding:4px}.sp-compact .sp-attribution{padding:0 20px 16px}
@container(max-width:760px){.sp-favorites{grid-template-columns:repeat(3,minmax(0,1fr))}.sp-now{grid-template-columns:160px minmax(0,1fr);gap:24px}.sp-hero{padding:28px}.sp-now-copy h2{font-size:30px}}
@container(max-width:480px){.sp-now{grid-template-columns:minmax(0,1fr);gap:24px}.sp-now-art{max-width:210px;justify-self:center;width:100%}.sp-now-copy{text-align:center}.sp-transport,.sp-volume{justify-content:center;margin-left:auto;margin-right:auto}.sp-hero{padding:26px 22px}.sp-now-copy h2{font-size:27px}.sp-browser{padding:22px 18px}.sp-favorites{gap:12px}.sp-cover-button>span:last-child{font-size:12px}.sp-track-number,.sp-duration{display:none}.sp-track>button:first-child{gap:9px;padding:12px 0}.sp-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sp-tabs{gap:0}.sp-tabs .sp-button{padding:9px 12px;font-size:13px}.sp-message{padding-left:18px;padding-right:18px}.sp-settings{margin:0 18px}.sp-compact .sp-now{grid-template-columns:70px minmax(0,1fr);gap:14px}.sp-compact .sp-now-copy{text-align:left}.sp-compact .sp-transport{justify-content:flex-start}.sp-compact .sp-now-copy h2{font-size:20px}.sp-compact .sp-eyebrow{font-size:9px;letter-spacing:1px}}
@media(max-width:720px){.sp-page-heading{display:block;margin-bottom:18px}.sp-source{margin-bottom:0}.sp-page-heading h1{font-size:32px}.sp-room{border-radius:18px}.sp-room-label{margin-left:auto}.sp-search{gap:6px}.sp-search input{padding:12px 14px;font-size:14px}.sp-search .sp-button{padding:10px 14px}.sp-settings{font-size:12px}}


/* jukebox.css */
/* De radiobediening blijft echte HTML binnen de jukeboxkast. */
body.music-menu-enabled{background:#24140c url('/assets/country-cafe.png') center/cover fixed!important}
body.music-menu-enabled .workspace{background:transparent!important}body.music-menu-enabled #main{max-width:1500px;margin:auto;padding:22px 52px 40px!important}body.music-menu-enabled footer{background:#1c130dcc;color:#e1cba4}body.music-menu-enabled #main>.heading,body.music-menu-enabled .music-tabs{color:#fff1d3}body.music-menu-enabled .sp-source{color:#fff0d1}
body.music-menu-enabled .workspace:before{display:none!important}
.jukebox{--cream:#ffe7b6;--gold:#e9b45b;position:relative;margin:22px auto 0;max-width:1250px;padding:32px 48px 0;border:8px solid #6e351a;border-radius:44% 44% 26px 26px / 200px 200px 26px 26px;color:var(--cream);background:repeating-linear-gradient(92deg,#42200f 0,#4b2715 3px,#31170d 6px,#562a13 9px);box-shadow:0 18px 60px #000b,inset 0 0 0 5px #ddbc7c,inset 0 0 0 10px #382014,inset 0 0 0 17px #ffd98b,inset 0 0 20px 20px #e8a7399c;isolation:isolate}
.jukebox:before,.jukebox:after{content:'';position:absolute;pointer-events:none;z-index:-1;top:155px;bottom:26px;width:17px;background:linear-gradient(90deg,#a75412,#ffe8a2 25%,#fff7cf 48%,#efb34c 80%,#9b500e);border:3px solid #372013;box-shadow:0 0 12px #ffbd5866;border-radius:20px}.jukebox:before{left:12px}.jukebox:after{right:12px}
.jb-arch{padding:8px 20px 12px;border:5px solid #bf9b60;border-radius:48% 48% 12px 12px / 140px 140px 12px 12px;background:radial-gradient(ellipse at top,#633815,#17130e 70%);box-shadow:0 0 0 3px #21160c,0 0 0 6px #efcb83,inset 0 0 25px #000c}
.jb-brand{text-align:center;display:flex!important;flex-direction:column;align-items:center;gap:3px;padding:22px 0 20px;background:none!important;border:0!important;height:auto!important;color:#ffe3b3}.jb-brand strong{font-size:clamp(28px,4vw,52px);font-style:italic;font-weight:900;letter-spacing:5px;line-height:1}.jb-brand>span{font-size:12px;letter-spacing:8px;margin-left:8px}.jb-console{text-align:center}.jb-eyebrow{font-size:10px;letter-spacing:3px;margin:8px 0 10px!important;color:#e2bf7c!important}.jb-now{display:flex;justify-content:center;align-items:center;gap:20px;min-height:70px}.jb-now h2{font-size:clamp(22px,2.7vw,34px);margin:0;color:var(--cream);line-height:1.2}.jb-now .music-radio-logo,.jb-now .music-radio-fallback{width:64px;height:64px;object-fit:contain;flex:none;border:0;background:none}.jb-note{font-size:34px;color:#dfb267}.jb-equalizer{font-size:30px;letter-spacing:2px;color:#d99f3c;opacity:.3}.jb-equalizer.is-playing{opacity:1;text-shadow:0 0 8px #e3aa44}
.jb-controls{display:flex;align-items:center;justify-content:center;gap:28px;margin:18px 0 8px}.jb-boxes{position:relative;min-width:200px;max-width:280px;flex:1;text-align:left}.jb-boxes summary{list-style:none;border:1px solid #a18049;border-radius:6px;padding:10px 14px;cursor:pointer;background:#201b13;color:var(--cream);min-height:58px}.jb-boxes summary::-webkit-details-marker{display:none}.jb-boxes summary small{display:block;font-size:10px;color:#c8a779;margin-bottom:4px}.jb-boxes summary span{display:block;font-size:14px}.jb-box-menu{position:absolute;z-index:12;top:100%;left:0;min-width:270px;width:100%;max-width:80vw;background:#211b13;border:1px solid #b88c46;border-radius:8px;padding:16px;box-shadow:0 16px 35px #0009}.jb-box-menu label,.jb-box-menu p{color:var(--cream);font-size:13px}.jb-box-menu select{display:block;width:100%;margin-top:7px;padding:8px;background:#34291b;color:var(--cream);border:1px solid #a18049;border-radius:4px}.jb-box-menu .jb-room-check{display:flex;align-items:center;gap:10px;min-height:40px;margin:0}.jb-room-check input{width:20px;height:20px;min-height:20px;accent-color:#e9b45b}.jb-box-menu button,.jb-bottom button{border:1px solid #b28a49;border-radius:6px;background:#392618;color:#ffe7b6;padding:10px 12px;font:inherit;cursor:pointer;min-height:44px}.jb-box-menu small{display:block;margin-top:10px;color:#c8b18f;font-size:11px;line-height:1.5}.jb-controls>.music-volume{flex:1;max-width:350px;min-width:100px;margin:0;color:#ead1a6;font-size:13px}.jb-controls .music-volume>span{display:flex;justify-content:space-between}.jb-controls input[type=range]{width:100%;accent-color:#efb95e;min-height:36px;background:transparent;border:0;padding:0}.jb-pause{width:60px;height:60px;flex-shrink:0;border:2px solid #e4ad52;border-radius:50%;background:radial-gradient(circle,#5d3d19,#231c12);color:#ffe8b8;box-shadow:0 0 13px #e5aa4538;cursor:pointer;padding:16px}.jb-pause svg{width:100%;height:100%}.jb-status{min-height:18px;font-size:11px;color:#bca481!important;margin:8px 0 4px!important}
.jb-selection{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:22px 0 0;padding:16px 0;border-top:5px ridge #e4c38b;border-bottom:5px ridge #e4c38b}.jb-station{position:relative;display:block;text-align:left;width:100%;min-width:0;min-height:96px;padding:10px 10px 13px;border:3px ridge #cba96e;border-radius:9px;background:radial-gradient(ellipse,#fff2d3,#f0ce8a);color:#352311;box-shadow:inset 0 0 9px #9b692a66,0 3px 7px #0007;font:inherit;cursor:pointer;transition:box-shadow .15s,border-color .15s,transform .15s}.jb-station>small{display:block;font:11px ui-monospace,monospace;margin-bottom:8px;color:#74501e}.jb-station-label{display:flex;align-items:center;gap:8px;min-width:0}.jb-station-label>span:last-child{font-size:clamp(11px,1.05vw,15px);font-weight:600;line-height:1.35;overflow-wrap:anywhere}.jb-station .music-radio-logo,.jb-station .music-radio-fallback{width:38px;height:38px;object-fit:contain;flex-shrink:0;border:0;background:transparent;border-radius:0;font-size:13px}.jb-station .jb-note{font-size:26px}.jb-station.is-active{border-color:#fff5c5;box-shadow:0 0 0 2px #f6bd58,0 0 18px #ffbc5d,inset 0 0 18px #f5b543}.jb-lit{position:absolute;right:6px;top:4px;font-size:10px;color:#946521}.jb-station:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 0 13px #ffc964}.jb-station:disabled,.jb-pause:disabled{opacity:.55;cursor:default}.jb-empty{background:linear-gradient(#d6bd92,#b89c6e);opacity:.8}.jukebox button:focus-visible,.jukebox summary:focus-visible,.jukebox select:focus-visible,.jukebox input:focus-visible{outline:3px solid #fff5d6;outline-offset:3px}
.jb-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 4px}.jb-bottom>span{font:italic 28px Georgia,serif;color:#eccb91}.jb-bottom button{background:none;font-size:12px;border:0}.jb-grille{height:85px;border:6px ridge #c6a16a;border-bottom:0;border-radius:30px 30px 0 0;margin:0 12%;background:repeating-linear-gradient(45deg,transparent 0 8px,#aa8449 9px 11px,transparent 12px 20px),repeating-linear-gradient(-45deg,#17150f 0 8px,#71532c 9px 11px,#17150f 12px 20px);box-shadow:inset 0 0 25px #000}
body.music-menu-enabled .workspace{margin-left:0!important;width:100%!important}body.music-menu-enabled aside{display:flex!important;position:fixed!important;left:0;top:0;bottom:0;width:280px;z-index:130;transform:translateX(-101%);transition:transform 250ms ease;box-shadow:6px 0 30px #0005}body.music-menu-enabled.music-menu-open aside{transform:translateX(0)}body.music-menu-enabled .mobile-dock{display:none!important}.music-menu-tab{display:none}.music-menu-enabled .music-menu-tab{display:block;position:fixed;z-index:132;left:0;top:42%;border:1px solid #d8b06b;border-left:0;border-radius:0 10px 10px 0;background:#261e15ed;color:#ffe7b6;min-height:80px;padding:12px 10px;cursor:pointer;font:13px system-ui;writing-mode:vertical-rl;letter-spacing:1px;transition:left 250ms ease}.music-menu-open .music-menu-tab{left:280px}.music-menu-backdrop{display:none}.music-menu-open .music-menu-backdrop{display:block;position:fixed;z-index:129;inset:0;background:#0005;border:0;border-radius:0}.music-menu-enabled:not(.jukebox-active) #main{padding-left:48px}.music-menu-enabled aside{writing-mode:horizontal-tb}
@media(max-width:1050px){body.music-menu-enabled #main{padding:18px 38px!important}.jukebox{padding:30px 30px 0}.jb-controls{gap:14px}.jb-selection{gap:7px}.jb-station{padding:8px 6px;min-height:98px}.jb-station-label{gap:5px}.jb-station .music-radio-logo,.jb-station .music-radio-fallback{width:30px;height:30px}}
@media(max-width:720px){body.music-menu-enabled #main{padding:18px 14px 24px 26px!important}.jukebox{border-width:5px;border-radius:42% 42% 18px 18px / 100px 100px 18px 18px;padding:20px 19px 0;margin-top:16px}.jukebox:before,.jukebox:after{width:9px;top:100px;bottom:20px;border-width:1px}.jukebox:before{left:4px}.jukebox:after{right:4px}.jb-arch{padding:10px 12px;border-radius:45% 45% 8px 8px / 80px 80px 8px 8px;border-width:3px}.jb-brand{padding:16px 0 12px}.jb-brand strong{font-size:30px}.jb-brand>span{font-size:9px;letter-spacing:5px}.jb-now{gap:10px;flex-wrap:wrap;min-height:60px}.jb-now h2{font-size:23px;max-width:65%}.jb-now .music-radio-logo,.jb-now .music-radio-fallback{width:45px;height:45px}.jb-equalizer{display:none}.jb-controls{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:12px;margin-top:14px}.jb-boxes{grid-column:1/-1;min-width:0;max-width:none;width:100%}.jb-box-menu{min-width:0}.jb-controls>.music-volume{width:100%;max-width:none}.jb-pause{width:46px;height:46px;padding:12px}.jb-selection{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px;padding:12px 0}.jb-station{min-height:82px;padding:8px}.jb-station-label>span:last-child{font-size:12px}.jb-station .music-radio-logo,.jb-station .music-radio-fallback{width:32px;height:32px}.jb-bottom{align-items:center;padding:10px 0;gap:4px}.jb-bottom>span{font-size:19px}.jb-bottom button{font-size:10px;padding:8px 0}.jb-grille{height:55px;margin:0 8%}.music-menu-enabled .music-menu-tab{padding:12px 6px;min-height:72px;font-size:12px}.music-menu-enabled:not(.jukebox-active) #main{padding-left:30px}}
body.music-menu-enabled aside{height:100dvh;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:26px 20px;overflow-y:auto}body.music-menu-enabled aside #nav{display:block!important;flex:1}body.music-menu-enabled aside .nav-label{display:block}body.music-menu-enabled aside .sidebar-bottom{margin-top:auto!important}body.music-menu-enabled aside .profile-switch>span:last-child{display:block}body.music-menu-enabled aside .brand small{display:block}
@media(prefers-reduced-motion:reduce){.jukebox *,.music-menu-enabled aside,.music-menu-tab{transition:none!important;animation:none!important}}

/* Gedeelde cafestijl voor Bose, Spotify en de instellingen. */
.music-shell-top{display:flex;align-items:center;justify-content:space-between;min-height:62px;margin-bottom:12px}.music-shell-top .sp-source{width:100%;margin:0;gap:12px}.music-source-icons .sp-button{display:grid;place-items:center;min-width:62px;height:48px;border:1px solid #ac8650;background:#21180fe8;color:#e9cea0;padding:8px 15px;border-radius:12px}.music-source-icons .sp-button.selected{background:#d9a552;color:#24180c;border-color:#ffe4a8;box-shadow:0 0 15px #d9a55233}.music-bose-logo{width:76px;height:28px;fill:currentColor}.music-spotify-logo{width:30px;height:30px;color:#1ed760}.music-source-icons .music-settings-source{margin-left:auto;font-size:27px;min-width:48px;width:48px;padding:6px}.music-source-icons .sp-button:focus-visible{outline:3px solid #fff0c9;outline-offset:3px}
.music-settings{max-width:1000px;margin:24px auto;color:#f9e5bf}.music-settings-heading{display:flex!important;align-items:center;gap:18px;height:auto!important;padding:0 0 22px!important;background:none!important;border:0!important;color:#f9e5bf}.music-settings-heading>span{font-size:40px;color:#d9b16c}.music-settings-heading p{font-size:10px;letter-spacing:3px;color:#d7ae6f;margin:0 0 6px}.music-settings-heading h1{font-size:32px;margin:0;color:#fff0d1}.music-settings .card{background:linear-gradient(135deg,#2e2117f5,#181610f5);border:1px solid #947045;border-radius:18px;padding:28px;margin-bottom:22px;color:#f0dcb8;box-shadow:0 10px 32px #0004}.music-settings h2,.music-settings h3{color:#ffe8bc}.music-settings h2{font-size:22px;margin:0 0 14px}.music-settings p{color:#c7b393;line-height:1.6;font-size:14px}.music-settings label{display:block;color:#ddc49d;font-size:14px}.music-settings select,.music-settings input[type=search]{width:100%;color:#ffe8bc;background:#16140f;border:1px solid #806341;border-radius:8px;padding:12px;min-height:46px;margin-top:8px}.music-settings .btn,.music-menu-enabled #panel:not(.context-assistant-panel) .btn{background:#43301c;border:1px solid #bd9250;color:#ffe6b8;border-radius:8px;min-height:44px}.music-settings .btn.primary,.music-menu-enabled #panel:not(.context-assistant-panel) .btn.primary{background:#ddb16b;color:#21180e;border-color:#ecca91}.music-favorite-count{border:1px solid #7e613c;border-radius:18px;padding:7px 12px;font-size:12px;white-space:nowrap;color:#efce96}.music-favorite-choice{display:flex;align-items:center;gap:16px;margin-top:20px;flex-wrap:wrap}.music-favorite-choice .music-radio-logo,.music-favorite-choice .music-radio-fallback{width:44px;height:44px;object-fit:contain;background:#efdfbc;border-radius:6px}.music-favorite-choice label{display:flex;align-items:center;gap:10px;flex:1;min-width:180px}.music-favorite-choice input[type=checkbox]{width:22px;min-height:22px;height:22px;accent-color:#e6b463}.music-favorite-overview{margin-top:24px;border-top:1px solid #6d5332;padding-top:16px}.music-favorite-overview summary{cursor:pointer;color:#dec193;min-height:35px}.music-favorite-overview ol{columns:2;padding-left:24px;line-height:2;color:#d8c4a1;font-size:14px}.music-box-setting{display:flex;align-items:flex-end;gap:12px}.music-box-setting label{flex:1}.music-settings-gear{width:48px;height:48px;flex-shrink:0;border:1px solid #bd9250;border-radius:9px;font-size:26px;background:#3a2a19;color:#f0d3a2;cursor:pointer}.music-preset-slots{margin-top:24px;padding-top:18px;border-top:1px solid #6d5332}.music-preset-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 0;border-bottom:1px solid #5e4b32}.music-preset-row b{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:6px;background:#775329;margin-right:12px;color:#ffe6b8}.music-search-settings>div{margin-top:0!important}.music-settings .music-search-row{display:flex;gap:10px;align-items:center}.music-settings .music-search-row input{margin:0;min-width:0}.music-settings .caption{color:#bfae91}.music-settings .music-radio-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.music-settings .detail{border-color:#6b5336;color:#f2dcb3}.music-settings button:disabled{opacity:.45;cursor:default}.music-menu-enabled #panel:not(.context-assistant-panel){background:#231c14;color:#f0d8ad;border:1px solid #b78a46;border-radius:18px}.music-menu-enabled #panel:not(.context-assistant-panel) h2,.music-menu-enabled #panel:not(.context-assistant-panel) h3{color:#ffe5b8}.music-menu-enabled #panel:not(.context-assistant-panel) p,.music-menu-enabled #panel:not(.context-assistant-panel) label,.music-menu-enabled #panel:not(.context-assistant-panel) small{color:#d2bd9b}.music-menu-enabled #panel:not(.context-assistant-panel) select,.music-menu-enabled #panel:not(.context-assistant-panel) input:not([type=checkbox]){background:#15130f;color:#f7e1bc;border:1px solid #9e7745}.jb-bottom>small{font-size:11px;color:#cfb182}.jb-empty{cursor:default}.jb-empty .jb-station-label>span:last-child{font-size:11px;opacity:.5}
@media(max-width:720px){.music-settings{margin-top:18px}.music-settings .card{padding:20px 17px}.music-settings h2{font-size:20px}.music-settings .section-top{align-items:flex-start;flex-wrap:wrap;gap:8px}.music-favorite-count{font-size:11px}.music-settings .music-radio-filters{grid-template-columns:1fr}.music-favorite-overview ol{columns:1}.music-shell-top{margin:0 0 10px}.music-source-icons .sp-button{height:45px;min-width:52px;padding:6px 10px}.music-source-icons .music-settings-source{width:45px}.jb-bottom>small{font-size:9px}}

/* Een doorlopende glazen lichtbuis, inclusief de afgeronde boven- en onderkant. */
.jukebox{box-shadow:0 18px 60px #000b,inset 0 0 0 2px #eed7a5,inset 0 0 0 6px #51321d,inset 0 0 0 10px #e0b66f,inset 0 0 0 28px #20150e,inset 0 0 0 30px #b88f51}
.jukebox:before{inset:9px;width:auto;height:auto;padding:14px;border:0;border-radius:inherit;z-index:-1;box-shadow:none;background:radial-gradient(ellipse at 16% 23%,#ffdc53 0 9%,transparent 25%),radial-gradient(ellipse at 78% 65%,#20d3dd 0 10%,transparent 27%),radial-gradient(ellipse at 50% 45%,#fe277d 0 10%,transparent 24%),linear-gradient(125deg,#ffb52d 5%,#ff563d 23%,#bd2cbe 45%,#286dd3 63%,#41d4b5 79%,#ffe87e 95%);background-size:240% 320%;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;filter:drop-shadow(0 0 5px #e49a58);animation:jukebox-lava 42s ease-in-out infinite alternate;pointer-events:none}
.jukebox:after{inset:5px;width:auto;height:auto;background:transparent;border:2px ridge #f1d7a6;border-radius:inherit;box-shadow:inset 0 0 0 1px #211c16,0 0 0 1px #69421d;z-index:-1;pointer-events:none}
@keyframes jukebox-lava{0%{background-position:0% 15%}35%{background-position:70% 45%}70%{background-position:25% 100%}100%{background-position:100% 25%}}
.jb-switch-brand{appearance:none;cursor:pointer;width:100%;font:inherit;border-radius:40px;color:var(--cream);margin:auto;transition:filter .2s}.jb-switch-brand:hover{filter:brightness(1.2)}.jb-switch-brand:focus-visible{outline:3px solid #fff3ce;outline-offset:3px}.jb-switch-brand>span>b{font-size:18px;letter-spacing:0;margin-left:7px}.jukebox-spotify .jb-brand strong{display:flex;align-items:center;justify-content:center;gap:12px;font-size:clamp(23px,3vw,38px);font-style:normal;letter-spacing:2px}.jukebox-spotify .jb-brand .music-spotify-logo{width:38px;height:38px;flex-shrink:0;color:#1ed760}
.jukebox-spotify{--sp-green:#1ed760;--cream:#e5f6d6;margin:22px auto 0;display:grid;grid-template-rows:auto minmax(160px,1fr) auto auto;height:min(900px,calc(100dvh -130px));min-height:630px;overflow:visible;background:repeating-linear-gradient(92deg,#42200f 0,#4b2715 3px,#31170d 6px,#562a13 9px);border:8px solid #6e351a;border-radius:44% 44% 26px 26px / 200px 200px 26px 26px;padding:32px 48px 0;isolation:isolate}
.jukebox-spotify:before{background:radial-gradient(ellipse at 16% 23%,#e4e65a 0 8%,transparent 25%),radial-gradient(ellipse at 78% 65%,#4adcb9 0 11%,transparent 27%),radial-gradient(ellipse at 50% 45%,#7367cb 0 8%,transparent 24%),linear-gradient(125deg,#d6c66a 5%,#23e26d 25%,#11793f 46%,#23bfa1 66%,#d7e977 88%,#ffd67a 100%);background-size:240% 320%;filter:drop-shadow(0 0 5px #27a065)}
.jukebox-spotify .jb-arch{background:radial-gradient(ellipse at top,#1b3e22,#09160e 70%);min-width:0;padding-bottom:14px}.jukebox-spotify .jb-brand{padding:16px 0 16px}.jukebox-spotify .sp-now{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:10px 20px;padding:0 14px}.jukebox-spotify .sp-now-art{width:100px;height:100px;align-self:center}.jukebox-spotify .sp-album{width:100%;height:100%;object-fit:contain;border:1px solid #ae975e;border-radius:4px;box-shadow:0 8px 18px #0006}.jukebox-spotify .sp-now-art>.sp-placeholder{width:100%;height:100%;font-size:40px}.jukebox-spotify .sp-now-copy{min-width:0;text-align:left}.jukebox-spotify .sp-eyebrow{font-size:9px;letter-spacing:2px;margin:0 0 6px;color:#a9c9ac}.jukebox-spotify .sp-now-copy h2{font-size:clamp(20px,2.6vw,32px);line-height:1.15;margin:0 0 6px;letter-spacing:-.5px;color:#f1faed}.jukebox-spotify .sp-artist{font-size:15px;margin:0 0 5px;color:#b9c9bc}.jukebox-spotify .sp-device-status{font-size:11px;color:#90b49a;margin:0 0 10px}.sp-time-progress{display:flex;align-items:center;gap:9px}.sp-time-progress small{font-size:10px;color:#bed1c0}.sp-time-progress .sp-progress{flex:1;height:5px;margin:0;background:#3d4a3f}.sp-time-progress .sp-progress span{background:#1ed760;box-shadow:0 0 9px #1ed76044}
.sp-jukebox-controls{grid-column:1/-1;display:grid;grid-template-columns:minmax(120px,1fr) auto minmax(120px,1fr);align-items:end;gap:18px;margin-top:6px}.sp-box-choice{color:#b6c7b6;text-align:left;font-size:11px}.sp-box-choice select{display:block;width:100%;min-height:42px;background:#101f15;color:#e1f0dd;border:1px solid #699475;border-radius:7px;font-size:12px;padding:8px;margin-top:5px}.jukebox-spotify .sp-transport{gap:7px;justify-content:center;margin:0}.jukebox-spotify .sp-icon{width:38px;height:38px;padding:9px;border:1px solid #89845f;background:radial-gradient(circle,#394532,#121c12);color:#dbead5;box-shadow:inset 0 0 5px #dbd1973b}.jukebox-spotify .sp-play{width:50px;height:50px;background:radial-gradient(circle,#20452b,#112017)!important;color:#daffe1!important;border:2px solid #58f592;box-shadow:0 0 16px #24c86177,inset 0 0 7px #3cd27366}.jukebox-spotify .sp-play svg{width:26px;height:26px}.jukebox-spotify .sp-volume{display:flex;align-items:center;gap:8px;margin:0;min-width:0;font-size:10px;max-width:none}.jukebox-spotify .sp-volume input{accent-color:#1ed760;min-width:0;min-height:40px}.jukebox-spotify .sp-volume output{min-width:28px}.jukebox-spotify .sp-volume label{font-size:10px}
.jukebox-spotify .sp-browser{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#39b975 #15231a;margin:18px 0 0;padding:16px 22px 22px;background:linear-gradient(145deg,#0e1c12,#0a120d);border:5px ridge #bb9b61;border-radius:16px;box-shadow:inset 0 0 20px #0009}.jukebox-spotify .sp-tabs{position:sticky;top:-16px;z-index:3;background:#101d13f5;padding:8px 0 12px;margin:0 0 18px;display:flex;justify-content:center;gap:8px;border-bottom:1px solid #75915d44}.jukebox-spotify .sp-tabs .sp-button{flex:1;border:1px solid #3d7048;border-radius:20px;color:#cee2ce;font-size:12px}.jukebox-spotify .sp-tabs .selected{background:linear-gradient(#1a7a3d,#14361f);box-shadow:inset 0 0 8px #34dd6977;border-color:#4ade81;color:#fff}.jukebox-spotify .sp-library{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:12px 0}.jukebox-spotify .sp-library>.sp-cover-button{max-width:none}.jukebox-spotify .sp-library img{border:1px solid #698060;border-radius:5px}.jukebox-spotify .sp-section-title h3{font-size:20px;color:#e0edda}.jukebox-spotify .sp-cover-button strong{font-size:13px;color:#eef6e6}.jukebox-spotify .sp-track.active{color:#62ee95;background:#1ed76010}.jukebox-spotify .sp-track.active .sp-track-number{color:#4de58b}.jukebox-spotify .sp-message{padding:0;color:#f0c797}.jukebox-spotify .sp-message:not(:empty){padding-bottom:12px}.jukebox-spotify .jb-bottom{min-width:0;padding:10px 4px;gap:8px}.jukebox-spotify .jb-bottom>span{font-size:21px}.jukebox-spotify .sp-attribution{font-size:10px;padding:0;margin:0;color:#91c299!important}.jukebox-spotify .jb-grille{height:48px}.jukebox-spotify .sp-search{margin-bottom:16px}.jukebox-spotify .sp-search input{min-height:42px;font-size:13px}.jukebox-spotify .sp-empty{padding:16px}.jukebox-spotify.sp-compact{height:590px;min-height:0}.jukebox-spotify.sp-compact .sp-tabs{display:flex}
@media(max-width:1050px){.jukebox-spotify{padding:30px 30px 0}.sp-jukebox-controls{gap:10px}.jukebox-spotify .sp-volume label{display:none}}
@media(max-width:720px){.jukebox:before{inset:6px;padding:9px}.jukebox:after{inset:3px;border-width:1px}.jukebox-spotify{border-width:5px;border-radius:42% 42% 18px 18px / 100px 100px 18px 18px;padding:20px 19px 0;height:calc(100dvh -130px);min-height:570px;grid-template-rows:auto minmax(150px,1fr) auto auto}.jukebox-spotify .jb-brand{padding:12px 0}.jukebox-spotify .jb-brand strong{font-size:23px;letter-spacing:1px;gap:8px}.jukebox-spotify .jb-brand .music-spotify-logo{width:28px;height:28px}.jukebox-spotify .sp-now{grid-template-columns:62px minmax(0,1fr);gap:8px;padding:0}.jukebox-spotify .sp-now-art{width:62px;height:62px}.jukebox-spotify .sp-now-copy{text-align:left}.jukebox-spotify .sp-now-copy h2{font-size:19px;margin-bottom:4px}.jukebox-spotify .sp-artist{font-size:12px}.jukebox-spotify .sp-device-status{font-size:9px;margin-bottom:7px}.jukebox-spotify .sp-eyebrow{font-size:8px;letter-spacing:1px}.sp-jukebox-controls{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.sp-jukebox-controls .sp-volume{grid-column:1/-1;margin:0 auto;width:100%;max-width:230px;height:26px}.jukebox-spotify .sp-volume label{display:block}.jukebox-spotify .sp-transport{gap:4px}.jukebox-spotify .sp-icon{width:32px;height:32px;padding:7px}.jukebox-spotify .sp-play{width:44px;height:44px;padding:10px}.jukebox-spotify .sp-browser{padding:12px;margin-top:14px;border-width:3px}.jukebox-spotify .sp-tabs{top:-12px;margin-bottom:12px;gap:4px}.jukebox-spotify .sp-tabs .sp-button{font-size:11px;padding:8px 5px}.jukebox-spotify .sp-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.jukebox-spotify .sp-library strong{font-size:12px}.jukebox-spotify .sp-library small{font-size:10px}.jukebox-spotify .jb-bottom>span{font-size:15px}.jukebox-spotify .sp-attribution{font-size:8px}.jukebox-spotify .jb-grille{height:32px}.jukebox-spotify .sp-search{flex-wrap:wrap}.jukebox-spotify .sp-search input{width:100%;flex-basis:100%;padding:10px}.jukebox-spotify .sp-search button{margin-left:auto}.jukebox-spotify .sp-track>button:first-child{gap:7px}.jukebox-spotify .sp-track-copy strong{font-size:12px}.jukebox-spotify .sp-track-copy small{font-size:10px}}
.music-motion-paused .jukebox:before{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.jukebox:before{animation:none!important}.jb-switch-brand{transition:none!important}}

.jukebox-spotify .sp-box-choice{min-width:0;max-width:none;width:100%;margin:0}.jukebox-spotify .sp-box-choice summary{min-height:44px;padding:6px 10px;background:#122317;border-color:#749c70}.jukebox-spotify .sp-box-choice summary small{font-size:9px;margin-bottom:2px}.jukebox-spotify .sp-box-choice summary span{font-size:12px}.jukebox-spotify .jb-box-menu .sp-button{font-size:12px;width:100%;margin-top:12px}.jukebox-spotify .jb-box-menu{background:#112116;border-color:#6e986e}


/* local-calendar.css */
[data-outlook-tile]{min-width:0}[data-outlook-tile] .agenda-item{text-align:left;width:100%}[data-outlook-tile] .agenda-item strong{overflow-wrap:anywhere}#outlook-settings{margin-bottom:20px}.calendar-event{text-align:left;overflow-wrap:anywhere}.calendar-grid.week{min-width:780px}#outlook-form-error:empty{display:none}#outlook-form-error{color:#a52b22}#outlook-event-form input[type=datetime-local]{width:100%;min-width:0}.person-filter{max-width:100%;overflow-wrap:anywhere}

.outlook-date-group{border:1px solid #d9e3df;border-radius:12px;padding:12px 16px;margin:16px 0;min-width:0}.outlook-date-group legend{font-weight:700;padding:0 6px}.outlook-time-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.outlook-time-fields[hidden]{display:none}.outlook-time-fields select{width:100%}

.calendar-provider{border-top:1px solid #d9e3df;padding:14px 0}.calendar-provider input[type=file]{max-width:100%;width:100%}.repeat-group{border:1px solid #b6d3c7;background:#f3f8f5;border-radius:12px;padding:16px;margin:16px 0;min-width:0}.repeat-group legend{font-weight:700}.repeat-group [hidden]{display:none!important}.repeat-week{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.repeat-week label{display:flex;align-items:center;gap:6px;padding:6px;border:1px solid #cadcd3;border-radius:8px}.repeat-week input{width:auto}.repeat-monthday{display:grid;grid-template-columns:1fr 1fr;gap:12px}.repeat-summary{font-size:13px;line-height:1.5;color:#315e4c}.repeat-group input,.repeat-group select{max-width:100%}

/* Dashboard agenda and mobile day details. */
[data-outlook-tile] .dashboard-agenda-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.dashboard-agenda-actions .btn{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px}
.dashboard-agenda-modes{display:flex;gap:4px;border:1px solid var(--line);border-radius:12px;padding:3px}
.dashboard-agenda-modes [aria-pressed=true]{background:#d2e3d5;border-color:#789d80;color:#254c34;font-weight:700}
.dashboard-agenda-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;background:#dde8df;border-radius:12px;padding:7px;margin:12px 0 0}
.dashboard-agenda-nav strong{text-align:center;font-size:16px;line-height:1.45;overflow-wrap:anywhere}
.dashboard-agenda-nav .btn{min-height:44px;padding:0;font-size:28px}
.dashboard-today-action{display:flex;justify-content:center;margin:7px 0 12px}
.dashboard-today-action .btn{min-height:44px;padding:7px 14px;font-size:13px}
.dashboard-agenda-days{display:grid;gap:14px}
.dashboard-agenda-day{border:1px solid var(--line);border-radius:12px;padding:12px;min-width:0}
.dashboard-agenda-day.is-today{border-color:#739a7d;background:#e0ebe1}
.dashboard-agenda-day h3{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;margin:0 0 5px;line-height:1.5}
.today-badge{display:inline-block;border-radius:20px;background:#456d50;color:white;padding:2px 9px;font-size:11px;font-weight:600}
.day-events .agenda-item{display:grid;grid-template-columns:52px 4px minmax(0,1fr) 12px;gap:10px;min-height:60px;white-space:normal}
.day-events .agenda-copy{min-width:0;overflow-wrap:anywhere}
.day-events .agenda-item:last-child{border-bottom:0}
.day-events .agenda-item.is-next{background:#d5e6d8;border-radius:9px;padding:12px 8px;border-bottom-color:transparent}
.day-events .next-event-label{color:#355d40;font-weight:600;font-size:11px}
.agenda-empty{font-size:14px;color:var(--muted);line-height:1.6;margin:10px 0}
.dashboard-calendar-settings .person-filters{display:grid;gap:10px;margin:20px 0}
.dashboard-calendar-settings .person-filter{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 14px}
.dashboard-calendar-settings input[type=checkbox]{width:22px;height:22px;min-height:22px;flex-shrink:0;accent-color:var(--person-color)}
.calendar-day-detail .actions{margin-top:20px}
@media(max-width:720px){
 .family-grid.family-mobile-layout{max-width:none;width:100%}
 .family-grid .family-tile{overflow:visible;min-width:0}
 [data-outlook-tile] .section-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
 [data-outlook-tile] .section-top h2{margin:0}
 .dashboard-agenda-nav strong{font-size:15px}
 .dashboard-agenda-day{padding:10px}
 .calendar-grid [data-calendar-day]{cursor:pointer}
 .calendar-grid .calendar-cell.selected{background:#d0e2d2;box-shadow:inset 0 0 0 2px #527d5c;border-radius:8px}
 .calendar-day-detail .agenda-item strong{font-size:16px;line-height:1.4}
}

[data-outlook-tile] .day-events,.calendar-day-detail .day-events{max-height:none;overflow:visible}
[data-outlook-tile] .agenda-item small,.calendar-day-detail .agenda-item small{display:block;margin-top:4px}

@media(max-width:720px){.calendar-grid.week{min-width:0}}

.dashboard-agenda-nav{margin-bottom:14px}
.dashboard-agenda-date{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;min-width:0}
.dashboard-agenda-date .today-badge{display:inline-flex;align-items:center;flex:0 0 auto;min-height:0;line-height:1.3;padding:3px 10px;border-radius:20px;font-size:11px;white-space:nowrap}
.dashboard-agenda-nav [data-agenda-return]{font-size:12px;line-height:1.3;padding:6px 10px;min-height:36px;border-radius:20px}


/* jukebox-cabinet.css */
/* De nieuwe hoge countrykast. Alle bediening blijft echte HTML binnen het glas. */
body.music-menu-enabled{background:#26160c url('/assets/country-cafe-deep-v2.png') center bottom/cover scroll!important}
body.music-menu-enabled #main{padding:22px 16px 30px!important;max-width:1400px}
.jukebox:not(.sp-compact){container-type:inline-size;position:relative;display:block;width:min(100%,700px);aspect-ratio:2/3;height:auto;min-height:0;max-height:none;margin:4px auto 20px;padding:0!important;border:0!important;border-radius:0!important;background:transparent url('/assets/jukebox-country-v2.png') center/100% 100% no-repeat!important;box-shadow:none!important;isolation:isolate;overflow:visible;color:#f1ecd9}
.jukebox:not(.sp-compact):before,.jb-hardware{display:none!important;animation:none!important}
.jukebox:not(.sp-compact):after{content:'';position:absolute;display:block;inset:auto 8% 2%;width:auto;height:3%;background:radial-gradient(ellipse,#000b,transparent 70%);border:0;box-shadow:none;border-radius:50%;z-index:-1;pointer-events:none;animation:none}
.jukebox:not(.sp-compact) .jb-arch{display:contents;position:static;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.jukebox:not(.sp-compact) .jb-brand{position:absolute;z-index:2;top:16.1%;left:35%;width:30%;height:4.1%!important;min-height:0;padding:0!important;gap:2px;justify-content:center;background:none!important;border:0!important;color:#f3dfac;text-shadow:0 2px 2px #000}
.jukebox:not(.sp-compact) .jb-brand strong{font-size:clamp(18px,4.8cqw,34px);line-height:1;letter-spacing:1px;font-weight:900}
.jukebox:not(.sp-compact) .jb-brand>span{font-size:clamp(5px,1cqw,8px);letter-spacing:2px;margin:0}.jukebox:not(.sp-compact) .jb-brand>span>b{font-size:1.4em}
.jukebox-spotify:not(.sp-compact) .jb-brand strong{display:flex;align-items:center;gap:5px;font-size:clamp(13px,3.8cqw,27px);font-style:normal;letter-spacing:0;color:#1ed760}.jukebox-spotify:not(.sp-compact) .music-spotify-logo{width:4cqw;height:4cqw;flex:none}
/* Bovenste helft van het scherm: bron, muziek, boxen en volume. */
.jukebox:not(.sp-compact) .jb-console{position:absolute;z-index:3;left:29%;top:23%;width:42%;height:17.5%;display:flex;flex-direction:column;justify-content:center;gap:1cqw;text-align:center}
.jukebox:not(.sp-compact) .jb-eyebrow{font-size:clamp(6px,1.1cqw,8px);letter-spacing:1px;margin:0!important}.jukebox:not(.sp-compact) .jb-now{display:flex;align-items:center;justify-content:center;gap:1.5cqw;min-height:0}.jukebox:not(.sp-compact) .jb-now h2{font-size:clamp(11px,2.8cqw,20px);line-height:1.15;margin:0}.jukebox:not(.sp-compact) .jb-now .music-radio-logo,.jukebox:not(.sp-compact) .jb-now .music-radio-fallback{width:7cqw;height:7cqw;flex:none;object-fit:contain}.jukebox:not(.sp-compact) .jb-equalizer{display:none}
.jukebox:not(.sp-compact) .jb-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6cqw 1cqw;margin:0;align-items:center}.jukebox:not(.sp-compact) .jb-controls>.jb-boxes{grid-column:1/-1;width:100%;min-width:0;max-width:none}.jukebox:not(.sp-compact) .jb-controls>.music-volume{width:100%;min-width:0;font-size:clamp(8px,1.4cqw,10px);margin:0}.jukebox:not(.sp-compact) .jb-controls input[type=range]{min-height:26px}.jukebox:not(.sp-compact) .jb-pause{width:5.5cqw;height:5.5cqw;min-width:28px;min-height:28px;padding:1.4cqw}.jukebox:not(.sp-compact) .jb-status{font-size:clamp(6px,1.1cqw,8px);min-height:0;line-height:1.2;margin:0!important}
.jukebox:not(.sp-compact) .jb-boxes{min-width:0;max-width:none;text-align:left}.jukebox:not(.sp-compact) .jb-boxes summary{min-height:0;padding:.7cqw 1.2cqw;border:1px solid #8a8159;border-radius:5px;background:#101b14;color:#eee8ce}.jukebox:not(.sp-compact) .jb-boxes summary small{font-size:clamp(6px,1.1cqw,8px);margin-bottom:2px}.jukebox:not(.sp-compact) .jb-boxes summary span{font-size:clamp(9px,1.7cqw,12px)}
.jukebox:not(.sp-compact) .jb-box-menu{z-index:20;left:50%;transform:translateX(-50%);width:min(310px,calc(100vw - 24px));min-width:0;max-width:none;box-sizing:border-box;padding:14px;background:#122017;border-color:#8d7b4b}.jukebox:not(.sp-compact) .jb-box-menu label,.jukebox:not(.sp-compact) .jb-box-menu p{font-size:13px}.jukebox:not(.sp-compact) .jb-box-menu select{min-height:44px}.jukebox:not(.sp-compact) .jb-room-check{min-height:44px}.jukebox:not(.sp-compact) .jb-box-menu button{font-size:13px;min-height:44px}
.jukebox-spotify:not(.sp-compact) .sp-now{position:absolute;z-index:3;top:23.1%;left:29%;width:42%;height:17.6%;display:grid;grid-template-columns:8cqw minmax(0,1fr);gap:.8cqw 1.5cqw;align-items:center;align-content:center;padding:0;max-width:none}
.jukebox-spotify:not(.sp-compact) .sp-now-art{width:8cqw;height:8cqw;margin:0;box-shadow:none;background:#132017}.jukebox-spotify:not(.sp-compact) .sp-now-copy{min-width:0;text-align:left;padding:0}.jukebox-spotify:not(.sp-compact) .sp-now-copy h2{font-size:clamp(10px,2.6cqw,18px);line-height:1.15;letter-spacing:0;margin:0 0 .5cqw}.jukebox-spotify:not(.sp-compact) .sp-artist{font-size:clamp(7px,1.55cqw,11px);margin:0 0 .5cqw}.jukebox-spotify:not(.sp-compact) .sp-eyebrow{font-size:clamp(5px,.9cqw,7px);letter-spacing:.6px;margin:0 0 .5cqw}.jukebox-spotify:not(.sp-compact) .sp-device-status{font-size:clamp(6px,1.1cqw,8px);margin:0 0 .6cqw}.jukebox-spotify:not(.sp-compact) .sp-time-progress{gap:.6cqw;max-width:100%;margin:0}.jukebox-spotify:not(.sp-compact) .sp-time-progress small{font-size:clamp(6px,1.1cqw,8px)}.jukebox-spotify:not(.sp-compact) .sp-progress{margin:0}
.jukebox-spotify:not(.sp-compact) .sp-jukebox-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-column:1/-1;gap:.5cqw 1cqw;margin:0;width:100%;align-items:center}.jukebox-spotify:not(.sp-compact) .sp-box-choice{grid-column:1/-1;order:0;width:100%}.jukebox-spotify:not(.sp-compact) .sp-volume{order:1;grid-column:auto;display:flex;width:100%;max-width:none;gap:5px;height:auto;margin:0;font-size:clamp(7px,1.4cqw,10px)}.jukebox-spotify:not(.sp-compact) .sp-volume label{display:none}.jukebox-spotify:not(.sp-compact) .sp-volume output{min-width:22px}.jukebox-spotify:not(.sp-compact) .sp-volume input{min-height:27px}.jukebox-spotify:not(.sp-compact) .sp-transport{order:2;display:flex;gap:.2cqw;margin:0}.jukebox-spotify:not(.sp-compact) .sp-icon{width:4.4cqw;height:4.4cqw;min-height:22px;min-width:22px;padding:.8cqw;border-radius:50%}.jukebox-spotify:not(.sp-compact) .sp-icon svg{width:100%;height:100%}.jukebox-spotify:not(.sp-compact) .sp-play{width:5.5cqw;height:5.5cqw;min-height:28px;min-width:28px;padding:1cqw}
/* Onderste helft van het glas: alleen de inhoud scrolt, nooit de kast. */
.jukebox:not(.sp-compact) .jb-selection,.jukebox-spotify:not(.sp-compact) .sp-browser{position:absolute;z-index:1;top:42%;left:28.5%;width:43%;height:20.2%;margin:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#887648 #102017;border:0;border-top:1px solid #8b835455;border-radius:0;padding:1cqw .5cqw;background:transparent;box-shadow:none}
.jukebox:not(.sp-compact) .jb-selection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:7cqw;gap:1cqw;align-content:start}.jukebox:not(.sp-compact) .jb-station{min-height:0;padding:.7cqw;border:1px solid #a38c52;border-radius:4px;background:radial-gradient(ellipse,#fff0c7,#dcb169);box-shadow:inset 0 0 7px #af7a30;color:#30220e}.jukebox:not(.sp-compact) .jb-station>small{font-size:clamp(5px,1cqw,7px);margin-bottom:.3cqw}.jukebox:not(.sp-compact) .jb-station-label{display:flex;gap:.7cqw;align-items:center}.jukebox:not(.sp-compact) .jb-station-label>span:last-child{font-size:clamp(7px,1.4cqw,10px);line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.jukebox:not(.sp-compact) .jb-station .music-radio-logo,.jukebox:not(.sp-compact) .jb-station .music-radio-fallback{width:3.8cqw;height:3.8cqw;flex:none;font-size:8px}.jukebox:not(.sp-compact) .jb-station.is-active{border-color:#fff4c0;box-shadow:0 0 5px #ffca57,inset 0 0 7px #f4cf70}.jukebox:not(.sp-compact) .jb-empty{opacity:.5}.jukebox:not(.sp-compact) .jb-lit{font-size:6px;right:3px;top:2px}.jukebox:not(.sp-compact) .jb-note{font-size:14px}
.jukebox-spotify:not(.sp-compact) .sp-tabs{display:flex;position:sticky;z-index:2;top:-1cqw;gap:.5cqw;margin:0 0 1cqw;padding:.5cqw 0 1cqw;background:#0c1712}.jukebox-spotify:not(.sp-compact) .sp-tabs .sp-button{flex:1;min-width:0;min-height:26px;padding:.6cqw .3cqw;font-size:clamp(7px,1.45cqw,10px);border-radius:20px}.jukebox-spotify:not(.sp-compact) .sp-section-title{margin:1cqw 0}.jukebox-spotify:not(.sp-compact) .sp-section-title h3{font-size:clamp(9px,1.9cqw,13px)}.jukebox-spotify:not(.sp-compact) .sp-section-title>span{font-size:clamp(7px,1.2cqw,9px)}.jukebox-spotify:not(.sp-compact) .sp-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5cqw 1cqw;margin:1cqw 0}.jukebox-spotify:not(.sp-compact) .sp-library .sp-cover-button{gap:.8cqw;max-width:none}.jukebox-spotify:not(.sp-compact) .sp-library img{width:100%;max-height:none;object-fit:contain}.jukebox-spotify:not(.sp-compact) .sp-library strong{font-size:clamp(8px,1.5cqw,11px)}.jukebox-spotify:not(.sp-compact) .sp-library small{font-size:clamp(6px,1.1cqw,8px);margin:0}
.jukebox-spotify:not(.sp-compact) .sp-message{font-size:clamp(8px,1.5cqw,11px);padding:0;margin:0}.jukebox-spotify:not(.sp-compact) .sp-search{gap:4px;margin:0 0 8px;flex-wrap:wrap}.jukebox-spotify:not(.sp-compact) .sp-search input{min-height:32px;padding:6px 8px;font-size:10px;width:100%;flex-basis:100%}.jukebox-spotify:not(.sp-compact) .sp-search .sp-button{font-size:10px;min-height:28px;padding:5px 10px}.jukebox-spotify:not(.sp-compact) .sp-track-list{margin:8px 0}.jukebox-spotify:not(.sp-compact) .sp-track>button:first-child{min-height:40px;gap:5px;padding:5px 0}.jukebox-spotify:not(.sp-compact) .sp-track img{width:25px;height:25px}.jukebox-spotify:not(.sp-compact) .sp-track-copy strong{font-size:10px}.jukebox-spotify:not(.sp-compact) .sp-track-copy small{font-size:8px}.jukebox-spotify:not(.sp-compact) .sp-track-number,.jukebox-spotify:not(.sp-compact) .sp-duration{display:none}.jukebox-spotify:not(.sp-compact) .sp-track .sp-queue,.jukebox-spotify:not(.sp-compact) .sp-track>a{min-width:22px;width:22px;min-height:32px;padding:0;font-size:13px}.jukebox-spotify:not(.sp-compact) .sp-browser h3{font-size:12px}.jukebox-spotify:not(.sp-compact) .sp-browser p{font-size:10px}.jukebox-spotify:not(.sp-compact) .sp-empty{padding:8px}
.jukebox:not(.sp-compact) .jb-bottom{position:absolute;z-index:2;top:62.4%;left:30%;width:40%;height:1.6%;padding:0;display:flex;align-items:center;justify-content:center;margin:0}.jukebox-spotify:not(.sp-compact) .sp-attribution{display:inline-flex;align-items:center;gap:3px;color:#1ed760!important;font-size:clamp(7px,1.4cqw,10px);font-weight:600;text-decoration:none;padding:0;margin:0}.jukebox-spotify:not(.sp-compact) .sp-attribution .music-spotify-logo{width:1.8cqw;height:1.8cqw;min-width:9px;min-height:9px}.jukebox:not(.sp-compact) .jb-grille{display:none}
@media(max-width:720px){body.music-menu-enabled #main{padding:30px 0 12px!important}.jukebox:not(.sp-compact){width:100%;margin-top:8px}.jukebox-spotify:not(.sp-compact) .sp-device-status{display:none}.jukebox:not(.sp-compact) .jb-status{display:none}.jukebox:not(.sp-compact) .jb-brand{top:16.2%}.jukebox:not(.sp-compact) .jb-boxes summary small{display:none}.jukebox:not(.sp-compact) .jb-boxes summary{padding:4px 6px;min-height:27px}.jukebox:not(.sp-compact) .jb-controls input[type=range],.jukebox-spotify:not(.sp-compact) .sp-volume input{min-height:23px}.jukebox-spotify:not(.sp-compact) .sp-tabs .sp-button{min-height:24px}.jukebox:not(.sp-compact) .jb-selection{grid-auto-rows:32px}}
body.music-menu-enabled{background-repeat:no-repeat!important;min-height:100vh}
.jukebox-spotify:not(.sp-compact) .sp-browser{height:18.7%}
.jukebox-spotify:not(.sp-compact) .sp-library img,.jukebox-spotify:not(.sp-compact) .sp-library>.sp-cover-button>.sp-placeholder{width:13cqw;max-width:100%;height:13cqw;aspect-ratio:1;align-self:center;object-fit:contain}
.jukebox:not(.sp-compact) .jb-bottom{top:61.4%;height:1.6%}
.jukebox:before,.jukebox:after,.jb-hardware>span:after{animation:none!important}
.jukebox-spotify:not(.sp-compact) .sp-library .sp-cover-button small{display:none}
@media(max-width:720px){.jukebox-spotify:not(.sp-compact) .sp-section-title{display:none}.jukebox-spotify:not(.sp-compact) .sp-library{margin-top:6px}}
/* De muziekruimte eindigt bij de voeten; de contactschaduw raakt de kast. */
body.music-menu-enabled footer{display:none!important}
body.music-menu-enabled .workspace{min-height:100dvh;padding-bottom:0!important}
body.music-menu-enabled #main:has(>.jukebox:not(.sp-compact)){container-type:inline-size;display:flex;flex-direction:column;justify-content:flex-end;min-height:100dvh;box-sizing:border-box;padding:18px 16px 0!important;margin:0 auto;width:100%}
body.music-menu-enabled #main:has(>.jukebox:not(.sp-compact))>.music-shell-top{flex:none;min-height:52px;margin:0}
body.music-menu-enabled #main>.jukebox:not(.sp-compact){flex:none;margin:0 auto calc(min(100cqw,700px) * -.0845)}
.jukebox:not(.sp-compact):after{inset:auto 5% 4.1%;height:3.6%;background:radial-gradient(ellipse at center,#000e 0 35%,#0008 52%,transparent 74%);filter:blur(3px);z-index:-1}
@media(max-width:720px){body.music-menu-enabled #main:has(>.jukebox:not(.sp-compact)){padding:14px 0 0!important}}
body.music-menu-enabled #main:has(>.jukebox:not(.sp-compact)){position:relative;overflow:clip}
body.music-menu-enabled #main:has(>.jukebox:not(.sp-compact))>.music-shell-top{position:absolute;left:16px;right:16px;top:16px;z-index:4}
/* Grote kast op schermbreedte; de pagina mag langs de volledige jukebox scrollen. */
body.music-menu-enabled #main:has(>.jukebox:not(.sp-compact)){--cabinet-size:min(96cqw,1360px);display:flex;align-items:center;justify-content:flex-start;min-height:100dvh;height:auto;padding:8px 0 0!important;max-width:none}
body.music-menu-enabled #main>.jukebox:not(.sp-compact){width:var(--cabinet-size);max-width:none;flex:none;margin:0 calc((100% - var(--cabinet-size)) / 2) calc(var(--cabinet-size) * -.0845)}
body.music-menu-enabled #main:has(>.jukebox:not(.sp-compact))>.music-shell-top{top:8px;left:8px;right:8px}
@media(max-width:720px){body.music-menu-enabled #main:has(>.jukebox:not(.sp-compact)){--cabinet-size:110cqw;min-height:0}body.music-menu-enabled .workspace{min-height:0}body.music-menu-enabled{min-height:100dvh}}
@media(min-width:721px){
.jukebox:not(.sp-compact) .jb-brand strong{font-size:4.8cqw}.jukebox-spotify:not(.sp-compact) .jb-brand strong{font-size:3.8cqw}
.jukebox:not(.sp-compact) .jb-brand>span{font-size:1cqw}
.jukebox:not(.sp-compact) .jb-now h2{font-size:2.8cqw}.jukebox:not(.sp-compact) .jb-eyebrow{font-size:1.1cqw}
.jukebox:not(.sp-compact) .jb-boxes summary small{font-size:1.1cqw}.jukebox:not(.sp-compact) .jb-boxes summary span{font-size:1.7cqw}
.jukebox:not(.sp-compact) .jb-controls>.music-volume,.jukebox-spotify:not(.sp-compact) .sp-volume{font-size:1.4cqw}
.jukebox-spotify:not(.sp-compact) .sp-now-copy h2{font-size:2.6cqw}.jukebox-spotify:not(.sp-compact) .sp-artist{font-size:1.55cqw}.jukebox-spotify:not(.sp-compact) .sp-eyebrow{font-size:.9cqw}.jukebox-spotify:not(.sp-compact) .sp-device-status,.jukebox-spotify:not(.sp-compact) .sp-time-progress small{font-size:1.1cqw}
.jukebox-spotify:not(.sp-compact) .sp-tabs .sp-button{font-size:1.45cqw}.jukebox-spotify:not(.sp-compact) .sp-section-title h3{font-size:1.9cqw}.jukebox-spotify:not(.sp-compact) .sp-section-title>span{font-size:1.2cqw}.jukebox-spotify:not(.sp-compact) .sp-library strong{font-size:1.5cqw}.jukebox-spotify:not(.sp-compact) .sp-attribution{font-size:1.4cqw}
.jukebox:not(.sp-compact) .jb-station-label>span:last-child{font-size:1.4cqw}.jukebox:not(.sp-compact) .jb-station>small{font-size:1cqw}
}
/* De boxnaam is een popupknop, geen uitklaplijst. */
.jukebox:not(.sp-compact) .jb-box-trigger{display:block;appearance:none;width:100%;max-width:none;min-width:0;height:auto;padding:.7cqw 1.2cqw;border:1px solid #8a8159;border-radius:5px;background:#101b14;color:#eee8ce;text-align:left;cursor:pointer;font:inherit}
.jukebox:not(.sp-compact) .jb-box-trigger small{display:block;font-size:1.1cqw;margin-bottom:2px;color:#c8a779}.jukebox:not(.sp-compact) .jb-box-trigger span{display:block;font-size:1.7cqw}.jukebox:not(.sp-compact) .jb-box-trigger:focus-visible{outline:3px solid #e5bf67;outline-offset:3px}
#panel:has(.jb-box-popup){width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;padding:20px;border-radius:16px;background:#172019;color:#f7e6be;border:1px solid #b89a55;box-shadow:0 18px 70px #000b}
#panel:has(.jb-box-popup)::backdrop{background:#0009;backdrop-filter:blur(3px)}
.jb-box-popup .jb-popup-columns{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#d3bd90;margin:16px 0 8px}.jb-popup-room{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #8d794633;padding:6px 0}.jb-popup-room label{display:flex!important;align-items:center;gap:12px;flex:1;min-height:48px;margin:0!important;cursor:pointer}.jb-popup-room input{width:22px!important;height:22px!important;min-height:22px;flex:none;accent-color:#dfb75f;padding:0}.jb-popup-room strong,.jb-popup-room small{display:block}.jb-popup-room small{font-size:12px;margin-top:4px;color:#c4b48f}.jb-box-popup>.btn{width:100%;min-height:44px}.jb-box-popup .caption{font-size:12px;line-height:1.5;margin:16px 0}
@media(max-width:720px){
body.music-menu-enabled #main:has(>.jukebox:not(.sp-compact)){--cabinet-size:200cqw}
.jukebox:not(.sp-compact) .jb-box-trigger{padding:5px 8px;min-height:36px}.jukebox:not(.sp-compact) .jb-box-trigger small{display:none}.jukebox:not(.sp-compact) .jb-box-trigger span{font-size:1.7cqw}
.jukebox-spotify:not(.sp-compact) .sp-now-copy h2{font-size:2.6cqw}.jukebox-spotify:not(.sp-compact) .sp-artist{font-size:1.55cqw}.jukebox-spotify:not(.sp-compact) .sp-eyebrow{font-size:.9cqw}.jukebox-spotify:not(.sp-compact) .sp-time-progress small{font-size:1.1cqw}.jukebox-spotify:not(.sp-compact) .sp-volume{font-size:1.4cqw}.jukebox-spotify:not(.sp-compact) .sp-tabs .sp-button{font-size:1.45cqw;min-height:36px}.jukebox-spotify:not(.sp-compact) .sp-library strong{font-size:1.5cqw}.jukebox:not(.sp-compact) .jb-now h2{font-size:2.8cqw}.jukebox:not(.sp-compact) .jb-selection{grid-auto-rows:7cqw}.jukebox:not(.sp-compact) .jb-station-label>span:last-child{font-size:1.4cqw}
}
#panel:has(.jb-box-popup){inset:50% auto auto 50%;transform:translate(-50%,-50%);height:fit-content;margin:0}
/* Muziek op Welkom gebruikt dezelfde kast en uitsnede als de telefoonpagina. */
.music-home-stage{container-type:inline-size;position:relative;width:100%;height:min(205cqw,900px);overflow:hidden;isolation:isolate;border-radius:14px;background:#23180f url('/assets/country-cafe-deep-v2.png') center/cover no-repeat;color:#f3e9cc}
.music-home-stage>.jukebox:not(.sp-compact){position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(200cqw,900px);max-width:none;margin:0;aspect-ratio:2/3;min-height:0;flex:none}
.music-home-stage .music-dashboard-preset{display:block;min-height:0;text-align:left;width:100%}
.music-home-stage .music-dashboard-preset .music-dashboard-empty{font-size:16px;flex:none}
.music-home-stage .jukebox .jb-selection{grid-auto-rows:7cqw;grid-template-rows:none}
#panel:has(.jb-box-popup){color:#f7e6be}#panel:has(.jb-box-popup) h2,#panel:has(.jb-box-popup) p{color:#f7e6be}#panel:has(.jb-box-popup) .btn{background:#48331b;border:1px solid #ad8d4b;color:#ffe5ad}#panel:has(.jb-box-popup) .btn.primary{background:#d8ae61;color:#261c0e}

/* Instellingen in de rechterbovenhoek van het Bose-scherm. */
.jukebox:not(.sp-compact)>.jb-arch>.jb-settings{position:absolute;z-index:4;top:21.4%;right:28.4%;display:grid;place-items:center;width:5cqw;height:5cqw;min-width:32px;min-height:32px;padding:0;border:1px solid #a68b50;border-radius:50%;background:#142019;color:#efd49a;font-size:3cqw;line-height:1;cursor:pointer}
.jukebox:not(.sp-compact) .jb-settings:hover{background:#34402a;color:#fff0c7}.jukebox:not(.sp-compact) .jb-settings:focus-visible{outline:2px solid #ffe6a5;outline-offset:3px}
.jukebox:not(.sp-compact) .jb-settings~.jb-console>.jb-eyebrow{padding-right:5cqw}


/* agenda-paper.css */
/* Papieren agenda: alle afspraken en acties blijven de bestaande kalender gebruiken. */
body[data-route="agenda"]{--navy:#35483a;--muted:#766f61;--line:#d9cebb;background-color:#c7b398;background-image:radial-gradient(ellipse at 12% 0,#fff4dc9c,transparent 65%),repeating-linear-gradient(2deg,#b99c7612 0 1px,transparent 1px 6px),linear-gradient(100deg,#c7b69b,#dfceb1 48%,#c3af91);background-attachment:fixed}
body[data-route="agenda"] .workspace{background:transparent!important;min-height:100dvh}
body[data-route="agenda"] .workspace::before{display:none!important}
body:not(.family-locked)[data-route="agenda"] #main{max-width:1460px;margin:0 auto;padding:54px 54px 36px!important}
.paper-planner{position:relative;isolation:isolate;background:#faf6e9;border:1px solid #d2c4a9;border-radius:9px 14px 14px 9px;padding:48px 32px 24px;box-shadow:0 24px 55px #483a252b,4px 5px 0 -1px #ebe3d1,5px 6px 0 0 #c0b399,8px 10px 0 -1px #e4d9c3,9px 11px 0 0 #bfb299;background-image:radial-gradient(#8776530c .6px,transparent .9px),linear-gradient(90deg,#e7dccb44,transparent 4%,transparent 96%,#e7dccb44);background-size:5px 5px,100% 100%;min-width:0}
.paper-binding{position:absolute;top:-17px;left:0;right:0;display:flex;justify-content:space-around;padding:0 7%;height:41px;pointer-events:none}
.paper-binding i{position:relative;display:block;width:13px;height:37px;border-radius:9px;background:linear-gradient(90deg,#6f715f,#e1e1cb 31%,#faf9e5 43%,#969b87 65%,#515b4d);border:1px solid #727965;box-shadow:2px 3px 3px #3e453630}
.paper-binding i::before{content:"";position:absolute;z-index:-1;left:-4px;bottom:-5px;width:19px;height:13px;background:#91826b;border-radius:50%;box-shadow:inset 0 2px 4px #302a2180}
.paper-kicker{font-size:11px;font-weight:700;letter-spacing:2.8px;color:#8b7557;margin:0 0 9px}
.paper-planner .heading{margin-bottom:24px;border-bottom:1px solid #d6c8af;padding-bottom:22px;align-items:center;gap:14px}
.paper-planner .heading h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(32px,4vw,48px);letter-spacing:-1px;color:#35483a;margin:0}
.paper-planner .heading p{color:#827866;font-size:14px;margin-top:7px}
.paper-planner .btn,.family-agenda .btn,.agenda-menu-enabled #panel .btn{background:#fffdf5;border:1px solid #cdbfa5;color:#435540;box-shadow:0 2px 2px #6c56330a;border-radius:7px;min-height:44px}
.paper-planner .btn:hover,.family-agenda .btn:hover{background:#eee8d9;border-color:#a39170}
.paper-planner .btn.primary,.agenda-menu-enabled #panel .btn.primary{background:#4e6750;color:#fffdf2;border-color:#4e6750}
.paper-planner .heading .actions{display:flex;align-items:center;flex-wrap:wrap;margin:0}
.paper-planner .agenda-tools{padding:4px 0 18px;gap:16px;align-items:center}
.paper-planner .agenda-tools strong{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:24px}
.paper-planner .agenda-tools strong::first-letter{text-transform:uppercase}
.paper-planner .agenda-tools .actions{gap:8px;flex-wrap:wrap;margin:0}
.paper-planner .agenda-tools [aria-pressed=true]{background:#e2e8d8;border-color:#8d9b7e;color:#354b31;box-shadow:inset 0 0 0 1px #8d9b7e}
.paper-planner .person-filters{margin:0 0 20px;gap:8px}
.paper-planner .person-filter{background:#f5efe0;border:1px solid #d9ceb8;border-radius:6px;min-height:40px}
.paper-planner .calendar-scroll{background:transparent;box-shadow:none;padding:0;border:1px solid #d0c1a7;border-radius:6px;overflow-x:auto}
.paper-planner .calendar-grid{gap:0;background:#fdfaf0;min-width:0;grid-template-columns:repeat(7,minmax(0,1fr))}
.paper-planner .calendar-dayname{background:#e8dfcc;color:#716447;font-size:11px;letter-spacing:1.5px;font-weight:700;text-transform:uppercase;padding:13px 4px;border-right:1px solid #d1c3a9;text-align:center}
.paper-planner .calendar-cell{position:relative;border:0;border-right:1px solid #ddcfb6;border-bottom:1px solid #ddcfb6;border-radius:0;min-height:130px;padding:9px;background-color:#fdfaf0;background-image:repeating-linear-gradient(transparent 0 29px,#b6bdb829 29px 30px);background-position:0 35px;min-width:0}
.paper-planner .calendar-cell:nth-child(7n){border-right:0}
.paper-planner .calendar-cell.other-month{background-color:#f0eada;color:#a89b82;opacity:.7}
.paper-planner .calendar-cell.selected{background-color:#edf0df;box-shadow:inset 0 3px #708364}
.paper-planner .calendar-date{display:inline-grid;place-items:center;background:transparent;border:0;width:32px;height:32px;min-height:32px;padding:0;font-family:Georgia,'Times New Roman',serif;font-size:19px;color:#514d3c;border-radius:50%}
.paper-planner .selected .calendar-date{color:#fffdf0;background:#5b7353}
.paper-planner .calendar-event{display:block;background:#fffcf4;border:1px solid #e0d7c4;border-left:3px solid;border-radius:3px;padding:7px 6px;margin:5px 0;font-size:12px;line-height:1.45;color:#3d483a;box-shadow:1px 2px 3px #51422c10;max-width:100%}
.paper-planner .calendar-event:hover{background:#efe7d3}
.paper-planner .calendar-event small{font-size:10px;color:#817762}
.paper-planner .section-bottom{border-top:1px solid #d9ceb9;padding-top:12px;margin-top:20px;font-size:12px}
.paper-planner .section-bottom a{color:#54684a}
.paper-planner .calendar-grid.week .calendar-cell{min-height:310px}
.paper-planner .notice{background:#fff3d7;border:1px solid #d6be82;color:#725c35}
/* Dashboard: dezelfde papieren stijl in de bestaande, instelbare tegel. */
.family-grid .family-agenda{--navy:#35483a;--muted:#827762;--line:#d9ceb9;position:relative;background:#faf6e9;background-image:radial-gradient(#8776530b .6px,transparent .9px);background-size:5px 5px;border:1px solid #d1c2a6;border-radius:8px;box-shadow:0 7px 20px #4d442015,2px 3px 0 0 #e4dac5;overflow:visible}
.family-agenda h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:27px!important;letter-spacing:-.5px;color:#43533b}
.family-agenda .dashboard-agenda-nav{background:#eae3d1;border:1px solid #d9ccb0;border-radius:5px;padding:6px}
.family-agenda .dashboard-agenda-nav strong{font-family:Georgia,'Times New Roman',serif;font-size:17px;font-weight:400;color:#4d523d}
.family-agenda .dashboard-agenda-modes{border-color:#d9ccb2;background:#eee7d7;border-radius:7px}
.family-agenda .dashboard-agenda-modes [aria-pressed=true]{background:#dee5ce;border-color:#97a387}
.family-agenda .dashboard-agenda-day{border:1px solid #dfd4be;background-color:#fdfaf0;background-image:repeating-linear-gradient(transparent 0 31px,#b6bdb829 31px 32px);border-radius:4px;padding:12px}
.family-agenda .dashboard-agenda-day.is-today{background-color:#f2f2e2;border-color:#b1b999}
.family-agenda .dashboard-agenda-day h3{font-family:Georgia,'Times New Roman',serif;font-size:17px;font-weight:400;line-height:1.4;margin-bottom:8px}
.family-agenda .today-badge{font-family:inherit;background:#637652;color:#fffdf1}
.family-agenda .day-events .agenda-item,.agenda-menu-enabled .calendar-day-detail .agenda-item{background:#fffcf4;border:1px solid #e5dcc8;border-radius:4px;margin:6px 0;padding:10px 7px;box-shadow:1px 2px 3px #51422c0a}
.family-agenda .day-events .agenda-item.is-next,.agenda-menu-enabled .calendar-day-detail .agenda-item.is-next{background:#e8edda;border-color:#c1ccab}
.family-agenda .agenda-item strong{font-weight:500}
.family-agenda .section-bottom{border-top:1px solid #dfd5c0;padding-top:10px}
/* Het bestaande menu schuift alleen op deze pagina over de kalender heen. */
body.agenda-menu-enabled .workspace{margin-left:0!important;width:100%!important}
body.agenda-menu-enabled aside{display:flex!important;position:fixed!important;inset:0 auto 0 0;width:280px;height:100dvh;z-index:130;transform:translateX(-101%);transition:transform 250ms ease;box-shadow:6px 0 30px #362c2433;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:26px 20px;overflow-y:auto;background:#354a3c}
body.agenda-menu-enabled.music-menu-open aside{transform:translateX(0)}
body.agenda-menu-enabled aside #nav{display:block!important;flex:1}
body.agenda-menu-enabled aside .nav-label,body.agenda-menu-enabled aside .profile-switch>span:last-child,body.agenda-menu-enabled aside .brand small{display:block}
body.agenda-menu-enabled aside .sidebar-bottom{margin-top:auto!important}
body.agenda-menu-enabled .mobile-dock{display:none!important}
.agenda-menu-enabled .music-menu-tab{display:block;position:fixed;z-index:132;left:0;top:40%;min-height:80px;padding:12px 9px;border:1px solid #b6a782;border-left:0;border-radius:0 8px 8px 0;background:#faf5e5;color:#4b5c40;font:13px system-ui;writing-mode:vertical-rl;letter-spacing:1px;cursor:pointer;box-shadow:2px 2px 8px #56482c1a;transition:left 250ms ease}
.agenda-menu-enabled.music-menu-open .music-menu-tab{left:280px}
.agenda-menu-enabled.music-menu-open .music-menu-backdrop{display:block;position:fixed;z-index:129;inset:0;background:#302a214d;border:0;border-radius:0}
.agenda-menu-enabled footer{background:transparent;color:#6e614e;padding-top:20px}
.agenda-menu-enabled #panel{background:#faf6e9;color:#35483a;border-color:#c4b493;box-shadow:-10px 0 45px #493f2730}
.agenda-menu-enabled #panel input,.agenda-menu-enabled #panel select,.agenda-menu-enabled #panel textarea{background:#fffdf5;color:#35483a;border-color:#cdbfa5}
.agenda-menu-enabled #panel .repeat-group{background:#eee9d9;border-color:#d4c7ad}
.agenda-menu-enabled #panel .close{background:#e6e1ce;color:#46553b}
@media(max-width:1050px){body:not(.family-locked)[data-route="agenda"] #main{padding:44px 38px 28px!important}.paper-planner{padding:44px 22px 20px}.paper-planner .heading{flex-wrap:wrap}.paper-planner .agenda-tools{flex-wrap:wrap}.paper-planner .calendar-cell{padding:5px;min-height:110px}}
@media(max-width:720px){
 body:not(.family-locked)[data-route="agenda"] #main{padding:36px 10px 24px 25px!important}
 .paper-planner{padding:32px 10px 16px;border-radius:5px;box-shadow:0 12px 22px #483a2526,3px 4px 0 #e4dac5}
 .paper-binding{padding:0 8%;height:30px;top:-12px}.paper-binding i{height:27px;width:10px}.paper-binding i::before{width:14px;height:9px;left:-3px;bottom:-4px}
 .paper-kicker{font-size:9px;letter-spacing:1.6px}.paper-planner .heading{padding-bottom:15px;margin-bottom:15px;gap:12px}.paper-planner .heading h1{font-size:34px}.paper-planner .heading p{font-size:12px}.paper-planner .heading .btn{font-size:13px;padding:8px 12px}
 .paper-planner .agenda-tools{gap:12px}.paper-planner .agenda-tools strong{font-size:19px}.paper-planner .agenda-tools .btn{padding:7px 10px;font-size:12px}.paper-planner .agenda-tools .actions{gap:5px}
 .paper-planner .person-filters{gap:5px;margin-bottom:14px}.paper-planner .person-filter{font-size:11px;padding:6px;min-height:38px}
 .paper-planner .calendar-grid{min-width:0!important;grid-template-columns:repeat(7,minmax(0,1fr))}
 .paper-planner .calendar-dayname{font-size:9px;padding:10px 0;letter-spacing:0}
 .paper-planner .calendar-cell,.paper-planner .calendar-grid.week .calendar-cell{min-height:65px;padding:3px;gap:3px;background-size:auto}
 .paper-planner .calendar-date{width:100%;height:35px;min-height:35px;font-size:16px}
 .paper-planner .calendar-event{width:6px;height:6px;min-height:6px;flex:0 0 6px;padding:0;margin:1px;border:0;border-left:6px solid;border-radius:50%;font-size:0;box-shadow:none;pointer-events:none}
 .paper-planner .calendar-event small{display:none}.paper-planner .section-bottom{gap:6px;font-size:11px}.paper-planner .section-bottom .caption{font-size:10px}
 .agenda-menu-enabled .music-menu-tab{min-height:68px;padding:10px 4px;font-size:11px}
 .family-grid .family-agenda{padding:18px}.family-agenda .dashboard-agenda-day{padding:9px}
}
@media(prefers-reduced-motion:reduce){.agenda-menu-enabled aside,.agenda-menu-enabled .music-menu-tab{transition:none!important}}

/* De week als zeven opeenvolgende papieren dagvakken. */
.paper-week-list{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.paper-week-day{min-width:0;padding:16px 18px;background-color:#fdfaf0;background-image:repeating-linear-gradient(transparent 0 31px,#b6bdb829 31px 32px);border:1px solid #d9ceb7;border-radius:5px;box-shadow:1px 2px 3px #51422c0a}
.paper-week-day.is-today{background-color:#f0f2e3;border-color:#a8b18e}
.paper-week-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:7px}
.paper-week-heading h3{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0;font-family:Georgia,'Times New Roman',serif;font-size:21px;font-weight:400;color:#43533b}
.paper-week-heading h3 button{font:inherit;color:inherit;background:none;border:0;padding:5px 0;min-height:44px;text-align:left;cursor:pointer}
.paper-week-heading h3 button:hover{text-decoration:underline;text-decoration-color:#a4ad8e;text-underline-offset:4px}
.paper-week-heading .today-badge{font-family:'Segoe UI',sans-serif;background:#637652;font-size:11px;padding:3px 10px;white-space:nowrap}
.paper-week-heading>.btn{font-size:12px;padding:6px 12px;min-height:40px}
.paper-week-day .day-events{max-height:none;overflow:visible}
.paper-week-day .day-events .agenda-item{background:#fffdf5;border:1px solid #e2d8c3;border-radius:4px;margin:6px 0;padding:12px 10px;box-shadow:1px 2px 3px #51422c0a}
.paper-week-day .day-events .agenda-item.is-next{background:#e8edda;border-color:#c1ccab}
.paper-week-day .agenda-item strong{font-size:15px;font-weight:500;line-height:1.5}
.paper-week-day .agenda-item small{display:block;margin-top:4px}
.paper-week-day .agenda-empty{margin:4px 0;font-size:13px;padding:5px 0}
@media(max-width:720px){.paper-week-list{gap:10px}.paper-week-day{padding:10px}.paper-week-heading{gap:4px}.paper-week-heading h3{font-size:17px;gap:7px}.paper-week-heading>.btn{font-size:11px;min-height:44px;padding:6px 9px}.paper-week-day .agenda-item strong{font-size:14px}.paper-week-day .day-events .agenda-item{padding:10px 7px}.paper-week-day .agenda-empty{font-size:12px}}

/* Eén compacte werkbalk, met agendakeuzes in het instellingenvenster. */
.paper-planner>.agenda-tools{margin:0 0 18px;padding:0 0 18px;border-bottom:1px solid #d6c8af}
.paper-planner .agenda-tools [data-outlook="tile-settings"]{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:8px}
.paper-planner .agenda-tools [data-outlook="tile-settings"] svg{display:block;flex-shrink:0}
.paper-planner .calendar-cell{cursor:pointer}

/* Een uitvergrote agendapagina, gecentreerd boven de bestaande kalender. */
#panel:has(.paper-agenda-popup){position:fixed;inset:0;margin:auto;transform:none;box-sizing:border-box;width:min(760px,calc(100vw - 48px));max-width:calc(100vw - 48px);height:fit-content;max-height:calc(100dvh - 64px);padding:46px 32px 28px;border:1px solid #c7b99b;border-radius:10px;background-color:#faf6e9;background-image:radial-gradient(#8776530b .6px,transparent .9px),linear-gradient(90deg,#d9c9a72b,transparent 5%,transparent 95%,#d9c9a72b);background-size:5px 5px,100% 100%;color:#35483a;box-shadow:0 24px 85px #30271866,3px 4px 0 0 #e3d8c1;overflow:auto;overscroll-behavior:contain}
#panel:has(.paper-agenda-popup)::backdrop{background:#302b2366;backdrop-filter:blur(4px)}
#panel:has(.paper-agenda-popup) .panel-top{display:flex;align-items:center;gap:16px;margin:0 0 20px;padding:0 0 16px;border-bottom:1px solid #d8ccb4;position:relative}
#panel:has(.paper-agenda-popup) .panel-top>div{flex:1;min-width:0}
#panel:has(.paper-agenda-popup) .panel-top h2{font-family:Georgia,'Times New Roman',serif;font-size:29px;font-weight:400;line-height:1.3;letter-spacing:-.4px;margin:0;color:#3c5039;overflow-wrap:anywhere}
#panel:has(.paper-agenda-popup) .eyebrow{display:none}
#panel:has(.paper-agenda-popup) .close{order:initial;flex-shrink:0;display:grid;place-items:center;padding:0;width:44px;height:44px;min-height:44px;border:1px solid #d2c6ab;border-radius:50%;background:#eee7d6;color:#526148;font:28px Arial,sans-serif}
.paper-popup-binding{position:absolute;top:10px;left:12%;right:12%;height:24px;display:flex;justify-content:space-around;pointer-events:none}
.paper-popup-binding i{width:9px;height:23px;border:1px solid #838774;border-radius:7px;background:linear-gradient(90deg,#777d67,#eeedd8 38%,#9ba18b 65%,#59624e);box-shadow:1px 2px 2px #3e453630}
.paper-agenda-popup .calendar-day-detail{background-image:repeating-linear-gradient(transparent 0 35px,#bac1b029 35px 36px);min-height:160px}
#panel:has(.paper-agenda-popup) .day-events{max-height:none;overflow:visible}
#panel:has(.paper-agenda-popup) .agenda-item{background:#fffdf5;border:1px solid #e0d6bf;border-radius:5px;padding:12px 9px;margin:8px 0;color:#35483a}
#panel:has(.paper-agenda-popup) .agenda-item.is-next{background:#e8edda;border-color:#c1ccab}
#panel:has(.paper-agenda-popup) .agenda-item small{display:block;color:#776f5e}
#panel:has(.paper-agenda-popup) .btn{background:#fffdf5;border:1px solid #cdbfa5;color:#435540;border-radius:6px;min-height:44px}
#panel:has(.paper-agenda-popup) .btn.primary{background:#4e6750;color:#fffdf2;border-color:#4e6750}
#panel:has(.paper-agenda-popup) label{color:#566048;font-size:14px}
#panel:has(.paper-agenda-popup) input,#panel:has(.paper-agenda-popup) select,#panel:has(.paper-agenda-popup) textarea{background:#fffdf5;color:#35483a;border:1px solid #cdbfa5;border-radius:5px;min-height:44px;font-size:16px;max-width:100%;box-sizing:border-box}
#panel:has(.paper-agenda-popup) input[type=checkbox]{min-height:22px;width:22px;height:22px;accent-color:#5b7353}
#panel:has(.paper-agenda-popup) .outlook-date-group{background:#f5efdf;border-color:#d9cdb4;margin:14px 0}
#panel:has(.paper-agenda-popup) .outlook-date-group legend,#panel:has(.paper-agenda-popup) .repeat-group legend{font-family:Georgia,serif;font-size:18px;font-weight:400}
#panel:has(.paper-agenda-popup) .repeat-group{background:#eee9d9;border-color:#d4c7ad}
#panel:has(.paper-agenda-popup) .actions{margin-bottom:0}
@media(max-width:720px){#panel:has(.paper-agenda-popup){width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 28px);padding:40px 16px 20px;border-radius:8px}#panel:has(.paper-agenda-popup) .panel-top h2{font-size:23px}#panel:has(.paper-agenda-popup) .panel-top{gap:9px;margin-bottom:14px;padding-bottom:12px}.paper-popup-binding{left:9%;right:9%;top:8px}.paper-agenda-popup .calendar-day-detail{min-height:130px}#panel:has(.paper-agenda-popup) .outlook-date-group{padding:10px}#panel:has(.paper-agenda-popup) .repeat-group{padding:12px}}


/* shared-sidebar.css */
/* Hetzelfde inschuivende hoofdmenu op iedere persoonlijke pagina. */
body.household-menu-enabled .workspace{margin-left:0!important;width:100%!important}
body.household-menu-enabled aside{display:flex!important;position:fixed!important;inset:0 auto 0 0;width:280px;max-width:calc(100vw - 36px);height:100dvh;z-index:130;transform:translateX(-101%);transition:transform 250ms ease;box-shadow:6px 0 30px #362c2433;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:26px 20px;overflow-y:auto;background:#354a3c;writing-mode:horizontal-tb}
body.household-menu-enabled.music-menu-open aside{transform:translateX(0)}
body.household-menu-enabled aside #nav{display:block!important;flex:1}
body.household-menu-enabled aside .nav-label,body.household-menu-enabled aside .profile-switch>span:last-child,body.household-menu-enabled aside .brand small{display:block}
body.household-menu-enabled aside .sidebar-bottom{margin-top:auto!important}
body.household-menu-enabled .mobile-dock{display:none!important}
body.household-menu-enabled .music-menu-tab{display:block;position:fixed;z-index:132;left:0;top:40%;min-height:80px;padding:12px 9px;border:1px solid #b6a782;border-left:0;border-radius:0 8px 8px 0;background:#faf5e5;color:#4b5c40;font:13px system-ui;writing-mode:vertical-rl;letter-spacing:1px;cursor:pointer;box-shadow:2px 2px 8px #56482c1a;transition:left 250ms ease}
body.household-menu-enabled.music-menu-open .music-menu-tab{left:min(280px,calc(100vw - 36px))}
body.household-menu-enabled.music-menu-open .music-menu-backdrop{display:block;position:fixed;z-index:129;inset:0;background:#302a214d;border:0;border-radius:0}
body.household-menu-enabled .music-menu-tab:focus-visible{outline:3px solid #976718;outline-offset:2px}
@media(max-width:720px){body.household-menu-enabled .music-menu-tab{min-height:68px;padding:10px 4px;font-size:11px}}
@media(prefers-reduced-motion:reduce){body.household-menu-enabled aside,body.household-menu-enabled .music-menu-tab{transition:none!important}}


/* finance-shell.css */
/* Alleen de vier bestaande financiënpagina's krijgen het schermvullende boek. */
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"]) .workspace{background:#bc976a!important;margin-left:0!important;width:100%!important}
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"]) .workspace::before{display:none!important}
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"]) #main{padding:0!important;max-width:none!important;margin:0!important}
.finance-book-frame{display:block;width:100%;height:100svh;min-height:720px;border:0;background:#c29e72}
@media(max-width:820px){.finance-book-frame{min-height:100svh}}

body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"]) #main>.section-navigation{display:none!important}


/* living-energy.css */
/* Alleen energiepagina's; gezamenlijke navigatie blijft van de huishoudapp. */
body[data-route^="energy"],body[data-route="devices"]{background:#f5f1e7!important;background-image:none!important;color:#24352e}
body[data-route^="energy"] .workspace,body[data-route="devices"] .workspace{background:#f5f1e7!important}
body[data-route^="energy"] .workspace::before,body[data-route="devices"] .workspace::before{display:none!important}
body[data-route^="energy"] #main,body[data-route="devices"] #main{max-width:1480px;margin:0 auto;padding:30px 48px 60px!important}
.le-page{color:#24352e;font-family:'Segoe UI',Arial,sans-serif;min-width:0}.le-heading{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-bottom:18px}.le-heading h1{font:650 34px/1.2 'Segoe UI',Arial,sans-serif;letter-spacing:-1px;margin:0}.le-connection{font-size:13px;color:#646a62;display:flex;align-items:center;gap:7px;min-height:24px}.le-connection[data-state]:before{content:'';width:8px;height:8px;border-radius:50%;background:#b7623d}.le-connection[data-state=fresh]:before{background:#5b885b}
.le-tabs{display:flex;gap:25px;flex-wrap:wrap;border-bottom:1px solid #dedcd2;margin-bottom:22px}.le-tabs a{min-height:46px;display:flex;align-items:center;padding:6px 2px 12px;color:#646a62;text-decoration:none;border-bottom:3px solid transparent;font-size:15px}.le-tabs a[aria-current]{border-color:#426b53;color:#24352e;font-weight:600}.le-tabs a:focus-visible,.le-page summary:focus-visible{outline:3px solid #426b53;outline-offset:3px}.le-page .local-energy-frame{display:block;width:100%;border:0;min-height:620px;height:1050px;background:transparent}.le-extras{margin-top:16px;border-top:1px solid #dedcd2;padding-top:12px;color:#646a62;font-size:13px}.le-page summary{cursor:pointer;padding:12px 0;min-height:44px}.le-existing>.card,.le-existing .card{background:#fffcf5!important;border:1px solid #e5e2d7!important;border-radius:18px;box-shadow:0 3px 15px #24352e06}.le-existing{min-width:0}.le-extras .home-heading{margin-top:18px}.le-extras .home-grid{margin-top:15px}
@media(max-width:900px){body[data-route^="energy"] #main,body[data-route="devices"] #main{padding:25px 28px 110px!important}.le-tabs{gap:18px}}
@media(max-width:650px){body[data-route^="energy"] #main,body[data-route="devices"] #main{padding:20px 14px 115px!important}.le-heading{gap:8px 14px;margin-bottom:10px}.le-heading h1{font-size:29px}.le-connection{font-size:12px}.le-tabs{gap:5px 17px;margin-bottom:15px}.le-tabs a{font-size:13px;min-height:44px;padding-bottom:9px}.le-page .local-energy-frame{min-height:1000px}.le-extras{font-size:12px}}


/* finance-legacy-book.css */
/* De bestaande spaar- en hypotheekelementen liggen rechtstreeks op het boekpapier. */
.finance-legacy-book{position:relative;background:url('assets/huishoudboek-op-bureau-v2.png') center/100% 100% no-repeat;min-height:calc(100svh - 24px);max-width:1900px;margin:12px auto;padding:5% 8% 6%;color:#263d2d;font-family:Georgia,'Times New Roman',serif}
.finance-legacy-spread{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7vw;min-height:690px}.finance-paper-page{min-width:0}.finance-paper-page .heading{display:block;margin:0 0 24px}.finance-paper-page .heading h1{font:700 clamp(27px,2.4vw,43px)/1.15 Georgia,serif;letter-spacing:-.03em;color:#173a27}.finance-paper-page .eyebrow{display:none}.finance-paper-page h2{font:700 clamp(24px,2vw,35px) Georgia,serif;color:#173a27;margin:18px 0}.finance-paper-page .card{background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;padding:18px 0!important;margin:0!important;border-bottom:1px solid #9b9f8080!important}.finance-paper-page .stats,.finance-paper-page .pots{display:block}.finance-paper-page .stat-value{font:600 clamp(23px,2vw,34px) Georgia,serif;margin:10px 0;color:#365039}.finance-paper-page .stat-label{font-size:16px}.finance-paper-page p,.finance-paper-page .stat-note{font:14px/1.65 'Segoe UI',sans-serif;color:#646f5c}.finance-paper-page .heading-controls{margin-top:14px}.finance-paper-page button,.finance-paper-page select,.finance-paper-page input{font-family:'Segoe UI',sans-serif;color:#365039;border-color:#b9bea2;background:#f9f5e4;max-width:100%}.finance-paper-page .btn.primary{background:#59724e;color:#fff9e6}.finance-paper-page .detail{padding:15px 0;border-bottom-color:#aeb59477;flex-wrap:wrap;gap:9px}.finance-paper-page .bar{background:#b4bd9f66}.finance-paper-page .bar span{background:#829572}.finance-paper-page .pot-emoji{font-size:25px}.finance-legacy-tabs{position:absolute;right:1.9%;top:8%;height:79%;width:3.6%;display:flex;flex-direction:column;gap:3px}.finance-legacy-tabs a{display:flex;flex:1;align-items:center;justify-content:center;writing-mode:vertical-rl;font:600 clamp(12px,1vw,17px) Georgia,serif;color:#39412c;background:#adba91;border:1px solid #60583e33;border-radius:0 12px 12px 0;text-decoration:none;padding:7px 4px}.finance-legacy-tabs a:nth-child(2){background:#d2b267}.finance-legacy-tabs a:nth-child(3){background:#96afb0}.finance-legacy-tabs a:nth-child(4){background:#c0ae8b}.finance-legacy-tabs a:nth-child(5){background:#bca079}.finance-legacy-tabs a:nth-child(6){background:#c78762}.finance-legacy-tabs a:nth-child(7){background:#9ca578}.finance-legacy-tabs a[aria-current]{background:#4b6547;color:#fff8e4}.finance-legacy-tabs a:focus-visible{outline:3px solid #386c48;outline-offset:3px}
@media(max-width:820px){.finance-legacy-book{margin:8px;background:#f9f3e3;background-image:repeating-linear-gradient(transparent 0 31px,#a4b29818 31px 32px);border:8px solid #705137;border-radius:10px;padding:0 20px 30px;min-height:calc(100svh - 16px)}.finance-legacy-spread{display:block;min-height:0}.finance-legacy-tabs{position:sticky;top:0;right:auto;height:auto;width:auto;flex-direction:row;overflow:auto;margin:0 -17px 20px;padding:5px 0;background:#eee6d4}.finance-legacy-tabs a{writing-mode:horizontal-tb;min-width:max-content;min-height:44px;font-size:13px;padding:8px 12px;border-radius:5px 5px 0 0}.finance-paper-page+.finance-paper-page{border-top:2px solid #abb594;padding-top:18px;margin-top:25px}.finance-paper-page .heading h1{font-size:31px}.finance-paper-page .stats{grid-template-columns:1fr}}

.finance-paper-page .stat-label,.finance-paper-page .stat.accent .stat-label{color:#53654b}.finance-paper-page .btn{min-height:40px;border-radius:6px;padding:8px 12px}.finance-paper-page .stat.accent{color:#2b432b}


/* homepage-paper.css */
/* Licht voorbeeld: warmwit, witte inhoud en pastel-salie. Alleen de homepage. */
body:is([data-route="welcome"],[data-route="dashboard"]){--bg:#f7f8f3;--surface:#ffffff;--navy:#35483e;--muted:#70796f;--line:#e1e7de;--teal:#58745d;--green:#58745d;background-color:#f7f8f3;background-image:none;background-attachment:fixed;color:#35483e}
body:is([data-route="welcome"],[data-route="dashboard"]) .workspace{background:transparent!important;min-height:100dvh}
body:is([data-route="welcome"],[data-route="dashboard"]) .workspace::before{display:none!important}
body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) #main{max-width:1420px;padding:28px 48px 48px!important;margin:0 auto}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-heading{margin:0 0 6px;align-items:center;padding-bottom:0;gap:16px}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-heading>div:first-child::before{content:"SAMEN THUIS";display:block;font:600 10px/1.5 system-ui,sans-serif;letter-spacing:2.3px;color:#7b8878;margin-bottom:6px}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-heading h1{font:400 clamp(30px,3.4vw,44px)/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.8px;color:#35483e}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-greeting{font-size:15px;color:#707c70;margin:0 0 26px;padding-bottom:22px;border-bottom:1px solid #e0e6dc}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-grid{gap:22px}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-grid>.family-tile{background-color:#ffffff;background-image:none;border:1px solid #e2e8de;border-radius:12px;padding:26px;box-shadow:none;color:#35483e}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-tile h2{font:400 25px/1.25 Georgia,'Times New Roman',serif;letter-spacing:-.35px;color:#35483e}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-tile h3{color:#475f4c}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-tile .caption{color:#747e72}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-tile a{color:#526f57}
body:is([data-route="welcome"],[data-route="dashboard"]) :is(.btn,.link,.food-shopping-link){color:#47634e}
body:is([data-route="welcome"],[data-route="dashboard"]) .btn{border:1px solid #dce5d8;background:#ffffff;border-radius:8px;min-height:44px;box-shadow:0 2px 3px #6f5c3308}
body:is([data-route="welcome"],[data-route="dashboard"]) .btn:hover{background:#f0f5ee;border-color:#bacbb5}
body:is([data-route="welcome"],[data-route="dashboard"]) .btn.primary{background:#58745d;border-color:#58745d;color:#ffffff}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-button{background:#ffffff;color:#58745d}
body:is([data-route="welcome"],[data-route="dashboard"]) .food-empty-icon{background:#f0f5eb;color:#7f9475;border:1px solid #e3eadd;border-radius:12px}
body:is([data-route="welcome"],[data-route="dashboard"]) .food-shopping-link{background:#f5f8f1;border:1px solid #e1e8db;border-radius:8px}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-meal .food-today{background:transparent}
body:is([data-route="welcome"],[data-route="dashboard"]) :is(.dashboard-agenda-nav,.dashboard-agenda-modes){background:#f4f7ef;border-color:#e0e7d9;border-radius:8px}
body:is([data-route="welcome"],[data-route="dashboard"]) .dashboard-agenda-modes [aria-pressed="true"]{background:#e9f1e3;border-color:#b6c9a9;color:#426447}
body:is([data-route="welcome"],[data-route="dashboard"]) .dashboard-agenda-day{background:#ffffff;border-color:#e4eade;border-radius:7px}
body:is([data-route="welcome"],[data-route="dashboard"]) .dashboard-agenda-day.is-today{background:#fafcf7;border-color:#e1e8da}
body:is([data-route="welcome"],[data-route="dashboard"]) :is(.today-badge,.tag){background:#edf3e6;color:#516d48;border-color:#d6e2cc}
body:is([data-route="welcome"],[data-route="dashboard"]) .family-editbar{background:#f2f6ed;border-color:#dce5d2;border-radius:10px;color:#51684b}
/* Hetzelfde inschuivende menu, in donkerder pastel-salie. */
body.household-menu-enabled:is([data-route="welcome"],[data-route="dashboard"]) aside{background:#e3ecdd;color:#354b38;box-shadow:none;border-right:1px solid #ccd9c3}
body:is([data-route="welcome"],[data-route="dashboard"]) aside :is(.brand,.nav-label,.sidebar-bottom,.profile-switch){color:#354b38}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .brand{font:400 23px/1.15 Georgia,'Times New Roman',serif}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .brand small{font:400 12px/1.5 system-ui,sans-serif;color:#61745b;margin-top:5px}
body:is([data-route="welcome"],[data-route="dashboard"]) aside :is(.brand-icon,.family-avatar){background:#6d8663;color:#ffffff;border-color:#6d8663}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .nav-label{height:auto;flex-shrink:0;font-size:10px;line-height:1.5;letter-spacing:1.6px;opacity:1;color:#61745b;margin:26px 0 12px}
body:is([data-route="welcome"],[data-route="dashboard"]) aside #nav a{color:#354b38;border:1px solid transparent;border-radius:8px;padding:11px 12px;gap:12px;margin-bottom:3px;flex-direction:row;align-items:center;text-align:left}
body:is([data-route="welcome"],[data-route="dashboard"]) aside #nav a:hover{background:#d4e2cb}
body:is([data-route="welcome"],[data-route="dashboard"]) aside #nav a[aria-current="page"]{background:#ffffff;border-color:#f6f9f2;color:#426447;box-shadow:0 3px 9px #4655350d}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .sidebar-bottom{border-top:1px solid #ccd9c3;padding-top:18px}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .profile-switch small{color:#61745b}
body.household-menu-enabled:is([data-route="welcome"],[data-route="dashboard"]) .music-menu-tab{background:#e3ecdd;border-color:#ccd9c3;color:#354b38;box-shadow:2px 3px 9px #4b4d3414}
body.household-menu-enabled:is([data-route="welcome"],[data-route="dashboard"]) .music-menu-backdrop{background:#4b47352e}
/* Instellingen als één rustig, roomkleurig dialoogvenster. */
body:is([data-route="welcome"],[data-route="dashboard"]) #panel.homepage-settings-panel{inset:0;margin:auto;width:min(760px,calc(100vw - 40px));height:auto;max-height:calc(100dvh - 48px);max-width:none;padding:30px;background:#ffffff;background-image:none;color:#35483e;border:1px solid #dbe5d3;border-radius:14px;box-shadow:none;overflow-y:auto;overscroll-behavior:contain}
body:is([data-route="welcome"],[data-route="dashboard"]) #panel.homepage-settings-panel::backdrop{background:#5c554240;backdrop-filter:blur(3px)}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel .panel-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:0 0 15px;padding-bottom:20px;border-bottom:1px solid #e4e9df}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel .eyebrow{color:#7b8878;font-size:10px;letter-spacing:2px;margin-bottom:8px}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel .panel-top h2{font:400 31px/1.2 Georgia,'Times New Roman',serif;color:#35483e;margin:0}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel .close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;min-height:44px;border:1px solid #dee6d7;border-radius:8px;background:#f1f6eb;color:#58734e;font-size:26px}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-intro{font-size:14px;line-height:1.65;color:#70796f;margin:0 0 22px}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-layout-setting{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;margin-bottom:24px;background:#f3f7ee;border:1px solid #e0e8d6;border-radius:10px}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel h3{font:400 22px/1.25 Georgia,'Times New Roman',serif;margin:0 0 8px;color:#496143}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel section p{font-size:13px;line-height:1.6;color:#70796f;margin:0}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-columns .family-checks{margin-top:16px;gap:2px}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-columns .family-checks label{padding:8px 10px;margin:0;border-radius:7px;min-height:44px;gap:12px;font-size:14px}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-columns .family-checks label:hover{background:#f3f7ef}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel input[type="checkbox"]{accent-color:#63825b;width:20px;height:20px;min-height:20px}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e4e9df;padding-top:18px;margin-top:24px}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-footer small{font-size:12px;color:#70796f;line-height:1.5}
body:is([data-route="welcome"],[data-route="dashboard"]) :is(button,a,input,select):focus-visible{outline:3px solid #799c6c;outline-offset:3px}
@media(max-width:720px){
 body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) #main{padding:20px 20px 32px 30px!important}
 body:is([data-route="welcome"],[data-route="dashboard"]) .family-heading h1{font-size:30px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .family-heading>div:first-child::before{font-size:9px;letter-spacing:1.9px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .family-greeting{font-size:13px;margin-bottom:20px;padding-bottom:17px;line-height:1.6}
 body:is([data-route="welcome"],[data-route="dashboard"]) .family-grid>.family-tile{padding:20px;border-radius:10px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .family-tile h2{font-size:24px}
 body:is([data-route="welcome"],[data-route="dashboard"]) #panel.homepage-settings-panel{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:22px 18px;border-radius:12px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel .panel-top h2{font-size:27px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-layout-setting{display:block;padding:16px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-layout-setting .btn{margin-top:14px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-columns{grid-template-columns:1fr;gap:24px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-footer{align-items:flex-start}
 body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-footer .btn{flex-shrink:0}
}

body:is([data-route="welcome"],[data-route="dashboard"]) .family-grid>.family-tile{box-shadow:0 3px 16px #394b3310}
body.household-menu-enabled:is([data-route="welcome"],[data-route="dashboard"]) aside{box-shadow:6px 0 24px #394b3312}
body.household-menu-enabled:is([data-route="welcome"],[data-route="dashboard"]) .music-menu-backdrop{background:#52634b1f}
body:is([data-route="welcome"],[data-route="dashboard"]) #panel.homepage-settings-panel{box-shadow:0 18px 64px #394b3326;background:#ffffff}
body:is([data-route="welcome"],[data-route="dashboard"]) #panel.homepage-settings-panel::backdrop{background:#52634b26}

/* Lichte bureauagenda: één vel met ringbinding. */
body:is([data-route="welcome"],[data-route="dashboard"]){background:#f6f7f2}
body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) #main{max-width:1540px;padding:48px 42px 40px!important}
.desk-planner{position:relative;padding:44px 40px 30px;border:1px solid #dfe5d8;border-radius:12px;background:#fffefa;box-shadow:0 10px 30px #4351390c,0 4px 0 -1px #f6f7ef,0 5px 0 -1px #dce1d4,0 8px 0 -1px #fafbf5,0 9px 0 -1px #dce1d4}
.desk-rings{position:absolute;top:-24px;left:6%;right:6%;height:43px;display:flex;justify-content:space-between;pointer-events:none}
.desk-rings i{position:relative;width:13px;height:43px;border-radius:9px;background:linear-gradient(90deg,#9aa88b,#e5ecd8 32%,#fafcf2 44%,#aeba9c 68%,#7f9273);border:1px solid #a0ad91;box-shadow:2px 2px 3px #4c5c3c18}
.desk-rings i::after{content:"";position:absolute;bottom:-3px;left:-4px;width:19px;height:10px;z-index:-1;border-radius:50%;background:#d6decb}
body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner>.family-heading{margin-bottom:4px}
body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner>.family-heading>div:first-child::before{content:none}
body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner>.family-heading h1{font-size:clamp(32px,3.5vw,52px);line-height:1.15}
.desk-planner .diary-dayline{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:12px 0 28px;padding-bottom:22px;border-bottom:1px solid #e2e7da}
.desk-planner .diary-date{display:flex;align-items:center;gap:9px;color:#52684a}
.desk-planner .diary-date strong{font:400 27px/1.2 Georgia,serif}
.desk-planner .diary-date span{font:400 20px/1.4 Georgia,serif;text-transform:capitalize}
.desk-planner .diary-date br{display:none}
body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner .diary-dayline .family-greeting{margin:0;padding:0 0 0 18px;border:0;border-left:1px solid #dfe6d6;font-size:13px;color:#7c8772}
body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner .family-grid{gap:26px 32px;align-items:start}
body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner .family-grid>.family-tile{position:relative;background:none;border:0;border-radius:0;box-shadow:none;padding:0;min-height:0}
body:is([data-route="welcome"],[data-route="dashboard"]) .desk-default-layout .family-grid{grid-template-columns:minmax(0,2.4fr) minmax(255px,1fr)}
.desk-default-layout .family-agenda{grid-column:1;grid-row:1/span 2}
.desk-default-layout .family-weather{grid-column:2;grid-row:1}
.desk-default-layout .family-meal{grid-column:2;grid-row:2}
.desk-default-layout .family-weather,.desk-default-layout .family-meal{border-left:1px dashed #e0e5d7!important;padding-left:26px!important}
.desk-planner .family-tile h2{font-size:25px}
.desk-planner .family-agenda>.diary-agenda-binding{display:none}
.desk-planner .family-agenda [data-outlook-tile]>.section-top{margin:0 0 14px}
.desk-planner .family-agenda .dashboard-agenda-nav{margin:10px 0;background:#f7f9f1;border:1px solid #e1e7d8;border-radius:5px}
.desk-planner .family-agenda .dashboard-agenda-day{background:none!important;border:0!important;padding:0;border-radius:0}
.desk-planner .family-agenda .section-bottom{padding-top:14px;margin-top:12px;border-top:1px solid #e3e8dc}
.desk-week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin:12px 0 20px;border:1px solid #e1e7d8;border-radius:5px;overflow:hidden}
.desk-week-strip button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:400 14px/1.3 Georgia,serif;border:0;border-right:1px solid #e1e7d8;background:#fffefa;color:#5e6e53;padding:8px 2px;min-height:52px;cursor:pointer}
.desk-week-strip button:last-child{border:0}
.desk-week-strip button span{display:block;font:400 11px/1.5 system-ui,sans-serif;color:#7c8772}
.desk-week-strip button strong{display:block;font-weight:400;font-size:19px}
.desk-week-strip button[aria-pressed="true"]{background:#eaf1e0;box-shadow:inset 0 0 0 1px #a5ba94;border-radius:4px}
.desk-schedule{position:relative}
.desk-hour{display:grid;grid-template-columns:57px minmax(0,1fr);min-height:30px;border-top:1px dotted #dbe3d2;align-items:stretch}
.desk-hour>time{font:400 12px/1.4 Georgia,serif;color:#819078;padding:7px 5px 3px 0;border-right:1px solid #e0e6d7}
.desk-hour-events{min-width:0;padding:0 0 0 10px}
.desk-hour-events:empty{min-height:30px}
.desk-hour-events .agenda-item{margin:2px 0!important;min-height:44px;border-radius:4px!important;background:#f3f7ed!important;border:0!important;border-left:3px solid #91ac7c!important;box-shadow:none!important;padding:6px 8px!important;gap:7px!important}
.desk-hour-events .agenda-item time{font-size:11px;min-width:35px}
.desk-hour-events .agenda-item .agenda-copy strong{font-size:13px;line-height:1.4}
.desk-hour-events .agenda-item .agenda-copy small{font-size:10px}
.desk-hour-events .event-mark{width:3px!important;flex-basis:3px!important}
.desk-all-day{margin-bottom:14px;border-bottom:1px solid #dfe6d5;padding-bottom:10px}
.desk-all-day>small{display:block;color:#7b8a70;margin-bottom:6px;font-size:11px}
.desk-planner .family-weather .weather-current{gap:20px;margin:16px 0;padding:0}
.desk-planner .family-weather .weather-picture{color:#d1ad56}
.desk-planner .family-weather .weather-current strong{font:400 43px/1.2 Georgia,serif}
.desk-planner .family-weather .weather-source{font-size:11px}
.desk-planner .family-weather summary{font-size:12px;padding-top:10px}
.desk-planner .family-meal{display:flex;flex-direction:column;align-items:stretch}
.desk-planner .family-meal .food-today-heading{display:contents}
.desk-planner .family-meal .food-today-heading h2{order:0;margin:0 0 18px}
.desk-planner .family-meal .food-today-meals,.desk-planner .family-meal>.food-today{order:1}
.desk-planner .family-meal .food-shopping-link{order:2}
.desk-planner .family-meal .food-today{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.desk-planner .family-meal .food-today>img{display:block;width:100%;max-width:360px;height:170px;object-fit:cover;border:6px solid white;border-radius:1px;box-shadow:0 2px 8px #58644014}
.desk-planner .family-meal .food-today h3{font:400 24px/1.3 Georgia,serif;margin:4px 0 8px}
.desk-planner .family-meal .food-empty-icon{width:90px;height:90px;border-radius:2px}
.desk-planner .family-meal .food-today>div{margin:0}
.desk-planner .family-meal .food-shopping-link{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:9px;min-height:72px;margin:14px 0 18px;padding:20px 12px 12px;background:repeating-linear-gradient(transparent 0 26px,#dbe2c936 26px 27px),#fbfcef;border:1px solid #e6e9d4;border-radius:1px;box-shadow:1px 3px 7px #5864400b;transform:rotate(-.5deg)}
.desk-planner .family-meal .food-shopping-link::before{content:"Boodschappen";width:100%;font:400 20px/1.2 Georgia,serif;color:#61764e}
.desk-planner .family-meal .food-shopping-link svg{width:20px;height:20px}
.desk-planner .family-meal .food-shopping-link>span:last-child{margin-left:auto}
.desk-planner .diary-footer{display:none}
@media(max-width:1050px){
 body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) #main{padding:40px 26px 34px!important}
 .desk-planner{padding:36px 26px 26px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .desk-default-layout .family-grid{grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);gap:24px}
 .desk-default-layout .family-weather,.desk-default-layout .family-meal{padding-left:20px!important}
}
@media(max-width:720px){
 body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) #main{padding:36px 14px 24px 26px!important}
 .desk-planner{padding:30px 15px 20px;border-radius:8px}
 .desk-rings{top:-18px;height:32px;left:8%;right:8%}.desk-rings i{width:9px;height:32px}.desk-rings i:nth-child(even){display:none}
 body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner>.family-heading{gap:8px;align-items:flex-start}
 body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner>.family-heading h1{font-size:30px}
 .desk-planner .diary-date span{font-size:16px}.desk-planner .diary-date strong{font-size:22px}
 .desk-planner .diary-dayline{margin:14px 0 20px;padding-bottom:16px;gap:10px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner .diary-dayline .family-greeting{border:0;padding:0;width:100%;font-size:12px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .desk-default-layout .family-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .desk-default-layout .family-agenda,.desk-default-layout .family-weather,.desk-default-layout .family-meal{grid-column:1;grid-row:auto}
 .desk-default-layout .family-agenda{order:0}.desk-default-layout .family-weather{order:1}.desk-default-layout .family-meal{order:2}
 .desk-default-layout .family-weather,.desk-default-layout .family-meal{border-left:0!important;border-top:1px solid #e0e6d5!important;padding:20px 0 0!important}
 .desk-planner .family-agenda .section-top{flex-wrap:wrap;gap:10px}
 .desk-week-strip button{min-height:48px}.desk-week-strip button strong{font-size:17px}.desk-week-strip button span{font-size:10px}
 .desk-hour{grid-template-columns:43px minmax(0,1fr)}.desk-hour-events{padding-left:6px}
 .desk-hour-events .agenda-item{display:flex!important;flex-wrap:wrap}.desk-hour-events .agenda-item>.agenda-copy{flex:1;min-width:100px}
}


/* living-home.css */
/* Het levende huis: eerste uitvoering, uitsluitend de startpagina. */
body:is([data-route="welcome"],[data-route="dashboard"]){--bg:#faf8f2;--surface:#fffefa;--navy:#263b33;--muted:#777e73;--line:#e8e7dc;--teal:#5f806b;background:#faf8f2;color:#263b33;font-family:Arial,'Segoe UI',sans-serif}
body:is([data-route="welcome"],[data-route="dashboard"]) .workspace{margin-left:216px!important;width:calc(100% - 216px)!important;background:#faf8f2!important;min-height:100dvh}
body:is([data-route="welcome"],[data-route="dashboard"]) .workspace::before{display:none!important}
body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) #main{padding:30px 30px 40px!important;max-width:1680px;margin:auto}
body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) aside{display:flex;position:fixed;inset:0 auto 0 0;width:216px;height:100dvh;padding:26px 16px;background:linear-gradient(160deg,#f9f7ef,#f1f3e8);color:#293d33;border-right:1px solid #e5e7dc;transform:none;box-shadow:none;flex-direction:column;align-items:stretch;gap:0;z-index:110}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .brand{font:700 17px/1.35 Arial,sans-serif;gap:10px;flex-shrink:0;color:#293d33}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .brand small{display:block;font:400 11px/1.5 Arial,sans-serif;color:#7a8175;margin-top:3px}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .brand-icon{background:#b85e3c;color:#fff9ef;border:0;width:32px;height:36px;border-radius:8px;font-size:27px}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .nav-label{height:auto;margin:28px 10px 12px;font-size:9px;letter-spacing:1.6px;color:#87907e;flex-shrink:0}
body:is([data-route="welcome"],[data-route="dashboard"]) aside #nav{display:flex!important;flex-direction:column;gap:5px;flex:1;margin:0;overflow-y:auto;min-height:0}
body:is([data-route="welcome"],[data-route="dashboard"]) aside #nav a{display:flex;flex-direction:row;gap:12px;align-items:center;padding:11px 12px;border:0;border-radius:9px;margin:0;color:#35473a;font:400 13px/1.4 Arial,sans-serif;min-height:44px;flex-shrink:0;white-space:normal}
body:is([data-route="welcome"],[data-route="dashboard"]) aside #nav a.active{background:#dce5d3;color:#274b38;font-weight:600;box-shadow:none}
body:is([data-route="welcome"],[data-route="dashboard"]) aside #nav a:hover{background:#e7eddf}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .family-icon{width:21px;height:21px}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .sidebar-bottom{display:block;border-top:1px solid #e0e5d7;margin-top:16px;padding-top:15px;flex-shrink:0}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .profile-switch{color:#35473a;font-size:12px}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .profile-switch small{color:#7d8677}
body:is([data-route="welcome"],[data-route="dashboard"]) aside .family-avatar{width:36px;height:36px;flex-basis:36px;background:#779373;color:#fff}
.living-profile-link{display:inline-block;margin:8px 0 0 48px;font-size:12px;color:#647d60}
body:is([data-route="welcome"],[data-route="dashboard"]) .music-menu-tab,body:is([data-route="welcome"],[data-route="dashboard"]) .music-menu-backdrop{display:none!important}
.living-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;height:auto;padding:0;background:none;border:0}
.living-header .living-kicker{font-size:9px;letter-spacing:2px;color:#9a7b68;text-transform:uppercase;margin:0 0 9px}
.living-header h1{font:700 clamp(26px,2.3vw,36px)/1.2 Arial,sans-serif;letter-spacing:-1px;margin:0 0 9px;color:#273b32}
.living-header p{font-size:13px;color:#7c8376;margin:0;line-height:1.6}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-button{background:#fffefa;color:#6d8166;border:1px solid #e5e8dc;border-radius:11px;box-shadow:0 2px 5px #38473305;width:44px;height:44px;min-width:44px}
.living-main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:24px;align-items:start}
.living-house{min-width:0;position:relative}
.living-scene{margin:0;position:relative;background:radial-gradient(ellipse at 50% 68%,#e9e9d960,transparent 68%);min-width:0}
.living-scene img{display:block;width:100%;height:510px;object-fit:contain}
.living-scene figcaption{text-align:center;color:#8b8e80;font-size:10px;line-height:1.6;padding:0 12px;margin-top:6px}
.living-house-actions{display:flex;gap:12px;margin-top:20px}
.living-house-actions a{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-decoration:none;padding:16px;background:#e8eee0;border:1px solid #e0e6d8;border-radius:12px;color:#39553f;font-size:13px;min-height:56px}
.living-house-actions a:last-child{background:#f3f3e9}
.living-house-actions a>span{flex:1}
.living-house-actions .family-icon{width:22px;height:22px;flex-shrink:0}
.living-day{border:1px solid #e9e8de;border-radius:18px;padding:22px;background:#fffefa;min-width:0;box-shadow:0 4px 18px #38473304}
.living-day>h2{font:600 23px/1.3 Arial,sans-serif;color:#304936;margin:0 0 20px}
body:is([data-route="welcome"],[data-route="dashboard"]) .living-home .family-tile{min-width:0;margin:0;padding:18px;border:1px solid #e9e9df;border-radius:14px;background:#fffefa;box-shadow:0 3px 14px #38473304;color:#354735;min-height:0}
body:is([data-route="welcome"],[data-route="dashboard"]) .living-day .family-tile{border:0;border-top:1px solid #ebede3;border-radius:0;padding:18px 0;box-shadow:none;background:none;display:block}
body:is([data-route="welcome"],[data-route="dashboard"]) .living-home h2{font:600 18px/1.35 Arial,sans-serif;letter-spacing:-.3px;color:#304936}
body:is([data-route="welcome"],[data-route="dashboard"]) .living-home h3{font:500 16px/1.4 Arial,sans-serif;color:#394f3b}
body:is([data-route="welcome"],[data-route="dashboard"]) .living-home .caption{font-size:11px;color:#818979}
body:is([data-route="welcome"],[data-route="dashboard"]) .living-home .section-top{gap:10px;align-items:center;margin-bottom:12px;flex-wrap:wrap}
body:is([data-route="welcome"],[data-route="dashboard"]) .living-home .section-top h2{margin:0}
.living-overviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}
.living-overviews .family-wide{grid-column:span 2}
.living-home .living-empty{font-size:13px;line-height:1.7;color:#7d8676;margin:0}
/* Laad dezelfde agenda; compacte samenvatting toont alle echte afspraken. */
.living-home .desk-hour:not(:has(.agenda-item)){display:none}
.living-home .desk-hour{grid-template-columns:45px minmax(0,1fr);border:0;min-height:0;margin-bottom:8px}
.living-home .desk-hour>time{border:0;font:400 11px/1.5 Arial,sans-serif;padding:9px 0;color:#829079}
.living-home .desk-hour-events{padding-left:0}
.living-home .desk-hour-events .agenda-item{background:#eef3e7!important;border-radius:8px!important;padding:10px!important;border-left-color:#83a078!important}
.living-home .desk-schedule:not(:has(.agenda-item))::before{content:"Geen afspraken voor deze dag.";display:block;padding:12px 0;color:#7d8676;font-size:12px}
.living-home .dashboard-agenda-days{max-height:280px;overflow-y:auto;overscroll-behavior:contain;padding-right:3px}
.living-home .dashboard-agenda-actions .btn{padding:5px 8px;font-size:11px;min-width:36px;min-height:36px}
.living-home .dashboard-agenda-nav{padding:4px;margin:8px 0;background:#f3f6ed;border-color:#e4e9db}
.living-home .dashboard-agenda-nav strong{font:400 12px/1.4 Arial,sans-serif}
.living-home .desk-week-strip{margin:10px 0;border-color:#e5ebdc}
.living-home .desk-week-strip button{min-height:42px;padding:4px 0;font-size:11px}
.living-home .desk-week-strip button strong{font:500 13px/1.4 Arial,sans-serif}
.living-home .desk-week-strip button span{font-size:9px}
.living-home .family-agenda .section-bottom{margin-top:12px;padding-top:10px;font-size:11px}
.living-home .family-meal .food-today-heading{display:block;margin-bottom:12px}
.living-home .family-meal .food-shopping-link{font-size:11px;min-height:40px;padding:8px 10px;background:#f3f5ed;border-color:#e4e8db;margin-top:12px;border-radius:9px}
.living-home .family-meal .food-today{display:flex;gap:12px;align-items:center}
.living-home .family-meal .food-today>img{width:94px;height:92px;object-fit:cover;border-radius:9px}
.living-home .family-meal .food-today h3{font-size:16px;margin:4px 0}
.living-home .family-meal .food-today p{font-size:12px;line-height:1.6}
.living-home .food-empty-icon{width:56px;height:64px;flex-basis:56px;font-size:30px;background:#f2f4e9;border-radius:10px}
.living-home .food-empty-icon svg{width:35px;height:35px}
.living-home .family-tasks>p{font-size:13px;padding:9px 0;border-bottom:1px solid #edf0e6}
.living-home .family-tile a{font-size:12px;color:#5d7a57}
body:is([data-route="welcome"],[data-route="dashboard"]) .btn{font:500 13px/1.4 Arial,sans-serif;border-radius:10px;border-color:#e1e6d9;background:#fffefa;color:#4e6a49;box-shadow:none;min-height:44px}
body:is([data-route="welcome"],[data-route="dashboard"]) .btn.primary{background:#b7603e;border-color:#b7603e;color:#fffefa}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel .panel-top h2{font:600 28px/1.3 Arial,sans-serif;color:#304936}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel h3{font:500 19px/1.4 Arial,sans-serif}
body:is([data-route="welcome"],[data-route="dashboard"]) .homepage-settings-panel{font-family:Arial,sans-serif}
body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner{background:#fffefa;box-shadow:none;border-color:#e1e7d8}
body:is([data-route="welcome"],[data-route="dashboard"]) .desk-planner .desk-rings{display:none}
@media(max-width:1100px){
 body:is([data-route="welcome"],[data-route="dashboard"]) .workspace{margin-left:190px!important;width:calc(100% - 190px)!important}
 body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) aside{width:190px;padding:24px 10px}
 body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) #main{padding:24px 20px 32px!important}
 .living-main{grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:18px}
 .living-scene img{height:400px}.living-house-actions{flex-direction:column}.living-day{padding:18px}
 .living-overviews{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:780px){
 body:is([data-route="welcome"],[data-route="dashboard"]) .workspace{margin:0!important;width:100%!important}
 body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) aside{display:none!important}
 body:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) #main{padding:22px 16px 100px!important}
 .living-header{margin-bottom:12px;gap:12px}.living-header .living-kicker{font-size:8px}.living-header h1{font-size:27px;letter-spacing:-.7px}.living-header p{font-size:12px}
 .living-main{grid-template-columns:minmax(0,1fr);gap:24px}.living-scene img{height:310px;max-height:42vh}
 .living-scene figcaption{font-size:9px}.living-house-actions{flex-direction:row;margin-top:14px;gap:10px}.living-house-actions a{padding:12px 10px;font-size:12px;gap:7px}
 .living-house-actions .family-icon{width:18px;height:18px}.living-day{padding:18px;border-radius:14px}.living-day>h2{font-size:22px;margin-bottom:12px}
 .living-overviews{grid-template-columns:minmax(0,1fr);gap:14px}.living-overviews .family-wide{grid-column:auto}
 body:is([data-route="welcome"],[data-route="dashboard"]) .mobile-dock{display:flex!important;position:fixed;left:0;right:0;bottom:0;z-index:115;background:#fffdf7f5;backdrop-filter:blur(10px);border-top:1px solid #e7e9dd;justify-content:space-around;padding:8px 5px calc(8px + env(safe-area-inset-bottom))}
 body:is([data-route="welcome"],[data-route="dashboard"]) .mobile-dock a{font:400 10px/1.4 Arial,sans-serif;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:44px;min-height:48px;justify-content:center;color:#60745c;padding:4px 9px;border-radius:10px}
 body:is([data-route="welcome"],[data-route="dashboard"]) .mobile-dock a[aria-current="page"]{color:#b55e3c;background:#f6eadf}
 body:is([data-route="welcome"],[data-route="dashboard"]) .mobile-dock a>span{font:inherit;line-height:1.4}
 body:is([data-route="welcome"],[data-route="dashboard"]) .mobile-dock .family-icon{width:22px;height:22px}
}

/* Startpagina: wegklappend zijmenu, inhoud gebruikt de volledige breedte. */
body:is([data-route="welcome"],[data-route="dashboard"]) .workspace{margin-left:0!important;width:100%!important}
@media(min-width:781px){
 body.household-menu-enabled:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) aside{display:flex!important;width:260px;max-width:calc(100vw - 40px);z-index:130;transform:translateX(-101%);transition:transform 250ms ease;box-shadow:6px 0 28px #354b3420}
 body.household-menu-enabled.music-menu-open:not(.family-locked):is([data-route="welcome"],[data-route="dashboard"]) aside{transform:translateX(0)}
 body.household-menu-enabled:is([data-route="welcome"],[data-route="dashboard"]) .music-menu-tab{display:block!important;left:0;top:40%;z-index:132;background:#edf1e6;border-color:#d8e1ce;color:#536d4d}
 body.household-menu-enabled.music-menu-open:is([data-route="welcome"],[data-route="dashboard"]) .music-menu-tab{left:260px}
 body.household-menu-enabled.music-menu-open:is([data-route="welcome"],[data-route="dashboard"]) .music-menu-backdrop{display:block!important;z-index:129;background:#40533b24}
}
@media(prefers-reduced-motion:reduce){body.household-menu-enabled:is([data-route="welcome"],[data-route="dashboard"]) aside{transition:none!important}}


.living-day .family-tile:first-of-type{border-top:0!important;padding-top:0!important}
.living-home .living-agenda-title{font:inherit;color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:8px;min-height:44px}
.living-home .living-agenda-title:hover{text-decoration:underline;text-underline-offset:5px}
.living-home .living-agenda-title::after{content:"›";font-size:18px;color:#91a085}
.living-home .home-agenda-events{display:grid;gap:8px;max-height:320px;overflow-y:auto;overscroll-behavior:contain}
.living-home .home-agenda-events .agenda-item{margin:0;background:#eff4e9;border:1px solid #e0e8d7;border-radius:9px;padding:12px;min-height:48px}
.living-home .home-agenda-updated{display:block;font-size:10px;color:#929b87;margin-top:12px}
.living-home .family-weather .weather-current{margin:12px 0;gap:20px}
.living-home .family-weather .weather-current strong{font-size:36px}
.living-home .family-weather .weather-source{font-size:10px}


/* Korte, volledig aanklikbare samenvattingen op de startpagina. */
.home-quick-card{display:flex!important;align-items:center;gap:14px;padding:17px 15px;min-height:84px;text-decoration:none!important;background:#fffdf8;border:1px solid #e9e7dc;border-radius:13px;color:#314637;box-shadow:0 2px 8px #38473303;transition:background .15s,border-color .15s}
.home-quick-card:hover{background:#f5f7ee;border-color:#d4dfc8}
.home-quick-card:focus-visible{outline:3px solid #9caf89;outline-offset:3px}
.home-quick-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;background:#eaf0e3;color:#55734f;border-radius:50%}
.home-quick-icon svg{width:23px;height:23px}
.home-quick-meal .home-quick-icon,.home-quick-shopping .home-quick-icon,.home-quick-tasks .home-quick-icon{background:#f8ebdf;color:#b8653e}
.home-quick-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.home-quick-copy strong{font:600 14px/1.4 Arial,sans-serif;color:#324b37}
.home-quick-copy>span{font:400 13px/1.5 Arial,sans-serif;color:#5d6c58;overflow-wrap:anywhere}
.home-quick-copy small{font:400 11px/1.5 Arial,sans-serif;color:#8a927e;overflow-wrap:anywhere}
.home-quick-arrow{flex-shrink:0;color:#8b9a7d;font-size:20px}
body:is([data-route="welcome"],[data-route="dashboard"]) .living-home .family-tile:not(.family-weather){border:0;padding:0;box-shadow:none;background:none;margin:0 0 12px;border-radius:0}
.living-day .family-weather{margin-bottom:18px!important;padding-bottom:18px!important;border-bottom:1px solid #e8ecdf!important}
.living-day{padding-bottom:12px}
.living-house-actions>.living-music-action{flex:1;min-width:0}
.living-house-actions .home-quick-card{margin:0;min-height:64px;height:100%;padding:13px;background:#f3f3e9;gap:10px;font-size:13px}
.living-house-actions .home-quick-card .home-quick-icon{width:32px;height:32px;flex:0 0 32px;background:#e6ebdc}
.living-house-actions .home-quick-card>.home-quick-arrow,.living-house-actions>a>span:last-child{flex:0 0 auto}
.living-overviews .home-quick-card{height:100%;min-height:112px;padding:18px}
.living-overviews .family-tile{margin-bottom:0!important}
@media(max-width:780px){.home-quick-card{padding:14px 12px;gap:12px;min-height:78px}.home-quick-copy strong{font-size:13px}.home-quick-copy>span{font-size:12px}.living-house-actions{flex-wrap:wrap}.living-house-actions>a,.living-house-actions>.living-music-action{flex:1 1 145px}.living-house-actions .home-quick-card{min-height:70px}.living-overviews .home-quick-card{min-height:96px}}


/* Moderne beeldtegels volgens de ontwerpbrief Het levende huis. */
.home-quick-card{display:grid!important;grid-template-columns:94px minmax(0,1fr) 16px;align-items:center;gap:16px;padding:14px 16px;min-height:122px;border:1px solid #e8e7de;border-radius:18px;background:linear-gradient(130deg,#fffefa,#fbfbf5);box-shadow:0 5px 20px #24352e05;transition:background .18s,border-color .18s,box-shadow .18s}
.home-quick-card:hover{background:#fffefa;border-color:#c8d5bc;box-shadow:0 7px 24px #24352e0c}
.home-quick-visual,.home-weather-visual{display:block;width:94px;height:94px;flex:0 0 94px;background-image:url('assets/living-tile-pictures.webp?v=20261026');background-repeat:no-repeat;background-size:360% 360%;pointer-events:none}
.home-quick-agenda .home-quick-visual{background-position:4% 4%}
.home-quick-tasks .home-quick-visual{background-position:50% 4%}
.home-quick-meal .home-quick-visual{background-position:96% 4%}
.home-quick-shopping .home-quick-visual{background-position:4% 48%}
.home-quick-energy .home-quick-visual{background-position:50% 48%}
.home-quick-finance .home-quick-visual{background-position:96% 48%}
.home-quick-music .home-quick-visual{background-size:270% 270%;background-position:0 100%}
.home-quick-lights .home-quick-visual{background-position:52% 89%}
.home-quick-card,.home-quick-copy,.home-quick-copy>span,.home-quick-copy>small{white-space:normal;min-width:0}
.living-house-actions{overflow:visible}
.home-quick-copy{gap:6px}
.home-quick-copy strong{font:600 16px/1.3 'Segoe UI',Arial,sans-serif;letter-spacing:-.25px;color:#24352e}
.home-quick-copy>span{font:400 13px/1.55 'Segoe UI',Arial,sans-serif;color:#646a62}
.home-quick-copy small{font:400 11px/1.5 'Segoe UI',Arial,sans-serif;color:#788171}
.home-quick-arrow{color:#889c79;font-size:24px;justify-self:end}
.living-house-actions>.living-shortcut{flex:1;min-width:0}
.living-house-actions .home-quick-card{display:grid!important;grid-template-columns:80px minmax(0,1fr) 12px;gap:10px;padding:12px;min-height:110px;background:#fffdf7;border-color:#e4e8db;border-radius:16px}
.living-house-actions .home-quick-card>.home-quick-visual{width:80px;height:80px;flex:0 0 80px}
.living-house-actions .home-quick-card .home-quick-copy strong{font-size:14px}
.living-house-actions .home-quick-card>.home-quick-arrow{flex:0 0 auto;font-size:20px}
.living-overviews .home-quick-card{grid-template-columns:88px minmax(0,1fr) 14px;padding:15px;min-height:125px;height:100%}
.living-overviews .home-quick-visual{width:88px;height:88px}
.living-day .family-weather{position:relative}
.living-day .home-weather-visual{position:absolute;right:0;top:35px;background-position:96% 89%;width:100px;height:100px}
.living-day .family-weather .weather-current{padding-right:100px}
.living-day .family-weather .weather-current .weather-picture{width:45px;height:45px;flex-shrink:0;font-size:40px}
.living-day .family-weather .weather-current{gap:12px}
.living-day .family-weather .weather-current strong{font-size:32px}
@media(max-width:1100px){.living-house-actions{flex-wrap:wrap}.living-house-actions>.living-shortcut{flex:1 1 230px}.home-quick-card{grid-template-columns:82px minmax(0,1fr) 14px;gap:12px}.home-quick-visual{width:82px;height:82px}}
@media(max-width:780px){.home-quick-card{min-height:108px;padding:12px;border-radius:15px;grid-template-columns:80px minmax(0,1fr) 12px;gap:12px}.home-quick-visual{width:80px;height:80px}.home-quick-copy strong{font-size:15px}.home-quick-copy>span{font-size:12px}.living-house-actions>.living-shortcut{flex:1 1 230px}.living-overviews .home-quick-card{min-height:112px;grid-template-columns:80px minmax(0,1fr) 12px;padding:12px}.living-overviews .home-quick-visual{width:80px;height:80px}.living-day .home-weather-visual{width:86px;height:86px;top:42px}.living-day .family-weather .weather-current{padding-right:86px}}
@media(prefers-reduced-motion:reduce){.home-quick-card{transition:none}}


.weather-3d-icon{display:block;width:72px;height:72px;flex:0 0 72px;background-image:url('assets/weather-3d-symbols.png?v=20261026');background-repeat:no-repeat;background-size:300% 300%;pointer-events:none}
.wx-sun{background-position:0 0}.wx-partly{background-position:50% 0}.wx-cloud,.wx-unknown{background-position:100% 0}.wx-rain{background-position:0 50%}.wx-snow{background-position:50% 50%}.wx-storm{background-position:100% 50%}.wx-fog{background-position:0 100%}.wx-night{background-position:50% 100%}.wx-night-cloud{background-position:100% 100%}.wx-unknown{opacity:.45}
.home-quick-weather .weather-3d-icon{width:94px;height:94px;background-size:300% 300%;background-image:url('assets/weather-3d-symbols.png?v=20261026')}
body:is([data-route="welcome"],[data-route="dashboard"]) .living-home .family-weather{position:relative;margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
body[data-route="weather"]{background:#faf8f2;color:#24352e;font-family:'Segoe UI',Arial,sans-serif}
body[data-route="weather"] .workspace{background:transparent!important;margin-left:0!important;width:100%!important}
body[data-route="weather"] .workspace::before{display:none!important}
body:not(.family-locked)[data-route="weather"] #main{max-width:1280px;padding:30px 42px 50px!important;margin:auto}
.weather-page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;height:auto;background:none;border:0;padding:0;margin-bottom:24px}
.weather-page-header h1{font:650 32px/1.2 'Segoe UI',Arial,sans-serif;letter-spacing:-.7px;color:#24352e;margin:12px 0 8px}
.weather-page-header p{font-size:14px;color:#76806e;margin:0}
.weather-back{font-size:13px;color:#607956;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.weather-page .btn{background:#fffdf7;border:1px solid #dfe5d5;border-radius:10px;color:#526d48;min-height:44px;padding:10px 16px}
.weather-full,.weather-hours{background:#fffdf8;border:1px solid #e5e7db;border-radius:18px;padding:28px;min-width:0;box-shadow:0 4px 20px #38473304}
.weather-page .weather-current{display:flex;align-items:center;gap:28px;margin:0 0 26px}
.weather-page .weather-current .weather-3d-icon{width:112px;height:112px;flex-basis:112px}
.weather-page .weather-current>div{display:flex;flex-direction:column;gap:6px;color:#68795d}
.weather-page .weather-current strong{font:500 44px/1.2 'Segoe UI',Arial,sans-serif;color:#304936}
.weather-page .weather-current strong small{font-size:22px}
.weather-page h2,.weather-page h3{font-family:'Segoe UI',Arial,sans-serif;color:#304936}
.weather-page .weather-today{border-top:1px solid #e6eadd;padding-top:22px}
.weather-page .weather-dayparts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 28px}
.weather-page .weather-dayparts>div{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px;background:#f5f7ef;border:1px solid #e5eadc;border-radius:12px;color:#5b7053}
.weather-page .weather-dayparts strong{font-size:23px}.weather-page .weather-dayparts small{font-size:11px;color:#85917b}
.weather-page .weather-dayparts .weather-3d-icon{width:72px;height:72px;flex-basis:72px}
.weather-page .weather-week{display:block!important;overflow-x:auto;padding-top:18px;border-top:1px solid #e6eadd}
.weather-page .weather-week-row{display:grid;grid-template-columns:repeat(7,minmax(106px,1fr));gap:12px;padding:8px 0 16px}
.weather-page .weather-week-row>div{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px;background:#f7f8f2;border-radius:10px;font-size:13px;color:#69805e}
.weather-page .weather-week-row .weather-3d-icon{width:64px;height:64px;flex-basis:64px}
.weather-page .weather-week-row strong{font-size:20px;color:#304936}.weather-page .weather-week-row small{color:#829179}
.weather-page .weather-source{display:block!important;border-top:1px solid #e6eadd;padding-top:18px;margin-top:15px;font-size:12px;color:#7e8974;line-height:1.7}
.weather-page .weather-source a{color:#5c7951}
.weather-hours{margin-top:22px}
.weather-hours h2{font-size:21px;margin:0 0 18px}
.weather-hours-row{display:grid;grid-template-columns:repeat(12,minmax(110px,1fr));gap:10px;overflow-x:auto;padding-bottom:12px}
.weather-hours-row>div{display:flex;flex-direction:column;align-items:center;gap:10px;background:#f4f7ed;border-radius:11px;padding:16px 8px;color:#607553}
.weather-hours-row .weather-3d-icon{width:64px;height:64px;flex-basis:64px}.weather-hours-row time{font-size:12px}.weather-hours-row strong{font-size:21px}.weather-hours-row small{font-size:11px;text-align:center;line-height:1.5}
@media(max-width:780px){.home-quick-weather .weather-3d-icon{width:80px;height:80px}body:not(.family-locked)[data-route="weather"] #main{padding:18px 16px 34px 26px!important}.weather-page-header{gap:12px;align-items:flex-start;flex-wrap:wrap}.weather-page-header h1{font-size:27px}.weather-page-header p{font-size:12px}.weather-full,.weather-hours{padding:18px;border-radius:14px}.weather-page .weather-current{gap:16px}.weather-page .weather-current .weather-3d-icon{width:88px;height:88px;flex-basis:88px}.weather-page .weather-current strong{font-size:35px}.weather-page .weather-dayparts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.weather-page .weather-dayparts>div{padding:14px 8px}.weather-page .weather-week-row{grid-template-columns:repeat(7,100px)}.weather-hours-row{grid-template-columns:repeat(12,105px)}}


/* Vaste rustige uitlijning van het volledige thuisoverzicht. */
.living-main{align-items:stretch}
.living-house{display:flex;flex-direction:column;min-width:0}
.living-scene{flex:1;display:flex;flex-direction:column;justify-content:center}
.living-house-actions{margin-top:20px;align-items:stretch}
.living-house-actions>.living-shortcut{display:flex;min-width:0}
.living-house-actions>.living-shortcut>[data-home-quick]{width:100%;height:100%}
.living-house-actions .home-quick-card{height:100%}
.living-day{display:grid;grid-auto-rows:minmax(116px,1fr);gap:12px;padding:20px;align-content:stretch}
body:is([data-route="welcome"],[data-route="dashboard"]) .living-day>.family-tile{padding:0!important;margin:0!important;border:0!important;min-width:0;background:none;box-shadow:none}
.living-day>.family-tile>[data-today-weather],.living-day>.family-tile>[data-outlook-tile],.living-day>.family-tile>[data-home-quick]{height:100%}
.living-day .home-quick-card{height:100%;min-height:116px}
.living-overviews{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:18px}
.living-overviews>.family-wide{grid-column:auto}
.living-overviews>.family-tile,.living-overviews>[data-home-quick]{min-width:0;display:flex;margin:0}
.living-overviews>.family-tile>[data-home-quick]{width:100%}
.living-overviews .home-quick-card{width:100%;height:100%;min-height:126px}
@media(max-width:1100px){.living-overviews{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.living-overviews .home-quick-card{grid-template-columns:64px minmax(0,1fr) 12px;gap:10px;padding:12px}.living-overviews .home-quick-visual{width:64px;height:64px}.living-overviews .home-quick-copy strong{font-size:14px}}
@media(max-width:780px){.living-main{gap:20px}.living-scene{flex:none}.living-day{padding:16px;gap:12px;grid-auto-rows:minmax(108px,auto)}.living-day .home-quick-card{min-height:108px}.living-overviews{grid-template-columns:minmax(0,1fr);gap:12px}.living-overviews .home-quick-card{grid-template-columns:80px minmax(0,1fr) 12px;min-height:112px;gap:12px}.living-overviews .home-quick-visual{width:80px;height:80px}}

/* Een kolom voorkomt dat brede profieltegels een extra rasterkolom maken. */
.living-day{grid-template-columns:minmax(0,1fr)!important}
.living-day>.family-tile{grid-column:1!important;grid-row:auto!important;width:100%!important}
.living-day .home-quick-copy{overflow-wrap:normal;word-break:normal}
.living-scene{flex:none}

/* De volledige vierkante afbeelding en de klikvlakken delen exact hetzelfde vlak. */
.living-house-map{position:relative;width:100%;max-width:min(680px,calc(100svh - 210px));margin:0 auto;aspect-ratio:1}
.living-scene .living-house-map>img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;border-radius:18px}
.house-room-map{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.house-room-map a{cursor:pointer;outline:none}
.house-room-map polygon{fill:transparent;stroke:transparent;stroke-width:.5;transition:fill .15s,stroke .15s}
.house-room-map a:hover polygon,.house-room-map a:focus polygon{fill:#e7b86430;stroke:#58794e}
.house-room-map rect{fill:#fffdf4ed;stroke:#d8dfd1;stroke-width:.15}
.house-room-map text{fill:#304936;font:600 2.1px 'Segoe UI',sans-serif;pointer-events:none}
.house-room-map a:focus rect{stroke:#315e3c;stroke-width:.5}
.house-enlarge{font:inherit;color:#4e6a49;background:none;border:0;text-decoration:underline;padding:10px;cursor:pointer;min-height:44px}
.house-full-image{display:block;width:100%;height:auto;object-fit:contain}
.house-room-controls .smart-lights{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}
.house-room-controls .smart-light{min-width:0;position:relative}
.house-room-controls .smart-light-toggle{min-height:150px;width:100%}
@media(max-width:780px){.living-house-map{max-width:100%}.house-room-map text{font-size:2.4px}.house-room-controls .smart-lights{grid-template-columns:repeat(2,minmax(0,1fr))}}

dialog#panel:has(.house-room-controls),dialog#panel:has(.house-full-image){position:fixed;inset:0;margin:auto;width:min(760px,calc(100vw - 28px));height:fit-content;max-height:calc(100dvh - 28px);padding:22px;border:1px solid #d8e0d7;border-radius:18px;background:#fffdf6;overflow:auto;transform:none}
dialog#panel:has(.house-full-image){width:min(1000px,calc(100vw - 24px))}
.house-full-image{max-height:calc(100dvh - 135px)}

.house-room-map .house-lamp-target circle{fill:transparent;stroke:transparent;stroke-width:.5}
.house-room-map .house-lamp-target:focus circle{stroke:#b37e29;fill:#f4cf7c30}
.house-room-map a:hover polygon{fill:transparent;stroke:transparent}

/* Elke samenvatting is dezelfde zelfstandige tegel. */
.living-main{align-items:start}
.living-day{padding:0!important;border:0!important;border-radius:0;background:none!important;box-shadow:none!important;gap:16px;grid-auto-rows:auto;align-content:start}
.living-house-actions,.living-overviews{gap:16px;align-items:stretch}
.living-home .home-quick-card,.living-home .living-house-actions .home-quick-card,.living-overviews .home-quick-card,.living-day .home-quick-card{display:grid!important;grid-template-columns:80px minmax(0,1fr) 14px;gap:14px;padding:16px;min-height:132px;height:100%;border:1px solid #e5e6dc;border-radius:18px;background:#fffdf7;box-shadow:0 4px 16px #24352e05;text-decoration:none}
.living-home .home-quick-card:hover{background:#fffefa;border-color:#bdcdb2;box-shadow:0 6px 20px #24352e0a}
.living-home .home-quick-card .home-quick-visual,.living-home .home-quick-card .weather-3d-icon{width:80px;height:80px;flex:0 0 80px}
.living-home .home-quick-card .home-quick-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.living-home .home-quick-card .home-quick-copy strong{font:600 16px/1.3 'Segoe UI',Arial,sans-serif;color:#24352e;letter-spacing:-.25px}
.living-home .home-quick-card .home-quick-copy>span{font:400 13px/1.5 'Segoe UI',Arial,sans-serif;color:#646a62}
.living-home .home-quick-card .home-quick-copy small{font:400 11px/1.5 'Segoe UI',Arial,sans-serif;color:#788171}
.living-home .home-quick-card>.home-quick-arrow{font-size:24px;flex:initial;justify-self:end;color:#889c79}
.living-house-actions{margin-top:16px}
.living-overviews{margin-top:16px}
@media(max-width:1100px){.living-home .home-quick-card{grid-template-columns:64px minmax(0,1fr) 12px;gap:12px;padding:14px}.living-home .home-quick-card .home-quick-visual,.living-home .home-quick-card .weather-3d-icon{width:64px;height:64px;flex-basis:64px}}
@media(max-width:780px){.living-home .home-quick-card{grid-template-columns:72px minmax(0,1fr) 12px;gap:12px;padding:14px;min-height:124px}.living-home .home-quick-card .home-quick-visual,.living-home .home-quick-card .weather-3d-icon{width:72px;height:72px;flex-basis:72px}.living-house-actions{flex-direction:column}.living-house-actions>.living-shortcut{flex:auto}.living-day{gap:16px}}

/* Camera shortcut uses the existing household tile layout. */
.home-quick-cameras .home-quick-visual{background:none;display:flex;align-items:center;justify-content:center}.home-quick-cameras .home-quick-visual svg{width:100%;height:100%}


/* living-agenda.css */
/* Het levende huis — uitsluitend de agenda en haar eigen detailvensters. */
body[data-route="agenda"]{--bg:var(--home-ivory,#faf8f2);--surface:#fffcf5;--navy:#24352e;--muted:#646a62;--line:#dedcd2;--teal:#426b53;background:var(--home-ivory,#faf8f2);color:#24352e;font-family:'Segoe UI',Arial,sans-serif}
body:not(.family-locked)[data-route="agenda"] .workspace{background:var(--home-ivory,#faf8f2)!important;min-height:100dvh}
body[data-route="agenda"] .workspace::before{display:none!important}
body:not(.family-locked)[data-route="agenda"] #main{max-width:1920px;padding:30px 32px 40px 48px!important;margin:auto}
body[data-route="agenda"] footer{display:none}
body[data-route="agenda"]>aside{background:#f4f4e9!important;color:#334d3b;border-right:1px solid #dedfd0}
body[data-route="agenda"]>aside .brand,body[data-route="agenda"]>aside #nav a,body[data-route="agenda"]>aside .profile-switch{color:#334d3b}
body[data-route="agenda"]>aside #nav a.active{background:#dce5d3;color:#264a36}
body[data-route="agenda"]>aside #nav a:hover{background:#e8ecdf}
body[data-route="agenda"]>aside .sidebar-bottom,body[data-route="agenda"]>aside .profile-switch small{color:#697862;border-color:#d9ddcf}
.living-calendar{font-family:'Segoe UI',Arial,sans-serif;min-width:0}
.living-calendar *{box-sizing:border-box}
.lh-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;height:auto;background:none;border:0;padding:0}
.lh-header p{color:#9b715b;font-size:10px;font-weight:600;letter-spacing:2.2px;margin:0 0 7px}
.lh-header h1{font:650 clamp(27px,2.5vw,38px)/1.15 'Segoe UI',Arial,sans-serif;color:#24352e;letter-spacing:-1px;margin:0 0 8px}
.lh-header>div>span{font-size:14px;color:#6c756b;line-height:1.5}
.living-calendar .btn{background:#fffcf5;color:#3f5948;border:1px solid #dddfd3;border-radius:10px;min-height:44px;font-size:13px;padding:9px 13px;box-shadow:0 2px 4px #38473304;cursor:pointer}
.living-calendar .btn:hover{background:#edf0e4;border-color:#aebca5}
.living-calendar .btn.primary,.living-calendar .lh-detail-actions .primary{background:#b7623d;color:#fffdf7;border-color:#b7623d}
.living-calendar .btn.primary:hover{background:#a85130}
.living-calendar .btn:disabled{opacity:.5;cursor:default}
.lh-header>.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0}
.lh-header svg,.lh-view-controls svg,.lh-filters svg,.lh-detail-row>svg{width:20px;height:20px;flex-shrink:0}
.lh-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fffcf5;padding:13px 16px;border:1px solid #e5e3d9;border-radius:15px;box-shadow:0 4px 16px #38473303}
.lh-period,.lh-view-controls{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
.lh-period>.btn{font-size:25px;line-height:1;padding:7px 13px}
.lh-date-picker{display:flex;align-items:center;gap:10px;margin:0;font-size:16px;font-weight:600;min-width:0;flex-wrap:wrap;color:#354c3d}
.lh-date-picker>span{line-height:1.5}
.lh-date-picker input{width:135px;min-height:36px;border:1px solid #e5e4d9;border-radius:6px;color:#5f725c;background:#f9f8ef;padding:5px;font:12px 'Segoe UI',Arial,sans-serif}
.lh-view-controls [aria-pressed=true]{background:#dce7d6;border-color:#aabda0;color:#33533c;font-weight:600}
.lh-view-controls .btn:nth-child(1){margin-right:4px}
.lh-view-controls .btn:has(svg){display:grid;place-items:center;padding:9px;min-width:44px}
.lh-filters{margin:14px 0 17px;border:1px solid #e4e4d8;border-radius:12px;background:#faf9f0;padding:0 13px}
.lh-filters>summary{display:flex;align-items:center;gap:8px;min-height:44px;color:#58704f;font-size:12px;cursor:pointer;list-style:none}
.lh-filters>summary::after{content:'⌄';margin-left:auto;font-size:18px}
.lh-filters[open]>summary::after{content:'⌃'}
.lh-filters>summary>span{display:grid;place-items:center;background:#e4ebdb;border-radius:20px;min-width:22px;height:22px;font-size:11px}
.lh-filters .person-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:2px 0 13px}
.lh-filters .person-filter{font:12px 'Segoe UI',Arial,sans-serif;background:#fffdf5;border:1px solid #dedfd3;border-radius:8px;min-height:40px;display:flex;align-items:center;gap:7px;padding:7px 10px;margin:0}
.lh-filters .person-filter.is-on{box-shadow:inset 3px 0 var(--person-color)}
.lh-filters .person-filter input{accent-color:var(--person-color);width:18px;height:18px;min-height:18px;margin:0}
.lh-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px;align-items:start}
.lh-calendar-panel,.lh-day-panel{min-width:0;background:#fffcf5;border:1px solid #e4e1d5;border-radius:17px;box-shadow:0 4px 20px #37482c05;overflow:hidden}
.lh-calendar-panel>.notice,.lh-calendar-panel>p{margin:24px}
.lh-day-panel{padding:19px;position:sticky;top:18px}
.lh-day-panel-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.lh-day-panel h2{font:600 18px/1.4 'Segoe UI',Arial,sans-serif;margin:0;color:#304e3a}
.lh-today{font-size:10px;border-radius:14px;background:#e0e9d7;color:#4c6a42;padding:4px 8px;white-space:nowrap}
.lh-house{margin:10px 0 16px;text-align:center}
.lh-house img{width:100%;height:136px;object-fit:contain;display:block}
.lh-house img[hidden]{display:none}
.lh-house figcaption{font-size:10px;color:#8b8e80;margin:4px 0}
.lh-house.is-missing{padding:8px;border-bottom:1px solid #eeeadc}
.lh-muted{font-size:12px;color:#7d8578;line-height:1.65}
.lh-day-subtitle{font-size:13px;font-weight:600;margin:20px 0 12px;color:#61745b;border-top:1px solid #e7e6d9;padding-top:15px}
.lh-details{min-width:0}
.lh-detail-title{border-left:3px solid var(--event-color,#72917b);padding-left:11px;margin:0 0 16px}
.lh-detail-title>span{font-size:11px;color:#7c8377}
.lh-detail-title h3{font-size:20px;font-weight:600;line-height:1.35;margin:6px 0;color:#304d37;overflow-wrap:anywhere}
.lh-details dl{margin:0}
.lh-detail-row{display:flex;align-items:flex-start;gap:10px;margin:13px 0;font-size:12px;line-height:1.65}
.lh-detail-row>svg{width:17px;height:17px;color:#809476;margin-top:2px}
.lh-detail-row>div{min-width:0;flex:1;overflow-wrap:anywhere}
.lh-detail-row dt{color:#8a8d7e;font-size:10px;margin-bottom:2px}
.lh-detail-row dd{margin:0;color:#435541}
.lh-description{white-space:pre-wrap}
.lh-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.lh-detail-actions .btn{font-size:11px;min-height:40px;padding:8px 11px}
.lh-detail-actions .lh-delete{background:transparent;color:#a26049;border-color:#e3cdc0}
.lh-details .lh-detail-actions a{font-size:11px}
.lh-event{--event-color:#72917b;display:flex;flex-direction:column;gap:3px;align-items:flex-start;text-align:left;width:100%;min-width:0;max-width:100%;padding:9px 10px;background:color-mix(in srgb,var(--event-color) 12%,#fffcf5);border:1px solid color-mix(in srgb,var(--event-color) 25%,#fffcf5);border-left:4px solid var(--event-color);border-radius:7px;color:#334b3a;font-family:'Segoe UI',Arial,sans-serif;cursor:pointer;overflow:hidden;box-shadow:0 2px 3px #30452c04;white-space:normal}
.lh-event:hover{filter:brightness(.975);box-shadow:0 3px 8px #30452c15}
.lh-event.is-selected{outline:2px solid var(--event-color);outline-offset:1px}
.lh-event strong{display:block;font-size:12px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.lh-event small{display:block;font-size:10px;color:#677a61;overflow-wrap:anywhere;line-height:1.3}
.lh-event-clock{font-size:10px;line-height:1.4;color:#526b49}
.lh-next{font-size:9px;color:#617f52;font-weight:600}
.lh-week-scroll{overflow:auto;max-height:830px;scrollbar-width:thin;scrollbar-color:#bdc9ad #f7f5eb;overscroll-behavior:contain}
.lh-week-grid{display:grid;grid-template-columns:44px repeat(7,minmax(96px,1fr));min-width:716px;position:relative}
.lh-week-corner{display:grid;place-items:center;color:#9b9e8d;font-size:9px;background:#f6f5eb;position:sticky;top:0;z-index:3}
.lh-column-heading{background:#f8f6ed;border:0;border-left:1px solid #e5e5d9;border-bottom:1px solid #e2e4d6;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:16px 4px;color:#5e7055;cursor:pointer;position:sticky;top:0;z-index:3;min-height:72px;font-family:'Segoe UI',Arial,sans-serif}
.lh-column-heading span{font-size:11px}.lh-column-heading b{font-size:20px;font-weight:500}.lh-column-heading small{font-size:10px;color:#919680}
.lh-column-heading.is-today{background:#e5eddc;color:#3c653e;box-shadow:inset 0 -3px #7d9870}
.lh-column-heading.is-selected:not(.is-today){background:#eef2e4}
.lh-all-day-label{font-size:9px;color:#929a85;text-align:center;display:grid;place-items:center;padding:8px 1px;border-bottom:1px solid #e6e6d8}
.lh-all-day{border-left:1px solid #e7e6d9;border-bottom:1px solid #e7e6d9;padding:4px;min-height:32px;min-width:0}
.lh-all-day .lh-event{padding:5px;font-size:10px;margin-bottom:4px}.lh-all-day .lh-event-clock,.lh-all-day .lh-next{display:none}
.lh-all-day .lh-event strong{font-size:10px}
.lh-hour-labels{position:relative;background:#faf8ef;color:#8b9480;font-size:10px}
.lh-hour-labels time{position:absolute;left:3px;line-height:1;padding-top:5px}
.lh-time-column{position:relative;border-left:1px solid #e5e6d9;background:repeating-linear-gradient(to bottom,transparent 0 63px,#e5e7d9 63px 64px);min-width:0}
.lh-time-column.is-today,.lh-all-day.is-today{background-color:#f0f4e8}
.lh-time-card{position:absolute;min-width:0;padding-bottom:2px}
.lh-time-card .lh-event{height:100%;padding:5px 5px 4px;gap:1px;border-left-width:3px;border-radius:5px}
.lh-time-card .lh-event strong{font-size:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.2}
.lh-time-card .lh-event-clock{font-size:9px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.lh-time-card .lh-event small{font-size:9px;line-height:1.2}.lh-time-card .lh-next{display:none}
.lh-week-mobile{display:none}
.lh-day-list{display:grid;gap:12px;min-width:0}
.lh-day-row{display:grid;grid-template-columns:46px minmax(0,1fr);gap:10px;align-items:start;min-width:0}
.lh-day-row>time{font-size:11px;color:#89967d;padding-top:11px;line-height:1.4}
.lh-day-row .lh-event{min-height:70px}
.lh-day-panel .lh-day-row{grid-template-columns:37px minmax(0,1fr);gap:6px}
.lh-day-panel .lh-day-row>time{font-size:10px}
.lh-day-panel .lh-event{padding:7px}
.lh-day-panel .lh-event strong{font-size:11px}
.lh-day-panel .lh-event-clock{display:none}
.lh-day-panel>.btn{margin-top:16px;font-size:12px;width:100%}
.lh-empty{color:#929884;font-size:12px;padding:14px 4px;line-height:1.7;margin:0}
.lh-calendar-panel>.lh-day-list{padding:5px 22px 25px}
.lh-day-title{display:flex;align-items:center;gap:10px;padding:18px 22px}
.lh-day-title h2{font-size:19px;font-weight:600;margin:0;color:#3e583e}
.lh-day-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;padding:18px 20px 0}
.lh-day-strip .btn{display:flex;flex-direction:column;gap:4px;align-items:center;padding:8px 3px;font-size:11px;min-width:0}
.lh-day-strip b{font-size:17px;font-weight:600}.lh-day-strip [aria-pressed=true]{background:#4f7358;color:#fffdf5;border-color:#4f7358}
.lh-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));overflow:hidden;border-radius:15px}
.lh-month-name{text-align:center;font-size:11px;color:#849375;padding:13px 0;background:#f5f5e9;border-bottom:1px solid #e1e5d5}
.lh-month-cell{border-right:1px solid #e8e7d9;border-bottom:1px solid #e8e7d9;min-height:125px;padding:7px;min-width:0;cursor:pointer}
.lh-month-cell:nth-child(7n){border-right:0}
.lh-month-cell.is-today{background:#edf2e2;box-shadow:inset 0 3px #87a277}
.lh-month-cell.other-month{background:#f6f3e9;color:#a9ad99}
.lh-month-cell>.btn{min-height:32px;height:32px;min-width:32px;padding:3px;border:0;background:transparent;font-size:14px;box-shadow:none}
.lh-month-cell.is-today>.btn{background:#5f806b;color:white;border-radius:50%}
.lh-month-events{display:grid;gap:5px;margin-top:5px}
.lh-month-events .lh-event{padding:5px;border-left-width:3px;gap:2px}.lh-month-events .lh-event strong{font-size:10px}.lh-month-events .lh-event small{font-size:9px}.lh-month-events .lh-next{display:none}
.lh-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px;font-size:11px;color:#8a907e}
.lh-footer a{color:#627b55;padding:7px 0}
.living-calendar :focus-visible{outline:3px solid #be7c51;outline-offset:3px}
/* Alleen vensters die via de agenda zijn geopend krijgen deze vormgeving. */
body[data-route="agenda"] #panel:has(.paper-agenda-popup){background:#fffcf5;background-image:none;border:1px solid #dfdfd0;border-radius:20px;box-shadow:0 24px 85px #30402b44;padding:28px;scroll-padding-top:24px;scroll-padding-bottom:28px}
body[data-route="agenda"] #panel .paper-popup-binding{display:none}
body[data-route="agenda"] #panel:has(.paper-agenda-popup) .panel-top h2{font:600 24px/1.3 'Segoe UI',Arial,sans-serif;color:#304c36;letter-spacing:-.5px}
body[data-route="agenda"] #panel:has(.paper-agenda-popup) .panel-top{border-color:#e4e7d8}
body[data-route="agenda"] #panel:has(.paper-agenda-popup) .close{background:#edf1e3;border-color:#dbe2cf;color:#6c8060}
body[data-route="agenda"] #panel:has(.paper-agenda-popup) .calendar-day-detail{background:none}
body[data-route="agenda"] #panel:has(.paper-agenda-popup) input,body[data-route="agenda"] #panel:has(.paper-agenda-popup) select{border-radius:8px;border-color:#dce1d1;background:#fafbf3;font-family:'Segoe UI',Arial,sans-serif}
body[data-route="agenda"] #panel:has(.paper-agenda-popup) .btn{border-radius:9px;border-color:#dce1d1;font-family:'Segoe UI',Arial,sans-serif}
body[data-route="agenda"] #panel:has(.paper-agenda-popup) .btn.primary{background:#b7623d;border-color:#b7623d}
body[data-route="agenda"] #panel:has(.paper-agenda-popup) fieldset{background:#f4f5e9;border-color:#dce3d0;border-radius:11px}
body[data-route="agenda"] #panel:has(.paper-agenda-popup) legend{font:600 15px 'Segoe UI',Arial,sans-serif;color:#526b47}
@media(max-width:1150px){.lh-layout{grid-template-columns:minmax(0,1fr) 255px;gap:14px}.lh-day-panel{padding:15px}.lh-toolbar{padding:12px}.lh-date-picker{font-size:14px}.lh-date-picker input{width:125px}.lh-header>div>span{font-size:13px}}
@media(max-width:900px){.lh-layout{grid-template-columns:minmax(0,1fr)}.lh-day-panel{display:none}.lh-week-desktop{display:none}.lh-week-mobile{display:block;padding:18px}.lh-list-day{margin-bottom:22px;border-bottom:1px solid #e9e8db;padding-bottom:18px}.lh-list-day:last-child{margin-bottom:0;border:0}.lh-list-day>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;flex-wrap:wrap}.lh-list-day h2{font-size:15px;margin:0}.lh-list-day h2 .btn{border:0;box-shadow:none;background:transparent;padding:7px 0;color:#4f6b44}.lh-list-day>div:first-child>.btn{font-size:11px;padding:7px 10px}}
@media(max-width:720px){
 body:not(.family-locked)[data-route="agenda"] #main{padding:22px 14px 32px 24px!important}
 .lh-header{align-items:flex-start;gap:10px;margin-bottom:18px}.lh-header p{font-size:8px;letter-spacing:1.6px}.lh-header h1{font-size:28px;margin-bottom:6px}.lh-header>div>span{font-size:11px;max-width:200px;display:block}.lh-header>.btn{padding:9px;min-width:44px}.lh-header>.btn>span{max-width:70px;font-size:11px}
 .lh-toolbar{padding:10px;gap:12px}.lh-period{width:100%;flex-wrap:nowrap;justify-content:space-between}.lh-period>.btn{min-width:36px;padding:6px 10px}.lh-date-picker{justify-content:center;gap:5px;flex:1;font-size:12px;text-align:center}.lh-date-picker>span{width:100%;font-size:12px}.lh-date-picker input{font-size:11px;width:122px;min-height:32px}
 .lh-view-controls{gap:4px;width:100%;justify-content:space-between;flex-wrap:nowrap}.lh-view-controls .btn{font-size:11px;padding:7px 9px;min-width:0}.lh-view-controls .btn:has(svg){min-width:38px}
 .lh-filters{margin:10px 0 12px}.lh-filters .person-filters{gap:6px}.lh-filters .person-filter{font-size:11px;min-height:44px}
 .lh-calendar-panel{border-radius:14px}.lh-day-strip{padding:12px 10px 0;gap:4px}.lh-day-strip .btn{padding:7px 2px;min-height:54px}.lh-day-strip b{font-size:15px}.lh-day-title{padding:18px 12px 13px}.lh-day-title h2{font-size:16px}.lh-calendar-panel>.lh-day-list{padding:0 12px 18px}.lh-day-row{grid-template-columns:39px minmax(0,1fr);gap:7px}.lh-event strong{font-size:13px}.lh-event{padding:10px}.lh-event small{font-size:11px}.lh-week-mobile{padding:12px}
 .lh-month-cell{min-height:70px;padding:3px}.lh-month-cell>.btn{width:100%;min-width:0;min-height:35px;height:35px}.lh-month-events{display:flex;flex-wrap:wrap;gap:3px;margin-top:3px}.lh-month-events .lh-event{width:6px;min-width:6px;height:6px;min-height:6px;border:0;border-radius:50%;padding:0;background:var(--event-color);box-shadow:none;pointer-events:none}.lh-month-events .lh-event>*{display:none}.lh-month-name{font-size:10px;padding:12px 0}
 body[data-route="agenda"] #panel:has(.paper-agenda-popup){width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:18px 14px;border-radius:15px;margin:auto;scroll-padding-bottom:40px}
 body[data-route="agenda"] #panel:has(.paper-agenda-popup) .panel-top h2{font-size:22px}.lh-detail-title h3{font-size:22px}.lh-detail-row{font-size:14px}.lh-detail-row dt{font-size:11px}.lh-detail-actions .btn{font-size:13px;min-height:44px}
 .lh-footer{font-size:10px;gap:4px;line-height:1.6}
}
@media(prefers-reduced-motion:reduce){.living-calendar *{scroll-behavior:auto!important;transition:none!important}}

.living-calendar h2,.living-calendar h3,body[data-route="agenda"] #panel .lh-details h3{font-family:'Segoe UI',Arial,sans-serif}
.lh-time-card .lh-event strong{font-size:12px;line-height:1.25}
.lh-time-card .lh-event-clock,.lh-time-card .lh-event small{font-size:10px;line-height:1.25}
.lh-day-panel{max-height:min(850px,calc(100dvh - 48px));overflow-y:auto;scrollbar-width:thin;scrollbar-color:#bdc9ad #fffcf5}
body[data-route="agenda"] #panel .lh-original-details{background:#f6f7ed;border:1px solid #dfe5d3;border-radius:9px;padding:12px;margin-bottom:18px}
body[data-route="agenda"] #panel .lh-original-details>summary{font-size:13px;color:#6b805e;cursor:pointer;min-height:32px}


/* living-music.css */
/* Het levende huis — uitsluitend muziekpagina en het bijbehorende bedienpaneel. */
body[data-route="music"]{--lm-bg:#f5f1e7;--lm-panel:#fffcf5;--lm-green:#426b53;--lm-line:#dedcd2;--lm-text:#24352e;--lm-muted:#646a62;background:#f5f1e7!important;color:#24352e;font-family:'Segoe UI',Arial,sans-serif}
body[data-route="music"] .workspace{background:#f5f1e7!important;min-height:100dvh}
body[data-route="music"] .workspace::before{display:none!important}
body[data-route="music"] #main{width:100%!important;max-width:1580px!important;padding:32px 42px 48px!important;margin:0 auto!important;min-height:100dvh;display:block!important}
body[data-route="music"] .music-shell-top:empty{display:none}
.living-music-shell{color:#24352e;font-family:'Segoe UI',Arial,sans-serif}
.living-music-shell *{box-sizing:border-box}
.living-music-shell h1,.living-music-shell h2,.living-music-shell h3{font-family:inherit;color:#24352e;letter-spacing:-.5px;line-height:1.2}
.lm-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.lm-heading h1{font-size:clamp(30px,3vw,42px);font-weight:650;margin:4px 0 10px}.lm-heading p{margin:0;color:#646a62;line-height:1.5}
.lm-kicker{font-size:10px!important;font-weight:650;letter-spacing:2px;color:#7b8874!important;margin:0 0 10px!important}
.lm-selected-name{display:flex;align-items:center;gap:10px;padding:12px 18px;border-radius:16px;background:#fffcf5;font-size:14px;box-shadow:0 5px 22px #433d2910}.lm-selected-name svg{width:24px;height:24px}
.lm-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:24px;align-items:start}
.lm-house{min-width:0;position:sticky;top:24px;background:radial-gradient(ellipse at center,#e8e7d5,transparent 70%);border-radius:24px;overflow:hidden}
.lm-house-image{position:relative;aspect-ratio:4/5;min-height:330px}.lm-house-image>img{display:block;width:100%;height:100%;object-fit:contain}
.lm-house-caption{padding:12px 20px 20px;text-align:center}.lm-house-caption strong{font-size:17px;font-weight:600}.lm-house-caption p{font-size:13px;color:#646a62;margin:6px 0}.lm-house-caption small{font-size:11px;color:#777b71}
.lm-pin{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;gap:8px;align-items:center;text-align:left;min-height:48px;padding:10px 13px;border:1px solid #dfdfd4;border-radius:13px;background:#fffcf5f5;color:#24352e;box-shadow:0 5px 20px #383a2920;cursor:pointer;max-width:190px;font:inherit}
.lm-pin svg{width:23px;height:28px;flex:none}.lm-pin strong{display:block;font-size:13px}.lm-pin small{display:block;font-size:11px;color:#646a62;margin-top:3px}.lm-pin.selected{border-color:#426b53;box-shadow:0 0 0 2px #426b5329,0 6px 22px #24352e20}
.lm-right{display:grid;gap:18px;min-width:0}
.lm-player,.lm-speakers,.lm-library{background:#fffcf5;border:1px solid #e9e5d9;border-radius:24px;box-shadow:0 6px 25px #50463009;padding:22px;min-width:0}
.lm-sources{display:flex;align-items:center;gap:6px;padding:5px;background:#f1eee4;border-radius:13px;margin-bottom:22px}
.lm-sources button{flex:1;background:transparent;color:#646a62;border:0;border-radius:9px;padding:11px;font:600 14px 'Segoe UI',sans-serif;min-height:44px;cursor:pointer}
.lm-sources [aria-pressed="true"]{background:#e0e8d9;color:#33533e;box-shadow:0 2px 6px #384a3110}.lm-sources .lm-settings{flex:0 0 44px;font-size:23px;color:#586a51}
.living-music-shell .btn,.living-music-shell .sp-button{background:#f4f1e8;border:1px solid #dedcd2;color:#34553f;border-radius:12px;min-height:44px;font:500 13px 'Segoe UI',Arial,sans-serif;padding:10px 14px;box-shadow:none;cursor:pointer}
.living-music-shell button:disabled{opacity:.45;cursor:default}.living-music-shell button:focus-visible,.living-music-shell input:focus-visible,.living-music-shell select:focus-visible{outline:3px solid #9bae92;outline-offset:3px}
.living-music-shell .jb-boxes{position:static;display:flex;flex-direction:column;align-items:flex-start;gap:3px;background:#f5f3ea;border:1px solid #dedcd2;border-radius:12px;min-height:54px;padding:10px 14px;width:100%;color:#24352e;font:500 14px 'Segoe UI',sans-serif;cursor:pointer;box-shadow:none}
.living-music-shell .jb-boxes small{font-size:11px;color:#646a62}.living-music-shell .music-volume{font-size:12px;margin:12px 0 0;color:#646a62}.living-music-shell .music-volume>span{display:flex;justify-content:space-between;gap:8px}.living-music-shell input[type="range"]{display:block;width:100%;min-width:0;min-height:38px;height:38px;padding:0;margin:0;border:0;accent-color:#426b53;background:transparent;touch-action:pan-y}
.lm-radio-now{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:20px;margin-bottom:20px}.lm-cover{width:120px;height:120px;background:#edf0e5;border-radius:16px;display:grid;place-items:center;overflow:hidden;color:#667b5f}.lm-cover>img{width:100%;height:100%;object-fit:contain}.lm-cover svg{width:48px;height:48px}.lm-cover .music-radio-fallback{width:100%;height:100%;font-size:24px}.lm-radio-now h2{margin:0 0 8px;font-size:26px;overflow-wrap:anywhere}.lm-radio-now p{margin:5px 0;color:#646a62;font-size:13px}.lm-radio-now .lm-playing-on{font-size:12px;color:#426b53}
.lm-radio-transport .music-controls{justify-content:center;margin:16px 0 0;align-items:center}.living-music-shell .music-icon-main{background:#426b53;color:#fff;border:0;border-radius:50%;width:56px;height:56px}.living-music-shell .music-icon-main svg{width:24px;height:24px}
.lm-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.lm-section-heading h2{font-size:18px;font-weight:650;margin:0 0 5px}.lm-section-heading p{font-size:12px;color:#646a62;line-height:1.45;margin:0}.lm-section-heading .btn{font-size:12px;padding:9px 11px;flex:none}
.lm-speaker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lm-speaker{border:1px solid #e6e4d9;border-radius:15px;padding:12px;min-width:0;background:#fcfaf3}.lm-speaker.selected{border-color:#6d9779;background:#f0f4e9;box-shadow:inset 0 0 0 1px #6d977933}.lm-speaker-select{display:flex;align-items:center;gap:9px;text-align:left;width:100%;background:transparent;border:0;color:#24352e;font:inherit;cursor:pointer;padding:0;min-height:44px}.lm-speaker-select>svg{width:27px;height:34px;flex:none}.lm-speaker-select strong{display:block;font-size:13px;overflow-wrap:anywhere}.lm-speaker-select small{display:block;font-size:10px;line-height:1.5;color:#646a62;margin-top:4px}.lm-status-dot{display:inline-block;width:6px;height:6px;background:#b7623d;border-radius:50%;margin-right:4px}.lm-status-dot.online{background:#6c956a}.lm-ungroup{margin:0 0 12px}.lm-speaker .music-volume{font-size:11px}
.lm-library{margin-top:24px}.lm-library .music-radio-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0}.lm-library .music-radio-tile{background:#faf8f0;border:1px solid #e1e1d4;border-radius:14px;padding:12px;min-height:80px;display:flex;align-items:center;gap:10px;position:relative;text-align:left;color:#24352e;box-shadow:none;font-size:13px;min-width:0}.lm-library .music-radio-tile.active{background:#e5eddd;border-color:#779579}.lm-library .music-radio-logo,.lm-library .music-radio-fallback{width:34px;height:34px;min-width:34px;object-fit:contain;background:transparent;font-size:12px}.lm-library .music-radio-name{font-size:12px;overflow-wrap:anywhere}.lm-library .music-radio-playing{position:absolute;bottom:3px;right:8px;font-size:8px;color:#6d795f}.lm-presets{margin-top:18px;font-size:13px;color:#526349}.lm-presets summary{cursor:pointer;padding:12px 0}.lm-preset-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.lm-preset-grid .music-dashboard-preset{min-height:85px;background:#faf8f0;border-color:#dedcd2;color:#24352e}
/* Spotify behoudt zijn bestaande knoppen, zoekresultaten en API-handlers. */
.living-music-shell .sp-now{display:grid;grid-template-columns:128px minmax(0,1fr);gap:18px;align-items:center;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;color:#24352e;max-width:none;width:auto;min-height:0}
.living-music-shell .sp-now-art{width:128px;height:128px;display:grid;place-items:center;background:#e4e9dc;border-radius:16px;overflow:hidden}.living-music-shell .sp-album{width:100%;height:100%;object-fit:cover;border:0;border-radius:0;box-shadow:none}.living-music-shell .sp-now-copy{min-width:0}.living-music-shell .sp-now-copy h2{font-size:25px;line-height:1.2;margin:8px 0;overflow-wrap:anywhere}.living-music-shell .sp-eyebrow{font-size:10px;letter-spacing:1.8px;color:#7b8874;margin:0}.living-music-shell .sp-artist{font-size:14px;color:#646a62;margin:6px 0}.living-music-shell .sp-device-status{font-size:11px;color:#426b53;line-height:1.4}.living-music-shell .sp-time-progress{display:flex;align-items:center;gap:8px;margin:14px 0 0;font-size:10px;color:#646a62}.living-music-shell .sp-progress{height:5px;flex:1;border-radius:5px;background:#e6e4da;overflow:hidden}.living-music-shell .sp-progress span{display:block;height:100%;background:#6c8c6c}
.living-music-shell .sp-jukebox-controls{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:14px;align-items:center;position:static;width:auto;height:auto;margin:0}.living-music-shell .sp-jukebox-controls>.jb-boxes{flex:0 0 100%}.living-music-shell .sp-transport{display:flex;align-items:center;justify-content:center;gap:12px;margin:0;flex:1}.living-music-shell .sp-icon{min-width:44px;min-height:44px;width:44px;height:44px;display:grid;place-items:center;padding:11px;border:0;background:transparent;border-radius:50%;color:#426b53}.living-music-shell .sp-icon svg{width:22px;height:22px;fill:currentColor}.living-music-shell .sp-play{background:#426b53;color:white;width:56px;height:56px}.living-music-shell .sp-volume{display:flex;align-items:center;gap:8px;min-width:150px;flex:1;font-size:11px;color:#646a62;margin:0}.living-music-shell .sp-volume label{display:none}.living-music-shell .sp-volume input{flex:1;width:80px}.living-music-shell .sp-volume output{min-width:30px}
.living-music-shell .sp-browser{background:transparent;padding:0;margin:0;border:0;overflow:visible;height:auto;position:static;width:auto;color:#24352e;min-height:0}.living-music-shell .sp-message{color:#9c583c;font-size:13px}.living-music-shell .sp-message:empty{display:none}.living-music-shell .sp-tabs{display:flex;gap:8px;margin:0 0 20px;border-bottom:1px solid #e3e0d4;padding-bottom:14px;position:static;background:transparent}.living-music-shell .sp-tabs [data-sp="view:library"],.living-music-shell .sp-tabs [data-sp="view:search"]{border-radius:12px;padding:10px 22px}.living-music-shell .sp-tabs .selected{background:#e2eadb;border-color:#9bae92}.living-music-shell .sp-library{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:15px 0}.living-music-shell .sp-cover-button{display:flex;flex-direction:column;gap:7px;text-align:left;border:1px solid #e4e1d5;border-radius:16px;background:#f8f6ed;color:#24352e;padding:10px;min-width:0;cursor:pointer}.living-music-shell .sp-cover-button img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px;max-height:none}.living-music-shell .sp-cover-button strong{font-size:14px;line-height:1.4}.living-music-shell .sp-cover-button small{font-size:11px;color:#61755b}.living-music-shell .sp-section-title{margin:0;display:flex;align-items:center;justify-content:space-between;gap:10px}.living-music-shell .sp-section-title h3{font-size:20px;margin:0}.living-music-shell .sp-section-title>span{font-size:12px;color:#646a62}.living-music-shell .sp-search{display:flex;gap:10px}.living-music-shell .sp-search input{background:#fffef8;border:1px solid #dedcd2;border-radius:12px;flex:1;min-width:0;color:#24352e;padding:13px;font-size:15px}.living-music-shell .sp-track{color:#24352e}.living-music-shell .sp-track>button:first-child{color:#24352e;background:#f4f3e9}.living-music-shell .sp-track-copy small{color:#646a62}.living-music-shell .sp-muted{color:#646a62}.lm-attribution{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#426b53;margin-top:16px}.lm-attribution svg{width:17px;height:17px}.lm-spotify-device{font-size:12px;color:#646a62;width:100%}.lm-spotify-device select{width:100%;min-height:44px;border:1px solid #dedcd2;border-radius:10px;background:#fffcf5;color:#24352e;font-size:14px;padding:9px}
/* Instellingen in dezelfde rustige stijl; geen invloed op andere pagina's. */
body[data-route="music"] .music-settings{color:#24352e;max-width:1100px;margin:auto}body[data-route="music"] .music-settings .card{background:#fffcf5!important;color:#24352e;border:1px solid #dedcd2;border-radius:22px;box-shadow:0 6px 25px #50463009}body[data-route="music"] .music-settings label,body[data-route="music"] .music-settings p{color:#646a62}body[data-route="music"] .music-settings h1,body[data-route="music"] .music-settings h2{color:#24352e}body[data-route="music"] .music-settings-heading{color:#426b53;background:transparent}body[data-route="music"] .music-settings select,body[data-route="music"] .music-settings input{background:#fffcf5;color:#24352e;border-color:#dedcd2}
body[data-route="music"] #panel:has(.jb-box-popup){background:#fffcf5!important;color:#24352e!important;border:1px solid #dedcd2;border-radius:22px;box-shadow:0 20px 80px #24352e40}body[data-route="music"] #panel:has(.jb-box-popup) :is(h2,p,strong,label,small,span){color:#24352e!important}body[data-route="music"] #panel .jb-popup-room{background:#f2f2e7;border-color:#dedcd2}body[data-route="music"] #panel:has(.jb-box-popup) .btn{background:#e2eadb;color:#34553f;border-color:#9bae92}
@media(max-width:1150px){body[data-route="music"] #main{padding:28px 28px 40px!important}.lm-grid{gap:18px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.lm-player,.lm-speakers,.lm-library{padding:18px}.lm-library .music-radio-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.living-music-shell .sp-library{grid-template-columns:repeat(4,minmax(0,1fr))}.lm-section-heading{flex-wrap:wrap}.lm-speaker-grid{gap:8px}}
@media(max-width:780px){body[data-route="music"] #main{padding:22px 16px 100px!important}.lm-heading{gap:10px;margin-bottom:20px}.lm-heading h1{font-size:29px}.lm-heading>div>p:last-child{font-size:13px}.lm-selected-name{display:none}.lm-grid{display:flex;flex-direction:column;gap:18px}.lm-right{width:100%;order:0}.lm-house{position:static;order:1;width:100%;background:#ececde}.lm-house-image{aspect-ratio:auto;height:260px;min-height:260px;max-width:340px;margin:auto}.lm-house-image>img{height:100%;object-fit:contain}.lm-house-caption{padding:4px 14px 14px}.lm-house-caption strong{font-size:14px}.lm-house-caption p{font-size:12px}.lm-pin{padding:7px 9px;min-height:44px;gap:5px;max-width:140px}.lm-pin strong{font-size:11px}.lm-pin small{font-size:9px}.lm-pin svg{width:18px}.lm-player,.lm-speakers,.lm-library{padding:18px;border-radius:21px}.lm-sources{margin-bottom:20px}.living-music-shell .sp-now{display:flex;flex-direction:column;gap:16px}.living-music-shell .sp-now-art{width:min(65vw,230px);height:auto;aspect-ratio:1;border-radius:19px}.living-music-shell .sp-now-copy{width:100%;text-align:center}.living-music-shell .sp-now-copy h2{font-size:25px}.living-music-shell .sp-time-progress{margin-top:17px}.living-music-shell .sp-jukebox-controls{display:grid;grid-template-columns:1fr;width:100%;gap:16px}.living-music-shell .sp-transport{width:100%;gap:22px}.living-music-shell .sp-icon{width:48px;height:48px;min-height:48px}.living-music-shell .sp-play{width:64px;height:64px}.living-music-shell .sp-volume{width:100%;min-height:44px;gap:12px;font-size:13px}.living-music-shell .sp-volume label{display:block}.lm-radio-now{grid-template-columns:1fr;text-align:center;gap:16px}.lm-cover{width:150px;height:150px;margin:auto}.lm-radio-now h2{font-size:26px}.lm-speaker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lm-speaker{padding:10px}.lm-speaker-select{gap:7px}.lm-speaker-select strong{font-size:12px}.lm-speaker-select small{font-size:10px}.lm-section-heading h2{font-size:18px}.lm-section-heading .btn{font-size:12px}.lm-library{margin-top:18px}.lm-library .music-radio-grid,.living-music-shell .sp-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lm-library .music-radio-tile{min-height:80px;padding:10px}.lm-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.living-music-shell .sp-tabs .sp-button{padding:11px;flex:1;font-size:13px}.living-music-shell .sp-search{flex-wrap:wrap}.living-music-shell .sp-search input{width:100%;flex-basis:100%}.living-music-shell .sp-cover-button{padding:9px}.living-music-shell .sp-section-title h3{font-size:18px}.living-music-shell .sp-section-title>span{font-size:11px}.living-music-shell .sp-track{display:flex;flex-wrap:wrap}.living-music-shell .sp-track>button:first-child{width:100%;min-width:0}.living-music-shell .sp-track-copy strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.living-music-shell *{scroll-behavior:auto!important;transition:none!important}}

/* Contrast en afspeelknoppen behouden ook boven de oudere Spotify-stijlen. */
.living-music-shell .sp-now .sp-now-copy .sp-artist{color:#646a62!important}.living-music-shell .sp-now .sp-now-copy .sp-device-status,.living-music-shell .sp-now .sp-time-progress small{color:#526349!important}
.living-music-shell .sp-now .sp-transport .sp-play{background:#426b53!important;color:#fff!important;box-shadow:0 4px 14px #426b5320;border:0}
.living-music-shell .sp-now .sp-transport .sp-button:not(.sp-play){background:transparent!important;color:#426b53!important}

.living-music-shell .lm-library .music-radio-tile{aspect-ratio:auto;flex-direction:row;justify-content:flex-start;height:auto;min-height:80px;max-height:120px}

/* Eén plaats voor uitvoerkeuze: het huis. De speler blijft rustig en centraal. */
.living-music-shell .lm-grid{align-items:center;gap:32px}
.living-music-shell .lm-house{position:relative;top:auto;width:100%;max-width:610px;justify-self:center}
.living-music-shell .lm-right{align-self:center;width:100%}
.living-music-shell .lm-heading{margin-bottom:18px}
.living-music-shell .lm-player{padding:28px;min-width:0}
.living-music-shell .lm-radio-now{grid-template-columns:150px minmax(0,1fr);gap:24px;margin:24px 0}
.living-music-shell .lm-cover{width:150px;height:150px}
.living-music-shell .lm-radio-transport .music-controls{margin:22px 0;gap:16px}
.living-music-shell .lm-main-volume{border-top:1px solid #e3e3d7;padding-top:16px}
.living-music-shell .lm-main-volume .music-volume{margin:0;font-size:13px}
.living-music-shell .sp-now{grid-template-columns:150px minmax(0,1fr);gap:22px}
.living-music-shell .sp-now-art{width:150px;height:150px}
.living-music-shell .sp-jukebox-controls{display:grid;grid-template-columns:1fr;gap:18px;width:100%;margin-top:6px}
.living-music-shell .sp-jukebox-controls .sp-transport{justify-content:center;gap:22px}
.living-music-shell .sp-jukebox-controls .sp-volume{width:100%;padding-top:15px;border-top:1px solid #e3e3d7;min-height:52px;gap:12px;font-size:13px}
.living-music-shell .sp-jukebox-controls .sp-volume label{display:block}
.lm-playing-icons{display:inline-flex;align-items:center;gap:2px;flex-shrink:0;color:#426b53;margin-left:2px;padding:5px;background:#e1ebd9;border-radius:9px}
.lm-playing-icons svg{width:17px;height:17px;display:block}
.lm-pin.is-playing{background:#f5faed;border-color:#a9bc9b}
.lm-pin.is-playing.selected{border-color:#426b53;box-shadow:0 0 0 2px #426b5340,0 6px 22px #24352e20}
.lm-house-group{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:12px 0}
.lm-house-group .btn{min-height:46px;font-size:13px;border-radius:12px;padding:11px 18px}
.lm-house-group .btn:first-child{background:#e0e9d8;border-color:#a8bba0}
.lm-group-names{font-size:12px;color:#426b53;margin:8px 0!important;line-height:1.5}
.lm-extra-rooms{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:8px}
.lm-extra-room{display:flex;align-items:center;gap:8px;min-height:48px;background:#fffcf5;border:1px solid #dedcd2;border-radius:12px;padding:8px 12px;color:#24352e;text-align:left;font:inherit;cursor:pointer}
.lm-extra-room>svg{width:22px;height:26px}.lm-extra-room strong{font-size:13px;display:block}.lm-extra-room small{font-size:11px;color:#646a62}.lm-extra-room.selected{border-color:#426b53;box-shadow:0 0 0 2px #426b5330}.lm-extra-room.is-playing{background:#f5faed}
@media(max-width:780px){
 .living-music-shell .lm-grid{gap:16px;align-items:stretch}
 .living-music-shell .lm-house{order:0;width:100%;max-width:none;border:1px solid #e5e5d8;border-radius:20px;background:#efefe3}
 .living-music-shell .lm-right{order:1;width:100%;align-self:stretch}
 .living-music-shell .lm-house-image{height:205px;min-height:205px;max-width:300px;margin:0 auto;aspect-ratio:auto}
 .living-music-shell .lm-house-caption{padding:0 10px 12px}
 .living-music-shell .lm-house-caption>p{font-size:11px;margin:0 0 4px}
 .living-music-shell .lm-house-caption>small{font-size:9px}
 .living-music-shell .lm-house-group{gap:8px;margin:8px 0}
 .living-music-shell .lm-house-group .btn{font-size:12px;padding:9px 13px;min-height:44px}
 .living-music-shell .lm-pin{padding:6px 7px;gap:4px;max-width:170px;border-radius:11px;min-height:44px}
 .living-music-shell .lm-pin>svg{width:16px;height:23px}
 .living-music-shell .lm-pin strong{font-size:10px}.living-music-shell .lm-pin small{font-size:9px}
 .living-music-shell .lm-playing-icons{padding:3px;gap:1px;margin-left:0}.living-music-shell .lm-playing-icons svg{width:12px;height:14px}
 .living-music-shell .lm-player{padding:20px 18px}
 .living-music-shell .lm-radio-now{grid-template-columns:1fr;text-align:center;gap:16px;margin:18px 0}
 .living-music-shell .lm-cover{width:145px;height:145px;margin:auto}
 .living-music-shell .sp-now{display:flex;flex-direction:column;gap:17px}
 .living-music-shell .sp-now-art{width:min(62vw,220px);height:auto;aspect-ratio:1}
 .living-music-shell .lm-radio-transport .music-controls{margin:20px 0}
}

@media(max-width:780px){.living-music-shell .lm-pin .lm-playing-icons{position:absolute;top:-9px;right:4px;border:1px solid #9bae92;box-shadow:0 2px 5px #24352e12}}


/* living-recipes.css */
/* Het levende huis — beperkt tot eten en recepten. */
body[data-route^="food"] .workspace{background:#f5f1e7!important;color:#24352e}body[data-route^="food"] main{padding-top:32px!important}body[data-route^="food"] .card,body[data-route^="food"] dialog.food-panel{background:#fffcf5;border:1px solid #e6dfd2;border-radius:20px;box-shadow:0 5px 22px #59492d08}body[data-route^="food"] .btn{min-height:44px;border-radius:12px;background:#fffcf5;border-color:#ddd9ca;color:#426b53}body[data-route^="food"] .btn.primary{background:#b7623d;color:white;border-color:#b7623d}body[data-route^="food"] input,body[data-route^="food"] select,body[data-route^="food"] textarea{background:#fffdf8;border-color:#d7d7c9;border-radius:11px;min-height:44px;color:#24352e}body[data-route^="food"] .food-tabs{border-bottom:1px solid #dedcd2;padding-bottom:10px;gap:8px;flex-wrap:wrap}body[data-route^="food"] .food-tabs a{background:transparent;border-radius:10px}body[data-route^="food"] .food-tabs a[aria-current]{background:#e2e9d9;color:#345c45}body[data-route^="food"] .food-sync-bar{font-size:12px;color:#646a62}body[data-route^="food"] .heading h1{font-size:36px;letter-spacing:-1px}.lh-recipe-intro{color:#646a62;margin:-8px 0 20px}.lh-recipe-highlights{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:22px;margin:24px 0 30px}.lh-recipe-today{position:relative;overflow:hidden;padding:0!important;margin:0!important;min-height:340px;display:flex;flex-direction:column}.lh-recipe-today>img{position:absolute;width:100%;height:100%;object-fit:cover}.lh-eyebrow{font-size:13px;letter-spacing:.06em;font-weight:700;color:#426b53}.lh-recipe-today>.lh-eyebrow{position:relative;z-index:1;background:#fffcf5;border-radius:30px;align-self:flex-start;margin:18px;padding:10px 16px}.lh-feature-copy{position:relative;margin-top:auto;padding:60px 26px 24px;color:white;background:linear-gradient(transparent,#18251ce8)}.lh-feature-copy h2{color:white;font-size:30px;margin:8px 0 15px}.lh-feature-copy .btn{background:#b7623d!important;color:white!important}.lh-unplanned{padding:20px 28px 32px}.lh-unplanned .food-icon{width:48px;height:48px;color:#9bae92}.lh-recipe-side{display:flex;flex-direction:column;gap:16px;background:none!important;padding:0!important;border:0!important;width:auto!important;position:static!important;box-shadow:none!important}.lh-kitchen{margin:0;position:relative;height:150px;border-radius:18px;overflow:hidden}.lh-kitchen img{width:100%;height:100%;object-fit:cover;object-position:center 45%}.lh-kitchen figcaption{position:absolute;bottom:0;padding:8px 14px;background:#fffcf5e8;font-size:12px;color:#646a62;width:100%}.lh-meal-preview{padding:18px!important;margin:0!important;flex:1}.lh-meal-preview h2{font-size:20px}.lh-meal-preview .section-top{gap:8px;flex-wrap:wrap}.lh-meal-preview .btn{font-size:13px;padding:8px}.lh-meal-row{display:flex;align-items:center;gap:12px;text-decoration:none;color:#24352e;padding:10px 0;border-top:1px solid #e8e4d9}.lh-meal-row img,.lh-meal-row .food-photo-placeholder{width:52px;height:52px;min-height:52px;object-fit:cover;border-radius:12px;flex:0 0 52px;padding:0}.lh-meal-row .food-photo-placeholder span{display:none}.lh-meal-row strong,.lh-meal-row small{display:block}.lh-meal-row small{color:#646a62;font-size:12px;margin-bottom:5px}.lh-collection-title{font-size:24px;margin:18px 0}.food-recipe-copy h2{line-height:1.4}.food-favorite[aria-pressed="true"]{color:#b7623d;background:#fff6ef}.lh-detail-top{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:28px;padding:20px!important}.lh-detail-top .food-detail-photo{margin:0;height:310px;max-height:none}.lh-detail-top h2{font-size:30px;line-height:1.3}.lh-detail-top .btn{display:block;margin-top:18px;width:fit-content}.lh-cooking-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:24px;margin-top:24px;align-items:start}.lh-cooking-columns .card{margin:0;min-width:0}.lh-ingredients input[type="number"]{max-width:150px;font-size:20px}.lh-preparation .food-instructions{font-size:18px;line-height:1.95}.lh-shopping-action{position:sticky;bottom:16px;padding-top:16px;background:#fffcf5}.lh-shopping-action .btn{width:100%}.lh-ingredients .food-ingredient{min-height:58px}.food-ingredient:has(input:checked){background:#eaf0e3;border-radius:8px}.food-inbox-card{margin-top:28px!important}body[data-route^="food"] :focus-visible{outline:3px solid #426b53;outline-offset:3px}
@media(max-width:1000px){.lh-recipe-highlights{grid-template-columns:1fr}.lh-recipe-side{display:grid;grid-template-columns:1fr 1.5fr}.lh-kitchen{height:100%;min-height:150px}body[data-route="food/recipes"] .food-search{grid-template-columns:1fr 1fr}}
@media(max-width:720px){body[data-route^="food"] main{padding-top:20px!important}body[data-route^="food"] .heading h1{font-size:28px;letter-spacing:-.5px}body[data-route^="food"] .food-tabs{flex-wrap:nowrap;overflow:auto}body[data-route^="food"] .food-tabs a{padding:12px}.lh-recipe-highlights{gap:14px;margin-top:18px}.lh-recipe-today{min-height:300px}.lh-feature-copy h2{font-size:25px}.lh-recipe-side{display:flex}.lh-kitchen{display:none}.lh-meal-preview{padding:16px!important}body[data-route="food/recipes"] .food-recipes-grid{grid-template-columns:1fr;gap:18px}body[data-route="food/recipes"] .food-recipe-card img{height:220px}.lh-detail-top{grid-template-columns:1fr;padding:0!important;gap:0;overflow:hidden}.lh-detail-top>div:not(.food-photo-placeholder){padding:20px}.lh-detail-top .food-detail-photo{height:240px;border-radius:0}.lh-detail-top h2{font-size:26px}.lh-cooking-columns{grid-template-columns:1fr;gap:18px;margin-top:18px}.lh-cooking-columns .card{padding:20px!important}.lh-shopping-action{bottom:76px}.lh-preparation .food-instructions{font-size:18px;line-height:1.9}.lh-ingredients .actions{flex-wrap:wrap}.lh-ingredients .food-ingredient{font-size:16px}.food-sync-bar{flex-wrap:wrap}body[data-route="food/recipes"] .food-search{grid-template-columns:1fr 1fr}body[data-route="food/recipes"] .food-search>label:first-child{grid-column:1/-1}.lh-feature-copy{padding:45px 20px 20px}}
@media(prefers-reduced-motion:reduce){body[data-route^="food"] *{scroll-behavior:auto!important;transition:none!important}}
body[data-route^="food"]{font-family:'Segoe UI',Arial,sans-serif;--bg:#f5f1e7;--surface:#fffcf5;--navy:#24352e;--muted:#646a62;--line:#dedcd2;--teal:#426b53}body[data-route^="food"] h1,body[data-route^="food"] h2,body[data-route^="food"] h3{font-family:'Segoe UI',Arial,sans-serif}body[data-route^="food"]>aside{background:linear-gradient(160deg,#f9f7ef,#f1f3e8);color:#24352e;border-right:1px solid #dedcd2}body[data-route^="food"]>aside a,body[data-route^="food"]>aside .brand,body[data-route^="food"]>aside .nav-label{color:#426b53}body[data-route^="food"]>aside #nav a.active{background:#dce5d3;color:#24352e}.lh-recipe-side .card,.lh-recipe-side h2,.lh-recipe-side p{color:#24352e!important}.lh-kitchen{background:#eee8d9;height:170px}.lh-kitchen img{object-fit:contain;padding-bottom:18px}.lh-kitchen figcaption{text-align:center}.lh-recipe-today:has(.lh-unplanned){min-height:220px}.lh-recipe-today:has(.lh-unplanned) .lh-unplanned{padding-top:0}.lh-recipe-highlights:has(.lh-unplanned){align-items:start}
body[data-route^="food"]>aside #nav a,body[data-route^="food"]>aside .sidebar-bottom,body[data-route^="food"]>aside .profile-switch{color:#24352e!important}body[data-route^="food"]>aside .sidebar-bottom small{color:#646a62!important}.lh-shopping-action{position:static;padding:16px 0 0}.lh-ingredients{scroll-margin-top:20px}@media(max-width:720px){.lh-shopping-action{position:static}.lh-recipe-detail .food-ingredient strong{font-size:15px}}

/* Receptencompositie volgens het levende-huis-voorbeeld. */
body[data-route^="food"] .workspace{background:#faf8f2!important}body[data-route^="food"] #main{max-width:1440px;margin:auto;padding:30px 40px 55px!important}body[data-route^="food"] .workspace:before{display:none!important}.lh-food-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.lh-food-header h1{font-size:34px;line-height:1.2;letter-spacing:-1px;margin:0 0 6px;font-weight:700}.lh-food-header>div>p{font-size:17px;color:#646a62;margin:0}.lh-header-actions{display:flex;align-items:center;gap:14px}.lh-header-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 20px;white-space:nowrap;box-shadow:0 3px 10px #b7623d16}.lh-header-search{position:relative;display:flex;align-items:center;margin:0;min-width:300px;width:min(30vw,390px)}.lh-header-search>.lh-control-icon{position:absolute;left:15px;color:#24352e;pointer-events:none}.lh-header-search input{width:100%;padding:13px 15px 13px 46px;box-shadow:0 3px 14px #5d4e3010;border:1px solid #e7e1d5!important;background:#fffdf8!important}.lh-control-icon{width:20px;height:20px;flex:0 0 20px;display:inline-block;vertical-align:middle}.lh-primary-tabs.food-tabs{display:flex;align-items:center;gap:18px;margin:0 0 20px;padding:0!important;overflow:visible;border-bottom:1px solid #e4dfd3;flex-wrap:nowrap}.lh-primary-tabs.food-tabs>a{display:flex;align-items:center;gap:6px;border-radius:0;padding:4px 15px 10px;background:transparent!important;border-bottom:3px solid transparent;margin:0!important;font-size:15px;min-height:62px}.lh-primary-tabs.food-tabs>a[aria-current]{border-bottom-color:#426b53;color:#244d39;font-weight:650}.lh-nav-art{display:inline-block;background-image:url('assets/living-tile-pictures.webp?v=20261026');background-size:360% 360%;background-repeat:no-repeat;width:49px;height:49px;flex:0 0 49px}.lh-nav-art-meal{background-position:96% 4%}.lh-nav-art-agenda{background-position:4% 4%}.lh-nav-art-shopping{background-position:4% 48%}.lh-food-more{margin-left:auto;position:relative;align-self:center}.lh-food-more>summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;min-height:44px;padding:10px;color:#646a62}.lh-food-more>summary::-webkit-details-marker{display:none}.lh-food-more>div{position:absolute;right:0;top:100%;width:260px;padding:15px;background:#fffcf5;border:1px solid #e4dfd3;border-radius:16px;z-index:50;box-shadow:0 12px 35px #3d36241c;display:grid;gap:6px}.lh-food-more .btn{width:100%;text-align:left}.lh-food-more p{font-size:12px;color:#646a62;margin:6px}.lh-filter-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.lh-filter-chip{display:flex!important;align-items:center;gap:8px;margin:0!important;min-height:42px;padding:8px 16px;border:1px solid #e9e3d7;border-radius:30px;background:#fffcf5;color:#3d4b40;font-size:14px;cursor:pointer;box-shadow:0 2px 8px #5d4e3008}.lh-filter-chip.is-active{background:#537d65;color:white;border-color:#537d65;box-shadow:0 3px 8px #426b5329}.lh-filter-chip input[type=checkbox]{appearance:none;position:absolute;opacity:0;width:1px!important;height:1px!important;min-height:0}.lh-filter-chip:has(:focus-visible){outline:3px solid #426b53;outline-offset:3px}.lh-filter-chip select{border:0!important;background:transparent!important;box-shadow:none!important;padding:0 18px 0 0;min-height:24px!important;margin:0;font-size:14px;border-radius:0;color:inherit;width:auto;max-width:155px;cursor:pointer}.lh-filter-row>label:has(.food-subcategory-filter){font-size:0;margin:0}.lh-filter-row .food-subcategory-filter{margin:0}.lh-filter-row .food-subcategory-filter>summary{font-size:14px;border:1px solid #e9e3d7;border-radius:30px;background:#fffcf5;min-height:42px;padding:11px 17px}.lh-filter-row .food-subcategory-options{font-size:14px;z-index:40;background:#fffcf5;border-color:#e4dfd3;max-height:300px;overflow:auto;min-width:240px}.lh-recipe-highlights{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:22px;margin:0 0 24px;align-items:stretch!important}.lh-recipe-today,.lh-recipe-today:has(.lh-unplanned){min-height:365px;box-shadow:0 5px 20px #4d422016!important;border-radius:17px!important;border:0!important}.lh-recipe-today>img{inset:0;width:100%;height:100%;object-fit:cover;display:block}.lh-hero-badge{position:relative;z-index:1;align-self:flex-start;border-radius:25px;background:#fffdf5ed;margin:18px;padding:9px 17px;color:#24352e;font-size:14px;font-weight:650;box-shadow:0 2px 8px #0000000a}.lh-feature-copy{margin-top:auto;padding:65px 24px 22px;background:linear-gradient(transparent,#172018cf);color:white}.lh-feature-copy h2{font-size:30px;line-height:1.2;letter-spacing:-.6px;margin:0 0 10px;color:white}.lh-planning-hint{font-size:12px!important;margin:0 0 10px!important;color:#fff9e9;line-height:1.4}.lh-hero-bottom{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}.lh-hero-bottom>p{display:flex;align-items:center;gap:7px;margin:0;font-size:14px;color:#fffdf5}.lh-hero-bottom .btn{display:flex;align-items:center;gap:9px;padding:10px 18px;background:#b7623d!important;color:white!important;border:1px solid #fff5de99!important;border-radius:25px!important;min-height:44px;white-space:nowrap}.lh-recipe-side{display:flex!important;flex-direction:column;gap:12px;min-width:0}.lh-kitchen{background:transparent!important;border-radius:16px;height:190px;min-height:0!important;flex:1 1 190px;overflow:hidden}.lh-kitchen img{object-fit:contain;padding:0;width:100%;height:100%;mix-blend-mode:multiply}.lh-kitchen figcaption{position:absolute;bottom:1px;width:100%;padding:2px 8px;background:transparent;color:#7d8175;text-align:center;font-size:10px}.lh-meal-preview{flex:0 0 auto;padding:18px 20px!important;border-radius:17px!important;box-shadow:0 3px 12px #5d4e3008!important}.lh-meal-preview .section-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px}.lh-meal-preview h2{font-size:19px;margin:0}.lh-meal-preview a{color:#426b53;font-size:12px;text-decoration:none}.lh-meal-preview .section-top>a{display:flex;align-items:center;gap:5px;white-space:nowrap}.lh-meal-preview .lh-control-icon{width:15px;height:15px;flex-basis:15px}.lh-week-empty{display:flex;align-items:center;gap:12px;padding:8px 0}.lh-week-empty .lh-nav-art{width:64px;height:64px;flex-basis:64px}.lh-week-empty strong{font-size:14px;font-weight:600}.lh-week-empty p{font-size:13px;color:#646a62!important;margin:5px 0}.lh-week-empty a{display:inline-flex;align-items:center;gap:6px;min-height:30px}.lh-meal-row{display:flex;gap:10px;padding:9px 0}.lh-meal-row time{font-size:12px;text-transform:capitalize;width:23px;flex:0 0 23px}.lh-meal-row strong{font-size:13px;line-height:1.4;font-weight:600}.lh-meal-row small{font-size:11px;margin:4px 0 0}.lh-meal-row img{border-radius:50%;width:43px;height:43px;flex-basis:43px}.lh-library-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 14px;gap:12px}.lh-library-heading h2{font-size:22px;letter-spacing:-.4px;margin:0}.lh-library-heading>span{font-size:12px;color:#777e73}body[data-route^="food"] .food-recipes-grid{gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}body[data-route^="food"] .food-recipe-card{border-radius:16px;border-color:#ece6da;box-shadow:0 4px 16px #59492d09}body[data-route^="food"] .food-recipe-card img,body[data-route^="food"] .food-recipe-card .food-photo-placeholder{height:180px;width:100%;object-fit:cover}.food-recipe-copy{padding:17px 18px 18px}.food-recipe-copy h2{font-size:18px;line-height:1.35;margin:0 0 10px;letter-spacing:-.25px}.food-recipe-copy small{display:block;line-height:1.4;font-size:11px;color:#777e73}.lh-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:13px;margin:0 0 8px}.lh-card-meta .lh-control-icon{width:16px;height:16px;flex-basis:16px}.food-favorite{display:grid;place-items:center;background:#fffcf5f2;border:0;box-shadow:0 2px 10px #263f3515;width:39px;height:39px;top:12px;right:12px;color:#24352e}.food-favorite .lh-control-icon{width:21px;height:21px}.food-favorite[aria-pressed=true] .lh-control-icon{fill:#b7623d;stroke:#b7623d}.lh-import-inbox{margin:24px 0 0;padding:16px 0;border-top:1px solid #e4dfd3;color:#426b53}.lh-import-inbox>summary{cursor:pointer;min-height:32px;font-size:14px}.lh-import-inbox>summary span{font-size:12px;color:#777e73;margin-left:6px}.lh-import-inbox>.actions{margin:14px 0}.lh-unplanned{padding:30px!important}.lh-unplanned .lh-nav-art{width:90px;height:90px}.lh-unplanned h2{font-size:25px}.lh-header-actions .btn:not(.primary){box-shadow:none}.lh-header-actions .btn svg{width:19px}
@media(min-width:1450px){body[data-route^="food"] #main{max-width:1440px;padding-top:40px!important}.lh-recipe-highlights{grid-template-columns:1.7fr 1fr}.lh-recipe-today{min-height:400px}}
@media(max-width:1100px){.lh-food-header{align-items:flex-start}.lh-header-actions{flex-wrap:wrap;justify-content:flex-end}.lh-header-search{min-width:260px}.lh-recipe-highlights{grid-template-columns:1.4fr 1fr}.lh-hero-bottom .btn{font-size:13px}.lh-filter-row{gap:8px}.lh-primary-tabs.food-tabs{gap:8px}.lh-primary-tabs.food-tabs>a{padding-left:8px;padding-right:8px}.lh-feature-copy h2{font-size:27px}}
@media(max-width:780px){body[data-route^="food"] #main{padding:22px 18px 35px!important}.lh-food-header{flex-direction:column;gap:16px;margin-bottom:16px}.lh-food-header h1{font-size:29px}.lh-food-header>div>p{font-size:14px}.lh-header-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.lh-header-search{width:100%;min-width:0}.lh-header-search input{font-size:13px;padding-left:35px;padding-right:5px}.lh-header-search>.lh-control-icon{left:10px;width:17px}.lh-header-actions .btn{padding:11px 12px;font-size:12px;gap:5px}.lh-header-actions .btn.primary>span{font-size:0}.lh-header-actions .btn.primary>span:after{content:'Recept';font-size:13px}.lh-header-actions .btn.primary .lh-control-icon{width:18px;flex-basis:18px}.lh-primary-tabs.food-tabs{gap:0;overflow:visible;justify-content:space-between;flex-wrap:nowrap;margin-bottom:16px}.lh-primary-tabs.food-tabs>a{padding:4px 5px 9px;gap:3px;font-size:12px;min-height:52px;flex:1;justify-content:center}.lh-primary-tabs .lh-nav-art{width:28px;height:32px;flex-basis:28px}.lh-food-more{margin-left:0}.lh-food-more summary{padding:8px 3px}.lh-food-more summary>span{display:none}.lh-filter-row{gap:7px;margin-bottom:16px}.lh-filter-chip{padding:8px 10px;min-height:38px;font-size:12px;gap:5px}.lh-filter-chip .lh-control-icon{width:16px;height:16px;flex-basis:16px}.lh-filter-chip select{font-size:12px;max-width:115px}.lh-filter-row .food-subcategory-filter>summary{font-size:12px;min-height:38px;padding:9px 12px}.lh-recipe-highlights{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}.lh-recipe-today{min-height:325px!important}.lh-hero-badge{margin:14px;font-size:12px}.lh-feature-copy{padding:60px 18px 18px}.lh-feature-copy h2{font-size:27px}.lh-planning-hint{font-size:11px!important}.lh-hero-bottom{gap:10px}.lh-hero-bottom>p{font-size:12px}.lh-hero-bottom .lh-control-icon{width:17px;height:17px;flex-basis:17px}.lh-hero-bottom .btn{padding:8px 13px;min-height:40px;font-size:12px}.lh-recipe-side{display:block!important}.lh-kitchen{display:none!important}.lh-meal-preview{padding:15px 17px!important}.lh-week-empty .lh-nav-art{width:50px;height:50px;flex-basis:50px}.lh-meal-preview h2{font-size:18px}.lh-library-heading h2{font-size:20px}.lh-library-heading>span{font-size:11px}body[data-route^="food"] .food-recipes-grid{grid-template-columns:1fr;gap:17px}body[data-route^="food"] .food-recipe-card img{height:215px}.food-recipe-copy{padding:16px 18px}.food-recipe-copy h2{font-size:20px}.lh-card-meta{font-size:14px}.lh-import-inbox>summary span{display:block;margin:5px 0}.lh-food-more>div{max-width:calc(100vw - 36px)}.lh-cooking-columns{gap:16px}.lh-detail-top h2{font-size:25px}}
@media(min-width:1101px){body[data-route^="food"] #main{max-width:1320px}.lh-recipe-today{min-height:395px}.lh-kitchen{height:225px;flex-basis:225px}.lh-meal-preview{min-height:150px}}
.lh-header-actions .btn{display:inline-flex;align-items:center;gap:7px}.lh-header-actions [data-food^="favorite:"] .lh-control-icon{stroke:#b7623d}

/* living-food-planning.css */
/* Weekmenu en boodschappen — dezelfde materialen en illustraties als de homepage. */
body:is([data-route="food/week"],[data-route="food/list"]) .lh-header-actions .btn{font-size:14px}.lh-week-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 12px}.lh-week-summary{display:flex;align-items:center;gap:12px}.lh-week-summary .lh-nav-art{width:78px;height:78px;flex-basis:78px}.lh-week-summary strong{font-size:18px;font-weight:650}.lh-week-summary p{font-size:13px;color:#646a62;margin:7px 0 0}.food-week-toolbar.lh-week-navigation{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0}.lh-week-navigation>strong{font-size:14px;font-weight:600}.lh-week-navigation>.btn{padding:9px 12px;display:inline-flex;align-items:center;justify-content:center}.lh-week-back .lh-control-icon{transform:rotate(180deg)}.lh-week-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.lh-week-actions p{font-size:13px;color:#646a62;margin:0}.lh-week-actions .btn{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;background:#e7eddf!important;border-color:#d9e2d0!important}.food-week-grid.lh-week-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.lh-week-grid .food-day{padding:16px!important;border-radius:17px;border:1px solid #e4dfd3;background:#fffcf5!important;box-shadow:0 4px 16px #59492d08;margin:0!important;min-width:0;display:flex;flex-direction:column;overflow:hidden}.lh-week-grid .food-day.food-is-today{border-color:#9bae92;box-shadow:0 0 0 1px #9bae921f;background:#f7f9f0!important}.lh-day-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 13px;border-bottom:1px solid #e9e4d8;margin-bottom:14px}.lh-day-heading>div{display:flex;flex-direction:column;gap:3px}.lh-day-heading>div>span{text-transform:capitalize;font-size:14px;font-weight:650;color:#426b53}.lh-day-heading strong{font-size:12px;color:#777e73;font-weight:400}.lh-today-tag{font-size:10px;padding:5px 8px;border-radius:20px;background:#dce6d2;color:#345b41}.lh-planned-meal{padding:0 0 14px!important;margin:0 0 15px;border-bottom:1px solid #e6e1d5}.lh-planned-meal>a{display:block;text-decoration:none;color:#24352e}.lh-week-grid .food-day img,.lh-week-grid .food-day .food-photo-placeholder{width:100%;height:132px;object-fit:cover;border-radius:12px;margin:0 0 12px}.lh-meal-slot{display:block;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.06em;color:#8b806b}.lh-week-grid .food-day h3{font-size:17px;line-height:1.4;letter-spacing:-.2px;margin:5px 0 10px;overflow-wrap:anywhere}.lh-planned-meal .lh-card-meta{font-size:12px;color:#646a62;gap:5px;line-height:1.7}.lh-planned-meal .btn{display:flex;align-items:center;gap:6px;font-size:12px;padding:8px 10px;width:100%;justify-content:center;min-height:40px}.lh-planned-meal .lh-control-icon{width:15px;height:15px;flex-basis:15px}.lh-day-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:155px;color:#98a68e;padding:20px 0}.lh-day-empty>span{display:grid;place-items:center;border:1px dashed #c9d2bd;width:47px;height:47px;border-radius:50%;background:#f1f3e9}.lh-day-empty p{color:#8b8c7e;font-size:13px;margin:9px 0 0}.lh-week-grid .food-day>.lh-day-add{margin-top:auto;display:flex;align-items:center;gap:7px;justify-content:center;width:100%;min-height:43px;border-style:dashed;font-size:12px;background:transparent}.lh-day-add .lh-control-icon{width:17px;height:17px;flex-basis:17px}.lh-food-footnote{display:flex;align-items:center;gap:12px;margin:25px 0 0;padding:16px 0;border-top:1px solid #e4dfd3}.lh-food-footnote .lh-nav-art{width:54px;height:54px;flex-basis:54px}.lh-food-footnote p{color:#646a62;font-size:13px;line-height:1.6;margin:0;flex:1}.lh-food-footnote a{display:flex;align-items:center;gap:8px;font-size:13px;color:#426b53;text-decoration:none;min-height:44px;white-space:nowrap}.lh-shopping-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:26px;align-items:start;margin-top:26px}.lh-shopping-main{min-width:0}.lh-shopping-layout .food-shopping{padding:25px!important;margin:0;border-radius:18px}.lh-shopping-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.lh-shopping-heading h2{font-size:24px;letter-spacing:-.4px;margin:6px 0 0}.lh-shopping-count{font-size:12px;color:#426b53;padding:8px 11px;border-radius:25px;background:#e8eddf;white-space:nowrap}.lh-check-explanation{font-size:13px;color:#646a62;margin:12px 0 20px}.lh-aisle-heading{font-size:12px;font-weight:600;letter-spacing:.03em;color:#7d806e;text-transform:uppercase;margin:24px 0 5px;padding:10px 0;border-bottom:1px solid #e3dece}.lh-shopping-main .food-list-row{display:flex;align-items:center;gap:9px;padding:0;border-bottom:1px solid #ece6d9;min-height:71px}.lh-shopping-main .food-list-row>label{display:flex;align-items:center;flex:1;gap:13px;margin:0;padding:14px 0;cursor:pointer;min-width:0;min-height:65px}.lh-shopping-main .food-list-row input{appearance:none;width:23px!important;height:23px;min-height:23px;flex:0 0 23px;border:1.5px solid #c2cbb8;border-radius:7px;background:#fffdf7;cursor:pointer;display:grid;place-items:center;margin:0}.lh-shopping-main .food-list-row input:checked{background:#537d65;border-color:#537d65}.lh-shopping-main .food-list-row input:checked:after{content:'';width:6px;height:11px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-3px}.lh-shopping-main .food-list-row>label>span{flex:1;min-width:0}.lh-product-name{font-size:16px;font-weight:550;display:block;overflow-wrap:anywhere;line-height:1.45}.food-list-row small{display:block;font-size:11px;color:#8b8c7d;line-height:1.5;margin-top:3px;overflow-wrap:anywhere}.lh-product-quantity{font-size:13px!important;color:#426b53;white-space:normal;text-align:right;max-width:110px;line-height:1.4}.lh-shopping-main .food-row-edit{border:0;background:transparent;min-width:40px;padding:8px;display:grid;place-items:center;color:#7b8372}.lh-shopping-main .food-checked{opacity:.8}.lh-shopping-main .food-checked .lh-product-name{text-decoration:line-through;color:#748069}.lh-shopping-main .food-cart{margin-top:24px;border-top:1px solid #dcded1;padding-top:14px}.lh-shopping-main .food-cart>summary{display:flex;align-items:center;gap:8px;min-height:44px;color:#426b53;font-size:15px;font-weight:600;cursor:pointer}.lh-shopping-main .food-cart>p{font-size:12px;color:#646a62}.lh-shopping-side{display:flex;flex-direction:column;gap:17px}.lh-shopping-side>.card{padding:23px!important;border-radius:18px;margin:0;background:#fffcf5;min-width:0}.lh-store-hero{display:flex;align-items:center;gap:8px;margin-bottom:20px}.lh-store-hero>.lh-nav-art{width:86px;height:86px;flex-basis:86px}.lh-store-hero h2{font-size:21px;letter-spacing:-.4px;line-height:1.3;margin:6px 0 0}.lh-store-hero .lh-eyebrow{font-size:10px;letter-spacing:.04em}.lh-shopping-store .food-shop-label{font-size:12px;color:#646a62;margin:0 0 13px}.lh-shopping-store .food-shop-label select{margin-top:7px;min-height:46px;width:100%;font-size:14px}.lh-shopping-side .btn{display:flex;align-items:center;gap:10px;min-height:46px;text-align:left;font-size:13px;padding:11px 13px}.lh-shopping-side .btn>span:not(.lh-nav-art){flex:1}.lh-shopping-store>p{font-size:12px;color:#777e73;line-height:1.7;margin:12px 0 0}.lh-route-link{background:#e9efdf!important;border-color:#d9e1cd!important}.lh-list-actions h2{font-size:17px;margin:0 0 14px}.lh-list-actions>.btn{width:100%;margin-top:8px;background:transparent!important}.lh-list-actions .lh-nav-art{width:23px;height:27px;flex-basis:23px}.lh-shopping-week-link{display:flex;align-items:center;gap:10px;padding:8px;color:#426b53;text-decoration:none}.lh-shopping-week-link>.lh-nav-art{width:65px;height:65px;flex-basis:65px}.lh-shopping-week-link>span:not(.lh-nav-art){flex:1;min-width:0}.lh-shopping-week-link strong{font-size:14px;display:block;font-weight:600}.lh-shopping-week-link small{font-size:12px;display:block;color:#777e73;margin-top:6px}.lh-shopping-empty{padding:30px 12px;display:flex;flex-direction:column;align-items:center;text-align:center}.lh-shopping-empty .lh-nav-art{width:100px;height:100px;flex-basis:100px}.lh-shopping-empty h3{font-size:21px;margin:15px 0 6px}.lh-shopping-empty p{font-size:13px;color:#646a62;line-height:1.7;max-width:330px}.lh-live-status{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:25px;padding-top:15px;border-top:1px solid #e4dfd3;font-size:12px;color:#777e73}.lh-live-status .btn{font-size:12px;padding:8px 12px}.lh-shopping-main .food-undo{margin:0 0 15px;background:#e4eddc;border-color:#c3d2b8;font-size:13px}.lh-shopping-main .food-undo .btn{min-height:44px}body[data-route="food/list"] .food-tabs{display:flex!important}
@media(max-width:1100px){.food-week-grid.lh-week-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lh-week-intro{flex-wrap:wrap}.lh-shopping-layout{grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:18px}.lh-shopping-layout .food-shopping{padding:20px!important}.lh-shopping-side>.card{padding:18px!important}}
@media(max-width:780px){.lh-week-intro{gap:15px;margin-top:12px}.lh-week-summary .lh-nav-art{width:58px;height:58px;flex-basis:58px}.lh-week-summary strong{font-size:16px}.lh-week-summary p{font-size:12px}.food-week-toolbar.lh-week-navigation{width:100%;gap:7px;justify-content:space-between}.lh-week-navigation>strong{order:0;flex:1;text-align:center;font-size:12px}.lh-week-navigation>.btn{min-height:42px;padding:8px 10px}.lh-week-navigation>.btn:last-child{flex-basis:100%;margin-top:3px;background:transparent;border:0;min-height:34px;padding:4px}.lh-week-actions{align-items:flex-start;flex-direction:column;gap:12px;margin-top:15px}.lh-week-actions p{font-size:12px;line-height:1.7}.lh-week-actions .btn{justify-content:center;width:100%;font-size:13px}.food-week-grid.lh-week-grid{grid-template-columns:1fr;gap:15px}.lh-week-grid .food-day{padding:17px!important}.lh-day-heading{margin-bottom:12px}.lh-day-heading>div{flex-direction:row;align-items:baseline;gap:9px}.lh-day-heading>div>span{font-size:16px}.lh-day-heading strong{font-size:12px}.lh-day-empty{min-height:65px;flex-direction:row;gap:10px;padding:10px 0 18px}.lh-day-empty p{margin:0}.lh-day-empty>span{width:34px;height:34px}.lh-week-grid .food-day img,.lh-week-grid .food-day .food-photo-placeholder{height:190px}.lh-week-grid .food-day h3{font-size:20px}.lh-planned-meal .lh-card-meta{font-size:13px}.lh-planned-meal .btn,.lh-week-grid .food-day>.lh-day-add{font-size:13px;min-height:44px}.lh-food-footnote{flex-wrap:wrap;gap:8px}.lh-food-footnote p{font-size:12px}.lh-food-footnote a{margin-left:62px}.lh-shopping-layout{grid-template-columns:1fr;gap:17px;margin-top:18px}.lh-shopping-heading h2{font-size:21px}.lh-shopping-count{font-size:11px;padding:6px 9px}.lh-shopping-layout .food-shopping{padding:18px!important}.lh-shopping-side{gap:14px}.lh-shopping-side .lh-shopping-store{order:-1}.lh-shopping-main .food-list-row>label{gap:10px}.lh-product-name{font-size:15px}.lh-product-quantity{font-size:12px!important;max-width:80px}.lh-shopping-main .food-row-edit{min-width:34px;padding:7px}.lh-store-hero{margin-bottom:10px}.lh-store-hero>.lh-nav-art{width:66px;height:66px;flex-basis:66px}.lh-list-actions>.btn{min-height:48px}.lh-shopping-main .food-list-row{min-height:66px}.lh-shopping-main .food-list-row>label{min-height:64px}.lh-live-status{margin-top:18px;align-items:flex-start}.lh-live-status>span{line-height:1.6}.lh-food-header .lh-header-actions{display:flex;flex-wrap:wrap}.lh-food-header .lh-header-actions .btn.primary>span{font-size:13px}.lh-food-header .lh-header-actions .btn.primary>span:after{content:none}.lh-week-grid .lh-day-add{margin-top:4px}}
@media print{.lh-shopping-side,.lh-live-status,.lh-week-intro,.lh-week-actions,.lh-food-footnote{display:none!important}}
@media(max-width:780px){.food-week-grid.lh-week-grid{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}.lh-week-grid .lh-planned-meal,.lh-planned-meal>a{min-width:0;width:100%}.lh-week-grid .food-day img{max-width:100%}body[data-route^="food"] .lh-primary-tabs.food-tabs>a{flex:1 1 0;min-width:0;font-size:11px;padding:4px 3px 9px;gap:2px}.lh-primary-tabs .lh-nav-art{width:24px;height:28px;flex-basis:24px}.lh-primary-tabs .lh-food-more{flex:0 0 24px}.lh-food-more>div{max-width:calc(100vw - 36px)}.lh-shopping-layout{grid-template-columns:minmax(0,1fr)}}
.lh-product-name{text-align:left!important;max-width:none!important}

/* Het aanvullende menu staat in de browservoorgrond, buiten alle kaartlagen. */
.lh-header-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-start}.lh-header-actions .lh-more-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:10px 13px;box-shadow:none}.lh-header-actions .lh-more-trigger:focus-visible{outline:3px solid #426b53;outline-offset:3px}.lh-food-menu[popover]{position:fixed;inset:auto;margin:0;padding:14px;width:290px;max-width:calc(100vw - 24px);box-sizing:border-box;border:1px solid #e4dfd3;border-radius:18px;background:#fffcf5;color:#24352e;box-shadow:0 16px 55px #302a2433;overflow-y:auto;overscroll-behavior:contain}.lh-food-menu:popover-open{display:grid;gap:7px}.lh-food-menu::backdrop{background:transparent}.lh-food-menu .btn{display:flex;align-items:center;min-height:46px;padding:11px 14px;text-align:left;font:500 14px/1.5 'Segoe UI',Arial,sans-serif;background:#fffcf5;border:1px solid #e4dfd3;border-radius:11px;color:#426b53;text-decoration:none;white-space:normal}.lh-food-menu .btn:hover{background:#e9efdf}.lh-food-menu .btn:focus-visible{outline:3px solid #426b53;outline-offset:1px}.lh-food-menu p{margin:8px 4px 2px;font:12px/1.6 'Segoe UI',Arial,sans-serif;color:#777e73}.lh-food-menu .btn.primary{background:#b7623d;color:white}.lh-primary-tabs.food-tabs{justify-content:flex-start}
@media(max-width:780px){body[data-route^="food"] .lh-header-actions{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;width:100%}.lh-header-search{width:100%;max-width:none}.lh-header-buttons{width:100%;justify-content:flex-start;align-items:center;gap:9px;flex-wrap:wrap}.lh-header-buttons .btn{margin:0!important}.lh-header-actions .lh-more-trigger{width:44px;height:44px;padding:10px}.lh-more-trigger>span{display:none}.lh-food-header .lh-header-actions .lh-header-buttons>[data-food="new-recipe"]>span{font-size:0}.lh-food-header .lh-header-actions .lh-header-buttons>[data-food="new-recipe"]>span:after{content:'Recept';font-size:14px}.lh-food-header .lh-header-actions .lh-header-buttons>[data-food="new-recipe"]{min-height:44px;padding:11px 15px}.lh-header-buttons .lh-more-trigger{flex:0 0 44px}body[data-route^="food"] .lh-primary-tabs.food-tabs>a{flex:1 1 0;min-width:0;justify-content:center;padding:4px 3px 9px;font-size:12px}.lh-primary-tabs .lh-nav-art{width:29px;height:32px;flex-basis:29px}.lh-food-menu[popover]{width:290px;max-width:calc(100vw - 24px)}.lh-food-menu .btn{min-height:48px}}


/* living-finance-parent.css */
/* Alleen de bestaande financiële routes; het gezamenlijke menu en zijn rechten blijven intact. */
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"],[data-route="subscriptions"],[data-route="insurance"]){background:var(--home-ivory,#faf8f2)!important;color:#24352e;font-family:'Segoe UI',Arial,sans-serif}
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"],[data-route="subscriptions"],[data-route="insurance"]) .workspace{background:var(--home-ivory,#faf8f2)!important;min-height:100dvh}
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"],[data-route="subscriptions"],[data-route="insurance"]) .workspace::before{display:none!important}
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"],[data-route="subscriptions"],[data-route="insurance"]) #main{padding:0!important;max-width:none!important;width:100%;margin:0!important}
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"],[data-route="subscriptions"],[data-route="insurance"])>aside{background:#f6f5eb!important;color:#304735!important;border-right:1px solid #e1e3d5}
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"],[data-route="subscriptions"],[data-route="insurance"])>aside #nav a{color:#42553e}
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"],[data-route="subscriptions"],[data-route="insurance"])>aside #nav a[href="#month"]{background:#dce5d3;color:#31553c;font-weight:600;border-radius:9px}
body:is([data-route="month"],[data-route="transactions"],[data-route="categories"],[data-route="rules"],[data-route="savings"],[data-route="mortgage"],[data-route="subscriptions"],[data-route="insurance"])>aside .profile-switch{color:#42553e}
.finance-book-frame{background:var(--home-ivory,#faf8f2)!important;min-height:100svh;display:block}.lf-legacy.finance-legacy-book{background:none!important;padding:30px 38px 45px;margin:0 auto;max-width:1600px;min-height:100svh;color:#24352e;font-family:'Segoe UI',Arial,sans-serif;border:0;box-shadow:none}.lf-legacy-nav{display:flex;align-items:center;gap:5px;margin-bottom:25px;padding-bottom:13px;overflow-x:auto;border-bottom:1px solid #e5e1d4;scrollbar-width:thin}.lf-legacy-nav a{color:#66745d;white-space:nowrap;padding:12px 14px;border-radius:9px;text-decoration:none;font-size:13px;min-height:44px;box-sizing:border-box}.lf-legacy-nav a[aria-current]{background:#dfe7d7;color:#31553c;font-weight:600;box-shadow:inset 0 -2px #5b7a5d}.lf-legacy-content>.heading{display:flex!important;width:100%;grid-column:1/-1;justify-content:space-between;gap:18px;align-items:flex-start;margin:0 0 25px}.lf-legacy-content>.heading h1,.lf-legacy .heading h1{font:650 clamp(26px,2.25vw,37px)/1.2 'Segoe UI',Arial,sans-serif!important;color:#24352e;letter-spacing:-1px}.lf-legacy .heading p{font:13px/1.6 'Segoe UI',Arial,sans-serif;color:#7a8270}.lf-legacy .eyebrow{display:none}.lf-legacy-content{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}.lf-legacy-content>.finance-paper-page{display:contents}.lf-legacy-content>.stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%}.lf-legacy .stats .card{border:1px solid #ece7d9!important;background:#fffcf5!important;border-radius:16px!important;padding:22px!important;box-shadow:0 4px 16px #77674207!important;color:#2f4936}.lf-legacy .stat-label{color:#7a8371!important;font:13px 'Segoe UI',Arial,sans-serif!important}.lf-legacy .stat-value{color:#31583d;font:650 29px 'Segoe UI',Arial,sans-serif!important;letter-spacing:-.6px;margin:9px 0}.lf-legacy .stat-note,.lf-legacy p{color:#7d8474;font:12px/1.7 'Segoe UI',Arial,sans-serif}.lf-legacy .pots{width:100%;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.lf-legacy .pots .card,.lf-legacy-content>.card,.lf-legacy-content .contract-card{border:1px solid #ece7d9!important;background:#fffcf5!important;border-radius:17px!important;box-shadow:0 4px 16px #77674207!important;padding:23px!important;margin:0!important;min-width:0}.lf-legacy-content>.card{flex:1 1 390px}.lf-legacy h2{font:650 21px 'Segoe UI',Arial,sans-serif!important;color:#304c38;margin:0 0 18px!important}.lf-legacy .heading .btn,.lf-legacy .btn{font:500 13px 'Segoe UI',Arial,sans-serif;border:1px solid #dce0cd;background:#fffdf7;color:#44603d;min-height:42px;padding:10px 13px;border-radius:9px}.lf-legacy .btn.primary{background:#b7623d;color:white;border-color:#b7623d}.lf-legacy .detail{font:13px 'Segoe UI',Arial,sans-serif;padding:14px 0;gap:12px;border-color:#ebe6d9}.lf-legacy .bar{background:#e7e4d8}.lf-legacy .bar span{background:#819b74}.lf-legacy .contract-tabs{width:100%;display:flex;gap:10px}.lf-legacy .contract-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.lf-legacy .contract-card{min-width:0}.lf-legacy .grid{width:100%;gap:20px}.lf-legacy-note{width:100%;font:12px/1.65 'Segoe UI',sans-serif!important;color:#8b713c!important;background:#f5ecd9;border:1px solid #eee2c6;padding:12px 15px;border-radius:10px;margin:0}.lf-legacy input,.lf-legacy select{font:13px 'Segoe UI',sans-serif;background:#fffdf7;border-color:#dce0cd;color:#3a533d}.lf-legacy .pot-emoji{font-size:24px}.lf-legacy .finance-legacy-spread{display:contents}
@media(max-width:1000px){.lf-legacy.finance-legacy-book{padding:25px}.lf-legacy .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lf-legacy .pots,.lf-legacy .contract-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.lf-legacy.finance-legacy-book{padding:22px 16px 35px;margin:0;border:0;background:none!important}.lf-legacy-nav{gap:3px}.lf-legacy-nav a{padding:11px;font-size:12px}.lf-legacy .heading h1{font-size:28px!important}.lf-legacy .heading{display:block!important}.lf-legacy .heading .btn{margin-top:12px}.lf-legacy .pots,.lf-legacy .contract-grid{grid-template-columns:1fr!important}.lf-legacy .stat-value{font-size:24px!important}.lf-legacy .stats .card{padding:17px!important}.lf-legacy-content{gap:16px}.lf-legacy-content>.card{flex-basis:100%}.lf-legacy .detail{flex-wrap:wrap;align-items:start}.lf-legacy .pot{padding:20px!important}.lf-legacy .heading-controls{display:flex;flex-wrap:wrap;gap:8px}.lf-legacy .contract-tabs{flex-wrap:wrap}}

.lf-legacy-nav a{display:flex;align-items:center;gap:8px}.lf-legacy-nav .family-icon{width:18px;height:18px;flex-shrink:0}.lf-legacy .pot-emoji{width:46px;height:46px;display:grid;place-items:center;background:#e3e9d8;border-radius:50%;color:#60815c;margin-bottom:12px}.lf-legacy .pot-emoji .family-icon{width:26px;height:26px}

/* Hypotheekpagina */
.mortgage-page{width:100%;display:grid;gap:24px;color:#24352e}
.mortgage-page #mortgage-payments{display:grid;gap:16px}
.mortgage-page .card{margin:0;min-width:0;padding:22px;border:1px solid #e8e3d5;border-radius:17px;background:#fffcf5;box-shadow:0 4px 16px #77674207}
.mortgage-page .mortgage-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#e7eddf;border-color:#dce5d5}
.mortgage-hero p{margin:4px 0;text-transform:none}
.mortgage-hero p:first-of-type::first-letter{text-transform:uppercase}
.mortgage-total{display:block;color:#31553c;font-size:clamp(2rem,6vw,3.5rem);line-height:1.1}
.mortgage-hero svg{width:clamp(70px,19vw,175px);flex:none;color:#668463}
.mortgage-page .mortgage-notice{margin:0;padding:12px 16px;border:1px solid #eee2c6;border-radius:10px;background:#f5ecd9;color:#664e29;font-size:14px}
.mortgage-payment-grid,.mortgage-loans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px}
.mortgage-page h3{margin:10px 0;color:#304c38;font-size:16px}
.mortgage-icon{width:76px;height:76px;display:block}
.mortgage-icon svg{display:block;width:100%;height:100%}
.mortgage-loan dl{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:0}
.mortgage-loan dd{margin:0;color:#60695b}
.mortgage-milestones{display:flex;flex-wrap:wrap;gap:12px 22px;margin:14px 0}
.mortgage-milestones span{display:inline-flex;align-items:center;gap:8px}
.mortgage-diamond,.mortgage-dot{width:10px;height:10px;display:inline-block}
.mortgage-diamond{background:#a76725;transform:rotate(45deg)}
.mortgage-dot{background:#5b7a5d;border-radius:50%}
.mortgage-timeline ul{margin:0;padding:0;list-style:none}
.mortgage-timeline li{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 0;border-top:1px solid #e8e3d5}
@media(max-width:650px){.mortgage-page .card{padding:16px}.mortgage-timeline li{grid-template-columns:1fr}}

.mortgage-section-heading{display:flex;align-items:center;gap:12px}
.mortgage-page .mortgage-section-heading h2{margin:0!important}
.mortgage-art{display:block;width:64px;height:64px;flex:none}
.mortgage-page .mortgage-hero .mortgage-art{width:clamp(85px,21vw,190px);height:auto}
.mortgage-page .mortgage-loan:nth-child(2){background:#fbf2e6;border-color:#eadcc9}
.mortgage-page .mortgage-loan:nth-child(3){background:#eff2e8;border-color:#dfe5d6}
.mortgage-page .mortgage-timeline{background:#f8f6ed}
@media(max-width:650px){.mortgage-art{width:52px;height:52px}}

/* living-theme.css */
/* Het levende huis: gedeelde kleuren, panelen en mobiele navigatie. */
:root{--home-ivory:#faf8f2;--home-paper:#fffdf7;--home-sage:#dce6d6;--home-green:#537456;--home-ink:#293e33;--home-muted:#758071;--home-line:#e1e6d9;--home-clay:#b85f3d;--home-amber:#f4d796;color-scheme:light}
html{background:var(--home-ivory);scroll-padding-bottom:100px}
body{background-color:var(--home-ivory)!important;color:var(--home-ink);font-family:'Segoe UI',Arial,sans-serif;accent-color:var(--home-green)}
body .workspace{background-color:var(--home-ivory)!important}
body .card,body .summary-card,body .stat-card{background-color:var(--home-paper)!important;border-color:var(--home-line)!important;border-radius:18px;box-shadow:0 4px 18px #293e3306}
body h1,body h2,body h3{color:var(--home-ink)}
body .heading,body .section-top{background-color:transparent;color:var(--home-ink)}
body .btn{background-color:var(--home-paper);color:var(--home-green);border-color:var(--home-line);border-radius:11px;min-height:44px}
body .btn.primary,body button.primary{background:var(--home-clay)!important;border-color:var(--home-clay)!important;color:#fffaf4!important}
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),body select,body textarea{background-color:#fffefa;color:var(--home-ink);border-color:#ccd7c5;border-radius:10px}
body .muted,body .caption{color:var(--home-muted)}
body dialog#panel{background-color:var(--home-paper);color:var(--home-ink);border-color:var(--home-line);border-radius:18px}
body .workspace>footer{display:none!important}
body.household-menu-enabled:not(.family-locked) aside,body:not(.family-locked) aside{background:#e5ebdd!important;color:var(--home-ink)!important;border-right:1px solid #d7dfce}
body aside .brand,body aside .brand small,body aside #nav a,body aside .profile-switch,body aside .living-profile-link{color:var(--home-ink)!important}
body aside #nav a:hover{background:#dce5d3!important}
body aside #nav a.active,body aside #nav a[aria-current=page]{background:#ccdcbf!important;color:#294b32!important;border-radius:10px}
body aside .brand-icon{background:var(--home-clay)!important;color:#fffaf4!important}
body .music-menu-tab{background:#edf1e6!important;color:#496242!important;border-color:#d3ddc9!important}
body #phone-update,body #phone-install{background:var(--home-paper);border-color:#d8e1cf;color:var(--home-ink);box-shadow:0 6px 28px #293e331a}
body #phone-update button,body #phone-install button{background:var(--home-clay);color:#fffaf4}
body #phone-install .phone-dismiss{background:transparent;color:var(--home-ink)}
/* Huis en alle negen informatietegels gebruiken één raster. */
.living-home{--home-row:180px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;grid-auto-rows:var(--home-row);gap:16px;align-items:stretch}
.living-home>.living-header{grid-column:1/-1;order:-2;margin:0 0 8px}
.living-home .living-main,.living-home .living-house,.living-home .living-day,.living-home .living-house-actions,.living-home .living-overviews{display:contents!important}
.living-home .living-scene{grid-column:1/span 2;grid-row:2/span 3;order:-1;display:flex;flex-direction:column;justify-content:center;align-self:stretch;min-width:0;margin:0}
.living-home .living-house-map{max-width:min(100%,calc(var(--home-row) * 3 - 20px),calc(100svh - 230px))}
.living-home .family-weather{order:1}.living-home .family-agenda{order:2}.living-home .family-tasks{order:3}.living-home .family-meal{order:4}
.living-home .living-shortcut-lights{order:5}.living-home .living-shortcut-music{order:6}
.living-home .living-overviews>[data-home-quick]{order:7}.living-home .family-energy{order:8}.living-home .family-finance{order:9}
.living-home .family-tile,.living-home .living-shortcut,.living-home .living-overviews>[data-home-quick]{min-width:0;min-height:0!important;width:100%;margin:0!important;grid-column:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.living-home .family-tile>[data-home-quick],.living-home .living-shortcut>[data-home-quick],.living-home .family-weather>[data-today-weather]{width:100%;height:100%}
.living-home .home-quick-card,.living-home .living-house-actions .home-quick-card{height:100%!important;min-height:0!important;padding:16px;grid-template-columns:72px minmax(0,1fr) 12px;gap:12px;box-sizing:border-box}
.living-home .home-quick-card .home-quick-visual,.living-home .home-quick-card .weather-3d-icon{width:72px;height:72px;flex-basis:72px}
.living-home .home-quick-card .home-quick-copy{overflow-wrap:break-word}
.living-home .home-quick-card .home-quick-copy strong{font-size:15px}
.living-home .home-quick-card .home-quick-copy>span{font-size:12px}
@media(min-width:1600px){.living-home{--home-row:196px}}
@media(min-width:901px) and (max-width:1179px){.living-home{grid-template-columns:repeat(3,minmax(0,1fr));--home-row:168px}}
@media(max-width:900px){
 .living-home{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;--home-row:156px}
 .living-home .living-scene{grid-column:1/-1!important;grid-row:2;justify-content:start}
 .living-home .living-house-map{max-width:min(100%,520px)}
}
@media(max-width:780px){
 body:not(.family-locked) aside{display:none!important}
 body .workspace{margin-left:0!important;width:100%!important;min-height:100dvh}
 body:not(.family-locked) #main{padding-bottom:calc(105px + env(safe-area-inset-bottom))!important}
 body .workspace>header{background:var(--home-ivory)!important;color:var(--home-ink)!important;border-color:var(--home-line)!important}
 body:not(.family-locked) nav.mobile-dock{display:flex!important;position:fixed;inset:auto 0 0;z-index:115;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;gap:4px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fffdf7f7!important;border-top:1px solid var(--home-line);box-shadow:0 -4px 20px #293e3305;scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x;max-width:100vw}
 body nav.mobile-dock::-webkit-scrollbar{display:none}
 body nav.mobile-dock a{display:flex;flex:0 0 76px;flex-direction:column;align-items:center;justify-content:center;min-height:58px;gap:5px;padding:5px;border-radius:12px;font:500 11px/1.3 'Segoe UI',Arial,sans-serif;color:#667a5d;text-decoration:none;scroll-snap-align:center;white-space:nowrap}
 body nav.mobile-dock .family-icon{width:22px;height:22px}
 body nav.mobile-dock a[aria-current=page]{background:#e2eadb!important;color:#355d3e!important}
 body .music-menu-tab,body .music-menu-backdrop{display:none!important}
}
@media(max-width:650px){
 .living-home{--home-row:208px;gap:12px}
 .living-home .home-quick-card,.living-home .living-house-actions .home-quick-card{grid-template-columns:minmax(0,1fr) 12px;grid-template-rows:64px minmax(0,1fr);gap:10px;padding:13px;align-items:center}
 .living-home .home-quick-card>.home-quick-visual,.living-home .home-quick-card>.weather-3d-icon{grid-column:1/-1;grid-row:1;width:64px;height:64px;justify-self:center}
 .living-home .home-quick-card>.home-quick-copy{grid-column:1;grid-row:2;gap:5px;align-self:center}
 .living-home .home-quick-card>.home-quick-arrow{grid-column:2;grid-row:2}
 .living-home .home-quick-card .home-quick-copy strong{font-size:14px}
 .living-home .home-quick-card .home-quick-copy>span{font-size:12px;line-height:1.4}
 .living-home .home-quick-card .home-quick-copy small{font-size:10px;line-height:1.4}
}
/* Hetzelfde thuisgevoel op de account- en PIN-schermen. */
html:has(#login-main){background:var(--home-ivory)}
body:has(#login-main){min-height:100dvh;background:var(--home-ivory)!important}
#login-main{padding:24px 16px calc(24px + env(safe-area-inset-bottom));color:var(--home-ink)}
#login-main>section{max-width:640px;margin:0 auto;padding:28px;background:var(--home-paper);border:1px solid var(--home-line);border-radius:24px;box-shadow:0 12px 50px #293e3307}
#login-main .login-home{background:transparent;border:0;box-shadow:none;padding:8px 12px}
.login-home-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.login-kicker{font-size:10px;letter-spacing:2px;color:#9a7b68;margin:0 0 12px}
#login-main h1{font-size:clamp(26px,5vw,36px);letter-spacing:-.8px;color:var(--home-ink);margin:0 0 10px}
#login-main h2{font-size:18px;margin:24px 0 12px}
#login-main p{color:var(--home-muted);font-size:14px}
#login-main button:not(.rest){border-color:var(--home-line);border-radius:12px;background:var(--home-clay);color:#fffaf4;min-height:48px}
#login-main button.secondary{background:var(--home-paper);color:var(--home-green)}
.login-options{position:relative;z-index:2}
.login-options summary{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--home-line);border-radius:12px;background:var(--home-paper);cursor:pointer;list-style:none;color:var(--home-green)}
.login-options summary::-webkit-details-marker{display:none}
.login-options summary svg{width:23px;height:23px}
.login-options-menu{position:absolute;right:0;top:52px;display:grid;gap:8px;min-width:220px;padding:12px;border:1px solid var(--home-line);border-radius:16px;background:var(--home-paper);box-shadow:0 10px 40px #293e3320}
#login-main .login-house{display:flex;flex-direction:column;align-items:center;gap:10px;background:transparent;border:0;box-shadow:none;color:var(--home-green);margin:16px auto 24px;padding:0;width:min(270px,80%)}
.login-house img{width:100%;height:auto;display:block;border-radius:22px}
.login-house span{display:block;font-size:14px}
#login-main .persons{gap:10px;margin:20px 0}
#login-main .persons button{background:#e3ebdb;color:#35543a;flex:1;min-width:100px}
.login-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.login-preview-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:150px;padding:14px 8px;border:1px solid var(--home-line);background:var(--home-paper);border-radius:18px;text-align:center}
.login-preview-card img{width:80px;height:80px;object-fit:contain}
.login-preview-card strong{font-size:13px;color:var(--home-ink)}
.login-preview-card small{font-size:11px;color:var(--home-muted)}
.login-radio-picture{width:76px;height:76px;flex-shrink:0;background:url('assets/living-tile-pictures.webp?v=20261026') 0 100%/270% 270% no-repeat}
.login-radio-preview{display:flex;align-items:center;gap:16px;margin-top:12px;padding:14px 18px;border:1px solid var(--home-line);border-radius:18px;background:var(--home-paper)}
.login-radio-preview strong{display:block;font-size:15px}.login-radio-preview p{margin:6px 0 0}
#login-main #lights button.lamp{background:var(--home-paper);color:var(--home-ink);border-color:var(--home-line)}
#login-main #lights button.lamp.is-on{background:#fff3d7;border-color:#dfc987}
#login-main .public-music-card{background:var(--home-paper);border-color:var(--home-line)}
#login-main .pin-keypad button{background:var(--home-paper);color:var(--home-green);font-size:24px}
#login-main .rest{min-height:calc(100dvh - 48px)}
#login-main #error{color:#a23f30}
@media(max-width:450px){#login-main{padding:20px 12px}#login-main>section{padding:22px 18px}#login-main .login-home{padding:0}.login-preview-grid{gap:8px}.login-preview-card{padding:12px 5px;min-height:136px}.login-preview-card img{width:68px;height:68px}.login-preview-card strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{scroll-behavior:auto!important}}

.living-home .home-quick-visual{position:relative}.home-radio-logo{position:absolute;right:-4px;bottom:0;width:30px;height:30px;object-fit:contain;background:#fffdf7;border:1px solid #e1e6d9;border-radius:8px;padding:3px}

#login-main .public-music-title>span:first-child{font-size:0;width:64px;height:64px;background:url('assets/living-tile-pictures.webp?v=20261026') 0 100%/270% 270% no-repeat;flex-shrink:0}
body:has(main>section>h1) main>section{background-color:var(--home-paper);border-color:var(--home-line)}

/* Eén rustige terugkeerknop op de telefoon. */
@media(max-width:780px){
 body:not(.family-locked) nav.mobile-dock{inset:auto auto calc(10px + env(safe-area-inset-bottom)) 50%;transform:translateX(-50%);width:auto;max-width:calc(100vw - 24px);padding:0;gap:0;border:1px solid #dce4d5;border-radius:999px;background:#fffdf7ed!important;box-shadow:0 3px 16px #293e3312;overflow:visible;backdrop-filter:blur(8px)}
 body:not(.family-locked) nav.mobile-dock a{flex:none;width:52px;min-width:52px;height:44px;min-height:44px;padding:10px 14px;border-radius:999px;color:#667e60;gap:0;background:transparent!important}
 body:not(.family-locked) nav.mobile-dock a:hover{color:#355d3e;background:#edf2e7!important}
 body:not(.family-locked) nav.mobile-dock .family-icon{width:22px;height:22px}
 body:not(.family-locked) #main{padding-bottom:calc(80px + env(safe-area-inset-bottom))!important}
}

.homepage-account-actions{display:flex;gap:10px;flex-wrap:wrap;padding-bottom:20px;margin-bottom:18px;border-bottom:1px solid var(--home-line)}
.homepage-account-actions .btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.living-home .family-documents{order:10}
.home-quick-documents .home-quick-visual{background-image:none;display:grid;place-items:center}
.home-quick-documents .home-quick-visual svg{display:block;width:100%;height:100%}


/* living-lights.css */
/* Scoped to the lighting page; shared navigation and other pages keep their styles. */
body[data-route="lights"].living-lights-active{background:var(--home-ivory,#faf8f2)!important;color:#24352e}
body[data-route="lights"].living-lights-active .workspace{background:var(--home-ivory,#faf8f2)!important;min-height:100dvh}
body[data-route="lights"].living-lights-active .workspace::before{display:none!important}
body[data-route="lights"].living-lights-active #main{display:block!important;max-width:1540px;width:100%;min-height:100dvh;padding:42px 48px 36px!important;background:transparent!important}
.living-lights{--ll-green:#426b53;--ll-sage:#dce4d5;--ll-ink:#24352e;--ll-muted:#646a62;--ll-line:#dedcd2;--ll-paper:#fffcf5;font-family:'DM Sans','Segoe UI',sans-serif;color:var(--ll-ink)}
.living-lights .ll-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px;height:auto;min-height:0;padding:0;border:0;background:transparent}
.living-lights .ll-heading h1{font-size:38px;line-height:1.2;letter-spacing:-1.2px;font-weight:650;margin:5px 0 10px}
.ll-heading p{margin:0;color:var(--ll-muted);font-size:14px}.ll-heading .ll-kicker{font-size:10px;letter-spacing:2.3px;color:#8b684c;font-weight:650}
.ll-top-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.ll-button{min-height:44px;padding:10px 14px;background:#fffcf5;border:1px solid var(--ll-line);border-radius:12px;color:var(--ll-ink);font:inherit;font-size:13px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}
.living-lights svg{width:22px;height:22px;flex-shrink:0}.ll-button:hover{background:#e8edde}.living-lights button:focus-visible,.living-lights a:focus-visible{outline:3px solid #b7623d;outline-offset:3px}.living-lights button:disabled{opacity:.48;cursor:not-allowed}
.ll-rooms{display:flex;gap:10px;padding:10px;background:#fffcf599;border:1px solid #e8e3d6;border-radius:20px;margin-bottom:24px;overflow:auto;scrollbar-width:thin}
.ll-room{flex:1;min-width:110px;max-width:210px;padding:7px;border:1px solid transparent;background:transparent;color:var(--ll-ink);border-radius:14px;text-align:left;cursor:pointer;font:inherit}
.ll-room-photo,.ll-room-icon{display:block;width:100%;height:66px;background-color:#e8e4d7;background-size:cover;border-radius:9px;margin-bottom:8px}.ll-room-icon{display:grid;place-items:center;background:#eee9dd;color:#728263}.ll-room-icon svg{width:30px;height:30px}
.ll-room strong{display:block;font-size:13px;line-height:1.5;padding:0 4px}.ll-room small{display:block;font-size:11px;padding:2px 4px;color:var(--ll-muted)}
.ll-room:hover{background:#eceee2}.ll-room.is-selected{background:var(--ll-green);color:#fff}.ll-room.is-selected small{color:#e1eadd}
.ll-feedback{padding:14px 18px;margin-bottom:20px;background:#fff4e1;border:1px solid #e8cc9a;border-radius:12px;line-height:1.5;font-size:14px}.ll-feedback[hidden]{display:none}
.ll-layout{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(340px,.84fr);gap:28px;align-items:start}.ll-house{max-width:660px;margin-inline:auto!important}
.ll-visual{min-width:0;position:sticky;top:20px}.ll-house{margin:0}.ll-house-image{position:relative;border-radius:22px;overflow:hidden;background:#f1e9d9;aspect-ratio:1}.ll-house-image>img{display:block;width:100%;height:100%;object-fit:cover}.ll-house figcaption{font-size:11px;line-height:1.6;color:#7c7d70;margin:12px 18px 0}
.ll-map-regions{position:absolute;inset:0;width:100%!important;height:100%!important}.ll-map-room polygon{fill:transparent;stroke:transparent;stroke-width:.5;transition:fill .2s,stroke .2s;cursor:pointer}.ll-map-room:hover polygon,.ll-map-room.selected polygon{fill:#d5a74922;stroke:#8aab7877}.ll-map-room:focus polygon{stroke:#b7623d;stroke-width:1}
.ll-map-label{position:absolute;transform:translate(-50%,-50%);padding:8px 11px;border:1px solid #d8d5c5;border-radius:10px;background:#fffcf5ec;box-shadow:0 3px 12px #2e30241c;text-align:left;color:#344637;max-width:156px;cursor:pointer}.ll-map-label strong{display:block;font-size:12px}.ll-map-label small{display:block;font-size:10px;margin-top:3px}.ll-map-label.is-selected{border-color:#6a8b63;background:#f0f5e9}
.ll-map-lamp{position:absolute;transform:translate(-50%,-50%);width:34px;height:34px;padding:7px;border-radius:50%;border:2px solid #fffefa;background:#a9ada4;color:#fff;box-shadow:0 2px 8px #283b2b4d;cursor:pointer}.ll-map-lamp svg{width:16px;height:16px}.ll-map-lamp.is-on{background:#e5a747;box-shadow:0 0 0 6px #f6be6433,0 0 24px #f6be6480}
.ll-panel{background:var(--ll-paper);padding:24px;border:1px solid #e7e2d5;border-radius:23px;box-shadow:0 8px 26px #5d553a08;min-width:0}.ll-panel-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.living-lights h2{font-size:25px;letter-spacing:-.5px;margin:0}.ll-panel-title p{font-size:13px;line-height:1.6;color:var(--ll-muted);margin:7px 0 0}
.ll-selected-photo{display:none;height:130px;border-radius:14px;background-size:cover;margin-bottom:18px}
.ll-lamps{display:grid;gap:15px}.ll-lamp{border:1px solid #e7e2d6;border-radius:17px;padding:16px;background:#fcfaf4;min-width:0}.ll-lamp.is-on{background:linear-gradient(120deg,#fffcf6,#fbf4e5)}
.ll-lamp-top{display:flex;align-items:center;gap:14px}.ll-lamp-photo{width:66px;height:82px;flex:0 0 66px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eee9dc;overflow:hidden}.ll-lamp-photo img{width:100%;height:100%;object-fit:contain;padding:6px}.ll-lamp-photo>svg{width:32px;height:32px;color:#718368}
.ll-lamp-copy{min-width:0;flex:1}.living-lights .ll-lamp h3{font-size:15px;font-weight:650;line-height:1.4;overflow-wrap:anywhere;margin:0}.ll-lamp-copy p{color:#7c7e71;font-size:11px;margin:5px 0;line-height:1.5}.ll-state{font-size:12px;color:#63775b}.ll-state.ll-unreachable{color:#a16443}
.ll-switch{position:relative;flex-shrink:0;width:49px;height:29px;min-height:29px;border:0;border-radius:30px;padding:3px;background:#d8d8d0;cursor:pointer}.ll-switch>span{display:block;width:23px;height:23px;border-radius:50%;background:#fffefa;box-shadow:0 1px 5px #202c2926;transition:transform .15s}.ll-switch[aria-checked="true"]{background:var(--ll-green)}.ll-switch[aria-checked="true"]>span{transform:translateX(20px)}
.ll-dimmer{display:block;margin:18px 0 0;padding-top:14px;border-top:1px solid #e7e2d6;font-size:11px;color:#777a6e}.ll-dimmer>span{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.ll-dimmer output{color:#394e38;font-size:12px;font-weight:600;text-align:right}.ll-dimmer>div{display:flex;align-items:center;gap:13px;margin-top:5px}.ll-dimmer input[type="range"]{appearance:none;width:100%;height:38px;min-width:0;padding:0;border:0;background:transparent;accent-color:#e5ab50;cursor:pointer}.ll-dimmer svg{color:#9d9c90;width:20px}
.ll-dimmer input::-webkit-slider-runnable-track{height:8px;border-radius:10px;background:linear-gradient(to right,#f3be69 var(--ll-value,50%),#e9e5db var(--ll-value,50%))}.ll-dimmer input::-webkit-slider-thumb{appearance:none;width:23px;height:23px;margin-top:-8px;border:2px solid #fff8e9;border-radius:50%;background:#eab056;box-shadow:0 2px 7px #ac7e3e33}.ll-dimmer input::-moz-range-track{height:8px;border-radius:10px;background:#e9e5db}.ll-dimmer input::-moz-range-progress{height:8px;border-radius:10px;background:#f3be69}.ll-dimmer input::-moz-range-thumb{width:21px;height:21px;border:2px solid #fff8e9;border-radius:50%;background:#eab056}.ll-dimmer input:disabled{opacity:.45;cursor:not-allowed}.ll-mixed{display:block;font-size:10px;color:#8c704a;line-height:1.5;margin-top:3px}
.ll-lamp details{margin-top:14px;padding-top:12px;border-top:1px solid #e7e2d6}.ll-lamp summary{font-size:11px;color:#6e7d66;cursor:pointer;min-height:28px}.ll-members{display:grid;gap:10px;margin-top:8px}.ll-member{padding:12px;background:#f4f1e8}.ll-member .ll-lamp-photo{display:none}.ll-member .ll-lamp h3{font-size:13px}.ll-focused{outline:2px solid #c98d54;outline-offset:3px}
.ll-bottom{display:flex;justify-content:flex-end;align-items:stretch;gap:14px;margin-top:25px}.ll-all-off{display:flex;align-items:center;gap:14px;min-width:250px;padding:15px 20px;border:1px solid #cdd7c4;border-radius:15px;background:#dfe6d5;color:#2c4231;text-align:left;cursor:pointer}.ll-all-off strong{font-size:13px;display:block}.ll-all-off small{font-size:11px;display:block;margin-top:4px;color:#65725b}.ll-bottom>.ll-button{min-width:190px}.ll-sync{text-align:right;font-size:11px;color:#898b7e;margin-top:14px}
.ll-layout.is-list{display:block}.ll-layout.is-list .ll-visual{display:none}.ll-layout.is-list .ll-lamps{grid-template-columns:repeat(2,minmax(0,1fr))}.ll-empty{font-size:14px;line-height:1.6;color:#767b6e;padding:16px}
@media(min-width:1600px){body[data-route="lights"].living-lights-active #main{padding-top:48px!important}.ll-house-image{max-height:750px}}
@media(max-width:1100px){body[data-route="lights"].living-lights-active #main{padding:30px 25px 30px 38px!important}.ll-layout{grid-template-columns:minmax(0,1fr) minmax(320px,.94fr);gap:16px}.ll-panel{padding:18px}.ll-map-label{padding:6px;max-width:125px}.ll-map-label small{font-size:9px}.ll-room{min-width:105px}.ll-heading{align-items:flex-start}.ll-top-actions{max-width:260px}}
@media(max-width:900px){.ll-layout{display:flex;flex-direction:column;gap:16px}.ll-visual{position:static;width:100%;max-width:550px;margin:auto}.ll-house-image{aspect-ratio:1.7}.ll-house-image>img{object-fit:cover}.ll-map-regions,.ll-map-lamp,.ll-map-label{display:none}.ll-visual{display:none}.ll-panel{width:100%}.ll-selected-photo{display:block;height:170px}.ll-layout.is-list .ll-lamps{grid-template-columns:1fr}.ll-bottom{justify-content:stretch}.ll-bottom>*{flex:1}.ll-all-off{min-width:0}.ll-heading{gap:15px}.ll-top-actions{max-width:none}.living-lights .ll-heading h1{font-size:31px}}
@media(max-width:580px){body[data-route="lights"].living-lights-active #main{padding:24px 14px 90px 30px!important}.living-lights .ll-heading{display:block;margin-bottom:18px}.ll-top-actions{margin-top:16px;justify-content:flex-start}.ll-top-actions .ll-button{font-size:11px;padding:8px 11px;min-height:40px}.ll-rooms{margin-bottom:16px;padding:7px;gap:6px;border-radius:15px}.ll-room{min-width:107px;flex:0 0 107px}.ll-room-photo,.ll-room-icon{height:64px}.ll-panel{padding:16px;border-radius:19px}.living-lights h2{font-size:24px}.ll-panel-title p{font-size:12px}.ll-lamp{padding:14px}.ll-lamp-photo{width:55px;height:74px;flex-basis:55px}.ll-lamp-top{gap:10px}.living-lights .ll-lamp h3{font-size:14px}.ll-switch{width:48px;height:30px;min-height:30px}.ll-switch>span{width:24px;height:24px}.ll-switch[aria-checked="true"]>span{transform:translateX(18px)}.ll-lamp-copy p{font-size:10px}.ll-dimmer{margin-top:20px;padding-top:15px}.ll-dimmer input[type="range"]{height:44px}.ll-bottom{flex-direction:column;gap:12px}.ll-all-off{padding:16px;min-height:65px}.ll-bottom>.ll-button{min-height:52px}.ll-sync{text-align:left;line-height:1.6}}
@media(prefers-reduced-motion:reduce){.ll-switch>span,.ll-map-room polygon{transition:none}}
/* Keep shared mobile navigation labels compact on the lighting page. */
@media(max-width:780px){body[data-route="lights"].living-lights-active .mobile-dock a>span{font:inherit;line-height:1.3}body[data-route="lights"].living-lights-active .mobile-dock a{flex:0 0 auto;min-width:64px;padding:5px 9px}}

/* Complete room artwork and reachable image controls at every screen size. */
.living-lights .ll-room-photo{height:auto;aspect-ratio:1.35;background-size:contain;background-repeat:no-repeat}
.living-lights .ll-house-image{aspect-ratio:1;max-height:none}
.living-lights .ll-house-image>img{object-fit:contain}
.living-lights .ll-map-lamp{width:44px;height:44px;padding:12px;z-index:2}
.living-lights .ll-map-lamp:focus-visible{outline:3px solid #426b53;outline-offset:3px}
@media(max-width:900px){
 .living-lights .ll-visual{display:block;position:static;width:100%;max-width:550px;margin:auto}
 .living-lights .ll-map-regions,.living-lights .ll-map-lamp,.living-lights .ll-map-label{display:block}
 .living-lights .ll-selected-photo{display:none}
 .living-lights .ll-layout.is-list .ll-visual{display:none}
}

/* Invisible lamp hit areas retain keyboard access and existing command handling. */
.living-lights .ll-map-lamp,.living-lights .ll-map-lamp.is-on{width:60px;height:72px;padding:0;border:0;background:transparent;box-shadow:none;color:transparent}
.living-lights .ll-map-lamp>svg{visibility:hidden}
.living-lights .ll-map-lamp:focus-visible{outline:3px solid #426b53;outline-offset:3px}

/* White temperature and fixed color themes. */
.ll-white,.ll-colors{display:block;margin:16px 0 4px;padding-top:14px;border-top:1px solid #dedbcf}
.ll-white>span:first-child,.ll-colors>label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}
.ll-white output{font-size:12px;color:#636b60;text-align:right}
.ll-white input[type=range]{width:100%;margin:16px 0 8px;accent-color:#75866b;background:linear-gradient(90deg,#ffad48,#fff2d4,#c2ddff);cursor:pointer}
.ll-white-ends{display:flex;justify-content:space-between;color:#636b60}
.ll-colors input[type=color]{width:58px;height:42px;padding:3px;border:1px solid #ccc9bd;border-radius:8px;background:#fffdf6;cursor:pointer}
.ll-themes{margin-top:14px}.ll-themes summary{cursor:pointer;font-weight:600}.ll-themes p{font-size:12px;color:#636b60}
.ll-theme-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.ll-theme-row strong{flex-basis:100%;font-size:13px}
.ll-theme-color{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:8px 12px;border:1px solid #d5d3c6;border-radius:10px;background:#fffdf6;color:#344334;cursor:pointer}
.ll-theme-color i{display:block;width:16px;height:16px;border-radius:50%;background:var(--theme-color);border:1px solid #0002}
.ll-theme-color:focus-visible,.ll-white input:focus-visible,.ll-colors input:focus-visible{outline:3px solid #75866b;outline-offset:3px}
.ll-theme-color:disabled{opacity:.5;cursor:default}


/* recipe-kitchen-background.css */
/* Gedeelde keukenachtergrond voor alle onderdelen van Eten & boodschappen. */
body[data-route^="food"] .workspace{isolation:isolate;background:#f5f1e7!important}
body[data-route^="food"] .workspace::before{content:"";display:block!important;position:fixed;inset:-14px;z-index:-2;pointer-events:none;background:url('assets/recipe-kitchen-oak.png') center/cover no-repeat;filter:blur(14px);opacity:.3}
body[data-route^="food"] .workspace::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(rgba(250,247,239,.4),rgba(250,247,239,.52)),url('assets/recipe-kitchen-oak.png') center/contain no-repeat;filter:blur(1px)}
body[data-route^="food"] #main{max-width:1280px;padding-top:30px!important;padding-bottom:40px!important;position:relative}
body[data-route^="food"] .lh-food-header{background:rgba(255,252,245,.97);border:1px solid #e9e2d6;border-radius:20px;padding:23px 24px;margin-bottom:12px;box-shadow:0 5px 22px #59492d08;gap:16px}
body[data-route^="food"] .lh-food-header h1{font-size:32px}
body[data-route^="food"] .lh-header-search{min-width:245px;width:280px}
body[data-route^="food"] .lh-header-actions{gap:10px}
body[data-route^="food"] .lh-header-buttons{gap:8px}
body[data-route^="food"] .lh-header-buttons .btn{padding-left:13px;padding-right:13px}
body[data-route^="food"] .lh-primary-tabs.food-tabs{background:rgba(255,252,245,.97);padding:5px 15px 0!important;border:1px solid #e9e2d6;border-radius:17px;margin-bottom:12px;box-shadow:0 4px 18px #59492d06}
body[data-route^="food"]:has(.lh-recipe-library) .lh-filter-row{padding:12px;background:rgba(255,252,245,.96);border:1px solid #e9e2d6;border-radius:17px;margin-bottom:18px;box-shadow:0 4px 18px #59492d06}
body[data-route^="food"]:has(.lh-recipe-library) .lh-kitchen{display:none!important}
body[data-route^="food"]:has(.lh-recipe-library) .lh-recipe-side{justify-content:flex-end}
body[data-route^="food"]:has(.lh-recipe-library) .lh-meal-preview{background:rgba(255,252,245,.98)!important;min-height:180px}
body[data-route^="food"]:has(.lh-recipe-library) .lh-library-heading{padding:14px 18px;background:rgba(255,252,245,.97);border:1px solid #e9e2d6;border-radius:15px;margin-top:18px}
body[data-route^="food"] .card{background:rgba(255,252,245,.98)}
body[data-route^="food"]:has(.lh-recipe-library) .lh-import-inbox{padding:16px 18px;background:rgba(255,252,245,.97);border:1px solid #e9e2d6;border-radius:15px}
body[data-route^="food"]:has(.lh-recipe-detail) .food-recipe-delete{background:rgba(255,252,245,.97);padding:12px;border-radius:15px}
@media(min-width:1600px){body[data-route^="food"] #main{max-width:1320px;padding-top:40px!important}body[data-route^="food"] .workspace::after{background-size:auto,cover;background-position:center,center 48%}}
@media(max-width:1100px){body[data-route^="food"] .lh-food-header{flex-wrap:wrap}body[data-route^="food"] .lh-header-actions{justify-content:flex-start}}
@media(max-width:780px){body[data-route^="food"] .workspace::after{background-image:linear-gradient(rgba(250,247,239,.76),rgba(250,247,239,.86)),url('assets/recipe-kitchen-oak.png');background-position:center,60% 40%;filter:blur(5px)}body[data-route^="food"] #main{padding:16px 12px 28px!important}body[data-route^="food"] .lh-food-header{padding:17px 15px;border-radius:17px;gap:14px;margin-bottom:10px}body[data-route^="food"] .lh-food-header h1{font-size:27px}body[data-route^="food"] .lh-header-search{width:100%;min-width:0}body[data-route^="food"] .lh-header-actions{gap:12px}body[data-route^="food"] .lh-primary-tabs.food-tabs{padding:3px 5px 0!important;margin-bottom:10px}body[data-route^="food"]:has(.lh-recipe-library) .lh-filter-row{padding:10px;gap:7px;margin-bottom:14px}body[data-route^="food"]:has(.lh-recipe-library) .lh-library-heading{padding:12px}.lh-library-heading>span{max-width:130px;text-align:right}body[data-route^="food"]:has(.lh-recipe-library) .lh-meal-preview{min-height:0}}
@media print{body[data-route^="food"] .workspace::after{display:none}}

/* Compact overzicht: uitsluitend receptkaarten, geen groot gerecht of losse keuken. */
body[data-route^="food"]:has(.lh-recipe-library) .food-recipes-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
body[data-route^="food"]:has(.lh-recipe-library) .food-recipe-card img,body[data-route^="food"]:has(.lh-recipe-library) .food-recipe-card .food-photo-placeholder{height:145px}
body[data-route^="food"]:has(.lh-recipe-library) .food-recipe-copy{padding:13px 14px 15px}
body[data-route^="food"]:has(.lh-recipe-library) .food-recipe-copy h2{font-size:16px;line-height:1.4;margin-bottom:8px}
body[data-route^="food"]:has(.lh-recipe-library) .lh-card-meta{font-size:12px;gap:5px;margin-bottom:7px}
body[data-route^="food"]:has(.lh-recipe-library) .food-recipe-copy small{font-size:10px;line-height:1.5}
body[data-route^="food"]:has(.lh-recipe-library) .food-favorite{width:36px;height:36px;top:10px;right:10px}
body[data-route^="food"]:has(.lh-recipe-library) .lh-library-heading{margin-top:0}
@media(min-width:1600px){body[data-route^="food"] .workspace::after{background-size:100% 100%,contain;background-position:center,center}}
@media(max-width:1100px) and (min-width:901px){body[data-route^="food"]:has(.lh-recipe-library) .food-recipes-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px) and (min-width:601px){body[data-route^="food"]:has(.lh-recipe-library) .food-recipes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){body[data-route^="food"] .workspace::after{background-image:linear-gradient(rgba(250,247,239,.48),rgba(250,247,239,.6)),url('assets/recipe-kitchen-oak.png');background-size:100% 100%,contain;background-position:center,center 22%;filter:blur(1px)}}
@media(max-width:600px){body[data-route^="food"]:has(.lh-recipe-library) .food-recipes-grid{grid-template-columns:minmax(0,1fr);gap:14px}body[data-route^="food"]:has(.lh-recipe-library) .food-recipe-card img,body[data-route^="food"]:has(.lh-recipe-library) .food-recipe-card .food-photo-placeholder{height:170px}body[data-route^="food"]:has(.lh-recipe-library) .food-recipe-copy h2{font-size:18px}}
@media print{body[data-route^="food"] .workspace::before{display:none!important}}

/* Vrijstaande bediening krijgt dezelfde rustige ondergrond als receptkaarten. */
body[data-route^="food"] :is(.lh-week-intro,.lh-week-actions,.lh-food-footnote,.lh-live-status,.food-list-toolbar,.family-editbar){background:rgba(255,252,245,.97);border:1px solid #e9e2d6;border-radius:16px;padding:16px 18px;box-shadow:0 4px 18px #59492d06}
body[data-route^="food"] .lh-week-actions{margin-top:12px}
body[data-route^="food"] .lh-week-intro{margin-top:0}
body[data-route^="food"] .lh-shopping-week-link{background:rgba(255,252,245,.97);border:1px solid #e9e2d6;border-radius:16px;padding:12px}
body[data-route^="food"] .food-panel{background:#fffcf5;color:#24352e}
body[data-route^="food"] .food-panel::backdrop{background:rgba(36,53,46,.3)}
@media(max-width:780px){body[data-route^="food"] :is(.lh-week-intro,.lh-week-actions,.lh-food-footnote,.lh-live-status,.food-list-toolbar,.family-editbar){padding:13px 14px}body[data-route^="food"] .lh-header-buttons{min-width:0;max-width:100%}body[data-route^="food"] .lh-header-buttons>.btn{max-width:100%;white-space:normal}}


/* living-settings.css */
/* Instellingen in de lichte huisstijl. */
body[data-route="settings"]{background:#faf8f2;color:#293e33}
body[data-route="settings"] .workspace{background:#faf8f2!important}
body[data-route="settings"] #main{max-width:1440px;margin:0 auto;padding:32px 38px 56px!important;font-family:'Segoe UI',Arial,sans-serif}
.living-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px;padding:0;background:none;border:0;height:auto}
.settings-kicker{font-size:10px;letter-spacing:2px;color:#9a7b68;margin:0 0 10px}
.living-settings-heading h1{font:700 clamp(28px,3vw,38px)/1.2 'Segoe UI',Arial,sans-serif;letter-spacing:-.8px;color:#293e33;margin:0 0 10px}
.living-settings-heading>div>p:last-child{margin:0;font-size:14px;color:#758071}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
body[data-route="settings"] .settings-grid>.settings-card{background:#fffdf7!important;border:1px solid #e1e6d9!important;border-radius:20px;padding:24px;margin:0;box-shadow:0 5px 22px #293e3305;min-width:0}
.settings-card-heading{display:flex;gap:16px;align-items:center;margin-bottom:16px}
.settings-card-heading h2{font:600 21px/1.3 'Segoe UI',Arial,sans-serif;letter-spacing:-.3px;margin:0;color:#293e33}
.settings-illustration{display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;border-radius:17px;background:#edf1e5;color:#65845c}
.settings-illustration svg{width:34px;height:34px}
.settings-illustration[data-kind="companies"]{background:#f4e9db;color:#a47955}
.settings-illustration[data-kind="app"]{background:#e9ede2;color:#698465}
.settings-illustration[data-kind="energy"],.settings-illustration[data-kind="agenda"],.settings-illustration[data-kind="lights"],.settings-illustration[data-kind="music"]{background-color:transparent;background-image:url('assets/living-tile-pictures.webp?v=20261026');background-size:360% 360%;background-repeat:no-repeat;border-radius:0}
.settings-illustration[data-kind="energy"]{background-position:50% 48%}
.settings-illustration[data-kind="agenda"]{background-position:4% 4%}
.settings-illustration[data-kind="lights"]{background-position:52% 89%}
.settings-illustration[data-kind="music"]{background-size:270% 270%;background-position:0 100%}
.settings-card>p{font-size:14px;line-height:1.65;color:#758071;margin:12px 0 18px}
.settings-card .caption{font-size:12px;line-height:1.65;color:#7a8473}
.settings-card .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.settings-card .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;min-height:44px;font:500 13px/1.4 'Segoe UI',Arial,sans-serif;text-decoration:none;border:1px solid #dce4d5;background:#edf2e7;color:#4e6d46;border-radius:11px;white-space:normal}
.settings-card .btn:hover{background:#e1ead8}
.settings-card .detail{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #edf0e5;font-size:13px;line-height:1.5}
.settings-card .detail>strong{white-space:nowrap;font-weight:600;color:#3a583d}
.settings-card .settings-advanced{margin:14px 0;padding:13px 16px;border:1px solid #e2e8db;background:#f7f8f1;border-radius:12px}
.settings-advanced>summary{font-size:13px;font-weight:600;line-height:1.5;color:#55734e;cursor:pointer;min-height:24px}
.settings-advanced[open]>summary{margin-bottom:16px}
.settings-card form{max-width:100%!important}
.settings-card label{font-size:13px;line-height:1.5;color:#52684d}
.settings-card input:not([type=checkbox]),.settings-card select{max-width:100%;box-sizing:border-box;min-width:0;font:400 14px 'Segoe UI',Arial,sans-serif;background:#fffefa;border:1px solid #ccd7c5;border-radius:10px;padding:12px;color:#293e33}
.settings-card input[type=file]{font-size:12px}
.settings-card input[type=file]::file-selector-button{background:#e6eddf;border:0;border-radius:7px;padding:8px;margin-right:10px;color:#4e6d46;font:inherit}
.settings-card .calendar-provider{background:#f7f8f2;border:1px solid #e4e9dc;border-radius:14px;padding:18px;min-width:0}
.settings-card .calendar-provider h3{margin:0 0 12px;font-size:16px;color:#3d5c40}
.settings-card .calendar-provider p{font-size:13px;line-height:1.6;color:#758071;overflow-wrap:anywhere}
#outlook-settings{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#outlook-settings>.settings-card-heading,#outlook-settings>p,#outlook-settings>.btn{grid-column:1/-1}
#outlook-settings>.settings-card-heading{margin-bottom:0}
#outlook-settings>.btn{justify-self:start}
#settings-profile{order:1}#settings-music{order:2}#outlook-settings{order:3}#smart-settings{order:4}#settings-energy{order:5}#company-settings{order:6}#settings-app{order:7}#settings-advanced{order:8}
#smart-settings .smart-check{align-items:center;font-size:13px}
#smart-settings .smart-check input{flex-shrink:0}
@media(max-width:780px){body[data-route="settings"] #main{padding:24px 18px calc(90px + env(safe-area-inset-bottom))!important}.settings-grid{gap:16px}.living-settings-heading{margin-bottom:22px}.living-settings-heading>.settings-illustration{display:none}body[data-route="settings"] .settings-grid>.settings-card{padding:20px}.settings-card-heading{gap:12px}.settings-card-heading h2{font-size:19px}.settings-illustration{width:58px;height:58px;flex-basis:58px}}
@media(max-width:620px){.settings-grid,#outlook-settings{grid-template-columns:minmax(0,1fr)}#outlook-settings{grid-column:auto}.settings-card .detail{flex-wrap:wrap;gap:6px}.settings-card .actions>.btn{flex:1 1 140px}.settings-card .calendar-provider{padding:16px}}


/* food-bulk-import.css */
.food-bulk-panel{width:1000px!important;max-width:96vw!important;background:#fffcf5;color:#24352e}.bulk-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.bulk-toolbar .btn,.bulk-footer .btn{min-height:44px;font-size:13px;white-space:normal}.bulk-file-picker{position:relative;display:flex;align-items:center;cursor:pointer;overflow:hidden;margin:0}.bulk-file-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.bulk-file-picker:has(input:focus-visible){outline:3px solid #426b53;outline-offset:2px}.bulk-row{margin:12px 0;background:#fffdf8;border:1px solid #e1ddce;border-radius:14px;overflow:hidden}.bulk-row>summary{display:flex;align-items:center;gap:12px;list-style:none;padding:15px;cursor:pointer;min-height:65px}.bulk-row>summary:after{content:'⌄';font-size:20px;color:#426b53}.bulk-row>summary input{width:23px;min-height:23px;height:23px;flex:0 0 23px;accent-color:#426b53;margin:0}.bulk-row>summary>span:first-of-type{flex:1;min-width:0}.bulk-row strong,.bulk-row small{display:block;overflow-wrap:anywhere}.bulk-row small{color:#777e73;font-size:11px;margin-top:4px}.bulk-status{color:#426b53;font-size:12px;max-width:190px;line-height:1.5}.bulk-row-body{padding:0 18px 18px;border-top:1px solid #e8e3d5}.bulk-row fieldset{border:0;padding:8px 0;margin:0;min-width:0}.bulk-row label{font-size:13px;min-width:0;margin:12px 0}.bulk-row input,.bulk-row select,.bulk-row textarea{min-height:44px;max-width:100%;background:#fffcf5;color:#24352e}.bulk-row textarea{width:100%}.bulk-ingredient{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:10px}.bulk-error{color:#a33124;background:#fff0e9;padding:9px 12px;border-radius:8px;font-size:13px;overflow-wrap:anywhere}.bulk-warning{color:#725b2d;font-size:12px;margin:9px 0;overflow-wrap:anywhere}.bulk-photo{width:130px;height:95px;object-fit:cover;border-radius:12px;margin-top:15px}.bulk-categories{margin:12px 0;padding:10px;border:1px solid #e1ddce;border-radius:9px}.bulk-categories summary{min-height:30px;cursor:pointer;color:#426b53}.bulk-duplicate-confirm{padding:12px;background:#f0f3e8;border-radius:9px}.bulk-footer{position:sticky;bottom:0;padding:16px 0 5px;background:#fffcf5;border-top:1px solid #dedcd2;margin-top:18px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.bulk-footer p{flex:1 1 100%;font-size:13px;line-height:1.65;margin:0 0 5px;overflow-wrap:anywhere}.bulk-empty{padding:20px;border:1px dashed #b9c7af;border-radius:12px;color:#646a62}.bulk-row.is-saved{border-color:#b7cba9;background:#f0f5e9}#bulk-file-summary{font-size:12px;color:#646a62}#bulk-import fieldset[disabled]{opacity:.75}.food-bulk-panel .btn.primary{background:#b7623d;border-color:#b7623d;color:white}.food-bulk-panel [hidden]{display:none!important}@media(max-width:720px){.food-bulk-panel{width:100%!important;max-width:100%!important}.bulk-row>summary{flex-wrap:wrap;padding:12px;gap:9px}.bulk-row>summary>.bulk-status{flex:1 1 100%;max-width:none;margin-left:32px}.bulk-row-body{padding:0 12px 12px}.bulk-row .food-form-grid{grid-template-columns:minmax(0,1fr)}.bulk-ingredient{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 10px}.bulk-ingredient>label:first-child{grid-column:1/-1}.bulk-toolbar .btn{flex:1 1 140px}.bulk-footer .btn{width:100%;justify-content:center}.bulk-footer{padding-bottom:12px}}

.bulk-row>summary{position:relative;padding-right:42px}.bulk-row>summary:after{position:absolute;right:14px;top:17px}.food-bulk-panel #bulk-import{padding-bottom:10px}

/* camera-integrated.css */

body[data-route="cameras"] iframe.camera-frame{display:block;width:100%;height:78dvh;border:0}
@media(max-width:780px){
 body[data-route="cameras"] .music-menu-tab,body[data-route="cameras"] .music-menu-backdrop,body[data-route="cameras"] aside{display:none!important}
 body[data-route="cameras"] nav.mobile-dock{display:flex!important}
}


/* living-foundation.css */
:root{--home-ivory:#faf8f2;--home-paper:#fffdf7;--home-sage:#dce6d6;--home-green:#537456;--home-ink:#293e33;--home-muted:#758071;--home-line:#e1e6d9;--home-clay:#b85f3d;--home-amber:#f4d796;color-scheme:light}
html,body { background-color:var(--home-ivory); color:var(--home-ink); }
body { font-family:"Segoe UI",Arial,sans-serif; accent-color:var(--home-green); }
body :is(h1,h2,h3) { color:var(--home-ink); }
body :is(.card,.summary-card,.stat-card,dialog) {
  background-color:var(--home-paper); border-color:var(--home-line);
  border-radius:18px; box-shadow:0 4px 18px #293e330d;
}
body :is(button,a,input,select,textarea):focus-visible { outline:2px solid var(--home-green); outline-offset:3px; }

/* Keep the shared canvas color when older route styles set their own. */
html body[data-route], html body[data-route] .workspace { background-color: var(--home-ivory) !important; }

@media (max-width: 600px) {
  html body :is(main, dialog) :is(.btn.primary, button.primary) {
    min-height: 44px !important;
    border-radius: 11px;
    background-color: var(--home-clay) !important;
    border-color: var(--home-clay) !important;
    color: #fffaf4 !important;
  }
  html body :is(main, dialog) :is(.card, .summary-card, .stat-card) {
    border-radius: 18px;
  }
}

@media (max-width: 600px) {
  html body dialog[open] {
    box-sizing: border-box;
    max-inline-size: calc(100% - 16px);
    max-block-size: calc(100dvh - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--home-paper);
    color: var(--home-ink);
    border-radius: 18px;
  }
  html body :is(form, dialog) :is(input:not([type]), input[type=text], input[type=password], input[type=search], input[type=email], input[type=url], input[type=number], input[type=date], input[type=time], input[type=tel], select, textarea) {
    box-sizing: border-box;
    min-inline-size: 0;
    max-inline-size: 100%;
    min-block-size: 44px;
    font-size: 16px;
    background-color: #fffefa;
    color: var(--home-ink);
    border-color: #ccd7c5;
    border-radius: 10px;
  }
  html body :is(form, dialog) :is(.actions, .form-actions) {
    flex-wrap: wrap;
    gap: 8px;
  }
  html body :is(form, dialog) :is(.actions, .form-actions) :is(button, .btn) {
    min-block-size: 44px;
    max-inline-size: 100%;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  #food-recipe-form .food-ingredient-edit > label { min-inline-size: 0; }
  #food-recipe-form .food-ingredient-edit > label:first-of-type { grid-column: 1 / -1; }
  #food-recipe-form .food-ingredient-edit :is(input:not([type=hidden]), select) {
    box-sizing: border-box;
    inline-size: 100%;
    min-inline-size: 0;
  }
  #food-recipe-form .food-ingredient-edit > .btn {
    box-sizing: border-box;
    min-inline-size: 0;
    max-inline-size: 100%;
    padding-inline: 0;
  }
}

@media (max-width:600px) {
  dialog .icon-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  dialog .icon-picker > button { min-inline-size:0; white-space:normal; overflow-wrap:anywhere; min-block-size:44px; }
}

@media (max-width:600px) {
  #food-staples .food-staple { grid-template-columns:minmax(0,1fr) 70px minmax(40px,auto); }
  #food-staples .food-staple > * { min-inline-size:0; }
  #food-staples .food-staple label { overflow-wrap:anywhere; }
  #food-staples .food-staple input:not([type=checkbox]) { inline-size:100%; margin-inline:0; }
}


/* finance-title-art.css */
/* Illustraties uit Het levende huis, gedeeld door het huishoudboek en de zijpagina's. */
.finance-title-art{display:inline-block;width:64px;height:64px;flex:0 0 64px;background:url('assets/living-tile-pictures.png?v=20261026') no-repeat 96% 48% / 360% 360%}
.finance-title-art--transactions,.finance-title-art--rules,.finance-title-art--insurance{background-position:50% 4%}
.finance-title-art--categories,.finance-title-art--companies{background-position:4% 48%}
.finance-title-art--subscriptions{background-position:4% 4%}
.lf-heading .finance-title-copy,.lf-legacy-content>.heading .finance-title-copy{display:flex;align-items:center;gap:12px}
@media(max-width:650px){.finance-title-art{width:48px;height:48px;flex-basis:48px}}
