.tlma-shell{--tlma-green:#173f35;--tlma-soft:#f5f7f3;--tlma-border:#dfe6df;--tlma-text:#17201d;--tlma-muted:#69756f;--tlma-radius:20px;max-width:1040px;margin:32px auto;padding:0 18px;color:var(--tlma-text);font-family:inherit;box-sizing:border-box}.tlma-shell *{box-sizing:border-box}.tlma-auth-card,.tlma-account-hero,.tlma-account-section{background:#fff;border:1px solid var(--tlma-border);border-radius:var(--tlma-radius);box-shadow:0 14px 40px rgba(20,45,38,.07)}.tlma-auth-card{max-width:520px;margin:0 auto;padding:34px}.tlma-auth-heading h1,.tlma-account-copy h1,.tlma-section-head h2,.tlma-detail-head h2{margin:4px 0 8px;line-height:1.08}.tlma-auth-heading p,.tlma-account-copy p,.tlma-detail-head p,.tlma-status-copy{margin:0;color:var(--tlma-muted)}.tlma-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#57806d}.tlma-form{display:grid;gap:15px;margin-top:26px}.tlma-form label:not(.tlma-check){display:grid;gap:7px;font-weight:700;font-size:14px}.tlma-form input[type=text],.tlma-form input[type=email],.tlma-form input[type=tel],.tlma-form input[type=password]{width:100%;min-height:48px;border:1px solid #cad5ce;border-radius:12px;padding:0 14px;font:inherit;color:var(--tlma-text);background:#fff;outline:none}.tlma-form input:focus{border-color:#4a7663;box-shadow:0 0 0 3px rgba(74,118,99,.12)}.tlma-check{display:flex;gap:9px;align-items:center;font-size:14px;color:var(--tlma-muted)}.tlma-primary,.tlma-secondary{min-height:48px;border-radius:12px;padding:0 18px;font:inherit;font-weight:800;cursor:pointer;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center}.tlma-primary{border:1px solid var(--tlma-green);background:var(--tlma-green);color:#fff!important}.tlma-secondary{border:1px solid #cbd7d0;background:#fff;color:var(--tlma-green)!important}.tlma-button-link{width:auto}.tlma-switch{text-align:center;color:var(--tlma-muted);margin:20px 0 0}.tlma-switch a{color:var(--tlma-green);font-weight:800}.tlma-divider{display:flex;align-items:center;gap:12px;margin:22px 0 14px;color:#87938d;font-size:12px}.tlma-divider:before,.tlma-divider:after{content:"";height:1px;background:#e0e6e2;flex:1}.tlma-google-button{width:100%;overflow:hidden;display:flex;justify-content:center}.tlma-google-button>div,.tlma-google-button iframe{max-width:100%!important}.tlma-form-message{font-size:13px;text-align:center;color:#9d3d35;min-height:1em;margin:8px 0 0}.tlma-notice{padding:12px 14px;border-radius:12px;margin-top:18px;font-size:14px}.tlma-notice.is-error{background:#fff2f0;color:#8d302a;border:1px solid #f2c7c2}.tlma-notice.is-success{background:#eef8f1;color:#23643d;border:1px solid #cfe9d7}.tlma-account-hero{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;padding:26px}.tlma-avatar{width:70px;height:70px;border-radius:50%;overflow:hidden;background:var(--tlma-soft)}.tlma-avatar img{width:100%;height:100%;object-fit:cover}.tlma-account-copy p{word-break:break-word}.tlma-account-section{margin-top:20px;padding:26px}.tlma-section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px}.tlma-orders{display:grid;gap:10px}.tlma-order-card{appearance:none;width:100%;border:1px solid #e0e7e2;background:#fff;border-radius:15px;padding:17px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;color:inherit;font:inherit;cursor:pointer;transition:.18s ease}.tlma-order-card:hover,.tlma-order-card:focus-visible{border-color:#9db4a8;box-shadow:0 8px 22px rgba(28,62,51,.08);transform:translateY(-1px);outline:none}.tlma-order-main,.tlma-order-meta{display:flex;align-items:center;gap:12px}.tlma-order-main{flex-direction:column;align-items:flex-start;gap:4px}.tlma-order-ref{font-weight:850}.tlma-order-date{font-size:13px;color:var(--tlma-muted)}.tlma-order-total{font-weight:850;white-space:nowrap}.tlma-chevron{font-size:26px;line-height:1;color:#77827d}.tlma-status{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:850;white-space:nowrap}.tlma-status.is-active{background:#eef5ff;color:#315e89}.tlma-status.is-transit{background:#fff6dc;color:#84610d}.tlma-status.is-complete{background:#ebf8ef;color:#24673d}.tlma-status.is-problem{background:#fff0ee;color:#9a352c}.tlma-empty{padding:30px;border:1px dashed #ccd7d0;border-radius:15px;background:var(--tlma-soft);text-align:center;color:var(--tlma-muted);display:grid;gap:6px}.tlma-empty strong{color:var(--tlma-text);font-size:17px}.tlma-account-gate{text-align:center}.tlma-gate-actions{display:flex;gap:10px;justify-content:center;margin-top:22px}.tlma-overlay[hidden]{display:none!important}.tlma-overlay{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;padding:18px}.tlma-overlay-backdrop{position:absolute;inset:0;background:rgba(9,18,15,.62);backdrop-filter:blur(5px)}.tlma-dialog{position:relative;z-index:1;width:min(800px,100%);max-height:min(88vh,920px);overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.3);padding:28px}.tlma-dialog-close{position:absolute;right:14px;top:12px;width:40px;height:40px;border:0;border-radius:50%;background:#f1f4f2;font-size:28px;line-height:1;cursor:pointer}.tlma-dialog-body{min-height:120px}.tlma-dialog-loading,.tlma-dialog-error{padding:48px 20px;text-align:center;color:var(--tlma-muted)}html.tlma-modal-open{overflow:hidden}.tlma-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-right:42px}.tlma-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:24px 0 10px}.tlma-progress span{height:6px;background:#e2e8e4;border-radius:999px}.tlma-progress span.is-done{background:#4e8068}.tlma-status-copy{font-size:14px}.tlma-detail-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin-top:22px}.tlma-detail-card{border:1px solid #e0e7e2;border-radius:15px;padding:18px}.tlma-detail-card h3{margin:0 0 14px;font-size:15px}.tlma-product+.tlma-product{border-top:1px solid #e8ece9;margin-top:15px;padding-top:15px}.tlma-product-head{display:flex;justify-content:space-between;gap:12px}.tlma-product ul{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:7px}.tlma-product li{display:flex;justify-content:space-between;gap:12px;color:var(--tlma-muted);font-size:13px}.tlma-product li span:last-child{white-space:nowrap}.tlma-detail-card dl{display:grid;gap:13px;margin:0}.tlma-detail-card dl>div{display:grid;gap:3px}.tlma-detail-card dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#829088;font-weight:800}.tlma-detail-card dd{margin:0;font-weight:700}.tlma-detail-card dd small{display:block;font-weight:500;color:var(--tlma-muted);margin-top:3px}.tlma-totals{background:#f5f8f5;border-radius:15px;padding:17px;margin-top:14px;display:grid;gap:9px}.tlma-totals>div{display:flex;justify-content:space-between;gap:18px}.tlma-total-row{padding-top:10px;margin-top:3px;border-top:1px solid #dce5df;font-size:18px}.tlma-notes{margin-top:14px}.tlma-notes p{margin:0;color:var(--tlma-muted)}
@media(max-width:700px){.tlma-shell{margin:18px auto;padding:0 12px}.tlma-auth-card{padding:24px 18px;border-radius:17px}.tlma-account-hero{grid-template-columns:auto 1fr;padding:20px 17px}.tlma-logout-link{grid-column:1/-1;width:100%}.tlma-account-section{padding:20px 14px}.tlma-order-card{align-items:flex-start;padding:15px}.tlma-order-meta{flex-wrap:wrap;justify-content:flex-end}.tlma-order-total{width:100%;text-align:right}.tlma-chevron{display:none}.tlma-dialog{padding:22px 16px;border-radius:18px;max-height:92vh}.tlma-detail-head{display:grid;gap:12px;padding-right:42px}.tlma-detail-head .tlma-status{justify-self:start}.tlma-detail-grid{grid-template-columns:1fr}.tlma-product-head{font-size:14px}.tlma-google-button{min-width:0;max-width:100%}.tlma-google-button>div{max-width:100%!important}.tlma-gate-actions{flex-direction:column}.tlma-gate-actions a{width:100%}}
.tlma-account-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.tlma-pill-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:999px;background:#eef4f0;border:1px solid #d4e0d9;color:var(--tlma-green)!important;text-decoration:none!important;font-weight:850;white-space:nowrap}.tlma-pill-link:hover,.tlma-pill-link:focus-visible{background:#e4eee8;border-color:#adc2b6;outline:none}.tlma-pill-link.is-compact{min-height:38px;padding:0 14px;font-size:13px}.tlma-profile-form{margin-top:0}.tlma-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.tlma-profile-wide{grid-column:1/-1}.tlma-profile-help{margin:0;color:var(--tlma-muted);font-size:13px}.tlma-profile-actions{display:flex;justify-content:flex-end}.tlma-profile-actions .tlma-primary{min-width:150px}.tlma-orders-hero{grid-template-columns:1fr auto}.tlma-orders-page .tlma-account-section{margin-top:20px}
@media(max-width:700px){.tlma-account-actions{grid-column:1/-1;width:100%;justify-content:stretch}.tlma-account-actions a{flex:1}.tlma-profile-grid{grid-template-columns:1fr}.tlma-profile-wide{grid-column:auto}.tlma-profile-actions .tlma-primary{width:100%}.tlma-orders-hero{grid-template-columns:1fr}.tlma-orders-hero .tlma-account-actions{grid-column:auto}.tlma-orders-hero .tlma-account-actions a{width:100%}}
.tlma-route-slot{margin-top:20px}.tlma-route-card{overflow:hidden;border:1px solid #dfe7e2;border-radius:17px;background:#fff}.tlma-route-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px}.tlma-route-head h3{margin:3px 0 5px;font-size:18px;letter-spacing:-.02em}.tlma-route-head p{margin:0;color:var(--tlma-muted);font-size:13px;line-height:1.5}.tlma-route-state{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border-radius:999px;background:#f0f3f1;color:#50605a;font-size:11px;font-weight:850;white-space:nowrap}.tlma-route-state.is-live{background:#e7f8ee;color:#147946}.tlma-route-state.is-live:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:7px;box-shadow:0 0 0 4px rgba(20,121,70,.1)}.tlma-route-map{width:100%;height:330px;background:#eef2ef}.tlma-route-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-top:1px solid #e4ebe7;background:#fbfcfb}.tlma-route-metrics{color:var(--tlma-text);font-size:12px;font-weight:850}.tlma-route-metrics.is-error{color:#a33232;font-weight:750}.tlma-route-link{color:var(--tlma-green)!important;font-size:12px;font-weight:900;text-decoration:none!important;white-space:nowrap}.tlma-route-link:hover,.tlma-route-link:focus-visible{text-decoration:underline!important;outline:none}
@media(max-width:700px){.tlma-route-head{display:block;padding:16px}.tlma-route-state{margin-top:12px}.tlma-route-map{height:270px}.tlma-route-foot{display:grid;padding:13px 16px}.tlma-route-link{white-space:normal}}

/* v1.3.0 responsive refinement */
.tlma-account-copy,.tlma-order-main,.tlma-order-meta,.tlma-detail-head>div,.tlma-detail-card,.tlma-product,.tlma-route-head>div{min-width:0}
.tlma-account-copy h1,.tlma-account-copy p,.tlma-order-ref,.tlma-order-date,.tlma-detail-card dd,.tlma-product li span:first-child,.tlma-route-head p{overflow-wrap:anywhere}
.tlma-form input,.tlma-primary,.tlma-secondary,.tlma-pill-link,.tlma-order-card,.tlma-dialog-close{-webkit-tap-highlight-color:transparent}
.tlma-order-card:active{transform:translateY(0);box-shadow:none}
.tlma-dialog{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.tlma-dialog-body{min-width:0}
.tlma-route-map{max-width:100%;overflow:hidden}

@media(max-width:700px){
  .tlma-shell{width:100%;max-width:none;margin:12px auto 20px;padding:0 10px}
  .tlma-auth-card,.tlma-account-hero,.tlma-account-section{border-radius:16px;box-shadow:0 8px 26px rgba(20,45,38,.055)}
  .tlma-auth-card{max-width:none;padding:22px 16px}
  .tlma-auth-heading h1,.tlma-account-copy h1{font-size:clamp(25px,8vw,32px);letter-spacing:-.025em}
  .tlma-auth-heading p,.tlma-account-copy p{font-size:14px;line-height:1.48}
  .tlma-kicker{font-size:10.5px;letter-spacing:.115em}
  .tlma-form{gap:13px;margin-top:20px}
  .tlma-form label:not(.tlma-check){gap:6px;font-size:13px}
  .tlma-form input[type=text],.tlma-form input[type=email],.tlma-form input[type=tel],.tlma-form input[type=password]{min-height:46px;border-radius:11px;padding:0 12px;font-size:16px}
  .tlma-primary,.tlma-secondary{min-height:46px;border-radius:11px;padding:0 14px;font-size:14px}
  .tlma-button-link{width:100%}
  .tlma-check{min-height:34px;font-size:13px}
  .tlma-switch{margin-top:16px;font-size:13px;line-height:1.45}
  .tlma-divider{margin:18px 0 12px}
  .tlma-google-wrap{min-width:0;overflow:hidden}
  .tlma-google-button{width:100%;min-width:0;overflow:hidden}
  .tlma-google-button>div,.tlma-google-button iframe{width:100%!important;max-width:100%!important}
  .tlma-notice{margin-top:14px;padding:11px 12px;border-radius:11px;font-size:13px;line-height:1.4}

  .tlma-account-hero{display:grid;grid-template-columns:50px minmax(0,1fr);gap:12px;padding:16px}
  .tlma-avatar{width:50px;height:50px}
  .tlma-account-copy{align-self:center}
  .tlma-account-copy h1{margin:2px 0 4px;font-size:23px}
  .tlma-account-copy p{font-size:12.5px;line-height:1.4}
  .tlma-account-actions{grid-column:1/-1;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;justify-content:stretch}
  .tlma-account-actions a{width:100%;min-width:0;min-height:42px;font-size:12.5px;padding:0 11px}
  .tlma-account-actions .tlma-logout-link:only-child{grid-column:1/-1}
  .tlma-pill-link{min-height:42px;padding:0 12px}
  .tlma-account-section{margin-top:12px;padding:17px 14px}
  .tlma-section-head{margin-bottom:14px;align-items:flex-start}
  .tlma-section-head h2{font-size:21px;margin-top:3px}
  .tlma-profile-grid{grid-template-columns:1fr;gap:12px}
  .tlma-profile-wide{grid-column:auto}
  .tlma-profile-help{font-size:12px;line-height:1.45}
  .tlma-profile-actions{justify-content:stretch}
  .tlma-profile-actions .tlma-primary{width:100%;min-width:0}

  .tlma-account-gate{text-align:left}
  .tlma-gate-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:18px}
  .tlma-gate-actions a{width:100%}

  .tlma-orders-page{padding-left:8px;padding-right:8px}
  .tlma-orders-hero{grid-template-columns:1fr;padding:16px}
  .tlma-orders-hero .tlma-account-actions{grid-column:auto;grid-template-columns:1fr;margin-top:2px}
  .tlma-orders-page .tlma-account-section{margin-top:10px;padding:10px;background:transparent;border:0;box-shadow:none}
  .tlma-orders{gap:8px}
  .tlma-order-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'main total' 'status status';align-items:center;gap:10px 12px;padding:13px;border-radius:14px;box-shadow:0 4px 16px rgba(20,45,38,.035)}
  .tlma-order-main{grid-area:main;gap:3px}
  .tlma-order-ref{font-size:14px;line-height:1.25}
  .tlma-order-date{font-size:11.5px;line-height:1.35}
  .tlma-order-meta{display:contents}
  .tlma-order-total{grid-area:total;width:auto;text-align:right;font-size:14px;align-self:start}
  .tlma-order-meta .tlma-status{grid-area:status;justify-self:start;max-width:100%;padding:6px 9px;font-size:10.5px}
  .tlma-chevron{display:none}
  .tlma-empty{padding:24px 14px;border-radius:14px;font-size:13px}

  .tlma-overlay{align-items:end;place-items:end stretch;padding:0}
  .tlma-overlay-backdrop{backdrop-filter:blur(3px)}
  .tlma-dialog{width:100%;max-width:none;max-height:94dvh;margin:0;border-radius:22px 22px 0 0;padding:21px 14px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -18px 56px rgba(0,0,0,.24)}
  .tlma-dialog:before{content:'';display:block;width:42px;height:4px;border-radius:999px;background:#d8dfdb;margin:-9px auto 12px}
  .tlma-dialog-close{position:sticky;float:right;z-index:5;right:0;top:0;width:38px;height:38px;margin:-1px 0 0 8px;background:#f0f4f1;box-shadow:0 2px 9px rgba(0,0,0,.06);font-size:25px}
  .tlma-dialog-loading,.tlma-dialog-error{padding:38px 12px}
  .tlma-detail-head{display:grid;gap:9px;padding-right:0;clear:both}
  .tlma-detail-head h2{font-size:21px;margin:2px 0 4px}
  .tlma-detail-head p{font-size:12px}
  .tlma-detail-head .tlma-status{justify-self:start}
  .tlma-progress{gap:5px;margin:18px 0 9px}
  .tlma-progress span{height:5px}
  .tlma-status-copy{font-size:12.5px;line-height:1.45}
  .tlma-detail-grid{grid-template-columns:1fr;gap:10px;margin-top:16px}
  .tlma-detail-card{border-radius:13px;padding:14px}
  .tlma-detail-card h3{font-size:14px;margin-bottom:11px}
  .tlma-product+.tlma-product{margin-top:12px;padding-top:12px}
  .tlma-product-head{font-size:13px;gap:8px}
  .tlma-product ul{gap:6px;margin-top:8px}
  .tlma-product li{font-size:12px;line-height:1.35;gap:8px}
  .tlma-product li span:last-child{white-space:normal;text-align:right;flex:0 0 auto}
  .tlma-detail-card dl{gap:10px}
  .tlma-detail-card dt{font-size:10.5px}
  .tlma-detail-card dd{font-size:13px;line-height:1.35}
  .tlma-totals{border-radius:13px;padding:13px;margin-top:10px;gap:7px;font-size:12.5px}
  .tlma-totals>div{gap:10px}
  .tlma-total-row{font-size:16px}
  .tlma-notes{margin-top:10px;font-size:12.5px;line-height:1.5}

  .tlma-route-slot{margin-top:12px}
  .tlma-route-card{border-radius:14px}
  .tlma-route-head{display:grid;gap:9px;padding:14px}
  .tlma-route-head h3{font-size:16px;margin:2px 0 4px}
  .tlma-route-head p{font-size:11.5px;line-height:1.45}
  .tlma-route-state{justify-self:start;margin:0;min-height:30px;font-size:10px}
  .tlma-route-map{height:230px}
  .tlma-route-foot{display:grid;grid-template-columns:1fr;gap:8px;padding:11px 14px}
  .tlma-route-metrics,.tlma-route-link{font-size:11px;line-height:1.4}
  .tlma-route-link{white-space:normal}
}

@media(max-width:390px){
  .tlma-shell{padding-left:7px;padding-right:7px}
  .tlma-auth-card{padding:20px 14px}
  .tlma-account-hero{grid-template-columns:44px minmax(0,1fr);padding:14px;gap:10px}
  .tlma-avatar{width:44px;height:44px}
  .tlma-account-copy h1{font-size:21px}
  .tlma-account-actions{grid-template-columns:1fr}
  .tlma-order-card{padding:12px}
  .tlma-dialog{padding-left:12px;padding-right:12px}
  .tlma-route-map{height:210px}
}

@media(hover:none) and (pointer:coarse){
  .tlma-order-card:hover,.tlma-pill-link:hover,.tlma-primary:hover,.tlma-secondary:hover{transform:none;box-shadow:none}
}

/* v1.3.1 order-history hero fix */
.tlma-orders-nav{display:flex;justify-content:flex-end;align-items:center;margin:0 0 10px}
.tlma-orders-hero{display:block;grid-template-columns:none}
.tlma-orders-hero .tlma-account-copy{width:100%;max-width:none}
@media(max-width:700px){
  .tlma-orders-nav{justify-content:flex-start;margin:0 0 8px}
  .tlma-orders-nav .tlma-pill-link{width:auto!important;min-height:36px;padding:0 12px;font-size:12px}
  .tlma-orders-hero{display:block!important;padding:16px!important}
  .tlma-orders-hero .tlma-account-copy{display:block;width:100%;min-width:0}
  .tlma-orders-hero .tlma-account-copy h1{font-size:24px;line-height:1.08;margin:3px 0 7px}
  .tlma-orders-hero .tlma-account-copy p{font-size:13px;line-height:1.5;max-width:none}
}
