/* NOS PANOS 3.4 — administração legível em notebooks e filtros práticos de pedidos. */
.admin-overlay{padding:12px}
.admin-modal{width:min(96vw,1160px);max-height:min(95dvh,960px);border-radius:16px}
.admin-header{padding:17px 28px;flex-shrink:0}
.admin-header h2{font-size:clamp(20px,2vw,28px);margin:3px 0}
.admin-body{padding:19px 27px 30px;background:#f7f7f7;min-width:0;overscroll-behavior:contain}
#adminMainPane{max-width:100%;min-width:0}
.np-admin-quickstart{border:1px solid #e2e2e2;background:#fff;border-radius:12px;padding:13px 17px;margin-bottom:15px;gap:3px}
.np-admin-quickstart strong{color:#1e1e1e;letter-spacing:.07em}
.np-admin-quickstart span{font-size:12px;line-height:1.5;color:#666}
.np-admin-tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:0 0 20px;padding:0 0 18px;border-bottom:1px solid #e3e3e3}
.np-admin-tools .admin-tab{padding:11px 7px;min-width:0;min-height:46px;border-radius:9px;font-size:11px;letter-spacing:0;text-align:center;white-space:normal;line-height:1.35;word-break:normal;border-color:#dedede;background:white;color:#333}
.np-admin-tools .admin-tab.active{background:#111;color:white;border-color:#111;box-shadow:none}
.np-admin-section-heading{margin:0 0 15px;gap:16px;flex-wrap:wrap}
.np-admin-section-heading h3{font-size:clamp(18px,2.1vw,23px);color:#111}
.np-admin-section-heading p{max-width:600px;line-height:1.45;font-size:12px;color:#666}
.np-admin-section-heading small{color:#777}
.np-admin-section-heading .button{padding:12px 16px;min-height:44px}
.np-filter-34{margin:0 0 20px;padding:20px 22px;gap:15px;background:white;border:1px solid #e1e1e1;box-shadow:0 6px 20px rgba(0,0,0,.025);border-radius:15px}
.np-filter-34 .np-request-filter-title{display:grid;gap:4px}
.np-filter-34 .np-request-filter-title strong{font-size:13px;color:#111;letter-spacing:.045em}
.np-filter-34 .np-request-filter-title span{font-size:12px;color:#6a6a6a}
.np-filter-34 .np-request-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(170px,1.6fr);gap:8px;background:transparent;padding:0}
.np-filter-34 .np-request-shortcuts button{border:1px solid #dedede;min-height:45px;padding:10px 7px;background:#f6f6f6;color:#222;border-radius:9px;font-size:12px;font-weight:800;letter-spacing:0;cursor:pointer}
.np-filter-34 .np-request-shortcuts button:hover{border-color:#888;background:#ebebeb}
.np-filter-34 .np-request-shortcuts button.active{background:#111;border-color:#111;color:#fff}
.np-filter-34 .np-request-shortcuts .np-custom-choice{font-size:11px}
.np-request-date-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding-top:14px;border-top:1px solid #ededed}
.np-request-date-controls>label,.np-request-time-grid label{display:grid;gap:7px;font-weight:800;font-size:11px;color:#464646;min-width:0}
.np-request-date-controls input[type=date],.np-request-time-grid input[type=datetime-local]{display:block;width:100%;min-height:46px;font-family:inherit;font-size:14px;letter-spacing:0;color:#111;background:white;border:1px solid #c9c9c9;border-radius:9px;padding:9px 11px;color-scheme:light;cursor:pointer}
.np-request-date-controls>label{flex:1 1 235px;max-width:420px}
.np-search-date-btn{border:1px solid #111;border-radius:9px;color:#fff;background:#111;padding:0 16px;min-height:46px;white-space:normal;font-weight:800;font-size:11px;letter-spacing:.02em;cursor:pointer}
.np-search-date-btn:hover{background:#333}
.np-request-custom-fields{padding:16px;border:1px solid #e4e4e4;background:#f8f8f8;border-radius:11px;display:grid;gap:14px}
.np-request-custom-fields[hidden]{display:none!important}
.np-request-custom-intro{display:grid;gap:4px}
.np-request-custom-intro strong{font-size:13px;color:#191919}
.np-request-custom-intro small{font-size:12px;color:#707070}
.np-request-time-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end}
.np-request-range{padding:12px 14px;background:#f2f2f2;color:#333;border-radius:9px;font-size:12px;line-height:1.55}
.np-request-report-fold{background:white;border:1px solid #e3e3e3;border-radius:13px;margin:0 0 23px;overflow:hidden}
.np-request-report-fold summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px;cursor:pointer;padding:16px 20px}
.np-request-report-fold summary::-webkit-details-marker{display:none}
.np-request-report-fold summary>span:first-child{display:grid;gap:4px}
.np-request-report-fold summary strong{font-size:12px;color:#191919;letter-spacing:.05em}
.np-request-report-fold summary small{font-size:12px;color:#777;line-height:1.35}
.np-fold-chevron{font-size:23px;line-height:1;transition:transform .15s}
.np-request-report-fold[open] .np-fold-chevron{transform:rotate(180deg)}
.np-request-report-content{padding:0 20px 20px;border-top:1px solid #eee}
.np-request-report-content .np-request-report-header{margin:17px 0 13px}
.np-request-list-title{margin:22px 0 12px}
.np-request-list-title h4{font-size:20px}
.np-request-list{gap:9px;margin:14px 0}
.np-request-card{padding:15px 18px;border:1px solid #e3e3e3;border-radius:12px;box-shadow:none;gap:14px}
.np-request-card h4{margin:8px 0 4px;font-size:17px}
.np-request-card-actions{gap:8px}
.np-order-dashboard{gap:8px}
.np-report-card{padding:14px}
.np-report-card strong{font-size:27px}
.np-admin-section .np-product-form{padding:20px;gap:12px 18px}
.np-admin-section .np-product-form .field,.np-admin-section .field{min-width:0}
@media(max-width:1100px){
 .np-admin-tools{grid-template-columns:repeat(3,minmax(0,1fr))}
 .np-filter-34 .np-request-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}
 .np-filter-34 .np-request-shortcuts .np-custom-choice{grid-column:1/-1}
}
@media(max-width:740px){
 .admin-overlay{padding:0}
 .admin-modal{max-width:100vw;width:100vw;max-height:100dvh;height:100dvh;border-radius:0}
 .admin-header{padding:14px 17px}
 .admin-body{padding:14px}
 .np-admin-tools{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;margin-bottom:16px;padding-bottom:13px;scrollbar-width:thin}
 .np-admin-tools .admin-tab{flex:0 0 auto;min-width:118px}
 .np-filter-34{padding:15px;gap:12px}
 .np-filter-34 .np-request-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .np-filter-34 .np-request-shortcuts .np-custom-choice{grid-column:1/-1}
 .np-request-date-controls>label{flex:1 1 100%;max-width:none}
 .np-request-date-controls>.np-search-date-btn{width:100%}
 .np-request-time-grid{grid-template-columns:1fr;gap:12px}
 .np-request-time-grid>.np-search-date-btn{width:100%}
 .np-request-report-content{padding:0 14px 15px}
 .np-request-report-fold summary{padding:14px 16px}
 .np-request-card{padding:14px}
}
@media(max-width:380px){
 .np-filter-34 .np-request-shortcuts button{font-size:11px;min-height:43px}
 .np-request-date-controls input[type=date],.np-request-time-grid input[type=datetime-local]{font-size:13px}
 .np-request-reports{grid-template-columns:repeat(2,minmax(0,1fr))}
}
