:root{--dfm-orange:#e36414;--dfm-orange-dark:#bd4f0e;--dfm-orange-soft:#fff7ed;--dfm-ink:#0f172a;--dfm-text:#334155;--dfm-muted:#64748b;--dfm-line:#e2e8f0;--dfm-soft:#f8fafc;--dfm-green:#16824b;--dfm-red:#b93832;--dfm-purple:#6d5bd0}.dfm-page-main{background:#fff}.dfm-portal{max-width:1320px;margin:0 auto;padding:40px 24px 72px;color:var(--dfm-text);font-size:16px;line-height:1.6}.dfm-portal *{box-sizing:border-box}.dfm-portal h1,.dfm-portal h2,.dfm-portal h3,.dfm-portal strong{font-weight:600}.dfm-hero{display:flex;justify-content:space-between;align-items:end;gap:28px;padding:26px 0 30px;border-bottom:1px solid var(--dfm-line)}.dfm-hero h1{margin:4px 0 0;font-size:clamp(36px,5vw,64px);line-height:1.02;color:var(--dfm-ink);letter-spacing:-.04em}.dfm-hero p{margin:8px 0 0}.dfm-eyebrow{margin:0!important;font-size:12px!important;line-height:1.2!important;letter-spacing:.12em!important;color:var(--dfm-orange)!important;font-weight:600!important}.dfm-hero-meta{display:grid;gap:5px;text-align:right}.dfm-hero-meta span{font-size:13px;color:var(--dfm-muted)}.dfm-hero-meta strong{font-size:15px;color:var(--dfm-ink)}.dfm-admin-links{display:flex;justify-content:flex-end;gap:8px;margin-bottom:10px}.dfm-admin-links a{display:inline-flex;padding:8px 12px;border:1px solid #fed7aa;border-radius:999px;color:#9a3412;background:#fff;font-size:12px;font-weight:600;text-decoration:none}.dfm-tabs{display:inline-flex;gap:5px;padding:5px;background:#f1f5f9;border-radius:14px;margin:24px 0}.dfm-tabs a{padding:9px 16px;border-radius:10px;color:var(--dfm-text);text-decoration:none;font-weight:500}.dfm-tabs a.is-active{background:#fff;color:var(--dfm-orange-dark);box-shadow:0 3px 12px rgba(15,23,42,.06)}.dfm-layout{display:grid;grid-template-columns:minmax(360px,.82fr) minmax(0,1.35fr);border:1px solid var(--dfm-line);border-radius:24px;overflow:hidden;box-shadow:0 14px 45px rgba(15,23,42,.05);margin-top:8px}.dfm-calendar-panel{padding:28px;background:#f8fafc;border-right:1px solid var(--dfm-line)}.dfm-day-panel{padding:28px;background:#fff}.dfm-calendar-head,.dfm-day-head,.dfm-meal__top,.dfm-meal__footer{display:flex;justify-content:space-between;align-items:center;gap:18px}.dfm-calendar-head h2,.dfm-day-head h2{margin:4px 0 0;font-size:28px;line-height:1.15;color:var(--dfm-ink)}.dfm-day-head{align-items:flex-start;padding-bottom:20px;border-bottom:1px solid var(--dfm-line);margin-bottom:20px}.dfm-day-head p{margin:7px 0 0}.dfm-calendar-nav{display:flex;align-items:center;gap:6px}.dfm-calendar-nav a{display:inline-flex;min-width:40px;height:40px;padding:0 12px;align-items:center;justify-content:center;border:1px solid var(--dfm-line);border-radius:999px;background:#fff;color:var(--dfm-text);text-decoration:none;font-size:13px;font-weight:500}.dfm-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.dfm-calendar-grid--labels{margin:24px 0 8px}.dfm-calendar-grid--labels span{text-align:center;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;font-weight:600}.dfm-day{position:relative;display:flex;aspect-ratio:1/1;min-height:48px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:14px;background:#fff;color:var(--dfm-ink);text-decoration:none;transition:.15s ease}.dfm-day:hover{border-color:#fdba74;transform:translateY(-1px)}.dfm-day strong{font-size:15px}.dfm-day i{position:absolute;width:5px;height:5px;border-radius:50%;bottom:8px;background:#cbd5e1}.dfm-day.is-selected{background:var(--dfm-orange);color:#fff;box-shadow:0 8px 20px rgba(227,100,20,.2)}.dfm-day.is-selected i{background:#fff}.dfm-day.is-today:not(.is-selected){border-color:var(--dfm-orange)}.dfm-day--in:not(.is-selected) i{background:var(--dfm-green)}.dfm-day--partial:not(.is-selected) i{background:#d97706}.dfm-day--out:not(.is-selected) i{background:var(--dfm-red)}.dfm-day--absent:not(.is-selected) i{background:var(--dfm-purple)}.dfm-day--blank{visibility:hidden}.dfm-legend{display:flex;flex-wrap:wrap;gap:12px 18px;margin-top:20px;font-size:12px;color:var(--dfm-muted)}.dfm-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}.dfm-dot--in{background:var(--dfm-green)}.dfm-dot--partial{background:#d97706}.dfm-dot--out{background:var(--dfm-red)}.dfm-dot--absent{background:var(--dfm-purple)}.dfm-meals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dfm-meal{display:flex;flex-direction:column;min-height:230px;border:1px solid var(--dfm-line);border-radius:18px;overflow:hidden;background:#fff}.dfm-meal__top{padding:18px 20px;border-bottom:1px solid #f1f5f9}.dfm-meal__top h3{margin:4px 0 0;font-size:21px;color:var(--dfm-ink)}.dfm-meal__body{flex:1;padding:18px 20px}.dfm-meal__body ul{margin:0;padding:0;list-style:none;display:grid;gap:9px}.dfm-meal__body li{position:relative;padding-left:16px;color:var(--dfm-text)}.dfm-meal__body li:before{content:"";position:absolute;left:0;top:.7em;width:5px;height:5px;background:var(--dfm-orange);border-radius:50%}.dfm-meal__footer{padding:14px 20px;background:#f8fafc;border-top:1px solid #f1f5f9;align-items:end}.dfm-meal__footer small{max-width:180px;color:var(--dfm-muted);font-size:11px}.dfm-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:600}.dfm-status--in{background:#eaf7ef;color:#17633d}.dfm-status--out{background:#fff0ed;color:#9d302a}.dfm-status--absent{background:#efedff;color:#5340b3}.dfm-status--disabled{background:#f1f5f9;color:#64748b}.dfm-allergen-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}.dfm-allergen-chips span{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:8px;background:var(--dfm-orange-soft);color:#9a3412;font-size:12px;font-weight:600}.dfm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border:1px solid transparent;border-radius:12px;text-decoration:none;font:inherit;font-weight:600;cursor:pointer}.dfm-btn--primary{background:var(--dfm-orange);color:#fff}.dfm-btn--primary:hover{background:var(--dfm-orange-dark)}.dfm-btn--danger{background:#fff;border-color:#fecaca;color:#a52d27}.dfm-btn--ghost{background:#fff;border-color:var(--dfm-line);color:var(--dfm-text)}.dfm-empty{padding:34px;border:1px dashed #cbd5e1;border-radius:16px;text-align:center;background:#f8fafc}.dfm-empty h2,.dfm-empty h3{margin-top:0;color:var(--dfm-ink)}.dfm-muted{color:var(--dfm-muted)}.dfm-selfservice{margin-top:28px;padding:28px;border-radius:24px;background:#0f172a;color:#fff}.dfm-selfservice>.dfm-eyebrow{color:#fdba74!important}.dfm-selfservice h2{margin:4px 0 8px;font-size:30px}.dfm-selfservice>div>p:not(.dfm-eyebrow){color:#cbd5e1}.dfm-selfservice__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.dfm-card{background:#fff;color:var(--dfm-text);border-radius:18px;padding:20px}.dfm-card h3{margin:0 0 14px;color:var(--dfm-ink)}.dfm-card label{display:grid;gap:5px;margin:12px 0;font-weight:500;color:var(--dfm-text)}.dfm-card input{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:10px;padding:8px 10px;font:inherit}.dfm-absence-list{display:grid;gap:10px}.dfm-absence{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid var(--dfm-line)}.dfm-absence:last-child{border-bottom:0}.dfm-absence strong,.dfm-absence small{display:block}.dfm-absence small{color:var(--dfm-muted);margin-top:3px}.dfm-link-btn{padding:0;border:0;background:transparent;color:var(--dfm-orange-dark);text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-weight:500}.dfm-login-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px;padding:26px;border:1px solid #fed7aa;background:#fff7ed;border-radius:20px}.dfm-login-cta h2{margin:0 0 5px;color:var(--dfm-ink)}.dfm-login-cta p{margin:0}.dfm-notice{padding:13px 16px;border-radius:12px;margin:14px 0;font-weight:500}.dfm-notice--success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.dfm-notice--error{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}@media(max-width:1000px){.dfm-layout{grid-template-columns:1fr}.dfm-calendar-panel{border-right:0;border-bottom:1px solid var(--dfm-line)}.dfm-meals{grid-template-columns:1fr}.dfm-selfservice__grid{grid-template-columns:1fr}}@media(max-width:640px){.dfm-portal{padding:24px 14px 50px}.dfm-hero{align-items:flex-start;flex-direction:column}.dfm-hero-meta{text-align:left}.dfm-calendar-panel,.dfm-day-panel{padding:18px}.dfm-calendar-head,.dfm-day-head{align-items:flex-start;flex-direction:column}.dfm-calendar-grid{gap:5px}.dfm-day{border-radius:10px;min-height:40px}.dfm-day strong{font-size:13px}.dfm-meal__footer{align-items:flex-start;flex-direction:column}.dfm-selfservice{padding:20px}.dfm-login-cta{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.dfm-day{transition:none}} 


/* DOMKO Food Manager 1.1 – stav dostupnosti dňa */
.dfm-day--no-menu:not(.is-selected){background:#eef2f7;color:#94a3b8;border-color:#e5e7eb;box-shadow:none}
.dfm-day--no-menu:not(.is-selected):hover{background:#e8edf3;border-color:#cbd5e1;transform:none;color:#64748b}
.dfm-day--has-menu:not(.is-selected){background:#fff;color:var(--dfm-ink)}
.dfm-day.is-selected.dfm-day--no-menu{background:#eef2f7;color:#475569;border:2px solid var(--dfm-orange);box-shadow:0 6px 18px rgba(15,23,42,.06)}
.dfm-day.is-selected.dfm-day--no-menu i{display:none}
.dfm-day.is-selected.dfm-day--has-menu{background:var(--dfm-orange);color:#fff;box-shadow:0 8px 20px rgba(227,100,20,.2)}
.dfm-day.is-today:not(.is-selected){outline:2px solid rgba(227,100,20,.28);outline-offset:2px}
.dfm-dot--menu{background:var(--dfm-orange)}
.dfm-dot--empty{background:#cbd5e1}
.dfm-calendar-panel .dfm-legend{padding-top:2px}
.dfm-day-panel .dfm-day-head h2{font-weight:600}

/* DOMKO Food Manager 1.2 – self-service stavy + legenda alergénov */
.dfm-hero-status-link{display:inline-flex;justify-content:flex-end;margin-top:4px;color:var(--dfm-orange-dark);font-size:13px;font-weight:600;text-decoration:none}
.dfm-hero-status-link:hover{text-decoration:underline;text-underline-offset:3px}
.dfm-day-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.dfm-day-actions form{margin:0}
.dfm-btn:disabled{opacity:.45;cursor:not-allowed;filter:none}
.dfm-status--partial{background:#fff7e6;color:#9a5a00}
.dfm-status--none{background:#f1f5f9;color:#64748b}

.dfm-allergen-legend{margin-top:22px;border:1px solid var(--dfm-line);border-radius:18px;background:#fbfcfe;overflow:hidden}
.dfm-allergen-legend>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;cursor:pointer;list-style:none;color:var(--dfm-ink);font-weight:600}
.dfm-allergen-legend>summary::-webkit-details-marker{display:none}
.dfm-allergen-legend>summary:after{content:"+";display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid var(--dfm-line);border-radius:50%;background:#fff;color:var(--dfm-orange);font-size:18px;line-height:1}
.dfm-allergen-legend[open]>summary:after{content:"−"}
.dfm-allergen-legend>summary small{margin-left:auto;color:var(--dfm-muted);font-weight:400}
.dfm-allergen-legend__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 18px 18px}
.dfm-allergen-legend__item{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:10px;padding:10px;border:1px solid #edf1f5;border-radius:12px;background:#fff}
.dfm-allergen-legend__item>span{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:9px;background:#f1f5f9;color:#64748b;font-size:12px;font-weight:600}
.dfm-allergen-legend__item p{margin:4px 0 0;color:#475569;font-size:12px;line-height:1.35}
.dfm-allergen-legend__item.is-used{border-color:#fed7aa;background:#fffaf6}
.dfm-allergen-legend__item.is-used>span{background:var(--dfm-orange-soft);color:#9a3412}

.dfm-status-page__toplinks{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-bottom:8px}
.dfm-status-filter{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:end;margin:24px 0;padding:18px;border:1px solid var(--dfm-line);border-radius:18px;background:#f8fafc}
.dfm-status-filter label{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:600}
.dfm-status-filter input,.dfm-status-filter select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:var(--dfm-text);font:inherit;font-weight:400}
.dfm-status-summary{display:inline-grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin-bottom:16px;padding:10px 14px;border:1px solid #fed7aa;border-radius:14px;background:#fff7ed;color:#9a3412}
.dfm-status-summary strong{font-size:24px;font-weight:600}
.dfm-status-summary span{font-size:13px}
.dfm-status-admin-list{display:grid;gap:18px}
.dfm-person-status{border:1px solid var(--dfm-line);border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,.035)}
.dfm-person-status__head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid var(--dfm-line);background:#fbfcfe}
.dfm-person-status__head h2{margin:0;color:var(--dfm-ink);font-size:19px;font-weight:600}
.dfm-person-status__head p{margin:4px 0 0;color:var(--dfm-muted);font-size:12px}
.dfm-status-table-wrap{width:100%;overflow:auto}
.dfm-front-status-table{width:100%;border-collapse:collapse;min-width:760px}
.dfm-front-status-table th,.dfm-front-status-table td{padding:13px 14px;border-bottom:1px solid #eef2f7;text-align:left;vertical-align:middle}
.dfm-front-status-table thead th{background:#fff;color:#64748b;font-size:11px;letter-spacing:.04em;text-transform:uppercase;font-weight:600;white-space:nowrap}
.dfm-front-status-table tbody tr:last-child td{border-bottom:0}
.dfm-front-status-table tbody tr:hover{background:#fcfcfd}
.dfm-front-status-table td:first-child a{display:grid;gap:2px;color:var(--dfm-ink);text-decoration:none;white-space:nowrap}
.dfm-front-status-table td:first-child a:hover strong{color:var(--dfm-orange-dark)}
.dfm-front-status-table td:first-child strong{font-size:13px;font-weight:600}
.dfm-front-status-table td:first-child span{color:var(--dfm-muted);font-size:11px}
.dfm-empty--small{padding:18px;border:0;border-radius:0;background:#fff}
.dfm-empty--small p{margin:0;color:var(--dfm-muted)}

@media(max-width:1000px){
  .dfm-status-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dfm-allergen-legend__grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .dfm-day-actions{width:100%;justify-content:stretch}
  .dfm-day-actions form{flex:1}
  .dfm-day-actions .dfm-btn{width:100%}
  .dfm-allergen-legend>summary{align-items:flex-start;flex-wrap:wrap}
  .dfm-allergen-legend>summary small{order:3;width:100%;margin-left:0}
  .dfm-status-filter{grid-template-columns:1fr}
  .dfm-status-page__toplinks{justify-content:flex-start}
  .dfm-person-status__head{align-items:flex-start;flex-direction:column}
}

/* v1.3.0 – explicitné potvrdenie jedálneho lístka */
.dfm-day--pending:not(.is-selected) i{background:#94a3b8}
.dfm-dot--pending{background:#94a3b8}
.dfm-status--pending{background:#f1f5f9;color:#64748b}
.dfm-status--default{gap:6px;border:1px dashed #bbf7d0;background:#f6fbf8}
.dfm-status--default small{font-size:9px;font-weight:500;opacity:.75;text-transform:uppercase;letter-spacing:.04em}
.dfm-response-note{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px;padding:13px 15px;border:1px solid #dbe4ef;border-radius:14px;background:#f8fafc;color:#475569;font-size:13px;line-height:1.45}
.dfm-response-note strong{flex:0 0 auto;color:#0f172a}
@media(max-width:640px){.dfm-response-note{flex-direction:column;gap:3px}}

.dfm-meal-audience{display:block;margin-top:4px;color:#94a3b8;font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.05em}
