/* AvtoMaydon v17 — single-column vehicle record, action and evidence workflow. */
.v17-detail-shell .workspace>.page-heading{display:none!important}
.v17-detail-shell .workspace{padding-top:clamp(19px,2.1vw,29px);max-width:1550px}
.v17-detail-page{display:grid;gap:17px;max-width:1210px;margin:0 auto;color:#123e2f}
.v17-detail-page .v16-icon{width:21px;height:21px;stroke-width:1.8;flex:none}
.v17-detail-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 2px}
.v17-detail-header>div{min-width:0}
.v17-back{display:inline-flex;align-items:center;gap:7px;margin:0 0 17px;color:#268368;
  font:700 12px/1.4 'DM Sans',sans-serif;text-decoration:none}
.v17-back:hover{color:#005b44}
.v17-back .v16-icon{width:16px;height:16px}
.v17-overline{font:800 10px/1.3 'DM Sans',sans-serif;letter-spacing:1.45px;color:#538c70;margin:0 0 8px}
.v17-detail-header h1{margin:0 0 6px;font:800 clamp(23px,2.6vw,32px)/1.15 Manrope,sans-serif;
  letter-spacing:-1.2px;color:#083f31}
.v17-intro{margin:0;font:500 12px/1.5 'DM Sans',sans-serif;color:#6a897a}
.v17-status{display:inline-flex;align-items:center;gap:8px;flex:none;padding:10px 13px;border-radius:25px;
  font:800 11px 'DM Sans',sans-serif}
.v17-status>span{width:8px;height:8px;flex:0 0 8px;border-radius:50%}
.v17-status-inside{color:#00784f;background:#e7f9ef;border:1px solid #caeddb}
.v17-status-inside>span{background:#00b976;box-shadow:0 0 0 4px #00b97620}
.v17-status-out{color:#976915;background:#fff6e0;border:1px solid #f1e2b6}
.v17-status-out>span{background:#f1b933}
.v17-summary,.v17-gallery-section,.v17-actions-section{background:#fff;border:1px solid #dcebe3;
  border-radius:19px;box-shadow:0 8px 26px rgba(0,71,50,.055)}
.v17-summary{overflow:hidden;position:relative;padding:25px clamp(20px,2.7vw,33px) 0}
.v17-summary::before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;
  background:linear-gradient(90deg,#006846,#17b37f,#b7f1d2)}
.v17-identity{display:flex;align-items:center;gap:32px;padding-bottom:25px;border-bottom:1px solid #e5eee9}
.v17-main-plate{flex:none;max-width:100%}
.v17-detail-shell .v17-main-plate .plate{display:inline-flex;align-items:stretch;min-height:70px;padding:3px;
  border:2.5px solid #1b2520;border-radius:6px;background:#fff;box-shadow:0 5px 0 #e4eae6;
  font:900 clamp(21px,2.5vw,32px)/1 'Manrope',sans-serif;color:#111812;letter-spacing:1.1px}
.v17-detail-shell .v17-main-plate .plate .region{display:flex;align-items:center;justify-content:center;
  padding:8px 14px;border-right:2px solid #56695d;font-weight:900}
.v17-detail-shell .v17-main-plate .plate .number{display:flex;align-items:center;padding:8px 15px;white-space:nowrap}
.v17-detail-shell .v17-main-plate .plate .uz{display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:5px;margin:7px 0;padding:0 5px;border-left:1.5px solid #1e2b21;
  font:900 12px/1 'Manrope',sans-serif;color:#173d7b}
.v17-detail-shell .v17-main-plate .plate .uz-flag{width:29px;height:15px;border:1px solid #c0cdc8}
.v17-identity-name{min-width:0}
.v17-identity-name>span{font:800 10px 'DM Sans',sans-serif;letter-spacing:1.1px;color:#7ba28e}
.v17-identity-name h2{margin:6px 0;font:800 clamp(18px,2vw,26px)/1.25 Manrope,sans-serif;
  letter-spacing:-.8px;color:#0a392b;overflow-wrap:anywhere}
.v17-identity-name p{margin:0;color:#53846b;font:700 12px 'DM Sans',sans-serif}
.v17-key-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:22px 0}
.v17-key-fact{min-width:0;padding:16px 17px;border:1px solid #e0eee6;border-radius:12px;background:#f7fbf9}
.v17-key-fact>span,.v17-summary-foot span{display:block;color:#789989;font:600 10.5px/1.5 'DM Sans',sans-serif;margin-bottom:6px}
.v17-key-fact strong{display:block;font:800 13px/1.5 'DM Sans',sans-serif;color:#133e2e;overflow-wrap:anywhere}
.v17-summary-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0 20px;
  border-top:1px solid #e1eee6}
.v17-summary-foot>div{min-width:0}
.v17-summary-foot strong{display:block;color:#1d5b42;font:800 12px 'DM Sans',sans-serif}
.v17-summary-foot .v17-payment{text-align:right}
.v17-summary-foot .v17-payment strong{font:900 clamp(18px,2vw,25px)/1.2 Manrope,sans-serif;
  color:#006e4f;letter-spacing:-.7px}
.v17-release-cta{display:flex;align-items:center;gap:17px;padding:23px clamp(20px,2.9vw,35px);
  border:1px solid #00785a;border-radius:17px;color:#fff;text-decoration:none;
  background:radial-gradient(circle at 90% -40%,#12bb7e 0,transparent 45%),
    linear-gradient(105deg,#004936,#007a59);box-shadow:0 10px 23px #00523921;
  transition:transform .2s,box-shadow .2s,filter .2s}
.v17-release-cta:hover{transform:translateY(-2px);box-shadow:0 15px 28px #00523933;filter:brightness(1.07);color:#fff}
.v17-release-icon{width:53px;height:53px;flex:0 0 53px;display:grid;place-items:center;
  border-radius:15px;background:#ffffff20;border:1px solid #ffffff43}
.v17-release-icon .v16-icon{width:29px;height:29px}
.v17-release-copy{flex:1;min-width:0;display:grid;gap:5px}
.v17-release-copy strong{font:800 clamp(17px,1.8vw,22px)/1.3 Manrope,sans-serif;letter-spacing:-.45px}
.v17-release-copy small{font:500 11.5px/1.5 'DM Sans',sans-serif;color:#c8f4df}
.v17-release-arrow{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;
  background:#fff;color:#006c4e;border-radius:12px}
.v17-release-arrow .v16-icon{width:23px;height:23px}
.v17-release-finished,.v17-release-restricted{display:flex;align-items:center;gap:10px;padding:16px 18px;
  color:#5b755e;border:1px solid #d7e4db;background:#f3f7f4;border-radius:13px;font:750 12px/1.55 'DM Sans',sans-serif}
.v17-release-finished .v16-icon{color:#007653}
.v17-gallery-section,.v17-actions-section{padding:clamp(18px,2.4vw,29px)}
.v17-section-heading{display:flex;align-items:center;gap:12px;margin:0 0 19px}
.v17-section-icon{display:grid;place-items:center;width:45px;height:45px;flex:0 0 45px;
  border:1px solid #ccecd9;border-radius:13px;background:#e8f8ef;color:#007d57}
.v17-section-icon .v16-icon{width:24px;height:24px}
.v17-section-heading>div:nth-child(2){flex:1;min-width:0}
.v17-section-heading p{margin:0 0 4px;color:#00885d;letter-spacing:1.3px;font:800 9px 'DM Sans',sans-serif}
.v17-section-heading h2{margin:0 0 3px;font:800 clamp(16px,1.8vw,20px)/1.3 Manrope,sans-serif;
  letter-spacing:-.5px;color:#0c3e2d}
.v17-section-heading span:not(.v17-count){color:#7a9888;font:500 11px/1.5 'DM Sans',sans-serif}
.v17-count{flex:none;padding:9px 12px;border:1px solid #d0ebdc;border-radius:9px;
  background:#f1fbf5;color:#007b59;font:800 11px 'DM Sans',sans-serif}
.v17-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.v17-photo-tile{position:relative;display:block;overflow:hidden;aspect-ratio:1.4;
  background:#eff6f1;border-radius:12px;border:1px solid #d2e7db;outline-offset:3px}
.v17-photo-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.v17-photo-tile:hover img{transform:scale(1.055)}
.v17-photo-number{position:absolute;bottom:10px;left:10px;padding:6px 8px;border-radius:7px;
  background:#053a2cd9;color:#fff;font:800 11px Manrope,sans-serif}
.v17-photo-zoom{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:32px;height:32px;
  color:#094e39;background:#fff;border-radius:9px;box-shadow:0 2px 9px #001c161c;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}
.v17-photo-tile:hover .v17-photo-zoom,.v17-photo-tile:focus-visible .v17-photo-zoom{opacity:1;transform:translateY(0)}
.v17-photo-zoom .v16-icon{width:17px;height:17px}
.v17-photo-unavailable img{opacity:.15}
.v17-photo-error{position:absolute;top:50%;left:6px;right:6px;transform:translateY(-50%);
  color:#8b5446;font:800 11px/1.5 'DM Sans',sans-serif;text-align:center}
.v17-no-photos{display:flex;align-items:center;flex-direction:column;gap:9px;padding:35px;
  border:1px dashed #bedecd;border-radius:12px;background:#f6fbf8;text-align:center}
.v17-no-photos .v16-icon{width:34px;height:34px;color:#80b3a0}
.v17-no-photos strong{color:#2b6a50;font:800 13px 'DM Sans',sans-serif}
.v17-no-photos span{color:#819b8e;font:500 11px 'DM Sans',sans-serif}
.v17-secondary-actions{display:flex;align-items:center;flex-wrap:wrap;gap:11px}
.v17-secondary-actions a{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 17px;min-height:43px;background:#f9fcfa;border:1px solid #d5e7dc;border-radius:10px;
  font:800 11px 'DM Sans',sans-serif;color:#17674c;text-decoration:none}
.v17-secondary-actions a:hover{background:#e8f7ed;color:#006a4c}
.v17-secondary-actions .v16-icon{width:17px;height:17px}
.v17-edit-panel{margin-top:18px;border:1px solid #cee5d8;border-radius:13px;overflow:hidden;background:#fff}
.v17-edit-panel>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;
  padding:16px;background:#f2fbf6;color:#006d50;transition:background .2s}
.v17-edit-panel>summary::-webkit-details-marker{display:none}
.v17-edit-panel>summary:hover{background:#e7f8ed}
.v17-edit-panel>summary>.v16-icon{width:23px;height:23px}
.v17-edit-panel>summary>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}
.v17-edit-panel>summary strong{font:800 13px/1.3 Manrope,sans-serif;color:#0a553e}
.v17-edit-panel>summary small{font:600 10px/1.4 'DM Sans',sans-serif;color:#699b7f}
.v17-edit-panel .v17-edit-chevron{transition:transform .2s}
.v17-edit-panel[open] .v17-edit-chevron{transform:rotate(90deg)}
.v17-edit-form{padding:23px;border-top:1px solid #dbebe1}
.v17-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.v17-edit-grid label{display:grid;gap:8px;margin:0;color:#365b48;font:800 11.5px 'DM Sans',sans-serif}
.v17-edit-grid em{color:#d25441;font-style:normal}
.v17-edit-grid input{width:100%;min-height:47px;margin:0;border-radius:10px;background:#fff;
  font:700 13px 'DM Sans',sans-serif;color:#144b35}
.v17-edit-grid input:focus{border-color:#04996c;box-shadow:0 0 0 3px #04996c1a}
.v17-edit-notice{margin:16px 0;padding:12px 14px;background:#f1faf5;border:1px solid #deede4;
  border-radius:10px;color:#527d69;font:600 11px/1.6 'DM Sans',sans-serif}
.v17-edit-buttons{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.v17-edit-buttons button{display:inline-flex;gap:9px;align-items:center;justify-content:center;
  padding:13px 18px;border:1px solid #007e5c;border-radius:10px;color:#fff;
  background:#007b56;font:800 11px 'DM Sans',sans-serif;cursor:pointer}
.v17-edit-buttons button:hover{background:#005a42}
.v17-edit-buttons button:disabled{opacity:.55;cursor:wait}
.v17-edit-buttons button .v16-icon{width:17px;height:17px}
.v17-edit-buttons a{color:#658674;font:700 11px 'DM Sans',sans-serif;padding:10px;text-decoration:none}
.v17-edit-buttons a:hover{color:#006b4b}
.v17-edit-restriction{margin-top:13px;color:#8a9b8f;font-size:11px}
.v17-photo-dialog{width:min(96vw,1080px);max-width:1080px;max-height:95vh;padding:0;
  overflow:hidden;border:1px solid #3d6c58;border-radius:16px;background:#09281e;color:white;
  box-shadow:0 35px 90px #0008}
.v17-photo-dialog::backdrop{background:#03190fdc;backdrop-filter:blur(5px)}
.v17-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:13px 19px;background:#092f23;font:800 12px 'DM Sans',sans-serif}
.v17-dialog-top button,.v17-dialog-image button{border:1px solid #ffffff30;border-radius:10px;
  display:grid;place-items:center;background:#ffffff14;color:white;cursor:pointer}
.v17-dialog-top button{width:36px;height:36px}
.v17-dialog-top button:hover,.v17-dialog-image button:hover{background:#ffffff3a}
.v17-dialog-image{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:10px;padding:13px 16px}
.v17-dialog-image img{display:block;max-width:100%;height:auto;max-height:calc(95vh - 110px);min-height:120px;
  object-fit:contain;margin:auto}
.v17-dialog-image button{width:42px;height:42px}
.v17-dialog-image button:disabled{opacity:.25;cursor:default}
@media(max-width:1020px){.v17-key-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v17-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.v17-detail-header{align-items:flex-start;flex-wrap:wrap;gap:10px}
  .v17-status{margin-left:0}.v17-identity{align-items:flex-start;flex-direction:column;gap:18px}
  .v17-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v17-gallery-section,.v17-actions-section{padding:17px}.v17-edit-grid{grid-template-columns:1fr}
  .v17-edit-form{padding:16px}.v17-release-cta{gap:13px;padding:18px}
  .v17-release-icon{width:46px;height:46px;flex-basis:46px}
  .v17-release-arrow{width:34px;height:34px;flex-basis:34px}
  .v17-section-heading{align-items:flex-start;flex-wrap:wrap}.v17-count{margin-left:auto}
  .v17-dialog-image{grid-template-columns:32px minmax(0,1fr) 32px;gap:4px;padding:8px}
  .v17-dialog-image button{width:32px;height:40px}}
@media(max-width:460px){.v17-key-facts{gap:8px}.v17-key-fact{padding:11px 12px}
  .v17-key-fact strong{font-size:11.5px}.v17-summary-foot{align-items:flex-start;flex-direction:column;gap:13px}
  .v17-summary-foot .v17-payment{text-align:left}.v17-release-copy small{font-size:10px}
  .v17-secondary-actions a{flex:1 1 100%}.v17-photo-grid{gap:8px}
  .v17-detail-shell .v17-main-plate .plate{font-size:clamp(38px,5vw,23px);min-height:56px}
  .v17-detail-shell .v17-main-plate .plate .region,.v17-detail-shell .v17-main-plate .plate .number{padding:5px 8px}
  .v17-detail-shell .v17-main-plate .plate .uz{font-size:9px}}
