/* Desktop foundation. Domain forms and existing action handlers stay in their modules. */
@media(min-width:768px){
 .dashboard-shell,.operations-shell{grid-template-columns:224px minmax(0,1fr);background:#f6f9fd}
 .dashboard-sidebar,.operations-sidebar{padding:28px 16px 22px;border-right:1px solid #e7edf5;background:#fff}
 .dashboard-sidebar .original-logo,.operations-sidebar img{width:178px}
 .sidebar-brand{padding:0 8px 30px}.operations-sidebar>a{margin:0 8px 25px}
 .dashboard-sidebar nav,.operations-sidebar nav{gap:6px}
 .nav-item,.operations-sidebar nav button{border-radius:11px;min-height:46px;font-size:14px;padding:12px 16px;gap:14px;color:#526784}
 .nav-item[aria-current=page],.operations-sidebar nav button[aria-current=page]{color:#0065ec;background:#ebf3ff;font-weight:650}
 .dashboard-body,.operations-main{width:100%;max-width:1580px;margin:auto;padding:30px clamp(24px,3vw,48px) 48px;box-sizing:border-box}
 .dashboard-header,.operations-header{margin-bottom:28px;min-height:62px}
 .dashboard-header h1,.operations-header h1{font-size:30px;line-height:1.2;letter-spacing:-.045em}
 .dashboard-subtitle,.operations-header p{font-size:14px;color:#71819b}
 .sidebar-help{background:transparent;text-align:left;padding:20px 12px 0;border-top:1px solid #edf2f8}
 .sidebar-help>img{display:none}.sidebar-help strong{font-size:13px}.sidebar-help p{font-size:12px;color:#788ba5}.sidebar-help a{font-size:12px}
 .address-banner{border-radius:20px;min-height:222px;margin:0 0 24px;border-color:#dce8f7;box-shadow:0 5px 22px #14396903}
 .address-content{width:68%;min-height:222px;padding:24px 28px;background:linear-gradient(90deg,#eef6ff 85%,transparent)}
 .address-content h2{font-size:21px}.address-subtitle{font-size:13px;margin:7px 0 18px}.address-controls{gap:16px}
 .warehouse-scene{width:45%}.warehouse-signs{display:none}.forwarding-address{border-radius:12px;min-height:106px}.address-house{width:48px;height:48px;background:#eaf3ff;transform:none}.address-house svg{width:30px;height:30px;transform:none}
 .dashboard-button{min-height:42px;font-size:13px;border-radius:10px}.inline-link{font-size:13px}
 .foundation-attention{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px 28px;margin-bottom:24px;border-radius:17px;border:1px solid #f7dac4;background:#fff8f2}
 .foundation-attention .eyebrow{font-size:10px;letter-spacing:.15em;color:#ac5925}.foundation-attention h2{font-size:20px;letter-spacing:-.025em;margin:8px 0}.foundation-attention p{font-size:13px;line-height:1.6;color:#786b60;max-width:720px;margin:0}.foundation-attention>.dashboard-button{width:auto;min-width:182px;flex-shrink:0}
 .foundation-calm{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f0f5fc;border:1px solid #e0e9f5;border-radius:17px;padding:22px 28px;margin-bottom:24px}.foundation-calm h2{font-size:18px;letter-spacing:-.025em;margin:7px 0}.foundation-calm p{font-size:13px;line-height:1.65;color:#617794;max-width:750px;margin:0}.foundation-calm .eyebrow{font-size:10px;letter-spacing:.14em;color:#587294}.foundation-calm>.dashboard-button{width:auto;min-width:165px;flex-shrink:0}.attention-symbol{display:grid;place-items:center;flex:0 0 38px;height:38px;background:white;color:#3575c3;border-radius:50%}.attention-symbol>.ui-icon{width:19px;height:19px}.foundation-calm>.attention-symbol+div{margin-right:auto}.attention-ownership{display:flex;flex-wrap:wrap;gap:16px;margin-top:12px;font-size:11px;color:#617794}.foundation-attention .attention-ownership{color:#95613e}.attention-record{display:block;margin:7px 0 10px;color:#7c8aa0;font-size:11px;overflow-wrap:anywhere}.foundation-attention h2,.foundation-calm h2,.foundation-attention p,.foundation-calm p{overflow-wrap:anywhere}
 .foundation-section{background:#fff;border:1px solid #e4ebf4;border-radius:18px;padding:24px;margin:0 0 24px;min-width:0}
 .foundation-section .panel-heading{margin:0 0 20px;align-items:center}.foundation-section h2{font-size:19px;letter-spacing:-.025em;margin:0}.foundation-section .package-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.foundation-section .package-card{border:1px solid #e7eef6;box-shadow:none;border-radius:13px;overflow:hidden}.foundation-section .package-card-body{padding:16px}.foundation-section .parcel-picture{height:120px;background:#f4f7fb;display:flex;align-items:center;justify-content:center;position:relative}.foundation-section .parcel-picture>.ui-icon{width:42px;height:42px;color:#99b4d1}.foundation-section .parcel-picture>.real-package-photo{width:100%;height:100%;object-fit:cover}.foundation-photo-note{position:absolute;bottom:12px;font-size:11px;color:#8597ad}.foundation-section .package-status{font-size:11px;top:10px;right:10px;left:auto}
 .foundation-counts{display:flex;align-items:center;gap:20px;margin:0 0 20px;color:#71829b;font-size:12px}.foundation-counts span{display:flex;gap:6px;align-items:center}.foundation-counts strong{color:#213d66;font-size:14px}.foundation-counts span:last-child{margin-left:auto}
 .dashboard-package-snapshot{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:20px;align-items:center;padding-top:22px;border-top:1px solid #edf1f7}
 .snapshot-symbol{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:#eef5ff;color:#0065e9;align-self:start}.snapshot-symbol>.ui-icon{width:26px;height:26px}
 .snapshot-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.snapshot-heading h3{margin:0;font-size:17px;line-height:1.35;letter-spacing:-.025em;overflow-wrap:anywhere}.dashboard-package-snapshot .package-status{position:static;display:inline-flex;flex-shrink:0;font-size:11px;margin:0}
 .snapshot-reference{display:block;font-size:11px;color:#8090a6;margin:7px 0 11px;overflow-wrap:anywhere}.snapshot-copy>p{font-size:13px;line-height:1.65;color:#607692;margin:0;max-width:640px;overflow-wrap:anywhere}
 .snapshot-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:12px 0 0;font-size:11px;color:#8493a7}.snapshot-meta>.state-owner{margin:0}.snapshot-meta time{font:inherit}.dashboard-package-snapshot>.dashboard-button{width:auto;min-width:145px;margin:0}.snapshot-symbol.state-tone-green{background:#eaf8f0;color:#16805c}.snapshot-symbol.state-tone-orange{background:#fff2e7;color:#b7692e}.snapshot-symbol.state-tone-grey{background:#f0f3f7;color:#71829b}
 .foundation-empty{display:flex;align-items:center;gap:28px;min-height:150px;padding:10px 16px}.foundation-empty>img{width:132px;height:104px;object-fit:contain}.foundation-empty h3{font-size:19px;letter-spacing:-.025em;margin:0 0 10px}.foundation-empty p{font-size:13px;line-height:1.7;max-width:550px;color:#71829b;margin:0 0 18px}.foundation-empty .dashboard-button{width:auto;display:inline-flex}
 .foundation-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.foundation-context>.foundation-section{margin-bottom:24px}.foundation-context h3{font-size:17px;letter-spacing:-.025em}.foundation-context p{font-size:13px;line-height:1.7;color:#71829b}.foundation-context .dashboard-button{width:auto;display:inline-flex;margin-top:12px}.foundation-context .package-status{position:static;display:inline-flex}.foundation-reference{font-size:11px;font-weight:650;letter-spacing:.06em;color:#7a8ea7;margin:12px 0}.foundation-latest{padding:14px 16px;background:#f5f8fc;border-radius:10px;font-size:13px;color:#496789;line-height:1.6}
 .foundation-help{display:flex;gap:12px;align-items:center;font-size:12px;color:#8090a6;margin:0 0 24px}.foundation-help button{font:inherit;color:#0065e9;border:0;background:none;padding:8px 0;cursor:pointer}
 .foundation-context.shipment-only{grid-template-columns:minmax(0,1fr)}.dashboard-shipment-summary .panel-heading{gap:16px;flex-wrap:wrap}.dashboard-shipment-summary .foundation-reference{margin:0 0 12px}.shipment-summary-route{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.shipment-summary-route h3{margin:0;font-size:20px;line-height:1.4}.shipment-summary-route .package-status{margin:0}.foundation-context .shipment-summary-next{font-size:13px;line-height:1.65;margin:12px 0 18px}.dashboard-shipment-summary .foundation-latest>.eyebrow{display:block;font-size:9px;letter-spacing:.12em;color:#7386a0}.dashboard-shipment-summary .foundation-latest p{font-size:13px;color:#294b74;margin:8px 0;overflow-wrap:anywhere}.shipment-summary-location{display:block;font-size:11px;color:#71839d;margin:5px 0}.shipment-summary-date{display:block;font-size:11px;color:#71839d;margin-top:9px}.shipment-summary-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-top:20px}.shipment-summary-label{font-size:10px;color:#7b8ca3}.foundation-context .shipment-summary-footer p{font-size:13px;font-weight:600;color:#294b74;margin:6px 0}.shipment-summary-footer small{font-size:10px;color:#8390a5;display:block}.shipment-summary-footer .state-owner{margin-top:12px}.shipment-summary-footer>.dashboard-button{margin:0;min-width:145px}.dashboard-shipment-summary .inline-link{font-size:11px;white-space:nowrap}
 .package-status.tone-green,.package-stage.tone-green{background:#edf9f2;color:#157b51}.package-status.tone-grey{background:#f0f3f7;color:#708099}.package-status.tone-red{background:#fff0ed;color:#b34836}
 .foundation-module-tabs{display:flex;gap:6px;margin:0 0 22px;padding:5px;background:#eaf0f7;border-radius:12px;width:max-content;max-width:100%}.foundation-module-tabs button{background:none;border:0;padding:10px 18px;border-radius:9px;font:600 13px inherit;color:#6f829c;cursor:pointer}.foundation-module-tabs button[aria-pressed=true]{background:white;color:#0865e9;box-shadow:0 2px 7px #173b6510}
 .operations-summary{gap:12px;margin-top:0;margin-bottom:24px}.operations-summary button{padding:18px;box-shadow:none;border-radius:14px}.operations-summary strong{font-size:24px}.service-queue-links{margin-bottom:24px}.shipping-card{box-shadow:none}
 .dashboard-button:focus-visible,.inline-link:focus-visible,.foundation-module-tabs button:focus-visible{outline:3px solid #ffab73;outline-offset:3px}
}
@media(min-width:768px) and (max-width:1199px){.dashboard-shell,.operations-shell{grid-template-columns:196px minmax(0,1fr)}.dashboard-body,.operations-main{padding:26px 24px 40px}.dashboard-sidebar .original-logo,.operations-sidebar img{width:158px}.nav-item,.operations-sidebar nav button{font-size:13px;padding:12px 10px}.address-content{width:100%;background:#eef6ff}.warehouse-scene{display:none}.foundation-section .package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.foundation-attention{gap:18px;padding:22px}.foundation-attention>.dashboard-button{min-width:150px}.foundation-context{gap:18px}}

.dashboard-refresh-strip{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;min-height:26px;margin:0 0 16px;color:#73839b;font-size:11px;line-height:1.6}.dashboard-refresh-strip[hidden]{display:none}.dashboard-refresh-strip .inline-link{font-size:11px;white-space:nowrap}.dashboard-refresh-strip button:disabled{opacity:.55;cursor:wait}
