.institutional-logo{display:block;object-fit:contain;background:#fff}.login-logo{width:250px;height:120px;margin:-22px auto 4px}.sidebar-logo{width:54px;height:42px;border-radius:7px;padding:2px}.app aside{overflow-y:auto}.app nav{padding-bottom:12px}.app .logout{position:static;margin-top:12px;width:100%}
.catalog-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.catalog-panel{min-height:220px}.catalog-panel h3,.catalog-panel small{margin:0}.compact-list{margin-top:14px;border-top:1px solid var(--line)}.compact-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 2px;border-bottom:1px solid #edf1f4}.compact-list>div span{display:flex;gap:4px}.text-button{padding:5px 8px;background:transparent;color:var(--blue);font-size:13px}.text-button:hover{background:#edf6fc}.danger-link{color:var(--red)}.row-actions{white-space:nowrap}.success-message{margin-top:18px;padding:12px;border-radius:8px;background:#e6f5ed;color:var(--green)}.import-help{margin:12px 0 18px;padding:12px;background:#f5f8fb;border:1px solid var(--line);border-radius:8px;color:var(--muted)}.import-panel .actions{justify-content:flex-end}
.quality-logo{overflow:hidden}.quality-logo img{width:92%;height:58px;object-fit:contain;transform:none}.schedule-sheet{position:relative;padding-top:82px}.schedule-sheet::before{content:"";position:absolute;top:8px;left:20px;width:250px;height:70px;background:url("logo-martagao.png") left center/100% auto no-repeat}.document-meta>div:last-child span{gap:2px;text-align:center}.document-meta>div:last-child small{font-size:9px;font-weight:400}.document-meta>div:last-child strong{font-size:10px}
button:disabled{opacity:.6;cursor:not-allowed}
.pro-metrics{grid-template-columns:repeat(2,minmax(220px,320px))}.import-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.import-guide ol{padding-left:20px;line-height:1.8}.import-result{min-height:110px}.batch-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.batch-tools{display:flex;align-items:center;justify-content:space-between;margin:8px 0 12px}.batch-list{max-height:48vh;overflow:auto;border-top:1px solid var(--line)}.batch-row{display:grid;grid-template-columns:24px 1.4fr 140px 1fr;gap:10px;align-items:center;padding:10px 2px;border-bottom:1px solid var(--line)}.batch-row small{display:block;color:var(--muted);margin-top:3px}.batch-row input[type=checkbox]{width:18px;height:18px}
.error-report{padding:12px;border-radius:8px;background:#fdeaea;color:var(--red);line-height:1.6}
.import-instructions{margin:4px 0 18px;border:1px solid var(--line);border-radius:8px;padding:11px 13px;background:#f8fafc}.import-instructions summary{cursor:pointer;font-weight:700;color:var(--blue)}.import-instructions ol{margin:12px 0 2px;padding-left:22px;line-height:1.7}
.system-version{display:block;text-align:center;margin-top:8px;color:#9eb5c8;font-size:10px}.app>aside{overflow-y:auto}.app aside.import-guide{position:static;inset:auto;width:auto;padding:20px;background:#fff;color:var(--ink)}
@media(max-width:900px){.catalog-grid,.import-layout{grid-template-columns:1fr}.login-logo{width:210px;height:100px}.batch-filters,.batch-row{grid-template-columns:1fr}.pro-metrics{grid-template-columns:1fr}}
@media print{body[data-print="schedule"]{@page{size:A4 landscape;margin:7mm}}body[data-print="schedule"] .schedule-sheet{box-sizing:border-box;padding:18mm 0 0!important;width:100%!important;height:190mm!important;min-height:190mm!important;overflow:hidden!important}body[data-print="schedule"] .schedule-sheet::before{top:0;left:0;width:52mm;height:16mm;background-size:100% auto}body[data-print="schedule"] .schedule-sheet>h1{font-size:19px!important;margin:0 0 1mm!important}body[data-print="schedule"] .schedule-sheet>h2{font-size:15px!important;margin:0 0 1mm!important}body[data-print="schedule"] .schedule-month{font-size:17px!important;padding:1mm!important}body[data-print="schedule"] .calendar{width:100%;overflow:hidden!important}body[data-print="schedule"] .weekday{font-size:11px!important;padding:1.2mm!important}body[data-print="schedule"] .day{height:20mm!important;min-height:20mm!important;padding:1mm!important}body[data-print="schedule"] .day b{font-size:12px!important}body[data-print="schedule"] .calendar-item{font-size:8.5px!important;line-height:1.08!important}body[data-print="schedule"] .calendar-shift,body[data-print="schedule"] .calendar-shift strong{font-size:8.5px!important;line-height:1.08!important}body[data-print="schedule"] .signature-row{margin-top:5mm!important;font-size:9px!important}.quality-logo img{width:90%;height:14mm;transform:none}.institutional-logo{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
