@font-face{font-family:system;src:local('Avenir Next')}
:root{font-family:system,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#233c30;background:#f6f7f1;font-synthesis:none;font-size:15px;--green:#234b37;--muted:#637167;--line:#dbe2d6}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;background:white;color:#233c30;min-height:44px;padding:10px 15px;font-weight:600}button:hover{border-color:#829c83;background:#f2f6ed}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #b57720;outline-offset:3px}input[type=date]{min-height:44px;border:1px solid var(--line);border-radius:8px;background:white;color:#233c30;padding:7px 9px}input[type=file]{max-width:100%}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#356548;color:white}.quiet{background:transparent}.pictogram{width:54px;height:54px;flex-shrink:0;display:block}.app-header{height:87px;display:flex;align-items:center;justify-content:space-between;padding:0 4.5%;border-bottom:1px solid var(--line);background:#fffef9}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:var(--green);color:#d0e4b7;font-size:34px}.brand strong{display:block;font-size:19px}.brand span:not(.brand-mark){display:block;font-size:12px;color:var(--muted);margin-top:3px}.header-right{display:flex;gap:16px;align-items:center;font-size:12px}.local-label{border:1px solid var(--line);padding:5px 10px;border-radius:20px}#save-status::before{content:'●';color:#527e46;padding-right:6px}#save-status.error::before{color:#a23a2b}main{max-width:1600px;margin:auto;padding:38px 4.5% 25px}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;margin:0 0 9px;color:#617555}h1{font-family:Georgia,serif;font-weight:400;font-size:38px;letter-spacing:-1px;margin:0 0 10px}p{line-height:1.5}.intro p:last-child{margin:0;color:var(--muted);font-size:14px}.intro .primary{padding:13px 20px}.intro .primary span{margin-left:18px;font-size:20px}.toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;background:#fffef9;border:1px solid var(--line);border-radius:14px;padding:15px 18px}.week-controls,.week-actions{display:flex;align-items:center;gap:9px}.week-controls label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;margin-bottom:4px;font-weight:700}.week-controls>button{padding:10px 13px}.week-controls>div{display:flex;gap:10px;align-items:center}.week-controls label{max-width:75px;line-height:1.5}.week-actions button{font-size:13px}.legend{margin:23px 0 26px;display:flex;align-items:center;gap:23px;padding:0 2px}.legend-title{font-size:10px;letter-spacing:1px;min-width:145px;font-weight:700}.legend-title span{display:block;color:var(--muted);font-weight:400;letter-spacing:0;margin-top:6px;font-size:12px}#legend-items{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:1}.legend-item{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;max-width:190px}.legend-item .pictogram{width:47px;height:47px}.planning-section{background:#fffef9;border:1px solid var(--line);border-radius:16px;overflow:hidden}.planning-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 22px}.planning-heading h2{font-size:18px;margin:0;font-weight:600}.planning-heading>span{font-size:11px;color:var(--muted)}.board{display:grid;grid-template-columns:130px repeat(6,minmax(0,1fr));border-top:1px solid var(--line)}.grid-corner,.day-header{padding:14px 7px;border-right:1px solid var(--line);background:#edf2e7;font-size:14px;text-align:center;font-weight:700}.grid-corner{font-size:12px;text-align:left;padding-left:17px}.grid-corner span,.day-header span{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:4px}.person-card{display:flex;align-items:center;justify-content:center;flex-direction:column;border-top:1px solid var(--line);border-right:1px solid var(--line);padding:14px 7px;gap:8px;background:#fafbf6}.person-card strong{font-size:19px}.photo-button{width:70px;height:70px;border-radius:50%;padding:0;position:relative;display:grid;place-items:center;background:#eef2e8}.photo-button img{width:100%;height:100%;object-fit:cover;border-radius:50%}.photo-button .pictogram{width:48px;height:48px}.photo-add{position:absolute;right:-2px;bottom:-2px;background:var(--green);color:#fff;border-radius:50%;width:23px;height:23px;border:2px solid white;font-size:16px;line-height:19px}.photo-hint{color:var(--muted);font-size:10px}.remove-photo{font-size:10px;padding:3px;min-height:32px;border:0}.day-cell{border-right:1px solid var(--line);border-top:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.slot{border:0;border-radius:0;background:transparent;min-height:143px;padding:8px;width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;flex:1}.slot+.slot{border-top:1px dashed var(--line)}.slot:hover{background:#f1f5e9}.half-label{display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;color:var(--muted);font-weight:400}.half-label .pictogram{width:25px;height:25px}.slot-tasks{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;margin:auto 0;padding:5px 0;min-height:72px}.task-tile{display:flex;flex-direction:column;align-items:center;max-width:74px;flex:0 1 43%;gap:2px}.task-tile .pictogram{width:49px;height:49px}.task-tile>span{font-size:9px;line-height:1.2;text-align:center;font-weight:500}.empty-symbol{font-size:26px;font-weight:400;color:#9cae95}.empty-text{font-size:10px;color:#71836c}.mobile-day{display:none}.footer{display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--muted);font-size:11px;margin-top:17px}.footer p{line-height:1.8}.footer button{font-size:11px;background:transparent;border:0;text-decoration:underline;text-underline-offset:4px}.message{border:1px solid #cbd9bb;background:#edf4e5;border-radius:10px;padding:12px 16px;font-size:13px}.error{color:#963b2a}.message.error{background:#fff0e9;border-color:#d5a896}dialog{border:1px solid var(--line);border-radius:20px;box-shadow:0 25px 100px #12341e30;padding:26px;max-width:560px;width:calc(100% - 30px);color:#233c30;background:#fffef9}dialog::backdrop{background:#122c2280}dialog h2{font-size:23px;margin:10px 0}dialog p{font-size:14px;color:var(--muted)}.dialog-top{display:flex;align-items:center;justify-content:space-between}.dialog-top button{border:0;padding:4px 12px;background:transparent}.dialog-top p{margin:0;font-size:10px}.task-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0 12px}.task-choice{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;padding:15px 8px;min-height:134px;text-align:center;font-size:12px;font-weight:500}.task-choice .pictogram{width:62px;height:62px}.task-choice.selected{border:2px solid var(--green);padding:14px 7px;background:#e9f2df}.selection-mark{position:absolute;top:5px;right:7px;font-size:17px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.danger{color:#973d2b;border:0;padding-left:0}#duplicate-dialog label{display:block;font-size:13px;margin:20px 0 8px}#duplicate-date{width:100%}
@media(min-width:1350px){.slot{min-height:155px}.task-tile .pictogram{width:55px;height:55px}}
@media(max-width:1080px){.toolbar{flex-wrap:wrap}.week-actions{margin-left:auto}.legend{gap:12px}.legend-title{min-width:105px}.legend-item{flex-direction:column;text-align:center;gap:4px;max-width:135px}.board{grid-template-columns:100px repeat(6,minmax(0,1fr))}.slot{padding:6px;min-height:133px}.task-tile .pictogram{width:42px;height:42px}.task-tile>span{font-size:8px}.photo-hint{font-size:9px}.person-card strong{font-size:17px}}
@media(max-width:760px){.app-header{padding:0 18px;height:76px}.brand strong{font-size:16px}.brand span:not(.brand-mark){font-size:10px}.header-right{font-size:10px}.local-label{display:none}.brand-mark{width:34px;height:34px;font-size:29px}main{padding:25px 15px}h1{font-size:31px}.intro{align-items:flex-start;flex-direction:column;gap:17px}.intro .primary{width:100%}.toolbar{padding:12px;gap:13px}.week-controls{width:100%;justify-content:space-between;gap:5px}.week-controls>div{display:block;flex:1}.week-controls label{max-width:none;font-size:9px;margin-bottom:3px}.week-controls input{width:100%;max-width:180px}.week-controls>button{padding:8px 10px}.week-controls #today{font-size:10px;max-width:68px;padding:7px 5px}.week-actions{width:100%;margin:0;display:grid;grid-template-columns:1fr 1.6fr 1fr;gap:5px}.week-actions button{font-size:10px;padding:8px 5px}.legend{display:block;margin:21px 0}.legend-title{margin-bottom:8px;font-size:10px}.legend-title span{display:none}#legend-items{gap:5px;align-items:flex-start}.legend-item{flex:1;max-width:none;font-size:9px;line-height:1.3}.legend-item .pictogram{width:43px;height:43px}.planning-heading{padding:15px;display:block}.planning-heading h2{font-size:15px}.planning-heading>span{display:block;margin-top:6px}.board{display:flex;flex-direction:column}.grid-corner,.day-header{display:none}.person-card{border-right:0;flex-direction:row;justify-content:flex-start;gap:13px;padding:15px 17px}.person-card strong{font-size:22px}.photo-button{width:58px;height:58px}.photo-hint{margin-left:auto;font-size:10px}.remove-photo{margin-left:auto}.day-cell{position:relative;display:grid;grid-template-columns:1fr 1fr;padding-top:35px;border-right:0}.mobile-day{display:block;position:absolute;left:16px;top:10px;font-size:13px;font-weight:700}.mobile-day small{font-weight:400;color:var(--muted);margin-left:8px}.slot{min-height:145px;padding:10px}.slot+.slot{border-top:0;border-left:1px dashed var(--line)}.half-label{font-size:11px}.half-label .pictogram{width:29px;height:29px}.task-tile .pictogram{width:54px;height:54px}.task-tile>span{font-size:10px}.task-tile{max-width:74px}.footer{display:block;text-align:center}.footer button{min-height:44px}.task-choices{grid-template-columns:repeat(2,1fr)}dialog{padding:20px}.task-choice{min-height:120px}}
@page{size:A4 landscape;margin:9mm}
@media print{
  :root{background:white;color:#162c20;font-size:11px;-webkit-print-color-adjust:exact;print-color-adjust:exact}body{margin:0}.app-header,.intro,.toolbar,.footer,.message,dialog{display:none!important}main{max-width:none;padding:0}.legend{margin:0 0 4mm;gap:5mm}.legend-title{font-size:8px;min-width:28mm}.legend-title span{font-size:9px}#legend-items{gap:4mm}.legend-item{flex-direction:row;text-align:left;max-width:45mm;font-size:9px;gap:2mm}.legend-item .pictogram{width:11mm;height:11mm}.planning-section{border:1px solid #889d84;border-radius:0;overflow:visible}.planning-heading{padding:3mm 4mm;display:flex}.planning-heading h2{font-size:15px}.planning-heading>span{font-size:9px}.board{display:grid;grid-template-columns:25mm repeat(6,minmax(0,1fr));border-color:#889d84}.grid-corner,.day-header{display:block;padding:2mm;font-size:11px;border-color:#889d84}.grid-corner{font-size:9px}.day-header span,.grid-corner span{font-size:9px}.person-card{flex-direction:column;justify-content:center;gap:2mm;padding:2mm;border-color:#889d84;break-inside:avoid}.person-card strong{font-size:15px}.photo-button{width:16mm;height:16mm;min-height:0;border:0}.photo-button .pictogram{width:14mm;height:14mm}.photo-add,.photo-hint,.remove-photo{display:none}.day-cell{display:flex;padding-top:0;border-color:#889d84;break-inside:avoid}.mobile-day{display:none}.slot{background:transparent!important;min-height:24mm;height:24mm;flex:0 0 24mm;padding:1mm;break-inside:avoid;opacity:1!important;color:#162c20}.slot+.slot{border-top:1px dashed #889d84;border-left:0}.half-label{font-size:8px;gap:1mm}.half-label .pictogram{width:5mm;height:5mm}.slot-tasks{padding:0;gap:1mm;min-height:0;margin:auto 0;flex-wrap:wrap}.task-tile{flex:0 0 27%;max-width:10mm;gap:0}.task-tile .pictogram{width:7.5mm;height:7.5mm}.task-tile>span{display:none}.empty-symbol,.empty-text{display:none}.slot:not(.filled) .slot-tasks::after{content:'—';font-size:16px;color:#9aab92}button{border-radius:0;box-shadow:none}
}

/* Maisons : formes ● / ▲ / ■, plus noms, sur écran et sur papier. */
.print-actions{display:flex;gap:9px;flex-wrap:wrap}.zone-legend{display:flex;align-items:center;gap:25px;margin:-8px 0 20px;font-size:12px;flex-wrap:wrap}.zone-legend>strong{font-size:10px;letter-spacing:1px}.zone-legend>span{display:flex;align-items:center;gap:7px}.zone-legend .pictogram{width:30px;height:30px}.slot-tasks{flex-direction:column;align-items:stretch;justify-content:center;gap:8px}.zone-group{display:flex;flex-direction:column;align-items:stretch;gap:3px;width:100%}.zone-caption{display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;font-weight:700}.zone-caption .pictogram{width:23px;height:23px}.zone-tasks{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.zone-tasks .task-tile{flex:0 1 43%;max-width:74px}.zone-tasks .pictogram{width:44px;height:44px}.zone-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}.zone-choice{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:13px;padding:10px}.zone-choice .pictogram{width:43px;height:43px}.zone-choice.selected{border:2px solid #234b37;background:#edf4e4;padding:9px}.assignment-summary{border-top:1px solid var(--line);padding-top:13px;margin-top:14px}.assignment-summary>strong{font-size:12px}.summary-zone{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:7px 0}.summary-zone>span{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:600}.summary-zone>span .pictogram{width:26px;height:26px}.summary-zone>div{display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end}.summary-zone button{display:flex;align-items:center;gap:3px;padding:4px;min-height:40px}.summary-zone button .pictogram{width:28px;height:28px}#legacy-zone{background:#fff3db;border-radius:9px;padding:10px;margin-top:12px}#legacy-zone p{margin:0 0 6px;font-size:12px}#legacy-zone button{font-size:11px;padding:8px;width:100%}dialog{max-height:92vh;overflow-y:auto}.task-choices{margin-top:15px}.task-choice{min-height:125px}.task-choice .pictogram{width:66px;height:66px}
@media(max-width:760px){.print-actions{width:100%}.print-actions button{flex:1;font-size:12px;padding:12px 8px!important}.intro .primary{width:auto}.zone-legend{gap:9px;font-size:10px;margin:0 0 16px}.zone-legend>strong{width:100%}.zone-legend>span{gap:4px}.zone-legend .pictogram{width:25px;height:25px}.zone-tasks .pictogram{width:53px;height:53px}.zone-caption{font-size:11px}.zone-caption .pictogram{width:28px;height:28px}.zone-choice{font-size:12px;padding:8px 3px}.zone-choice.selected{padding:7px 2px}.summary-zone{align-items:flex-start}.summary-zone>span{flex-shrink:0}.task-choice .pictogram{width:61px;height:61px}}
@page{size:A4 landscape;margin:7mm}
@media print{
  .legend{margin-bottom:2mm}.zone-legend{display:flex;gap:9mm;margin:0 0 2mm;font-size:8px;flex-wrap:nowrap}.zone-legend>strong{font-size:7px;letter-spacing:.5px;width:auto}.zone-legend>span{gap:1mm}.zone-legend .pictogram{width:5mm;height:5mm}.planning-heading{padding:2mm 3mm}.half-label .pictogram{width:4mm;height:4mm}.slot-tasks{display:flex;flex-direction:column;align-items:stretch;gap:.5mm;margin:auto 0;padding:0}.zone-group{display:flex;flex-direction:row;align-items:center;gap:.5mm;min-height:5.3mm}.zone-caption{flex:0 0 12mm;justify-content:flex-start;gap:.4mm;font-size:7px;white-space:nowrap}.zone-caption .pictogram{width:3mm;height:3mm}.zone-tasks{display:flex;flex-wrap:nowrap;gap:.2mm;justify-content:flex-start;align-items:center}.zone-tasks .task-tile{flex:none;width:4.7mm;max-width:none}.zone-tasks .pictogram{width:4.7mm;height:4.7mm}.zone-tasks .task-tile>span{display:none}.slot-tasks:has(.zone-group:only-child) .zone-group{flex-direction:column;gap:.5mm}.slot-tasks:has(.zone-group:only-child) .zone-caption{flex:auto;justify-content:center;font-size:8px}.slot-tasks:has(.zone-group:only-child) .zone-tasks{justify-content:center;gap:.5mm}.slot-tasks:has(.zone-group:only-child) .task-tile,.slot-tasks:has(.zone-group:only-child) .task-tile .pictogram{width:7mm;height:7mm}.slot-tasks:has(.zone-group:nth-child(4)){gap:.2mm}.slot-tasks:has(.zone-group:nth-child(4)) .zone-group{min-height:4mm}.slot-tasks:has(.zone-group:nth-child(4)) .task-tile,.slot-tasks:has(.zone-group:nth-child(4)) .task-tile .pictogram{width:4mm;height:4mm}
}

.brand-mark img{display:block;width:100%;height:100%;border-radius:12px}

/* Interface centrée sur la semaine et les commandes. */
.app-header{height:66px}.brand strong{font-size:20px}main{padding-top:23px}.intro{justify-content:flex-end;margin-bottom:16px}.header-right:has(#save-status[hidden]){display:none}#save-status[hidden]{display:none}
@media(max-width:760px){.app-header{height:60px}main{padding-top:16px}.intro{margin-bottom:12px}}
.managed-zone{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.zone-mark .pictogram{width:38px;height:38px}.zone-name-field{flex:1;min-width:0}.zone-name-field label,.new-zone label{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.zone-name-field input,.new-zone input{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:white;font:inherit;color:inherit}.managed-zone button{font-size:11px;padding:8px}.new-zone{margin-top:20px}.new-zone>div{display:flex;gap:8px}.new-zone input{flex:1;min-width:0}.zone-caption>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zone-choices{grid-template-columns:repeat(auto-fit,minmax(95px,1fr))}.zone-choice span{max-width:100%;overflow-wrap:anywhere}.week-actions{flex-wrap:wrap}#zones-dialog{max-width:620px}.zone-legend>span>span{overflow-wrap:anywhere}
@media(max-width:760px){.week-actions{grid-template-columns:1fr 1fr}.managed-zone{gap:6px}.zone-mark .pictogram{width:27px;height:27px}.managed-zone button{padding:6px;font-size:10px}.zone-name-field input{font-size:13px}.new-zone>div{flex-wrap:wrap}.new-zone input{flex-basis:65%}}
@media print{.zone-legend{flex-wrap:wrap;gap:1mm 5mm}.slot{height:auto;min-height:24mm;flex:1}.slot-tasks{flex-shrink:0}.zone-caption{min-width:0}.zone-caption>span{max-width:9mm}.zone-group{flex-shrink:0}.day-cell,.person-card{break-inside:avoid}}

.zone-legend>span{max-width:100%;min-width:0}.zone-legend>span>span{min-width:0}

/* Chaque demi-journée grandit avec ses zones, sans les renvoyer à côté. */
@media screen{
  .day-cell{display:grid;grid-template-rows:repeat(2,1fr)}
  .slot-tasks{flex-wrap:nowrap;flex-shrink:0}
  .half-label,.zone-group{flex-shrink:0}
}
@media screen and (max-width:760px){
  .day-cell{grid-template-rows:1fr}
}

/* Catalogue de tâches et collection de pictogrammes. */
.legend{align-items:flex-start}.legend-title{padding-top:12px;flex:0 0 155px}.legend-title button{display:block;margin-top:8px;padding:8px 10px;font-size:11px;letter-spacing:0;text-transform:none;white-space:normal}#legend-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));justify-content:start;align-items:start;gap:12px 18px}.legend-item{max-width:none;min-width:0;flex-direction:row;text-align:left}.legend-item>span,.task-choice>span:not(.selection-mark),.task-tile>span{overflow-wrap:anywhere}#task-dialog{max-width:680px}#task-dialog>form>label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}#new-task-name{width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:11px;background:white;color:inherit}.icon-fieldset{border:0;padding:0;margin:20px 0}.icon-fieldset legend{font-size:13px;font-weight:600;margin-bottom:10px}.icon-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.icon-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:86px;padding:8px 3px;font-size:10px}.icon-choice .pictogram{width:44px;height:44px}.icon-choice.selected{border-color:var(--green);background:#e9f2df;box-shadow:inset 0 0 0 1px var(--green)}.task-preview{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#edf2e7;font-size:14px;font-weight:600;overflow-wrap:anywhere}.task-preview span{min-width:0}.task-preview .pictogram{width:42px;height:42px}
@media(max-width:760px){.legend-title{padding:0;display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.legend-title button{margin:0;font-size:11px}#legend-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.legend-item{font-size:11px;gap:7px}.legend-item .pictogram{width:40px;height:40px}.icon-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.icon-choice{font-size:9px;min-height:78px}.icon-choice .pictogram{width:40px;height:40px}}
@media print{.legend-title{flex:0 0 28mm;padding:0}.legend-title button{display:none}#legend-items{grid-template-columns:repeat(5,minmax(0,1fr));gap:1mm 3mm}.legend-item{font-size:8px}.legend-item .pictogram{width:7mm;height:7mm}.zone-tasks{flex-wrap:wrap}.legend{break-inside:avoid}}

@media(max-width:760px){#task-dialog .icon-choices{max-height:35vh;overflow-y:auto;padding:3px}#task-dialog .icon-fieldset{margin:15px 0}#task-dialog h2{font-size:21px}#task-dialog .task-preview{padding:8px}#task-dialog .dialog-actions{margin-top:12px;padding-top:12px}}

.legend-title .task-edit-hint{font-size:11px;line-height:1.4}.legend-item{background:transparent;border-color:transparent;padding:3px;text-align:left;justify-content:flex-start}.task-edit-mark{font-size:13px;color:var(--muted);margin-left:auto}.task-edit-hint{display:block}#task-delete{margin-right:auto;padding:10px}.delete-confirm{background:#963b2a;color:white;border-color:#963b2a}.delete-confirm:hover{background:#7d2e20;color:white}.dialog-actions button[hidden]{display:none}
@media(max-width:760px){.legend-title{display:block}.legend-title .task-edit-hint{margin-top:4px}#task-dialog .dialog-actions{flex-wrap:wrap;gap:6px}#task-dialog .dialog-actions button{font-size:11px;padding:10px 8px}}
@media print{.task-edit-mark,.task-edit-hint{display:none!important}.legend-item{padding:0;border:0;min-height:0;background:transparent!important;opacity:1!important}}

.toolbar{flex-wrap:wrap}
