.padarias-module{--accent:var(--crivi-purple,#7652a4);color:var(--crivi-ink);min-width:0}.padarias-module *{box-sizing:border-box}.padarias-module body{margin:0}.padarias-module header{display:flex;align-items:center;gap:20px;padding:18px 5%;background:var(--accent);color:white}.padarias-module header a{color:white;font-weight:800}.padarias-module header small{display:block}.padarias-module header button{margin-left:auto}.padarias-module main{max-width:1100px;margin:auto;padding:16px}.padarias-module h1{font-size:1.7rem}.padarias-module h2{font-size:1.2rem}.padarias-module p{line-height:1.5}.padarias-module a{color:var(--accent)}.padarias-module label{display:block;margin:12px 0;font-weight:600}.padarias-module input,.padarias-module select,.padarias-module textarea{display:block;width:100%;padding:12px;border:1px solid #bdb1cd;border-radius:8px;background:white;font:inherit;margin-top:6px}.padarias-module input[type=checkbox]{display:inline;width:auto;margin-right:8px}.padarias-module button{padding:12px 18px;border:0;border-radius:8px;font:inherit;font-weight:600;background:var(--accent);color:white;cursor:pointer;min-height:44px}.padarias-module button:disabled{opacity:.5;cursor:wait}.padarias-module nav{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.padarias-module nav button{background:#eee6f7;color:#493360}.padarias-module nav button[aria-current=page]{background:var(--accent);color:white}.padarias-module .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.padarias-module .card{padding:18px;background:white;border:1px solid #e5dded;border-radius:12px;overflow-wrap:anywhere}.padarias-module .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.padarias-module .actions button{font-size:.85rem}.padarias-module .muted{color:#62566f}.padarias-module .toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.padarias-module .checklist{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:4px}.padarias-module .checklist label{font-weight:400;margin:4px 0}.padarias-module dialog{border:0;border-radius:14px;padding:24px;width:min(700px,95vw);max-height:92vh;overflow-y:auto;box-shadow:0 10px 80px #0003}.padarias-module dialog::backdrop{background:#0007}.padarias-module footer{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:-24px;background:white;padding:16px 0}.padarias-module #status,.padarias-module #edit-error{color:#8d2525}.padarias-module #login-panel,.padarias-module #first-panel{max-width:460px;margin:30px auto}.padarias-module pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}.padarias-module summary{cursor:pointer;min-height:44px;padding:10px}.padarias-module [hidden]{display:none!important}@media(max-width:550px){.padarias-module main{padding:12px}.padarias-module header{padding:14px}.padarias-module nav button{flex:1}.padarias-module dialog{padding:18px}.padarias-module .cards{grid-template-columns:1fr}}

.padarias-module dialog{color:var(--crivi-ink);background:var(--crivi-surface,#fff)}
.padarias-module :focus-visible{outline:3px solid var(--crivi-purple,#7652a4);outline-offset:3px}
.padarias-module .cards{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.padarias-module .card{min-height:0}
@media(max-width:720px){
  #sidebar-nav.is-single-module [data-sidebar-group="padarias"],#sidebar-nav [data-sidebar-group="padarias"]{display:block;grid-column:1/-1;width:100%}
  #sidebar-nav [data-sidebar-group="padarias"] b{display:block;white-space:normal;overflow-wrap:anywhere;text-align:left}
  #sidebar-nav [data-sidebar-group="padarias"] .sidebar-group-toggle{display:flex;align-items:center;gap:10px;width:100%}
  #sidebar-nav [data-sidebar-group="padarias"] .sidebar-group-toggle[aria-expanded="true"]+.sidebar-group-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:6px 0}
  #sidebar-nav [data-sidebar-group="padarias"] .sidebar-group-toggle[aria-expanded="false"]+.sidebar-group-items{display:none}
  #sidebar-nav [data-sidebar-group="padarias"] .sidebar-group-items a{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:8px;min-width:0;min-height:44px}
}

/* PAD-016: honey identity remains scoped to the Padarias task and menu group. */
.padarias-module{--accent:#875b0e;--padaria-honey:#d8a039}
.padarias-module :focus-visible{outline-color:var(--accent)}
.padarias-module .card,.padarias-module .stock-form{border-color:#e7d5b1}
.padarias-module .stock-notice{background:#fff5df;border-left:4px solid var(--padaria-honey)}
#sidebar-nav [data-sidebar-group="padarias"] .sidebar-group-toggle{border-left:3px solid #d8a039}

/* Operational overview: one reading surface for today's decisions. */
.padarias-module .pad-overview-header{display:flex;justify-content:space-between;align-items:end;gap:18px;padding:20px 0 24px;border-bottom:1px solid #e7d5b1;background:transparent;color:var(--crivi-ink)}
.padarias-module .pad-overview-header h1{margin:4px 0 6px;font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.12}
.padarias-module .pad-overview-header p{margin:4px 0;color:#5d5265}
.padarias-module .pad-eyebrow{margin:0;color:#875b0e!important;font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.padarias-module .pad-overview-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:10px;margin:20px 0}
.padarias-module .pad-overview-actions button{text-align:left;min-height:64px;padding:15px 18px;background:#fffaf1;border:1px solid #d8bb82;color:#513809}
.padarias-module .pad-overview-actions button:hover{background:#fff1d5}
.padarias-module .pad-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0}
.padarias-module .pad-kpis>div{display:flex;flex-direction:column;gap:7px;padding:17px;background:#fff;border:1px solid #e7d5b1;border-radius:12px;min-width:0}
.padarias-module .pad-kpis span{font-size:.83rem;color:#655a69}
.padarias-module .pad-kpis strong{font-size:1.5rem;line-height:1.1;overflow-wrap:anywhere}
.padarias-module .pad-kpis small{color:#655a69;line-height:1.4}
.padarias-module .pad-overview-section{padding:21px 0;border-top:1px solid #e7d5b1}
.padarias-module .pad-section-heading{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.padarias-module .pad-section-heading h2{margin:4px 0 0;font-size:1.22rem}
.padarias-module .pad-section-heading button,.padarias-module .pad-overview-header>button{background:#f3e6cc;color:#513809}
.padarias-module .pad-empty,.padarias-module .pad-error{margin:0;padding:17px;background:#fffaf2;border-radius:10px;color:#62566f}
.padarias-module .pad-error{background:#fff0ec;color:#8d2525}
.padarias-module .pad-opening-list,.padarias-module .pad-event-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.padarias-module .pad-opening-list li,.padarias-module .pad-event-list li{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:12px 14px;border:1px solid #ece1cc;background:#fff;border-radius:9px}
.padarias-module .pad-opening-list li span:first-child,.padarias-module .pad-event-list li strong{font-weight:700}
.padarias-module .pad-opening-list li small,.padarias-module .pad-event-list li small{color:#655a69}
.padarias-module .pad-status{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 9px;border-radius:999px;background:#fff0cf;color:#654300;font-size:.77rem;font-weight:700;line-height:1.25;white-space:normal}
.padarias-module .pad-status-done{background:#e8f5e9;color:#25612d}
.padarias-module .pad-status-attention{background:#ffebe4;color:#9b351b}
.padarias-module .pad-photo-label{font-size:.8rem;color:#875b0e;font-weight:700}
.padarias-module .pad-table-wrap{max-width:100%;overflow-x:auto}
.padarias-module .pad-operations-table{border-collapse:collapse;width:100%;background:#fff;font-size:.86rem}
.padarias-module .pad-operations-table th,.padarias-module .pad-operations-table td{padding:11px 9px;text-align:left;vertical-align:top;border-bottom:1px solid #ece1cc;overflow-wrap:anywhere}
.padarias-module .pad-operations-table thead{background:#fff6e6;color:#513809}
.padarias-module .pad-operations-table th[scope=row]{font-weight:700;min-width:110px}
.padarias-module .pad-product-cell{display:block;min-width:0}
.padarias-module .pad-product-cell details{font-weight:400}
.padarias-module .pad-timeline{list-style:none;padding:0;margin:0;display:grid;gap:0}
.padarias-module .pad-timeline li{border-left:2px solid #d8bb82;padding:0 0 10px 14px}
.padarias-module .pad-timeline button{display:grid;grid-template-columns:100px 1fr auto;align-items:start;gap:10px;width:100%;min-height:52px;padding:11px 14px;text-align:left;background:#fff;color:#2e2435;border:1px solid #ece1cc}
.padarias-module .pad-timeline button:hover{background:#fff8ea}
.padarias-module .pad-timeline time{font-size:.8rem;color:#655a69}
.padarias-module .pad-timeline small{color:#875b0e;font-weight:700}
.padarias-module .pad-event-dialog dl{display:grid;grid-template-columns:minmax(100px,35%) 1fr;gap:8px 16px;overflow-wrap:anywhere}
.padarias-module .pad-event-dialog dt{color:#655a69}.padarias-module .pad-event-dialog dd{margin:0;font-weight:600}
.padarias-module .pad-event-dialog img{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:15px auto}
.padarias-module .pad-event-dialog button{margin:8px 8px 0 0}
@media(max-width:800px){.padarias-module .pad-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
  .padarias-module .pad-overview-header{align-items:start;flex-direction:column}
  .padarias-module .pad-kpis{gap:7px}.padarias-module .pad-kpis>div{padding:12px}.padarias-module .pad-kpis strong{font-size:1.15rem}
  .padarias-module .pad-operations-table thead{display:none}
  .padarias-module .pad-operations-table,.padarias-module .pad-operations-table tbody,.padarias-module .pad-operations-table tr,.padarias-module .pad-operations-table th,.padarias-module .pad-operations-table td{display:block;width:100%}
  .padarias-module .pad-operations-table tr{border:1px solid #ece1cc;border-radius:10px;margin:0 0 9px;overflow:hidden}
  .padarias-module .pad-operations-table th,.padarias-module .pad-operations-table td{display:flex;justify-content:space-between;gap:12px;padding:7px 12px;border:0}
  .padarias-module .pad-operations-table [data-label]::before{content:attr(data-label);color:#655a69;font-weight:400;min-width:40%}
  .padarias-module .pad-timeline button{grid-template-columns:1fr}.padarias-module .pad-timeline small{justify-self:start}
}
.padarias-module .pad-catalog-list{display:grid;gap:9px;margin:16px 0}
.padarias-module .pad-catalog-product{display:grid;grid-template-columns:minmax(150px,1.3fr) minmax(180px,1fr) auto;align-items:center;gap:10px 18px;background:#fff;border:1px solid #e7d5b1;border-radius:10px;padding:15px;min-width:0}
.padarias-module .pad-catalog-product h2{margin:0 0 5px}
.padarias-module .pad-catalog-product p{margin:0;color:#655a69;font-size:.85rem}
.padarias-module .pad-catalog-product dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.padarias-module .pad-catalog-product dt{font-size:.77rem;color:#655a69}
.padarias-module .pad-catalog-product dd{margin:4px 0 0;font-weight:800}
.padarias-module .pad-catalog-product .actions{margin:0;justify-content:flex-end}
.padarias-module .pad-catalog-product details{grid-column:1/-1}
.padarias-module .pad-catalog-groups{margin:22px 0}
.padarias-module .pad-catalog-groups>.cards{margin-top:12px}
.padarias-module .pad-catalog-maintenance{margin:18px 0 26px}
.padarias-module .pad-catalog-maintenance [data-catalog-maintenance-help] section{padding:10px 0}
@media(max-width:850px){.padarias-module .pad-catalog-product{grid-template-columns:1fr}.padarias-module .pad-catalog-product .actions{justify-content:flex-start}}
@media(max-width:720px){
  body:has(.view[id^="view-padarias"].is-active) .app-sidebar{padding:8px 12px}
  body:has(.view[id^="view-padarias"].is-active) .app-sidebar .brand-lockup{display:none}
  body:has(.view[id^="view-padarias"].is-active) .app-topbar{padding:12px 18px;gap:8px}
  body:has(.view[id^="view-padarias"].is-active) .topbar-copy p,
  body:has(.view[id^="view-padarias"].is-active) .global-search,
  body:has(.view[id^="view-padarias"].is-active) .command-button,
  body:has(.view[id^="view-padarias"].is-active) .notification-button{display:none}
}
