/* افزونه‌های عملیاتی راهداری */
.temp-delta-card,.severity-card,.trend-section,.checklist-section,.emergency-section,.hourly-trend-section,.camera-gallery-section{padding:18px;margin-bottom:18px;background:var(--card-bg);border:1px solid var(--card-border);border-radius:22px;backdrop-filter:blur(10px)}
.temp-delta-card{display:flex;align-items:center;gap:14px}.temp-delta-card.warming{background:linear-gradient(135deg,rgba(249,115,22,.12),rgba(239,68,68,.08));border-color:rgba(249,115,22,.3)}.temp-delta-card.cooling{background:linear-gradient(135deg,rgba(59,130,246,.12),rgba(56,189,248,.08));border-color:rgba(59,130,246,.3)}.temp-delta-card.stable{background:linear-gradient(135deg,rgba(34,197,94,.1),rgba(132,204,22,.08));border-color:rgba(34,197,94,.25)}
.tdc-icon{font-size:2.2rem;flex-shrink:0}.tdc-content{flex:1;min-width:0}.tdc-title{font-size:.78rem;opacity:.7;margin-bottom:4px}.tdc-value{font-size:1.2rem;font-weight:700;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.tdc-value .delta{font-size:.9rem;padding:2px 10px;border-radius:20px;background:rgba(255,255,255,.08)}.tdc-value .delta.up{color:#f97316;background:rgba(249,115,22,.15)}.tdc-value .delta.down{color:#3b82f6;background:rgba(59,130,246,.15)}.tdc-value .delta.same{color:#22c55e;background:rgba(34,197,94,.15)}.tdc-sub{font-size:.72rem;opacity:.65;margin-top:4px}
.severity-header,.checklist-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}.severity-title,.checklist-title,.emergency-title,.hourly-trend-title{font-size:1rem;font-weight:600;display:flex;align-items:center;gap:8px}.severity-score-display{font-size:1.8rem;font-weight:800;display:flex;align-items:baseline;gap:4px}.severity-score-display .unit{font-size:.85rem;opacity:.5;font-weight:400}.severity-bar-wrap{height:12px;background:rgba(255,255,255,.08);border-radius:10px;overflow:hidden}.severity-bar-fill{height:100%;border-radius:10px;transition:width .7s ease;background:linear-gradient(90deg,#22c55e,#84cc16,#f59e0b,#f97316,#ef4444)}.severity-labels{display:flex;justify-content:space-between;font-size:.65rem;opacity:.5;margin-top:6px;padding:0 4px}.severity-message{margin-top:12px;padding:10px 14px;border-radius:12px;font-size:.82rem;line-height:1.7}.severity-message.safe{background:rgba(34,197,94,.12);color:#86efac;border:1px solid rgba(34,197,94,.25)}.severity-message.low{background:rgba(132,204,22,.12);color:#bef264;border:1px solid rgba(132,204,22,.25)}.severity-message.medium{background:rgba(245,158,11,.12);color:#fcd34d;border:1px solid rgba(245,158,11,.3)}.severity-message.high{background:rgba(249,115,22,.14);color:#fdba74;border:1px solid rgba(249,115,22,.35)}.severity-message.danger{background:rgba(239,68,68,.16);color:#fca5a5;border:1px solid rgba(239,68,68,.4)}
.trend-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:10px}.trend-tile{padding:12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);text-align:center;transition:all .2s}.trend-tile:hover{background:rgba(255,255,255,.08);transform:translateY(-2px)}.trend-tile .tt-label{font-size:.7rem;opacity:.65;margin-bottom:6px}.trend-tile .tt-value{font-size:1.15rem;font-weight:700}.trend-tile .tt-trend{font-size:.75rem;margin-top:4px;display:flex;align-items:center;justify-content:center;gap:4px}.trend-tile .tt-trend.up{color:#f97316}.trend-tile .tt-trend.down{color:#3b82f6}.trend-tile .tt-trend.stable{color:#22c55e}
.checklist-progress{font-size:.75rem;padding:4px 12px;border-radius:20px;background:rgba(255,255,255,.06);font-weight:600}.checklist-list{display:flex;flex-direction:column;gap:8px}.checklist-item{width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#fff;text-align:right;font:inherit;cursor:pointer;transition:all .2s}.checklist-item:hover{background:rgba(255,255,255,.08)}.checklist-item.done{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.3)}.checklist-item.done .checklist-label{text-decoration:line-through;opacity:.6}.checklist-checkbox{width:22px;height:22px;border-radius:6px;border:2px solid rgba(255,255,255,.3);display:grid;place-items:center;flex-shrink:0}.checklist-item.done .checklist-checkbox{background:#22c55e;border-color:#22c55e}.checklist-checkbox::after{content:'✓';color:#fff;font-weight:700;opacity:0}.checklist-item.done .checklist-checkbox::after{opacity:1}.checklist-label{flex:1;font-size:.88rem}.checklist-reset{margin-top:12px;padding:8px 16px;border-radius:10px;border:1px solid rgba(239,68,68,.4);background:rgba(239,68,68,.12);color:#fca5a5;cursor:pointer;font:inherit;font-size:.78rem}.checklist-reset:hover{background:rgba(239,68,68,.25)}
.emergency-section{background:linear-gradient(135deg,rgba(239,68,68,.1),rgba(255,255,255,.03));border-color:rgba(239,68,68,.25)}.emergency-title{margin-bottom:14px}.emergency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.emergency-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);text-decoration:none;color:#fff;transition:all .2s}.emergency-item:hover{background:rgba(255,255,255,.1);transform:translateY(-2px)}.emergency-item .ei-icon{font-size:1.5rem;flex-shrink:0}.emergency-item .ei-info{flex:1;min-width:0}.emergency-item .ei-name{font-size:.78rem;opacity:.75}.emergency-item .ei-number{font-size:1rem;font-weight:700;color:#ffd166}
.hourly-trend-summary{font-size:.82rem;line-height:1.8;opacity:.78;margin:8px 0 12px}.hourly-trend-strip{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px}.hourly-trend-point{flex:0 0 76px;padding:10px 7px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.04);text-align:center;font-size:.7rem}.hourly-trend-point .ht-temp{font-size:1rem;font-weight:700;margin:4px 0}.hourly-trend-point .ht-risk{font-size:.63rem;opacity:.7}
.route-report-modal{position:fixed;inset:0;z-index:10700;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.82);backdrop-filter:blur(10px)}.route-report-modal.show{display:flex}.route-report-dialog{width:min(100%,560px);max-height:92vh;display:flex;flex-direction:column;background:linear-gradient(160deg,#1a2940,#0f2027);border:1px solid rgba(255,255,255,.15);border-radius:22px;box-shadow:0 20px 60px rgba(0,0,0,.7);overflow:hidden}.route-report-body{flex:1;overflow-y:auto;padding:18px 20px}.route-report-instruction{padding:12px 16px;border-radius:12px;background:rgba(0,180,219,.1);border:1px solid rgba(0,180,219,.3);font-size:.82rem;line-height:1.7;margin-bottom:14px}.route-report-range{display:flex;gap:10px;margin-bottom:14px}.route-report-range>div{flex:1}.route-report-range input{width:100%;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.15);background:rgba(0,0,0,.25);color:#fff;font:inherit;font-size:.85rem;outline:none}.route-report-range input:focus{border-color:var(--accent)}.route-report-range label{font-size:.72rem;opacity:.7;display:block;margin-bottom:4px}.route-report-modal .report-field{margin-bottom:16px}.route-report-modal .report-field>label{display:block;font-size:.78rem;font-weight:600;margin-bottom:8px;opacity:.85}.route-report-modal .report-textarea{width:100%;min-height:80px}
.route-report-marker{width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:#f59e0b;box-shadow:0 2px 8px #0008}.route-report-polyline{filter:drop-shadow(0 1px 3px #0009)}
.camera-gallery-section{margin-top:16px}.camera-gallery-note{font-size:.8rem;opacity:.7;line-height:1.8}.camera-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:12px}.camera-gallery-empty{padding:22px;border:1px dashed rgba(255,255,255,.2);border-radius:14px;text-align:center;opacity:.62;font-size:.8rem;line-height:1.8}
@media(max-width:700px){.emergency-grid,.trend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.temp-delta-card{flex-direction:column;text-align:center}.tdc-value{justify-content:center}.route-report-range{gap:8px}.route-report-body{padding:14px}.route-report-modal .chip-group{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.emergency-grid,.trend-grid{grid-template-columns:minmax(0,1fr)}.emergency-item{min-width:0}.emergency-item .ei-number{font-size:.92rem}.severity-card,.trend-section,.checklist-section,.emergency-section,.hourly-trend-section{padding:14px}}
