/* Kurier Emila App v0.5.0 – dedicated multi-screen PWA interface. Scoped to .emila-shell. */
html:has(.emila-shell),body:has(.emila-shell){background:#0b0c0e!important}
.emila-app.emila-shell {
  --ea-gold:#eac252; --ea-gold-light:#ffdc84; --ea-bg:#0d0e11; --ea-white:#fbf7ed;
  --ea-muted:#aeadb2; --ea-surface:#18191d; --ea-line:#35312a;
  font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif!important;
  max-width:700px!important;width:100%!important;min-height:100dvh!important;
  margin:0 auto!important;border:0!important;border-left:1px solid #2c2821!important;
  border-right:1px solid #2c2821!important;border-radius:0!important;
  background:linear-gradient(180deg,#101115 0%,#0d0e11 50%)!important;
  box-shadow:0 10px 70px rgba(0,0,0,.45)!important;overflow:visible!important;
  padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;
}
body.emila-app-standalone .emila-app.emila-shell{max-width:700px!important;width:100%!important;min-height:100dvh!important;margin:0 auto!important;background:linear-gradient(180deg,#101115,#0d0e11)!important}
.emila-shell .emila-icon{display:inline-block;vertical-align:middle;flex-shrink:0}
.emila-shell .emila-shell-header{
 position:sticky;top:0;z-index:25;display:flex;align-items:center;justify-content:space-between;
 gap:16px;padding:12px 24px!important;background:rgba(15,16,18,.96)!important;
 border-bottom:1px solid #2c2923!important;backdrop-filter:blur(16px)
}
.emila-shell .emila-shell-brand{display:flex;align-items:center;gap:11px}
.emila-shell .emila-shell-brand img{width:52px;height:52px;display:block;object-fit:contain;max-width:none;margin:0}
.emila-shell .emila-shell-brand>div{display:flex;flex-direction:column;gap:2px}
.emila-shell .emila-shell-brand span{font-size:9px;letter-spacing:.14em;color:#c3a45c;font-weight:760}
.emila-shell .emila-shell-brand strong{font-size:19px;line-height:1.2;color:#f4d47a;letter-spacing:.005em;font-weight:800}
.emila-shell button.emila-account-trigger{height:42px;width:42px;padding:9px!important;display:flex;align-items:center;justify-content:center;border:1px solid #51432a!important;border-radius:13px!important;color:#f2d17b!important;background:#20201e!important;cursor:pointer}
.emila-shell .emila-shell-content{padding:26px 26px 38px!important;max-width:none!important;background:transparent!important;color:#fffaf2!important}
.emila-shell .emila-view[hidden]{display:none!important}
.emila-shell .emila-overline{display:block;color:#e3bb54!important;letter-spacing:.16em!important;font-size:10px!important;font-weight:800!important;margin:0 0 10px!important;text-transform:uppercase}
.emila-shell .emila-view>h1{font-family:inherit!important;font-size:clamp(26px,5vw,36px)!important;color:#fffaf3!important;line-height:1.14!important;letter-spacing:-.035em!important;text-transform:none!important;margin:0 0 9px!important;font-weight:820!important}
.emila-shell .emila-section-lead{color:#b9b6b1!important;font-size:14px!important;line-height:1.55!important;margin:0 0 24px!important}
.emila-shell .emila-hero-card{
 display:flex;align-items:center;gap:8px;justify-content:space-between;position:relative;overflow:hidden;
 border:1px solid #66532c;border-radius:20px;padding:24px 21px;
 background:radial-gradient(circle at 80% 10%,#4a3718 0,#2b261d 35%,#191919 76%)
}
.emila-shell .emila-hero-card>div:first-child{flex:1;min-width:0;z-index:1}
.emila-shell .emila-hero-tag{font-size:9px;letter-spacing:.12em;font-weight:800;color:#f5c956}
.emila-shell .emila-hero-card h2{font-size:24px!important;line-height:1.1!important;max-width:270px!important;color:#fff1cc!important;margin:10px 0!important;font-weight:820!important;text-transform:none!important}
.emila-shell .emila-hero-card p{font-size:12px!important;line-height:1.5!important;max-width:230px;color:#dbcdb0!important;margin:0!important}
.emila-shell .emila-hero-logo{flex:0 0 auto;opacity:.95}
.emila-shell .emila-hero-logo img{width:110px;height:110px;object-fit:contain;margin:0!important}
.emila-shell .emila-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 29px}
.emila-shell .emila-summary{background:#191a1d;border:1px solid #383329;border-radius:16px;padding:17px 16px;display:flex;flex-direction:column;gap:5px;min-height:112px}
.emila-shell .emila-summary>span{font-size:12px;font-weight:650;color:#c4bcae}
.emila-shell .emila-summary>strong{font-size:25px;line-height:1.1;overflow-wrap:anywhere;color:#f5d174}
.emila-shell .emila-summary>small{font-size:11px;color:#9e9c99}
.emila-shell .emila-block-title{font-size:18px!important;color:#fdf8ed!important;margin:0 0 14px!important;letter-spacing:-.02em!important}
.emila-shell .emila-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.emila-shell button.emila-quick-card{
 border:1px solid #3c3529!important;background:#191a1e!important;color:#faf2e0!important;
 border-radius:16px!important;padding:18px 14px!important;display:flex;flex-direction:column;align-items:flex-start;
 gap:14px;min-height:166px;cursor:pointer;text-align:left;box-shadow:none!important;text-transform:none!important
}
.emila-shell .emila-quick-card .emila-quick-icon{height:39px;width:39px;border-radius:11px;color:#ebc45e;background:#403218;border:1px solid #6f5425;display:flex;align-items:center;justify-content:center}
.emila-shell .emila-quick-card>span:nth-child(2){display:flex;flex-direction:column;gap:5px}
.emila-shell .emila-quick-card strong{font-size:14px;color:#fff8e9;line-height:1.3}
.emila-shell .emila-quick-card small{color:#b1aea9;font-size:11px;line-height:1.35}
.emila-shell .emila-quick-card>.emila-icon:last-child{margin-left:auto;color:#e6c268;width:19px;height:19px}
.emila-shell .emila-quick-card:hover,.emila-shell .emila-quick-card:focus-visible{border-color:#ad8b43!important;background:#242321!important}
.emila-shell .emila-recent{border:1px solid #3a3325;border-radius:15px;margin-top:16px;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#151517}
.emila-shell .emila-recent>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.emila-shell .emila-recent span{font-size:11px;color:#b4aa96}
.emila-shell .emila-recent strong{font-size:16px;color:#f7d474;overflow-wrap:anywhere}
.emila-shell .emila-recent small{font-size:11px;color:#bdb8ad}
.emila-shell .emila-recent button{color:#ecc65a;border:0;background:transparent;white-space:nowrap;font-weight:750;font-size:12px;cursor:pointer}
.emila-shell .emila-install-wrap{margin-top:22px!important;margin-bottom:0!important}
.emila-shell .emila-lookup{background:#191a1e!important;border:1px solid #454034!important;border-radius:18px!important;padding:24px!important;box-shadow:none!important;margin-bottom:15px!important}
.emila-shell .emila-form-heading{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:760;color:#fff4d8;margin-bottom:20px}
.emila-shell .emila-form-heading>.emila-icon{color:#f1c65e;width:23px;height:23px}
.emila-shell .emila-guest-form{grid-template-columns:1fr!important;gap:18px!important}
.emila-shell .emila-guest-form input{height:54px!important;border-radius:12px!important}
.emila-shell .emila-guest-form button{justify-self:stretch!important;width:100%!important;margin-top:6px!important;min-height:52px!important;display:flex!important;gap:8px}
.emila-shell .emila-tip{padding:16px;border:1px solid #393125;border-radius:14px;background:#171714;display:flex;align-items:center;gap:11px;font-size:12px;color:#c5bca6;line-height:1.55}
.emila-shell .emila-tip>.emila-icon{color:#e8c264;flex:0 0 24px}
.emila-shell .emila-shipment-list{display:grid;gap:13px}
.emila-shell .emila-shipment-card{margin:0!important;padding:19px!important;background:#191a1e!important;border:1px solid #454034!important;box-shadow:none!important}
.emila-shell .emila-shipment-top{gap:10px!important}
.emila-shell .emila-shipment-top strong{font-size:16px!important;margin:0!important;overflow-wrap:anywhere}
.emila-shell .emila-shipment-top span{font-size:11px!important}
.emila-shell .emila-shipment-description{font-size:13px!important;margin:12px 0!important;color:#e7ddd0!important}
.emila-shell .emila-shipment-date{display:flex;gap:7px;align-items:center;color:#bbb6ab;font-size:12px}
.emila-shell .emila-shipment-date svg{width:17px;height:17px;color:#d0ab52}
.emila-shell .emila-history{margin-top:14px!important;padding-top:12px;border-top:1px solid #34312b}
.emila-shell .emila-history summary{font-size:13px;color:#e8c66b!important}
.emila-shell .emila-history ol{padding-left:22px;margin:12px 0 0}
.emila-shell .emila-history li{margin-bottom:11px;color:#f6efe1!important;font-size:12px!important}
.emila-shell .emila-history li time{display:block;color:#b1aa99}
.emila-shell .emila-shipment-update{margin-top:15px;border-top:1px solid #3e3529;padding-top:12px}
.emila-shell .emila-shipment-update>strong{font-size:12px}
.emila-shell .emila-status-form{display:flex!important;align-items:stretch!important;margin-top:10px!important;gap:9px!important}
.emila-shell .emila-status-form select{min-width:0;flex:1;border-radius:10px!important}
.emila-shell .emila-status-form button{min-height:43px!important}
.emila-shell .emila-guest-result{padding:23px;background:#222219;border:1px solid #745a25;border-radius:16px;margin-bottom:18px}
.emila-shell .emila-guest-result h2{color:#f9d57b!important;font-size:19px!important;margin:0 0 15px!important}
.emila-shell .emila-guest-result p{color:#ece6d7!important;font-size:14px!important}
.emila-shell .emila-guest-result strong{color:#ffe093!important}
.emila-shell .emila-empty{padding:36px 26px;border-radius:18px;background:#191a1e;border:1px solid #3d372d;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.emila-shell .emila-empty>.emila-icon{width:40px;height:40px;color:#f4cd65}
.emila-shell .emila-empty h2{margin:6px 0 0!important;font-size:21px!important;color:#f9df9d!important}
.emila-shell .emila-empty p{margin:0 0 10px!important;font-size:13px!important;color:#c8c0b3!important}
.emila-shell .emila-empty .emila-btn{width:100%!important}
.emila-shell .emila-text-btn{background:transparent;border:0;color:#f1cc69;cursor:pointer;padding:10px;font-weight:750}
.emila-shell .emila-profile{display:flex;align-items:center;gap:15px;background:#191a1e;border:1px solid #3c3527;padding:22px;border-radius:16px;margin-bottom:17px}
.emila-shell .emila-profile-avatar{height:52px;width:52px;display:flex;align-items:center;justify-content:center;border-radius:16px;border:1px solid #725a28;background:#3a2c15;color:#f2c55c}
.emila-shell .emila-profile>div:last-child{display:flex;flex-direction:column;gap:5px}
.emila-shell .emila-profile strong{font-size:17px;color:#fff4df}
.emila-shell .emila-profile span{font-size:12px;color:#e9c66c}
.emila-shell .emila-action-row{display:flex;align-items:center;gap:13px;padding:19px 16px;border:1px solid #393326;border-radius:15px;background:#191a1e;margin-bottom:11px;color:#f4d06a!important;text-decoration:none!important}
.emila-shell .emila-action-row>span{display:flex;flex-direction:column;gap:3px;flex:1}
.emila-shell .emila-action-row strong{font-size:14px;color:#f8f1e6}
.emila-shell .emila-action-row small{font-size:11px;color:#b4aca0}
.emila-shell .emila-action-row>.emila-icon:last-child{width:18px;height:18px}
.emila-shell .emila-about{margin-top:32px;display:flex;align-items:center;justify-content:center;gap:12px;color:#dab965;font-size:13px}
.emila-shell .emila-about img{object-fit:contain;margin:0!important}
.emila-shell .emila-about small{font-size:11px;color:#a8a39b}
.emila-shell .emila-bottom-nav{
 position:fixed;z-index:80;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:700px;
 display:grid;grid-template-columns:repeat(4,1fr);gap:2px;padding:10px 10px calc(11px + env(safe-area-inset-bottom,0px));
 background:rgba(20,20,22,.98);border-top:1px solid #51412b;box-shadow:0 -8px 25px rgba(0,0,0,.48);backdrop-filter:blur(16px)
}
.emila-shell .emila-bottom-link{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:12px!important;color:#a9a8ab!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex-direction:column!important;font-size:10px!important;font-weight:700!important;padding:7px 5px!important;min-height:55px;cursor:pointer;text-transform:none!important}
.emila-shell .emila-bottom-link.is-active{color:#f6ce65!important;background:#3b2f1a!important}
.emila-shell .emila-bottom-link svg{width:23px;height:23px}
.emila-shell button:focus-visible,.emila-shell a:focus-visible{outline:3px solid #ffe69e!important;outline-offset:2px!important}
.emila-shell .emila-view{animation:emila-screen-enter .18s ease-out}
@keyframes emila-screen-enter{from{opacity:.75;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:700px){
 .emila-app.emila-shell,body.emila-app-standalone .emila-app.emila-shell{border:0!important;box-shadow:none!important}
 .emila-shell .emila-shell-header{padding:11px 17px!important}
 .emila-shell .emila-shell-content{padding:25px 18px 36px!important}
 .emila-shell .emila-hero-logo img{width:96px;height:96px}
}
@media (max-width:380px){
 .emila-shell .emila-shell-brand strong{font-size:16px}
 .emila-shell .emila-shell-brand img{width:44px;height:44px}
 .emila-shell .emila-hero-card{padding:21px 15px}
 .emila-shell .emila-hero-card h2{font-size:21px!important}
 .emila-shell .emila-hero-logo img{width:74px;height:74px}
 .emila-shell .emila-summary{padding:14px 12px}
 .emila-shell .emila-summary>strong{font-size:20px}
 .emila-shell .emila-quick-card{padding:14px 10px!important}
 .emila-shell .emila-bottom-link{font-size:9px!important}
}
@media (prefers-reduced-motion:reduce){.emila-shell .emila-view{animation:none}}

/* 0.5.1: professional mobile dashboard and prominent install entry point */
.emila-app.emila-shell{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}
.emila-shell .emila-shell-header{padding:10px 18px!important}
.emila-shell .emila-shell-brand img{width:47px!important;height:47px!important}
.emila-shell .emila-shell-content{padding:18px 18px 24px!important}
.emila-shell .emila-hero-card{padding:20px 18px!important;min-height:145px!important}
.emila-shell .emila-hero-card h2{font-size:22px!important}
.emila-shell .emila-hero-logo img{width:86px!important;height:86px!important}
.emila-shell .emila-summary-grid{gap:10px!important;margin:12px 0 20px!important}
.emila-shell .emila-summary{min-width:0!important;min-height:94px!important;padding:13px!important}
.emila-shell .emila-summary>strong{font-size:25px!important}
.emila-shell .emila-summary .emila-role-value{font-size:clamp(13px,3.5vw,17px)!important;line-height:1.25!important;letter-spacing:-.02em!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
.emila-shell .emila-block-title{font-size:17px!important;margin-bottom:11px!important}
.emila-shell button.emila-quick-card{min-height:135px!important;gap:9px!important;padding:15px!important}
.emila-shell .emila-quick-card .emila-quick-icon{height:35px;width:35px}
.emila-shell .emila-recent{margin-top:12px!important}
.emila-shell .emila-install-wrap{margin:0 0 13px!important;padding:0!important;display:block!important}
.emila-shell .emila-install-wrap[hidden],.emila-shell #emila-install[hidden],.emila-shell #emila-install-help[hidden]{display:none!important}
.emila-shell .emila-install-wrap #emila-install{min-height:46px!important;box-shadow:none!important;font-size:13px!important;border-radius:12px!important}
.emila-shell #emila-install-help:not([hidden]){font-size:11px!important;line-height:1.5!important;margin:8px 0 0!important;padding:10px!important}
html.emila-is-installed .emila-shell .emila-install-wrap{display:none!important}
@media (display-mode:standalone),(display-mode:fullscreen),(display-mode:minimal-ui){.emila-shell .emila-install-wrap{display:none!important}}
@media (max-width:390px){.emila-shell .emila-shell-content{padding:16px 14px 24px!important}.emila-shell .emila-summary .emila-role-value{font-size:13px!important}.emila-shell .emila-hero-card h2{font-size:20px!important}.emila-shell .emila-hero-logo img{width:75px!important;height:75px!important}.emila-shell button.emila-quick-card{padding:12px!important;min-height:126px!important}}

/* 0.5.2 – Klient bez konta, formularz logowania kierowcy w aplikacji. */
.emila-shell .emila-public-note{display:flex;align-items:flex-start;gap:12px;margin:12px 0 21px;padding:15px;border:1px solid #6c5528;border-radius:15px;background:linear-gradient(130deg,#252015,#191b1e);color:#e6d9b8}
.emila-shell .emila-public-note>.emila-icon{color:#f5ce70;flex:0 0 23px;width:23px;height:23px}
.emila-shell .emila-public-note div{display:flex;flex-direction:column;gap:5px}
.emila-shell .emila-public-note strong{font-size:13px;color:#ffdc84}
.emila-shell .emila-public-note span{font-size:12px;line-height:1.55;color:#ddd1bb}
.emila-shell .emila-login-card{background:linear-gradient(145deg,#1d1e21,#141518);border:1px solid #574832;border-radius:20px;padding:clamp(19px,5vw,28px);box-shadow:0 12px 32px rgba(0,0,0,.14)}
.emila-shell .emila-login-icon{width:52px;height:52px;border-radius:15px;color:#f5d47b;background:#41341d;border:1px solid #7c632f;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.emila-shell .emila-login-icon svg{width:29px;height:29px}
.emila-shell .emila-login-card h2{margin:0 0 8px!important;font-size:23px!important;color:#fff2d8!important;font-weight:800!important;line-height:1.18!important}
.emila-shell .emila-login-card>p{margin:0 0 22px!important;font-size:13px!important;line-height:1.6!important;color:#c6c2bb!important}
.emila-shell .emila-login-card>p strong{color:#f5d078!important;font-weight:750}
.emila-shell .emila-login-form{display:flex;flex-direction:column;gap:8px;margin:0}
.emila-shell .emila-login-form>label:not(.emila-remember-row){font-size:12px;font-weight:740;color:#f8e7c7;margin:4px 0 0}
.emila-shell .emila-login-form>input{box-sizing:border-box;display:block;width:100%;min-height:50px;padding:13px 14px;border-radius:11px;border:1px solid #a99c81;background:#faf8f4;color:#242220;font-size:15px;outline-offset:2px}
.emila-shell .emila-login-form>input:focus{outline:2px solid #f1c453;border-color:#f1c453}
.emila-shell .emila-remember-row{display:flex;align-items:center;gap:10px;margin:6px 0 8px;font-size:12px;color:#d8d0bf;cursor:pointer}
.emila-shell .emila-remember-row>input{width:17px;height:17px;min-width:17px;margin:0;accent-color:#e8c05b}
.emila-shell .emila-login-submit{width:100%!important;min-height:50px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;text-align:center!important;margin-top:2px!important}
.emila-shell .emila-login-submit svg{height:18px;width:18px}
.emila-shell .emila-login-error{background:#402721;border:1px solid #a95849;border-radius:10px;color:#ffe2d8;font-size:13px;padding:12px;margin-bottom:16px;line-height:1.55}
.emila-shell .emila-login-help{font-size:11px;line-height:1.6;color:#aea69a;border-top:1px solid #39352c;margin-top:18px;padding-top:14px}
.emila-shell .emila-login-guest{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;min-height:50px!important;border:1px solid #7b632f!important;border-radius:12px!important;color:#f2d175!important;background:transparent!important;font-size:13px!important;font-weight:800!important;margin-top:14px!important;padding:13px!important;text-transform:none!important;box-shadow:none!important}
.emila-shell .emila-login-guest svg{width:18px;height:18px}
.emila-shell .emila-bottom-nav:has(.emila-bottom-link:nth-child(3):last-child){grid-template-columns:repeat(3,1fr)}
@media(max-width:390px){.emila-shell .emila-login-card{padding:18px 16px}.emila-shell .emila-login-card h2{font-size:20px!important}}

.emila-shell.emila-shell-public .emila-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))}

/* 0.5.3 – klient: oferta i kontakt; kierowca w górnym pasku. */
.emila-shell .emila-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.emila-shell button.emila-driver-entry{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #645232!important;background:#241e15!important;color:#f3d17c!important;border-radius:12px!important;padding:8px 10px!important;min-height:42px;font-size:11px!important;font-weight:750!important;cursor:pointer}
.emila-shell button.emila-driver-entry .emila-icon{height:20px;width:20px}
.emila-shell .emila-home-primary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 26px}
.emila-shell .emila-home-primary .emila-btn,.emila-shell .emila-home-primary .emila-ghost-action{font-size:12px!important;min-height:48px!important;border-radius:12px!important;display:flex!important;gap:7px;align-items:center;justify-content:center;text-align:center;text-decoration:none!important;padding:9px!important}
.emila-shell .emila-ghost-action{color:#f6d47e!important;border:1px solid #6a5633;background:#23201b;font-weight:800}
.emila-shell .emila-offer-title{margin-top:20px!important}
.emila-shell .emila-offer-subtitle{color:#bcb8af;font-size:13px;line-height:1.5;margin:0 0 15px!important}
.emila-shell .emila-service-grid{display:grid;grid-template-columns:1fr;gap:11px;margin-bottom:22px}
.emila-shell a.emila-service-card{display:flex;align-items:center;gap:15px;padding:17px!important;min-height:105px;background:linear-gradient(115deg,#1d1d1e,#1a1917)!important;border:1px solid #51432d;border-radius:17px;color:#fef4de!important;text-decoration:none!important}
.emila-shell .emila-service-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border:1px solid #725a2e;border-radius:14px;background:#3d2e16;color:#f0c86a}
.emila-shell .emila-service-body{display:flex;flex-direction:column;gap:5px;min-width:0}
.emila-shell .emila-service-body strong{font-size:16px;line-height:1.25;color:#fff1d4}
.emila-shell .emila-service-body small{font-size:12px;line-height:1.42;color:#bbb7af}
.emila-shell .emila-service-body em{font-size:12px;color:#efcb6d;font-style:normal;font-weight:750}
.emila-shell .emila-service-body em .emila-icon{width:14px;height:14px}
.emila-shell .emila-contact-list{display:grid;gap:12px}
.emila-shell a.emila-contact-card{display:flex;align-items:center;gap:13px;background:#191a1c;border:1px solid #53462c;border-radius:16px;padding:17px;color:#f8dc8d!important;text-decoration:none!important}
.emila-shell .emila-contact-card>span{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.emila-shell .emila-contact-card small{font-size:12px;color:#b5b0a9}
.emila-shell .emila-contact-card strong{font-size:15px;color:#fff3dd;overflow-wrap:anywhere}
.emila-shell .emila-contact-prompt{border:1px solid #554526;border-radius:16px;padding:18px;background:#211c15;margin-top:12px}
.emila-shell .emila-contact-prompt p{font-size:13px;color:#c5bca6}
.emila-shell .emila-staff-actions{margin:14px 0 25px}
.emila-shell button.emila-staff-action{padding:14px 18px!important;background:#272015!important;border:1px solid #65512d!important;color:#f4d47c!important;border-radius:12px!important;cursor:pointer}
@media(max-width:420px){.emila-shell .emila-shell-header{gap:7px!important;padding:11px 13px!important}.emila-shell .emila-shell-brand strong{font-size:16px!important}.emila-shell .emila-shell-brand span{font-size:8px!important}.emila-shell .emila-header-actions{gap:5px}.emila-shell button.emila-driver-entry{padding:8px!important}.emila-shell button.emila-driver-entry span{display:none}.emila-shell .emila-home-primary{grid-template-columns:1fr 1fr}}

/* v0.5.4: bez powielania oferty na Starcie, menu aplikacji, wewnętrzne szczegóły ofert */
.emila-shell .emila-shell-content{padding-bottom:35px!important}
.emila-shell .emila-hero-card{margin-bottom:16px!important}
.emila-shell .emila-home-primary{margin:12px 0 18px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
.emila-shell .emila-home-primary>*{width:100%!important;min-width:0!important;min-height:52px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:6px!important;font-size:12px!important;text-decoration:none!important;padding:12px 9px!important;box-sizing:border-box!important;border-radius:13px!important;cursor:pointer!important}
.emila-shell .emila-home-primary .emila-ghost-action{background:#202026!important;border:1px solid #8e7137!important;color:#f1d086!important;font-weight:750!important}
.emila-shell .emila-next-step{margin:18px 0 12px;display:flex;align-items:center;gap:12px;justify-content:space-between;background:#1d1e23;border:1px solid #55452b;padding:17px;border-radius:16px}
.emila-shell .emila-next-step div{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}
.emila-shell .emila-next-step strong{font-size:14px;color:#ffe0a0}
.emila-shell .emila-next-step span{font-size:12px;color:#bbb8b0;line-height:1.45}
.emila-shell .emila-next-step button{background:#e9ba55!important;border:0!important;border-radius:10px!important;padding:10px 9px!important;font-weight:800!important;color:#181510!important;min-width:104px!important;font-size:11px!important;display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer}
.emila-shell .emila-native-offers{display:grid;gap:12px}
.emila-shell .emila-native-offer{display:flex!important;align-items:center!important;gap:14px!important;width:100%!important;padding:17px!important;border-radius:17px!important;border:1px solid #403a2b!important;background:linear-gradient(140deg,#222228,#18191c)!important;text-align:left!important;cursor:pointer!important;color:#ffda83!important;box-shadow:none!important}
.emila-shell .emila-native-offer-icon{width:48px;height:48px;background:#42341b;color:#f6cf75;display:flex;align-items:center;justify-content:center;flex:0 0 48px;border-radius:15px}
.emila-shell .emila-native-offer-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.emila-shell .emila-native-offer-copy strong{font-size:15px;color:#fff1d8;line-height:1.25}
.emila-shell .emila-native-offer-copy small{font-size:12px;color:#c6beb1;line-height:1.45}
.emila-shell .emila-native-offer>svg:last-child{width:18px;flex:0 0 18px}
.emila-shell .emila-back{background:none!important;color:#e8bf68!important;border:0!important;padding:10px 0 18px!important;cursor:pointer!important;font-size:13px;font-weight:700}
.emila-shell .emila-detail-card{background:#1c1d21;border:1px solid #4c3b25;border-radius:19px;padding:23px 20px;color:#e6dfd2}
.emila-shell .emila-detail-icon{display:flex;align-items:center;justify-content:center;width:55px;height:55px;color:#f6d37b;background:#3c2e15;border-radius:15px}
.emila-shell .emila-detail-card p{font-size:14px;line-height:1.7;color:#e2ddd1}
.emila-shell .emila-detail-card ul{padding:0;margin:18px 0;list-style:none;display:grid;gap:13px}
.emila-shell .emila-detail-card li{display:flex;align-items:center;gap:10px;font-size:13px;color:#eee2ce}
.emila-shell .emila-detail-card li svg{width:18px;color:#f1c36c;flex:0 0 18px}
.emila-shell .emila-native-form{display:grid;gap:16px;background:#1c1d22;border:1px solid #4d412d;border-radius:18px;padding:20px;margin-top:19px}
.emila-shell .emila-native-form .emila-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.emila-shell .emila-native-form label{font-size:12px;font-weight:750;color:#f5dc9d;display:flex;flex-direction:column;gap:7px;min-width:0}
.emila-shell .emila-native-form input:not([type="checkbox"]),.emila-shell .emila-native-form select,.emila-shell .emila-native-form textarea{box-sizing:border-box;width:100%!important;background:#111216!important;border:1px solid #777062!important;border-radius:11px!important;color:#fff4e1!important;padding:12px!important;min-height:46px!important;font:400 14px system-ui!important}
.emila-shell .emila-native-form textarea{min-height:115px!important;resize:vertical}
.emila-shell .emila-native-form .emila-consent{display:flex;flex-direction:row;align-items:flex-start;color:#c9c1af;font-weight:450;line-height:1.5}
.emila-shell .emila-consent input{margin-top:3px;accent-color:#d9aa47}
.emila-shell .emila-native-form .emila-trap{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.emila-shell .emila-native-form button{width:100%!important;cursor:pointer!important}
.emila-shell .emila-note-small{font-size:12px!important;line-height:1.65!important;color:#aaa7a1!important}
.emila-shell .emila-price-preview{color:#ffe5a2;border:1px solid #786437;background:#382b15;padding:12px;border-radius:12px;font-size:13px}
.emila-shell .emila-price-preview[hidden]{display:none!important}
.emila-shell .emila-msg-toast{position:fixed;z-index:115;bottom:calc(88px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 30px));background:#302818;color:#ffdfa0;border:1px solid #b9934e;border-radius:14px;padding:14px;text-align:center;box-shadow:0 10px 25px #0009}
.emila-shell .emila-bottom-nav{max-width:700px!important;border-top:1px solid #544326!important;padding:8px 7px calc(7px + env(safe-area-inset-bottom,0px))!important;gap:5px!important;box-sizing:border-box!important}
.emila-shell .emila-bottom-link{min-height:57px!important;font-size:10px!important;gap:4px!important;padding:6px 3px!important}
.emila-shell .emila-bottom-link svg{width:21px!important;height:21px!important}
@media(max-width:600px){.emila-shell .emila-native-form .emila-form-grid{grid-template-columns:1fr}.emila-shell .emila-next-step{flex-wrap:wrap}.emila-shell .emila-next-step button{width:100%}.emila-shell .emila-native-offer{padding:15px 12px!important}.emila-shell .emila-bottom-link{font-size:10px!important}}


/* v0.5.5 – bardziej profesjonalny ekran Start i menu w jednym rzędzie */
.emila-shell .emila-route-board{margin:6px 0 18px!important;display:grid;gap:12px}
.emila-shell .emila-route-board-head{display:flex;flex-direction:column;gap:4px}
.emila-shell .emila-route-board-head strong{font-size:18px;color:#fff6e7;line-height:1.2}
.emila-shell .emila-route-board-head span{font-size:12px;color:#bfb8aa;line-height:1.45}
.emila-shell .emila-route-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.emila-shell .emila-route-card{display:flex;flex-direction:column;gap:7px;background:linear-gradient(160deg,#1b1d20,#161719)!important;border:1px solid #4b3d26;border-radius:16px;padding:15px 14px;min-height:112px}
.emila-shell .emila-route-card small{font-size:10px;font-weight:800;letter-spacing:.11em;color:#dfb955}
.emila-shell .emila-route-card strong{font-size:18px;line-height:1.15;color:#fff0d0}
.emila-shell .emila-route-card span{font-size:12px;line-height:1.5;color:#b9b4aa}
.emila-shell .emila-route-card-wide{grid-column:1 / -1;min-height:auto}
.emila-shell .emila-start-actions{display:grid;gap:12px;margin:0 0 18px}
.emila-shell .emila-start-card{display:flex!important;align-items:center!important;gap:13px!important;width:100%!important;padding:16px!important;border-radius:17px!important;border:1px solid #473922!important;background:#18191d!important;color:#f7d58b!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important}
.emila-shell .emila-start-card>span:nth-child(2){display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.emila-shell .emila-start-card strong{font-size:15px;color:#fff3dc;line-height:1.25}
.emila-shell .emila-start-card small{font-size:12px;line-height:1.45;color:#bdb6aa}
.emila-shell .emila-start-card>.emila-icon:last-child{width:18px;height:18px;flex:0 0 18px}
.emila-shell .emila-start-card-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:#3c2f18;border:1px solid #755e2d;color:#efca6f}
.emila-shell .emila-public-note{display:none!important}
.emila-shell .emila-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.emila-shell.emila-shell-staff .emila-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.emila-shell.emila-shell-public .emila-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.emila-shell .emila-bottom-link{min-width:0!important}
.emila-shell .emila-bottom-link span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:420px){
  .emila-shell .emila-view>h1{font-size:clamp(24px,8vw,34px)!important}
  .emila-shell .emila-route-grid{grid-template-columns:1fr 1fr}
  .emila-shell .emila-route-card{padding:14px 12px!important;min-height:108px}
  .emila-shell .emila-route-card strong{font-size:16px}
  .emila-shell .emila-start-card{padding:15px 13px!important}
  .emila-shell .emila-shell-content{padding-bottom:28px!important}
}
@media(max-width:360px){
  .emila-shell .emila-route-grid{grid-template-columns:1fr}
  .emila-shell .emila-route-card-wide{grid-column:auto}
  .emila-shell .emila-bottom-link{font-size:9px!important;padding:6px 2px!important}
  .emila-shell .emila-bottom-link svg{width:19px!important;height:19px!important}
}

/* 0.5.6: Role-specific bottom navigation and staff lists. */
.emila-shell.emila-shell-public .emila-bottom-nav,
.emila-shell.emila-shell-driver .emila-bottom-nav {grid-template-columns:repeat(4,minmax(0,1fr))!important}
.emila-shell.emila-shell-admin .emila-bottom-nav {grid-template-columns:repeat(5,minmax(0,1fr))!important}
.emila-shell .emila-driver-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 15px;border:1px solid #5a472a;border-radius:14px;background:#1c1d20;margin:0 0 12px}
.emila-shell .emila-driver-summary strong{color:#ffe3a0;font-size:15px}
.emila-shell .emila-driver-summary span{color:#c5bdaf;font-size:12px;white-space:nowrap}
@media(max-width:380px){.emila-shell.emila-shell-admin .emila-bottom-link{font-size:8px!important}.emila-shell .emila-driver-summary{flex-direction:column}}

/* v0.5.8 – bez powtarzania Oferty na Starcie; wygodne zamawianie i logowanie administracyjne */
.emila-shell .emila-order-cta{background:linear-gradient(110deg,#342813,#211e1a)!important;border-color:#99743b!important}
.emila-shell .emila-order-cta .emila-start-card-icon{background:#59401c!important}
.emila-shell .emila-auth-select{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0 18px}
.emila-shell .emila-auth-select button{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:47px!important;padding:9px 8px!important;border-radius:11px!important;background:#191a1c!important;border:1px solid #51452c!important;color:#c7bdac!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important;box-shadow:none!important;text-transform:none!important}
.emila-shell .emila-auth-select button.is-selected{color:#ffe099!important;border-color:#b48e44!important;background:#3a2d19!important}
.emila-shell .emila-auth-select button .emila-icon{width:18px;height:18px}

/* v0.5.9 Administrator: new shipment in-app */
.emila-shell .emila-admin-new-cta{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin:10px 0 17px!important;min-height:48px!important;border-radius:13px!important}
.emila-shell .emila-create-form{margin:12px 0 16px!important}
.emila-shell .emila-create-result{background:#1b3028;border:1px solid #5fbd86;border-radius:17px;padding:19px;margin-bottom:18px;color:#effbed}
.emila-shell .emila-create-result>strong{font-size:18px;color:#b6f3c6}
.emila-shell .emila-create-result p{font-size:12px;color:#dbebdb;margin:12px 0 4px}
.emila-shell .emila-create-result code{display:block;overflow-wrap:anywhere;user-select:all;color:#ffde87;background:#101c18;border:1px solid #3c6950;border-radius:9px;padding:11px;font-size:16px}
.emila-shell .emila-mobile-code-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.emila-shell .emila-mobile-code-actions button{background:#2e271a!important;border:1px solid #998046!important;color:#ffe0a0!important;border-radius:9px!important;padding:9px 12px!important;min-height:40px!important;font-size:12px!important;cursor:pointer!important;box-shadow:none!important;text-transform:none!important}
.emila-shell .emila-mobile-code-actions button:disabled{opacity:.55;cursor:wait!important}
.emila-shell .emila-account-create{width:100%!important;margin:0 0 12px!important}
.emila-admin-feedback{position:fixed;z-index:99999;bottom:95px;left:50%;transform:translateX(-50%);max-width:min(90vw,390px);width:max-content;background:#282313;border:1px solid #e3b44d;border-radius:12px;color:#fff2cc;padding:12px 18px;font:600 13px system-ui;box-shadow:0 8px 24px #0009}

/* v0.6.0 – jednolity przycisk konta i ciemny formularz logowania. */
.emila-shell .emila-shell-header .emila-header-actions{margin-left:auto!important;display:flex!important;align-items:center!important}
.emila-shell .emila-login-form>input:not([type="checkbox"]){background:#101216!important;color:#fff4dc!important;border:1px solid #756044!important;border-radius:12px!important;box-shadow:none!important;-webkit-text-fill-color:#fff4dc!important;color-scheme:dark!important;min-height:50px!important;font-size:15px!important}
.emila-shell .emila-login-form>input:not([type="checkbox"])::placeholder{color:#8e8a83!important;-webkit-text-fill-color:#8e8a83!important}
.emila-shell .emila-login-form>input:not([type="checkbox"]):focus{outline:2px solid #e9c463!important;border-color:#e9c463!important}
.emila-shell .emila-login-form>input:-webkit-autofill{-webkit-box-shadow:0 0 0 100px #15171b inset!important;-webkit-text-fill-color:#fff4dc!important;caret-color:#fff4dc!important}

/* 0.6.1 – course planning, app-scoped. */
.emila-shell .emila-trip-card,.emila-shell .emila-trip-editor{background:#1b1c20;border:1px solid #69512c;border-radius:16px;padding:16px;margin-bottom:13px;color:#f8ebd1}
.emila-shell .emila-trip-card-head{display:flex;justify-content:space-between;gap:10px;color:#eed18b;font-size:13px}
.emila-shell .emila-trip-card h2{font-size:19px!important;color:#fff4db!important;margin:13px 0 8px!important;line-height:1.35!important}
.emila-shell .emila-trip-card p{color:#cec5b5;font-size:13px;line-height:1.5}
.emila-shell .emila-trip-card ul{margin:8px 0 15px;padding-left:20px;line-height:1.8;color:#e5ddcf;font-size:13px}
.emila-shell .emila-trip-editor>summary{color:#ffda79;font-weight:800;cursor:pointer;font-size:14px;padding:5px 0}
.emila-shell .emila-trip-editor .emila-native-form{margin-top:15px;padding:14px!important}
.emila-shell .emila-trip-shipments{border:1px solid #6b5938;border-radius:10px;max-height:260px;overflow:auto;padding:12px;display:grid;gap:9px}
.emila-shell .emila-trip-shipments legend{font-size:13px;color:#f6d27f;font-weight:750;padding:0 4px}
.emila-shell .emila-trip-shipments label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;color:#ebe2d1!important;font-weight:400!important;font-size:12px!important}
.emila-shell .emila-trip-shipments input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;accent-color:#dcb658}

/* v0.6.2 – cargo sizes & loading capacity */
.emila-shell .emila-dimensions{border:1px solid #5f4b2c;border-radius:14px;padding:13px;margin:7px 0;display:grid;gap:10px;min-width:0}
.emila-shell .emila-dimensions legend{color:#f2d186;font-weight:800;font-size:13px;padding:0 6px}
.emila-shell .emila-dimensions p{color:#b7ac99;font-size:12px;margin:0!important}
.emila-shell .emila-dimension-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.emila-shell .emila-load-card{border:1px solid #736038;border-radius:16px;padding:15px;background:#201e1a;margin:15px 0}
.emila-shell .emila-truck-graphic{max-width:270px;width:100%;height:100px;display:block;margin:0 auto 6px}
.emila-shell .emila-load-title{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#eed493;font-size:14px}
.emila-shell .emila-load-track{height:12px;background:#444038;border-radius:20px;overflow:hidden;margin:12px 0}
.emila-shell .emila-load-track>span{display:block;height:100%;background:linear-gradient(90deg,#c89c3c,#eed073);border-radius:20px}
.emila-shell .emila-load-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;color:#bcb8af;font-size:12px}
.emila-shell .emila-load-stats strong{color:#ffe2a0}
.emila-shell .emila-load-warning{font-size:12px;color:#f0bb78;margin:12px 0 0!important}
.emila-shell .emila-cargo-detail{display:block;margin-top:4px;font-size:11px;color:#c9b58c;line-height:1.55;overflow-wrap:anywhere}
@media(max-width:380px){.emila-shell .emila-dimension-fields{grid-template-columns:1fr 1fr!important}}

/* 0.6.4 – interactive directions map */
.emila-shell .emila-map-details{margin:10px 0 18px;background:#1c1d22;border:1px solid #584529;border-radius:15px;padding:12px}
.emila-shell .emila-map-details summary{font-size:13px;color:#f3d184;cursor:pointer;font-weight:750}
.emila-shell .emila-route-map{margin:14px 0 4px;border-radius:14px;overflow:hidden;border:1px solid #51452f;background:#202020}
.emila-shell .emila-route-map iframe{width:100%;height:360px;border:0;display:block;background:#252525}
.emila-shell .emila-route-map p{padding:10px 12px;font-size:11px;line-height:1.5;color:#c3baaa;margin:0!important}
.emila-shell .emila-map-hint{font-size:12px;color:#cdbd97}
.emila-shell .emila-quote-map-wrap{margin:20px 0}
.emila-shell .emila-quote-map-wrap>button{padding:14px!important;border-radius:12px!important;width:100%!important;cursor:pointer}
@media(max-width:400px){.emila-shell .emila-route-map iframe{height:300px}}

/* v0.6.5 — last approved GPS location, scoped to app */
.emila-shell .emila-gps-map{margin-top:12px;border-radius:15px;overflow:hidden;border:1px solid #645333;background:#17191c}
.emila-shell .emila-gps-map iframe{display:block;width:100%;height:310px;border:0;background:#eee}
.emila-shell .emila-gps-map p,.emila-shell .emila-gps-customer p{padding:12px;color:#dbd2c0;font-size:12px;line-height:1.55;margin:0}
.emila-shell .emila-gps-details,.emila-shell .emila-gps-customer,.emila-shell .emila-gps-approval{margin:16px 0;padding:15px;border:1px solid #625031;background:#191a1e;border-radius:15px}
.emila-shell .emila-gps-details summary{cursor:pointer;color:#f1cb70;font-weight:750}
.emila-shell .emila-gps-approval strong,.emila-shell .emila-gps-customer h3{color:#f4d17a;font-size:15px}
.emila-shell .emila-gps-approval p,.emila-shell .emila-gps-empty{font-size:12px;line-height:1.5;color:#c6bdaa}
.emila-shell .emila-gps-form{display:grid;gap:10px}
.emila-shell .emila-gps-locate{background:#343023!important;color:#f7d788!important;border:1px solid #9e8040!important;border-radius:12px!important;min-height:48px;padding:12px!important;cursor:pointer!important}
.emila-shell .emila-gps-feedback{color:#e5d6b9!important;font-size:12px!important;overflow-wrap:anywhere}
.emila-shell .emila-gps-confirm:disabled{opacity:.45!important;cursor:not-allowed!important}

/* v0.6.6: cohesive touch controls and quote workflow */
.emila-shell .emila-order-card{background:#1b1c20;border:1px solid #574528;border-radius:18px;padding:18px;margin:0 0 15px;color:#eee3d1;overflow-wrap:anywhere}
.emila-shell .emila-order-top{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}
.emila-shell .emila-order-top strong{color:#f6db9a}
.emila-shell .emila-order-top span{font-size:11px;font-weight:750;color:#e6bf62;background:#3b2c17;border-radius:40px;padding:6px 11px}
.emila-shell .emila-order-card p{font-size:13px;line-height:1.6;color:#d5cfc4}
.emila-shell .emila-order-inline{display:grid;gap:13px;padding-top:12px;border-top:1px solid #4a3c27}
.emila-shell .emila-order-inline label{display:grid;gap:7px;color:#f5dfac;font-size:12px;font-weight:750}
.emila-shell .emila-order-inline input,.emila-shell .emila-order-inline select,.emila-shell .emila-order-alert input{width:100%!important;box-sizing:border-box;background:#111216!important;color:#fff5df!important;border:1px solid #8b744f!important;border-radius:11px!important;min-height:46px!important;padding:11px!important}
.emila-shell .emila-order-alert{border:1px solid #94763b;border-radius:13px;background:#302719;color:#f9dda1;padding:16px;margin:12px 0 19px;font-size:13px;overflow-wrap:anywhere}
.emila-shell .emila-approval-reject{background:#322525!important;border:1px solid #9e6861!important;color:#fff0eb!important;margin-top:10px!important}
.emila-shell .emila-copy-data{padding:12px 15px!important;border-radius:11px!important;background:#e4ba56!important;color:#161412!important;font-size:13px!important;font-weight:750!important}
.emila-shell .emila-order-inline .emila-btn,.emila-shell .emila-order-card .emila-btn{min-height:48px!important;width:100%!important}
.emila-shell input:focus-visible,.emila-shell select:focus-visible,.emila-shell textarea:focus-visible{outline:2px solid #f2cb76!important;outline-offset:2px!important}


/* v0.6.7 – publiczny Start: jedno hasło, dwie akcje, kompaktowe kursy, 3 kroki. */
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-intro{margin:0 0 17px}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-intro .emila-overline{margin:0 0 9px!important}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-intro h1{font-size:clamp(25px,5.5vw,34px)!important;line-height:1.14!important;letter-spacing:-.035em!important;margin:0!important;color:#fff5e4!important;font-weight:820!important}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-hero{padding:22px 19px!important;min-height:150px!important;margin-bottom:16px!important}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-hero h2{font-size:clamp(21px,5.2vw,26px)!important;max-width:330px!important;line-height:1.15!important;margin:9px 0!important}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-hero p{line-height:1.55!important;font-size:12px!important;max-width:300px!important}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-hero .emila-hero-logo img{width:90px!important;height:90px!important}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-primary-v067{margin:0 0 23px!important;gap:10px!important;grid-template-columns:1fr 1fr!important}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-primary-v067 button{width:100%!important;min-height:54px!important;padding:11px 9px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-size:12px!important;line-height:1.22!important;font-weight:800!important;text-transform:none!important;white-space:normal!important;box-sizing:border-box!important}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-primary-v067 button span{min-width:0;flex:0 1 auto}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-primary-v067 button svg{width:17px!important;height:17px!important;min-width:17px!important;flex-shrink:0}
.emila-shell.emila-shell-public .emila-home-v067 .emila-home-primary-v067 button svg:last-child{width:15px!important;height:15px!important;min-width:15px!important}
.emila-shell.emila-shell-public .emila-route-compact{border:1px solid #50402a;border-radius:16px;background:linear-gradient(155deg,#1d1c1a,#151619);padding:17px;margin:0 0 18px}
.emila-shell.emila-shell-public .emila-route-compact h2,.emila-shell.emila-shell-public .emila-home-how h2{font-size:17px!important;line-height:1.3!important;margin:0 0 12px!important;color:#fff0d4!important;letter-spacing:-.015em!important}
.emila-shell.emila-shell-public .emila-route-compact-list{display:grid;gap:0}
.emila-shell.emila-shell-public .emila-route-compact-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #3a342a;font-size:12px!important;line-height:1.4}
.emila-shell.emila-shell-public .emila-route-compact-row:first-child{padding-top:3px}
.emila-shell.emila-shell-public .emila-route-compact-row:last-child{border-bottom:0;padding-bottom:3px}
.emila-shell.emila-shell-public .emila-route-compact-row span{color:#e7ded0;flex:1;min-width:0}
.emila-shell.emila-shell-public .emila-route-compact-row strong{color:#efc86e;text-align:right;font-weight:750}
.emila-shell.emila-shell-public .emila-route-compact-note{color:#a9a59e!important;font-size:10px!important;line-height:1.5!important;margin:10px 0 0!important}
.emila-shell.emila-shell-public .emila-home-how{margin-top:0;padding:16px 17px;border:1px solid #3d3528;border-radius:16px;background:#17181b}
.emila-shell.emila-shell-public .emila-home-how ol{list-style:none!important;padding:0!important;margin:0!important;display:grid;gap:10px}
.emila-shell.emila-shell-public .emila-home-how li{display:flex;align-items:center;gap:12px;color:#ddd5c7;font-size:13px;line-height:1.35;margin:0!important}
.emila-shell.emila-shell-public .emila-home-how li span{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:9px;border:1px solid #73592c;background:#3d301d;color:#f6d17d;font-size:12px;font-weight:800}
@media(max-width:410px){
  .emila-shell.emila-shell-public .emila-home-v067 .emila-home-hero{padding:18px 14px!important;min-height:130px!important}
  .emila-shell.emila-shell-public .emila-home-v067 .emila-home-hero .emila-hero-logo img{width:69px!important;height:69px!important}
  .emila-shell.emila-shell-public .emila-home-v067 .emila-home-hero h2{font-size:21px!important}
  .emila-shell.emila-shell-public .emila-home-v067 .emila-home-primary-v067 button{font-size:11px!important;padding:10px 7px!important;gap:5px!important}
  .emila-shell.emila-shell-public .emila-home-v067 .emila-home-primary-v067 button svg:last-child{display:none!important}
}
@media(max-width:350px){
  .emila-shell.emila-shell-public .emila-home-v067 .emila-home-primary-v067{grid-template-columns:1fr!important}
  .emila-shell.emila-shell-public .emila-route-compact-row{align-items:flex-start}
}


/* v0.7.0: admin-only management of completed shipments. */
.emila-shell .emila-delete-completed{border-top:1px solid #443c32;margin-top:15px;padding-top:13px}
.emila-shell .emila-delete-completed>summary{color:#e6b1a4;font-size:12px;font-weight:650;cursor:pointer;list-style:revert;padding:5px 0}
.emila-shell .emila-delete-completed p{font-size:12px;line-height:1.55;color:#d0b6aa;margin:9px 0 12px!important}
.emila-shell .emila-completed-delete-form{display:grid;gap:12px}
.emila-shell .emila-delete-confirm{display:flex;align-items:flex-start;gap:9px;color:#e8d7cf;font-size:12px;line-height:1.5}
.emila-shell .emila-delete-confirm input{flex:0 0 auto;width:18px;height:18px;margin:0;accent-color:#cb7162}
.emila-shell .emila-delete-final{appearance:none;border:1px solid #a35d54!important;background:#472521!important;color:#ffddd7!important;border-radius:10px!important;font-weight:750!important;font-size:12px!important;padding:11px 13px!important;min-height:44px;cursor:pointer!important;white-space:normal!important;text-transform:none!important;box-shadow:none!important}
.emila-shell .emila-delete-final:hover,.emila-shell .emila-delete-final:focus-visible{border-color:#e38d7a!important;background:#5d3028!important}

/* v0.7.1: opt-in shipment and driver notifications. */
.emila-shell .emila-push-card{background:linear-gradient(135deg,#242016,#17191d)!important;border:1px solid #82652d;border-radius:17px;padding:19px;margin:18px 0;color:#fff2d4}
.emila-shell .emila-push-card strong{font-size:15px;color:#f5d585}
.emila-shell .emila-push-card p{font-size:12px;line-height:1.55;color:#d0c9b9}
.emila-shell .emila-push-card button{min-height:44px!important;padding:10px 15px!important;cursor:pointer}
.emila-shell .emila-push-card button[hidden]{display:none!important}
.emila-shell .emila-push-card button.emila-push-disable{display:block;margin-top:10px;background:transparent!important;border:1px solid #726040!important;border-radius:11px;color:#efcf84!important;font-weight:700;font-size:12px!important}
.emila-shell .emila-push-card .emila-push-feedback{min-height:18px;margin-bottom:0}

/* 0.7.2: prostsze, czytelniejsze powiadomienia dla klientów. */
.emila-shell .emila-push-card{padding:22px!important;border-radius:18px!important}
.emila-shell .emila-push-card strong{display:block;font-size:18px!important;line-height:1.35}
.emila-shell .emila-push-card p{font-size:15px!important;line-height:1.6!important}
.emila-shell .emila-push-card [data-push-enable]{display:block;width:100%;font-size:16px!important;font-weight:750!important;min-height:52px!important;margin-top:12px}
.emila-shell .emila-push-card [data-push-disable]{width:100%;font-size:14px!important;min-height:48px!important}
.emila-shell .emila-push-card .emila-push-feedback{font-size:14px!important;line-height:1.5!important;margin-top:13px!important}
.emila-shell .emila-push-card .emila-push-guide{margin-top:15px;padding:13px 15px;background:#272318;border:1px solid #695530;border-radius:12px;color:#f2e5ce;font-size:14px;line-height:1.65}
.emila-shell .emila-push-card .emila-push-guide strong{font-size:15px!important;color:#f5d585}
.emila-shell .emila-push-card .emila-push-guide ol{padding-left:22px;margin:10px 0 0}
.emila-shell .emila-push-card .emila-push-guide li{margin-bottom:8px}
.emila-shell .emila-push-card .emila-push-guide p{font-size:14px!important}
.emila-shell .emila-push-card .emila-push-guide[hidden]{display:none!important}

.emila-shell .emila-push-card button[hidden]{display:none!important}

/* v0.7.3 — proste formularze przekazywania kodu i flota */
.emila-shell .emila-send-tracking-card{padding:12px;margin:10px 0;border:1px solid #675435;border-radius:12px;background:#1b1a19;color:#eed39b}
.emila-shell .emila-send-tracking-card summary{cursor:pointer;font-weight:700;font-size:13px}
.emila-shell .emila-send-tracking-inline{display:grid;gap:10px;margin:12px 0}
.emila-shell .emila-send-tracking-inline label{display:grid;gap:7px;color:#f3dfb4;font-size:13px}
.emila-shell .emila-send-tracking-inline input[type=email]{width:100%;padding:13px;border-radius:10px;border:1px solid #9e8050;background:#fbfaf7;color:#24201a;box-sizing:border-box;font-size:15px}
.emila-shell .emila-send-tracking-inline .emila-btn{max-width:100%;white-space:normal}
.emila-shell .emila-create-result code{user-select:text;-webkit-user-select:text}
.emila-shell .emila-install-wrap:not([hidden]){background:#201d17;border:1px solid #766038;border-radius:14px;padding:15px;margin-bottom:20px}
.emila-shell #emila-install:not([hidden]){width:100%;border-radius:12px;padding:13px 18px;font-weight:800;color:#1d1911;background:#ebc56d;border:0;cursor:pointer}
.emila-shell #emila-install-help:not([hidden]){font-size:13px;color:#f3e1bc;line-height:1.65;margin:10px 0 0}

/* v0.7.6: kompaktowe, rozwijane zamówienia w panelu administratora. */
.emila-shell .emila-order-card-compact{padding:0!important;margin:0 0 9px!important;border-radius:13px!important;overflow:hidden;}
.emila-shell .emila-order-card-compact>.emila-order-summary{display:grid;gap:5px;padding:12px 14px;cursor:pointer;list-style:none;user-select:none;color:#eee3d1!important}
.emila-shell .emila-order-card-compact>.emila-order-summary::-webkit-details-marker{display:none}
.emila-shell .emila-order-card-compact>.emila-order-summary::marker{content:''}
.emila-shell .emila-order-card-compact .emila-order-top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 9px;align-items:center}
.emila-shell .emila-order-card-compact .emila-order-top strong{font-size:14px!important;line-height:1.35!important}
.emila-shell .emila-order-card-compact .emila-order-top span{font-size:10px!important;padding:4px 9px!important;line-height:1.3!important}
.emila-shell .emila-order-route{color:#f3ede2!important;font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere}
.emila-shell .emila-order-short{color:#c0b6a4!important;font-size:11px!important;line-height:1.4!important}
.emila-shell .emila-order-short b{color:#f2d286}
.emila-shell .emila-order-open{font-size:11px!important;color:#dfbb69!important;font-weight:700!important;display:flex;justify-content:flex-end;gap:5px}
.emila-shell .emila-order-card-compact[open]>.emila-order-summary{border-bottom:1px solid #51422d;background:#26231e}
.emila-shell .emila-order-card-compact[open] .emila-order-open span{transform:rotate(180deg)}
.emila-shell .emila-order-body{padding:13px 14px 15px}
.emila-shell .emila-order-body>p{margin:6px 0 10px!important;font-size:12px!important;line-height:1.55!important}
.emila-shell .emila-order-manage-actions{margin-top:13px;padding-top:12px;border-top:1px solid #51412b;display:flex;gap:8px;flex-wrap:wrap}
.emila-shell .emila-order-manage-actions form{margin:0!important;flex:1 1 120px}
.emila-shell .emila-order-manage-actions button{width:100%;min-height:43px;cursor:pointer;border-radius:10px;font-size:12px!important;font-weight:700!important;text-transform:none!important;box-shadow:none!important;padding:9px 11px!important}
.emila-shell .emila-order-secondary{border:1px solid #887042!important;background:#26221b!important;color:#f1d69b!important}
.emila-shell .emila-order-danger{border:1px solid #ab615b!important;background:#422624!important;color:#ffe0da!important}
.emila-shell .emila-order-archive{margin:12px 0 18px;border:1px solid #5d4d34;border-radius:13px;background:#1b1b1d;padding:12px}
.emila-shell .emila-order-archive>summary{cursor:pointer;color:#edcc88;font-weight:700;font-size:13px;min-height:35px}
.emila-shell .emila-order-archive-list{padding:8px 0 0}
@media (max-width:420px){.emila-shell .emila-order-card-compact>.emila-order-summary{padding:11px 12px}.emila-shell .emila-order-card-compact .emila-order-top strong{font-size:13px!important}}

/* v0.8.0: panel administratora bez dublowania akcji z dolnej nawigacji */
.emila-shell-admin .emila-admin-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 26px}
.emila-shell-admin .emila-admin-kpi{background:linear-gradient(145deg,#202124,#151619);border:1px solid #53472f;border-radius:17px;padding:18px 15px;min-height:139px;display:grid;grid-template-rows:28px auto 1fr;gap:7px;box-shadow:0 6px 20px #0002}
.emila-shell-admin .emila-admin-kpi>svg{color:#ebc369;width:25px;height:25px}
.emila-shell-admin .emila-admin-kpi>span{color:#d1c9b8;font-size:12px;line-height:1.35;font-weight:600}
.emila-shell-admin .emila-admin-kpi>strong{color:#f2d17c;font-size:30px;line-height:1.1;font-weight:800;font-variant-numeric:tabular-nums}
.emila-shell-admin .emila-admin-section-title{font-size:19px!important;color:#fff6e5!important;margin:0 0 12px!important;letter-spacing:-.02em}
.emila-shell-admin .emila-admin-shortcuts{display:grid;grid-template-columns:1fr;gap:10px}
.emila-shell-admin button.emila-admin-tool{width:100%;min-height:88px!important;display:flex;align-items:center;gap:16px;padding:17px!important;text-align:left!important;background:linear-gradient(115deg,#302619,#1d1b1a)!important;border:1px solid #715831!important;color:#f5dfae!important;border-radius:17px!important;cursor:pointer;box-shadow:none!important}
.emila-shell-admin button.emila-admin-tool>svg:first-child{width:30px;height:30px;color:#e7bd63;flex-shrink:0}
.emila-shell-admin button.emila-admin-tool>svg:last-child{width:22px;height:22px;flex-shrink:0;margin-left:auto;color:#e7bd63}
.emila-shell-admin .emila-admin-tool span{display:flex;flex-direction:column;gap:5px;min-width:0}
.emila-shell-admin .emila-admin-tool strong{font-size:16px;line-height:1.2;color:#f8e0ae}
.emila-shell-admin .emila-admin-tool small{font-size:12px;line-height:1.35;color:#bdb6aa}
.emila-shell-admin .emila-admin-footnote{font-size:12px;color:#aaa398;margin:14px 0 23px;line-height:1.55}
@media(max-width:380px){.emila-shell-admin .emila-admin-kpi{padding:13px 11px;min-height:126px}.emila-shell-admin .emila-admin-kpi>span{font-size:11px}}


/* v0.8.3 — bezpieczny nagłówek iOS.
   Zmieniamy wyłącznie zainstalowaną aplikację na iPhonie/iPadzie.
   Główna reguła jest także w szablonie, po stylach WordPressa. */
html.emila-ios-pwa body.emila-app-standalone .emila-shell .emila-shell-header {
  box-sizing: border-box !important;
  position: sticky !important;
  top: 0 !important;
  min-height: calc(74px + env(safe-area-inset-top, 0px)) !important;
  padding-top: calc(12px + env(safe-area-inset-top, 0px)) !important;
  padding-bottom: 12px !important;
  overflow: visible !important;
}
html.emila-ios-pwa body.emila-app-standalone .emila-shell button.emila-account-trigger {
  z-index: 30 !important;
  flex-shrink: 0 !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  touch-action: manipulation;
  pointer-events: auto !important;
}

/* v0.8.4 – bezpieczeństwo operacji administracyjnych */
.emila-shell .emila-trip-remove{border:1px solid #765045;border-radius:12px;padding:13px 15px;margin:14px 0;background:#241c1b;color:#f4ded9}
.emila-shell .emila-trip-remove summary{cursor:pointer;font-weight:700;color:#f4b6a8}
.emila-shell .emila-trip-remove p{font-size:13px;line-height:1.6;color:#ddc4bd}
.emila-shell .emila-trip-remove button,.emila-shell .emila-order-delete-form button{cursor:pointer;margin-top:10px;padding:11px 15px;border-radius:9px;font-weight:700}
.emila-shell .emila-order-delete-form{border-top:1px solid #4d3732;margin-top:14px;padding-top:12px}
.emila-shell .emila-order-delete-form .emila-delete-confirm,.emila-shell .emila-trip-remove .emila-delete-confirm{display:flex;align-items:flex-start;gap:8px;color:#f4d8d0;font-size:13px;line-height:1.5}
.emila-shell .emila-order-delete-form input[type=checkbox],.emila-shell .emila-trip-remove input[type=checkbox]{width:18px;height:18px;flex:0 0 auto}

/* v0.8.6 – czytelne formularze adresowe i telefoniczne, także na małych ekranach. */
.emila-shell .emila-address-block{margin:15px 0;padding:16px;border:1px solid #5b4c30;border-radius:14px;min-width:0}
.emila-shell .emila-address-block legend{padding:0 8px;color:#e9c477;font-weight:750}
.emila-shell .emila-phone-fields{width:100%;min-width:0;margin:12px 0}
.emila-shell .emila-phone-row,.emila-shell .emila-weight-row{display:flex;align-items:stretch;gap:8px;min-width:0;margin-top:6px}
.emila-shell .emila-phone-row select{flex:0 1 46%;min-width:0;max-width:240px}
.emila-shell .emila-phone-row input{flex:1 1 54%;width:0;min-width:0}
.emila-shell .emila-weight-row input{flex:1 1 auto;min-width:0;width:0}
.emila-shell .emila-weight-row select{width:86px;flex:0 0 86px}
.emila-shell .emila-phone-fields small{display:block;color:#bdb29d;font-size:12px;line-height:1.5;margin-top:5px}
.emila-shell .emila-sort-label{display:block;color:#e9c477;max-width:390px;margin:16px 0;font-weight:600}
.emila-shell .emila-sort-label select{display:block;width:100%;margin-top:8px}
.emila-shell .emila-create-from-shipments{margin:12px 0 6px;max-width:370px}
.emila-shell .emila-fleet-driver-form{border-top:1px solid #55452c;margin:16px 0;padding-top:12px}
@media(max-width:520px){.emila-shell .emila-phone-row{flex-direction:column}.emila-shell .emila-phone-row select,.emila-shell .emila-phone-row input{width:100%;max-width:100%;flex:auto}.emila-shell .emila-address-block{padding:12px}}

/* Kurier Emila v0.8.7 — dedykowany, czytelny widok oferty dla klienta.
   Zakres ograniczony do ekranu akceptacji: nie zmienia kart administratora. */
.emila-shell #emila-view-approval .emila-quote-subtitle{margin:0 0 18px!important;max-width:590px;color:#c8c0b1!important;font-size:13px!important;line-height:1.6!important}
.emila-shell #emila-view-approval .emila-quote-card{background:linear-gradient(145deg,#1d1e20,#151619 74%);border:1px solid #786037;border-radius:21px;padding:24px;color:#f8f1e4;box-shadow:0 12px 40px rgba(0,0,0,.19);overflow-wrap:anywhere;overflow:hidden}
.emila-shell #emila-view-approval .emila-quote-heading{display:flex;gap:13px;align-items:center;padding:0 0 19px;border-bottom:1px solid #4b412e}
.emila-shell #emila-view-approval .emila-quote-heading-icon{width:48px;height:48px;min-width:48px;display:flex;justify-content:center;align-items:center;color:#f1c965;border:1px solid #7b6033;border-radius:13px;background:#252116}
.emila-shell #emila-view-approval .emila-quote-heading-icon svg{width:25px;height:25px}
.emila-shell #emila-view-approval .emila-quote-heading-text{display:grid;gap:2px;min-width:0;flex:1}
.emila-shell #emila-view-approval .emila-quote-label{display:block;color:#aaa7a2!important;font-size:11px!important;font-weight:650!important;line-height:1.35!important;letter-spacing:.035em!important;text-transform:none!important}
.emila-shell #emila-view-approval .emila-quote-heading-text strong{display:block;color:#ffefd1!important;font-size:clamp(21px,5vw,28px)!important;font-weight:800!important;line-height:1.2!important;letter-spacing:.015em!important}
.emila-shell #emila-view-approval .emila-quote-badge{flex:none;border:1px solid #71592b;border-radius:999px;padding:6px 9px;background:#342817;color:#f2cd77;font-size:10px;line-height:1.2;font-weight:750}
.emila-shell #emila-view-approval .emila-quote-route{display:grid;gap:0;padding:17px 0;border-bottom:1px solid #3d3933}
.emila-shell #emila-view-approval .emila-quote-route-row{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;column-gap:12px;min-width:0;padding:8px 0}
.emila-shell #emila-view-approval .emila-quote-route-row:first-child:after{content:"";position:absolute;left:10px;top:30px;bottom:-10px;border-left:1px dashed #a48648;opacity:.7}
.emila-shell #emila-view-approval .emila-quote-route-marker{margin:6px 0 0 3px;display:block;width:15px;height:15px;background:#f3cc6f;border:3px solid #47391e;border-radius:50%;box-shadow:0 0 0 1px #c6a35b}
.emila-shell #emila-view-approval .emila-quote-route-marker-end{background:#201c15;border-color:#efc86f}
.emila-shell #emila-view-approval .emila-quote-route-row p{font-size:14px!important;line-height:1.55!important;color:#f2ece1!important;margin:4px 0 0!important;overflow-wrap:anywhere}
.emila-shell #emila-view-approval .emila-quote-cargo{display:flex;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid #3d3933}
.emila-shell #emila-view-approval .emila-quote-cargo-icon{display:flex;flex:0 0 38px;align-items:center;justify-content:center;width:38px;height:38px;color:#e7c16b;background:#262116;border:1px solid #65512d;border-radius:10px}
.emila-shell #emila-view-approval .emila-quote-cargo-icon svg{width:22px;height:22px}
.emila-shell #emila-view-approval .emila-quote-cargo p{font-size:14px!important;line-height:1.5!important;color:#f2ece1!important;margin:3px 0 0!important}
.emila-shell #emila-view-approval .emila-quote-price{display:flex;flex-direction:column;gap:6px;padding:18px 19px;margin:19px 0;border:1px solid #ba9347;border-radius:15px;background:linear-gradient(110deg,#2c2418,#1c1b1b 72%)}
.emila-shell #emila-view-approval .emila-quote-price>.emila-quote-label{color:#e5c27a!important;font-size:12px!important;font-weight:750!important}
.emila-shell #emila-view-approval .emila-quote-price strong{display:block;color:#f6d074!important;font-size:clamp(25px,6vw,37px)!important;font-weight:850!important;line-height:1.13!important;letter-spacing:-.035em!important;overflow-wrap:anywhere}
.emila-shell #emila-view-approval .emila-quote-price strong span{font-size:.68em!important;letter-spacing:0!important;white-space:nowrap}
.emila-shell #emila-view-approval .emila-quote-note{display:flex;gap:11px;align-items:flex-start;margin:0 0 21px}
.emila-shell #emila-view-approval .emila-quote-info-icon{flex:0 0 23px;display:flex;justify-content:center;align-items:center;width:23px;height:23px;border:1px solid #c49b4f;color:#edc775;border-radius:50%;font-size:14px;font-weight:800;line-height:1}
.emila-shell #emila-view-approval .emila-quote-note p{margin:0!important;color:#c7c0b7!important;font-size:12px!important;line-height:1.6!important}
.emila-shell #emila-view-approval .emila-quote-actions{display:grid;gap:10px}
.emila-shell #emila-view-approval .emila-quote-actions form{margin:0;padding:0;min-width:0}
.emila-shell #emila-view-approval button.emila-quote-action{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;min-height:54px!important;padding:12px 16px!important;margin:0!important;font-size:14px!important;font-weight:820!important;line-height:1.25!important;border-radius:12px!important;box-shadow:none!important;white-space:normal!important}
.emila-shell #emila-view-approval button.emila-quote-action>span:not(.emila-quote-x){flex:1 1 auto;text-align:center}
.emila-shell #emila-view-approval button.emila-quote-action>svg{width:19px!important;height:19px!important;flex:0 0 19px}
.emila-shell #emila-view-approval button.emila-quote-action-accept{background:linear-gradient(130deg,#f6d77b,#dfb23e)!important;color:#15120b!important;border:1px solid #e5bc5a!important}
.emila-shell #emila-view-approval button.emila-quote-action-reject{background:#2c2424!important;color:#fff0e9!important;border:1px solid #8b6260!important}
.emila-shell #emila-view-approval button.emila-quote-action .emila-quote-x{display:flex;align-items:center;justify-content:center;flex:0 0 19px;font-size:25px;line-height:1}
.emila-shell #emila-view-approval button.emila-quote-action:hover{filter:brightness(1.08)!important}
.emila-shell #emila-view-approval button.emila-quote-action:focus-visible{outline:3px solid #f1ce77!important;outline-offset:3px!important}
.emila-shell #emila-view-approval .emila-quote-result{padding:28px 24px;border:1px solid #775e35;background:#1b1c20;border-radius:18px;text-align:center;color:#f7efdf}
.emila-shell #emila-view-approval .emila-quote-result-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid #a48849;border-radius:16px;background:#33291a;color:#f5d277;margin:0 auto 14px}
.emila-shell #emila-view-approval .emila-quote-result-icon svg{width:28px;height:28px}
.emila-shell #emila-view-approval .emila-quote-result h2{margin:0 0 13px!important;color:#fff1d6!important;font-size:clamp(20px,5vw,28px)!important;font-weight:800!important;line-height:1.25!important}
.emila-shell #emila-view-approval .emila-quote-result p{font-size:14px!important;line-height:1.65!important;color:#c9c2b7!important;margin:0 0 20px!important}
.emila-shell #emila-view-approval .emila-quote-result .emila-btn{min-height:48px!important;width:100%!important;gap:9px!important;text-align:center!important}
@media(max-width:480px){
 .emila-shell #emila-view-approval .emila-quote-card{padding:17px 15px;border-radius:18px}
 .emila-shell #emila-view-approval .emila-quote-heading{gap:10px;padding-bottom:15px}
 .emila-shell #emila-view-approval .emila-quote-heading-icon{width:41px;height:41px;min-width:41px}
 .emila-shell #emila-view-approval .emila-quote-badge{font-size:9px;padding:5px 7px}
 .emila-shell #emila-view-approval .emila-quote-price{padding:16px 15px}
 .emila-shell #emila-view-approval .emila-quote-route-row p{font-size:13px!important}
 .emila-shell #emila-view-approval .emila-quote-note p{font-size:12px!important}
}
@media(max-width:340px){
 .emila-shell #emila-view-approval .emila-quote-heading{flex-wrap:wrap}
 .emila-shell #emila-view-approval .emila-quote-badge{margin-left:52px}
}

/* v0.8.8: iPhone safe area and administrator diagnostics; no Android header overrides. */
html.emila-ios-pwa body.emila-app-standalone .emila-app.emila-shell{min-height:calc(100dvh - env(safe-area-inset-top,0px))!important}
html.emila-ios-pwa body.emila-app-standalone .emila-shell .emila-shell-header{min-height:74px!important;padding-top:12px!important;top:0!important}
.emila-shell .emila-diag-entry{display:block;width:100%;margin:18px 0;padding:15px 16px;text-align:left;background:#252016;color:#f2d27f;border:1px solid #967443;border-radius:13px;font-size:14px;font-weight:750;cursor:pointer}
.emila-shell .emila-diagnostics-panel{background:#191a1c;border:1px solid #5c4b2a;border-radius:17px;padding:18px 16px;color:#f7f0df}
.emila-shell .emila-diag-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:18px 0}
.emila-shell .emila-diag-grid>div{padding:12px 14px;background:#222123;border:1px solid #4d4029;border-radius:10px;min-width:0}
.emila-shell .emila-diag-grid dt{font-size:11px;color:#c6b38d;margin:0 0 5px}
.emila-shell .emila-diag-grid dd{color:#f9eed6;font-size:14px;font-weight:650;margin:0;overflow-wrap:anywhere}
.emila-shell .emila-diag-errors{border-top:1px solid #493c27;padding-top:12px}
.emila-shell .emila-diag-errors h2{font-size:17px!important;color:#f3d279!important}
.emila-shell .emila-diag-errors ul{margin:0 0 12px;padding-left:18px;color:#d3ccba;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.emila-shell .emila-diag-actions{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.emila-shell .emila-diag-actions button{min-height:45px!important;cursor:pointer}
.emila-shell .emila-diag-actions button.emila-btn-secondary{background:#252423!important;color:#f0d08a!important;border:1px solid #9a7b42!important}
.emila-shell .emila-diag-caption{font-size:11px;line-height:1.6;color:#beb7a9;margin:15px 0 0}
.emila-update-banner{position:fixed;z-index:150;bottom:calc(75px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;justify-content:space-between;max-width:680px;width:calc(100% - 22px);padding:12px;border:1px solid #b78d44;border-radius:13px;background:#201c15;box-shadow:0 8px 35px #000b;color:#f5e4b8;font:600 13px system-ui;box-sizing:border-box}
.emila-update-banner button{flex-shrink:0;padding:10px 12px;border:0;border-radius:8px;background:#eec66b;color:#1c170e;font-weight:750;cursor:pointer}
@media(min-width:630px){.emila-shell .emila-diag-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.emila-shell .emila-push-local-test{display:inline-flex;align-items:center;justify-content:center;margin:9px 0 0;padding:10px 14px;min-height:40px;border:1px solid #bc954e;border-radius:9px;background:#292418;color:#f3d488;font-size:13px;font-weight:750;cursor:pointer}
.emila-shell .emila-push-local-test[hidden]{display:none!important}

/* v0.8.9 — przejrzyste centrum administratora i osobne narzędzia kierowcy. */
.emila-shell .emila-staff-welcome h1{font-size:clamp(27px,6vw,37px)!important;line-height:1.16!important;letter-spacing:-.035em!important;margin:8px 0 10px!important;color:#fff5e8!important}
.emila-shell .emila-staff-welcome .emila-section-lead{font-size:14px!important;line-height:1.65!important;color:#bfb8aa!important;max-width:600px}
.emila-shell-admin .emila-admin-kpis{margin:22px 0 20px!important;gap:10px!important}
.emila-shell-admin .emila-admin-kpi{padding:16px 14px!important;min-height:126px!important;border:1px solid #58472b!important;border-radius:17px!important;background:linear-gradient(145deg,#202024,#171719)!important;grid-template-rows:25px auto 1fr!important;gap:6px!important}
.emila-shell-admin .emila-admin-kpi>span{font-size:12px!important;color:#c8c0af!important}
.emila-shell-admin .emila-admin-kpi>strong{font-size:30px!important;color:#f2ce75!important}
.emila-shell-admin .emila-admin-kpi>svg{width:23px;height:23px;color:#f2ce75}
.emila-shell-admin .emila-admin-activity{border:1px solid #514329;background:#191a1d;border-radius:19px;padding:18px;margin:0 0 17px}
.emila-shell-admin .emila-admin-activity-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #3a352d;padding-bottom:12px;margin-bottom:10px}
.emila-shell-admin .emila-admin-activity-head h2{font-size:17px!important;line-height:1.25!important;margin:0!important;color:#fff2d7!important}
.emila-shell-admin .emila-admin-activity-head>span{white-space:nowrap;font-size:11px;font-weight:750;color:#f2d084;background:#332919;border-radius:99px;padding:6px 9px}
.emila-shell-admin .emila-admin-activity-row{appearance:none;width:100%;border:0!important;border-bottom:1px solid #35322f!important;border-radius:0!important;background:transparent!important;display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:13px 4px!important;color:#eee!important;text-align:left;box-shadow:none!important;cursor:pointer}
.emila-shell-admin .emila-admin-activity-row:last-child{border-bottom:0!important}
.emila-shell-admin .emila-admin-activity-row>span:first-child{display:flex;flex-direction:column;gap:5px}
.emila-shell-admin .emila-admin-activity-row strong{color:#f7dd9f;font-size:15px!important}
.emila-shell-admin .emila-admin-activity-row small{color:#bbb5a9;font-size:12px}
.emila-shell-admin .emila-admin-activity-row svg{width:20px;height:20px;color:#edc66c}
.emila-shell-admin .emila-admin-activity-empty{display:flex;align-items:center;gap:11px;color:#bdb8aa;padding:9px 0}
.emila-shell-admin .emila-admin-activity-empty p{margin:0;font-size:13px}
.emila-shell-admin .emila-admin-activity-empty svg{width:22px;height:22px;color:#e6c373}
.emila-shell .emila-staff-hint{font-size:12px;line-height:1.6;color:#b0a89b;margin:10px 0 26px}
.emila-shell-driver .emila-driver-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:21px 0}
.emila-shell-driver .emila-driver-kpi{display:flex;flex-direction:column;gap:9px;border:1px solid #514329;border-radius:16px;padding:17px;background:#1b1c20;min-height:115px;box-sizing:border-box}
.emila-shell-driver .emila-driver-kpi svg{color:#e6c16c;width:24px;height:24px}
.emila-shell-driver .emila-driver-kpi>span{font-size:12px;color:#c6beaf}
.emila-shell-driver .emila-driver-kpi>strong{font-size:27px;color:#f2cf79;line-height:1.1}
.emila-shell .emila-more-back:not([hidden]){display:inline-flex!important;align-items:center!important;background:transparent!important;color:#f1cc78!important;border:0!important;padding:4px 0 13px!important;font-size:13px!important;font-weight:700!important;cursor:pointer;box-shadow:none!important}
.emila-shell .emila-more-back[hidden]{display:none!important}
.emila-shell-admin .emila-more-list{display:grid;grid-template-columns:1fr;gap:10px;margin:22px 0 28px}
.emila-shell-admin .emila-more-item{display:flex!important;align-items:center;gap:15px;width:100%;background:#1b1c20!important;border:1px solid #514329!important;border-radius:17px!important;padding:17px 15px!important;min-height:86px;text-align:left!important;box-shadow:none!important;color:#f8edd7!important;cursor:pointer}
.emila-shell-admin .emila-more-item>svg:first-child{width:27px;height:27px;color:#ebc36e;flex:0 0 27px}
.emila-shell-admin .emila-more-item>svg:last-child{width:20px;height:20px;color:#d7b56b;flex:0 0 20px;margin-left:auto}
.emila-shell-admin .emila-more-item>span{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.emila-shell-admin .emila-more-item strong{font-size:15px!important;color:#f9dfac;line-height:1.35}
.emila-shell-admin .emila-more-item small{font-size:12px!important;color:#bcb5a6;line-height:1.45}
.emila-shell .emila-list-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 7px}
.emila-shell .emila-list-controls label,.emila-shell .emila-shipment-filters label{font-size:12px!important;font-weight:750;color:#e5c57c;display:flex;flex-direction:column;gap:7px;min-width:0}
.emila-shell .emila-list-controls select,.emila-shell .emila-shipment-filters select,.emila-shell .emila-shipment-filters input{width:100%!important;max-width:100%!important;min-width:0!important;min-height:45px!important;background:#191a1e!important;border:1px solid #655333!important;border-radius:11px!important;color:#f8ebd6!important;padding:10px 11px!important;font-size:13px!important;font-weight:500!important;box-sizing:border-box!important}
.emila-shell .emila-shipment-filters{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:10px;margin:14px 0 6px}
.emila-shell .emila-sort-label{max-width:100%!important;margin:12px 0 5px!important}
.emila-shell .emila-filter-count{font-size:12px;color:#b1a999;margin:9px 0 15px}
.emila-shell .emila-filter-empty:not([hidden]){padding:18px;border:1px solid #58482b;border-radius:15px;color:#e1d3b4;background:#1b1c20}
.emila-shell .emila-filter-empty[hidden]{display:none!important}
.emila-shell .emila-trip-list{display:grid;gap:15px}
.emila-shell .emila-trip-list .emila-trip-card{margin:0!important}
.emila-shell .emila-trip-card[hidden],.emila-shell .emila-shipment-card[hidden]{display:none!important}
.emila-shell .emila-shipment-card .emila-shipment-destination{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.5;color:#d8cfbf!important;margin:11px 0}
.emila-shell .emila-shipment-destination svg{flex:0 0 18px;width:18px;height:18px;color:#e5c277}
.emila-shell .emila-shipment-card .emila-shipment-top{align-items:center}
.emila-shell .emila-fleet-create{border:1px solid #66502c;background:#1c1b1a;border-radius:16px;padding:14px;margin:18px 0}
.emila-shell .emila-fleet-create>summary{cursor:pointer;color:#f2cb76;font-weight:780;min-height:29px}
.emila-shell .emila-fleet-create>form{margin-top:19px}
.emila-shell .emila-fleet-driver-form{background:#201e1a;border:1px solid #443826;border-radius:12px;padding:12px;margin:14px 0}
.emila-shell .emila-fleet-driver-form label{font-weight:700}
.emila-shell .emila-location-card{border:1px solid #58472d;border-radius:18px;background:#1b1c1f;padding:17px;margin:17px 0}
.emila-shell .emila-location-card-head{display:flex;align-items:flex-start;gap:12px}
.emila-shell .emila-location-card-head svg{width:29px;height:29px;color:#e9c16c;flex:0 0 29px}
.emila-shell .emila-location-card-head>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.emila-shell .emila-location-card-head strong{font-size:17px;color:#f9e0a4}
.emila-shell .emila-location-card-head span{font-size:13px;color:#d9d0c2;line-height:1.45;overflow-wrap:anywhere}
.emila-shell .emila-location-last{font-size:12px!important;color:#c7bba8!important;margin:14px 0!important}
.emila-shell .emila-location-card .emila-gps-form{border-top:1px solid #453a28;padding-top:16px}
.emila-shell .emila-location-card .emila-gps-locate,.emila-shell .emila-location-card .emila-gps-confirm{width:100%;min-height:49px;border-radius:11px}
.emila-shell .emila-driver-summary{margin-bottom:12px}
.emila-shell .emila-bottom-link{min-width:0!important}
.emila-shell .emila-bottom-link span{font-size:11px!important;line-height:1.2!important;white-space:nowrap}
.emila-shell.emila-shell-admin .emila-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.emila-shell.emila-shell-driver .emila-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:450px){
 .emila-shell .emila-list-controls,.emila-shell .emila-shipment-filters{gap:8px}
 .emila-shell .emila-list-controls select,.emila-shell .emila-shipment-filters select,.emila-shell .emila-shipment-filters input{font-size:12px!important;padding:9px!important}
 .emila-shell-admin .emila-admin-kpi{padding:14px 12px!important;min-height:127px!important}
 .emila-shell .emila-bottom-link span{font-size:10px!important}
}
@media(max-width:345px){
 .emila-shell .emila-list-controls,.emila-shell .emila-shipment-filters{grid-template-columns:1fr}
 .emila-shell-admin .emila-bottom-nav{gap:0!important;padding-left:3px!important;padding-right:3px!important}
 .emila-shell .emila-bottom-link{padding:6px 2px!important}
 .emila-shell .emila-bottom-link span{font-size:9px!important}
}
