/*
Theme Name: VTNA Mobile
Theme URI: https://vantainghean.com/
Author: VTNA
Description: Giao diện ưu tiên điện thoại cho sàn kết nối hàng hóa và hành khách Nghệ An. Cần VTNA Core 2.0.0 trở lên.
Version: 2.0.4
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: vtna-mobile
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--brand-red:#c82027;--brand-gold:#f4c247;--brand-blue:#123d70;--ink:#172b43;--muted:#58677a;--line:#e2e7ed;--paper:#fff;--wash:#f4f6f9;--radius:16px;--nav-height:76px}
*{box-sizing:border-box}html{scroll-padding-bottom:170px}body{margin:0;background:#e8edf2;color:var(--ink);font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-text-size-adjust:100%}body:has(dialog[open]){overflow:hidden}a{color:var(--brand-blue);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{color:inherit}img{max-width:100%;height:auto}svg{flex-shrink:0}.icon{width:22px;height:22px;vertical-align:middle}h1,h2,h3,p{margin-top:0}h1{font-size:26px;line-height:1.3;letter-spacing:-.6px;margin-bottom:10px}h2{font-size:19px;line-height:1.4;margin-bottom:12px}h3{font-size:16px;line-height:1.45;margin-bottom:6px}p{margin-bottom:12px}small,.hint{font-size:12px;color:var(--muted)}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--brand-blue);outline-offset:3px}::selection{background:#ffebb0}
.app-shell{width:100%;max-width:640px;min-height:100dvh;margin:auto;background:var(--wash);padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom));box-shadow:0 0 50px #123d7010}.site-header{height:72px;padding:10px 16px;display:flex;align-items:center;gap:12px;background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.brand{display:flex;align-items:center;gap:8px;margin-right:auto;color:var(--brand-blue);line-height:1.05}.brand:hover{text-decoration:none}.brand-mark{font-weight:950;font-size:25px;color:var(--brand-red);letter-spacing:-2px;border-bottom:4px solid var(--brand-gold)}.brand-copy{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;letter-spacing:.4px}.brand-copy small{font-size:10px;font-weight:500;color:var(--muted);letter-spacing:0}.custom-logo{max-width:220px;max-height:48px;object-fit:contain;display:block}.header-post{color:var(--brand-red);border:1px solid #f2c9cc;border-radius:12px;display:grid;place-items:center;min-width:44px;height:44px}.icon-button{border:0;background:transparent;width:44px;height:44px;display:inline-grid;place-items:center;border-radius:12px;flex-shrink:0}.icon-button:hover{background:var(--wash)}.site-main{padding:20px 16px 28px;min-height:50dvh}.page-heading{margin-bottom:20px}.page-heading p{color:var(--muted)}.page-heading .detail-route{color:var(--brand-blue)}.eyebrow{color:var(--brand-red)!important;font-size:11px;font-weight:800;letter-spacing:1.4px;margin-bottom:8px}.home-intro{padding:2px 2px 8px}.home-intro h1{font-size:28px}.home-intro p:last-child{color:var(--muted);font-size:14px}.lead{color:var(--muted);font-size:15px}.muted{color:var(--muted)}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:26px 0 12px}.section-title h2{margin:0}.section-title>a{font-size:12px;font-weight:700;white-space:nowrap}.section-title .icon{width:15px;height:15px}.section-title>.muted{font-size:12px}.module-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 16px}.module-tabs a{display:flex;justify-content:center;align-items:center;gap:9px;padding:12px 8px;background:var(--paper);border:1px solid var(--line);border-radius:12px;font-weight:750;min-height:49px}.module-tabs a:first-child{color:var(--brand-red)}.module-tabs a[aria-current]{border-color:currentColor;box-shadow:inset 0 -3px currentColor}.module-tabs a:hover{text-decoration:none}.quick-search,.feed-search{display:flex;gap:8px;margin-bottom:16px}.search-field{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 12px;flex:1;min-width:0}.search-field .icon{color:var(--muted);width:20px}.search-field input{width:100%;min-width:0;border:0;padding:13px 0;background:transparent}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.chips a,.chips>span{padding:8px 11px;border:1px solid var(--line);background:#fff;border-radius:30px;font-size:12px;min-height:36px;display:inline-flex;align-items:center}.chips a{min-height:44px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:46px;padding:10px 16px;background:#fff;color:var(--brand-blue);border:1px solid var(--line);border-radius:11px;font-weight:700;font-size:14px;text-align:center;line-height:1.4}.btn:hover{text-decoration:none;background:#eef2f6}.btn:disabled{opacity:.65;cursor:wait}.btn-primary{color:#fff;background:var(--brand-red);border-color:var(--brand-red)}.btn-primary:hover{color:#fff;background:var(--brand-red);filter:brightness(.95)}.btn-small{min-height:44px;padding:8px 12px;font-size:12px}.btn-small .icon{width:17px;height:17px}.btn-block{width:100%}.actions{display:flex;gap:8px;flex-wrap:wrap}.listing-card,.carrier-card,.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-bottom:12px}.listing-card{padding:14px 14px 0}.listing-main{display:flex;gap:12px}.listing-thumb{width:76px;height:88px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#edf2f7;color:var(--brand-blue);overflow:hidden}.listing-thumb .icon{width:35px;height:35px}.listing-thumb img{width:100%;height:100%;object-fit:cover}.listing-copy{min-width:0;flex:1}.listing-copy h3{font-size:14px;font-weight:600;margin:5px 0;color:var(--ink)}.listing-copy h3 a{color:inherit;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.listing-route{display:block;color:var(--brand-blue);font-size:16px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}.badges{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:7px}.badge{font-size:10px;font-weight:750;padding:3px 7px;line-height:1.4;display:inline-block;border-radius:6px;background:#edf3fa;color:var(--brand-blue)}.status-looking,.status-open{background:#fff4d6;color:#775000}.status-accepted{background:#e9f1fb;color:var(--brand-blue)}.status-completed,.status-closed{background:#edf0f3;color:#515d69}.status-overdue{background:#ffebed;color:#a51e28}.listing-meta,.listing-time{font-size:12px;color:var(--muted);margin-bottom:5px;overflow-wrap:anywhere}.listing-time .icon{width:13px;height:13px;vertical-align:-2px}.listing-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line);margin-top:12px;padding:9px 0}.listing-bottom>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere;min-width:0}.callout{display:flex;align-items:center;gap:12px;background:var(--brand-blue);color:#fff;border-radius:14px;padding:16px;margin:20px 0}.callout:hover{text-decoration:none}.callout>span:nth-child(2){flex:1}.callout b{font-size:14px}.callout small{display:block;color:#dce8f5;font-size:12px;margin-top:3px}.callout-icon{background:var(--brand-gold);color:var(--brand-blue);width:36px;height:36px;border-radius:10px;display:grid;place-items:center}.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.service-grid a{border:1px solid var(--line);background:#fff;border-radius:12px;display:flex;align-items:center;gap:10px;padding:14px;min-height:60px}.service-grid a .icon{color:var(--brand-red)}.service-grid b{font-size:14px}.carrier-top{display:flex;align-items:flex-start;gap:12px}.avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#eef3f9;color:var(--brand-blue);flex-shrink:0}.avatar .icon{width:28px;height:28px}.carrier-top .muted{font-size:12px;margin:4px 0}.verified{display:inline-flex;align-items:center;gap:4px;color:var(--brand-blue);font-weight:650;font-size:11px}.verified .icon{width:14px;height:14px;background:var(--brand-blue);border-radius:50%;stroke:#fff;padding:2px}.carrier-card .listing-bottom{padding-bottom:0}.notice,.ai-state{padding:12px 14px;background:#fff6dc;border:1px solid #f0dfad;border-radius:12px;font-size:13px;color:#654b11}.ai-state{background:#edf3fa;border-color:#d5e1f0;color:var(--brand-blue)}.ai-state .icon{width:17px;height:17px;margin-right:4px}.filter-panel{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:16px}.filter-panel>summary{padding:12px 14px;font-size:13px;font-weight:700;color:var(--brand-blue)}.filter-panel>summary .icon{width:17px;height:17px;margin-right:5px}.filter-panel>form{padding:0 14px 14px}.stack{display:flex;flex-direction:column;gap:16px}.stack>*{margin-top:0;margin-bottom:0}.stack label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:650}.stack small{font-weight:400}.stack input:not([type=radio]):not([type=checkbox]):not([type=file]),.stack select,.stack textarea,.sheet>label input{width:100%;min-width:0;padding:12px;border:1px solid #cfd7e1;border-radius:10px;background:#fff;color:var(--ink);min-height:48px;font-size:16px}.stack textarea{resize:vertical;min-height:110px}.stack input:invalid:not(:placeholder-shown):focus{border-color:var(--brand-red)}.stack .checkbox{display:flex;flex-direction:row;font-size:13px;font-weight:400;align-items:flex-start;gap:10px}.checkbox input{width:20px;height:20px;flex-shrink:0;accent-color:var(--brand-red);margin-top:2px}.module-choice{display:flex;flex-wrap:wrap;gap:10px;padding:0;border:0;margin:0}.module-choice legend{font-weight:700;margin-bottom:8px}.module-choice label{flex:1;flex-direction:row;align-items:center;justify-content:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 8px;min-height:49px}.module-choice label:has(:checked){border-color:var(--brand-red);color:var(--brand-red);box-shadow:inset 0 -3px var(--brand-red)}.module-choice input{accent-color:var(--brand-red);margin:0}.module-choice .icon{width:20px;height:20px}.content-label textarea{border-top:3px solid var(--brand-gold)}.advanced{padding:14px}.advanced summary{font-weight:700;color:var(--brand-blue);min-height:30px}.advanced[open]>.stack{margin-top:14px}.photo-field{border:0;padding:0;margin:0;min-width:0}.photo-field legend{font-weight:700;font-size:14px;margin-bottom:10px}.photo-field legend .muted{font-weight:400}.photo-picker{position:relative;display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:8px;width:100%;min-height:76px;border:1px dashed #aabbd0;border-radius:12px;color:var(--brand-blue);background:#fff;overflow:hidden}.photo-picker input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.photo-picker:focus-within{outline:3px solid var(--brand-blue);outline-offset:2px}.photo-field>small{display:block;margin-top:8px}.photo-previews{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.photo-tile{position:relative;width:calc((100% - 16px)/3);aspect-ratio:1;background:#e6edf5;border-radius:10px;overflow:hidden}.photo-tile img{width:100%;height:100%;object-fit:cover}.photo-tile button{position:absolute;top:3px;right:3px;border:0;border-radius:50%;width:32px;height:32px;background:#fff;color:var(--brand-red);box-shadow:0 1px 5px #0002}.photo-tile .photo-label{position:absolute;bottom:0;left:0;right:0;font-size:10px;color:#fff;background:#123d70cc;padding:3px;text-align:center}.form-message:empty{display:none}.form-message{border-left:3px solid var(--brand-gold);background:#fff7df;color:#5e4717;padding:12px;font-size:13px;white-space:pre-line}.form-message.error{border-color:var(--brand-red);background:#fff0f1;color:#9d1922}.form-message.success{background:#edf3fa;color:var(--brand-blue);border-color:var(--brand-blue)}.honey{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.owner-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:12px}.owner-card h3{margin:8px 0}.owner-card p{font-size:13px;color:var(--muted)}.owner-card .actions{margin-top:12px}.lookup-item{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:10px}.lookup-item small{display:block}.directory-list{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.directory-list>a{display:flex;align-items:center;gap:12px;min-height:60px;padding:14px;border-bottom:1px solid var(--line)}.directory-list>a:last-child{border-bottom:0}.directory-list>a>span{flex:1}.directory-list>a>.icon:first-child{color:var(--brand-red)}.directory-list>a>.icon:last-child{width:16px;color:#8897a7}.pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:20px;font-size:13px}.empty-state{text-align:center;background:#fff;border:1px dashed #cbd6e3;border-radius:16px;padding:28px 20px;margin:16px 0}.empty-state p{font-size:14px;color:var(--muted)}.empty-mark{display:inline-grid;place-items:center;width:56px;height:56px;background:#edf2f8;border-radius:18px;color:var(--brand-blue);margin-bottom:14px}.empty-mark .icon{width:28px;height:28px}.back-link{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;margin-bottom:18px;min-height:44px}.detail-route{font-size:18px;font-weight:800;margin-top:12px}.detail h1{font-size:23px;letter-spacing:-.3px}.gallery{display:flex;gap:8px;overflow:auto;scroll-snap-type:x mandatory;margin-bottom:16px}.gallery a{flex:0 0 88%;scroll-snap-align:start}.gallery img{width:100%;height:270px;object-fit:cover;border-radius:14px;background:#e4ebf3}.facts{margin:0}.facts>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}.facts>div:last-child{border-bottom:0}.facts dt{color:var(--muted);flex:0 0 38%}.facts dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}.prose{white-space:normal;overflow-wrap:anywhere;line-height:1.8}.contact-dock{position:fixed;bottom:calc(var(--nav-height) + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:100%;max-width:640px;padding:12px 16px;z-index:31;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;box-shadow:0 -5px 20px #123d7008}.contact-dock>div{min-width:0;font-size:13px;overflow-wrap:anywhere}.contact-dock small{display:block}.contact-dock .btn{flex-shrink:0}.site-footer{padding:24px 20px 28px;background:#fff;border-top:3px solid var(--brand-gold);font-size:12px;color:var(--muted)}.site-footer>strong{font-size:14px;color:var(--brand-blue)}.site-footer>p{margin-top:8px;max-width:450px}.footer-links{display:flex;flex-wrap:wrap;gap:4px 16px;list-style:none;padding:0;margin:0}.footer-links>a,.footer-links>li>a,.text-button{min-height:44px;display:inline-flex;align-items:center;font-size:12px}.text-button{border:0;background:transparent;color:var(--brand-blue);padding:0}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:640px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);z-index:40;height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding:6px 5px calc(5px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #123d7007}.bottom-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#66768a;font-size:10px;font-weight:600;min-width:0}.bottom-link:hover{text-decoration:none}.bottom-link[aria-current]{color:var(--brand-red)}.nav-icon{width:38px;height:32px;border-radius:10px;display:grid;place-items:center}.bottom-link[aria-current] .nav-icon{background:#fff0f1}.bottom-create .nav-icon{background:var(--brand-red);color:#fff;width:45px;height:38px;border:3px solid #fff;box-shadow:0 3px 8px #c8202725}.bottom-create{color:var(--brand-red)}.bottom-create[aria-current] .nav-icon{background:var(--brand-red)}.sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,640px);max-width:640px;max-height:90dvh;overflow:auto;overscroll-behavior:contain;border:0;border-radius:22px 22px 0 0;padding:16px 20px calc(24px + env(safe-area-inset-bottom));background:#fff;color:var(--ink);box-shadow:0 -15px 60px #123d7020}.sheet::backdrop{background:#102b4599;backdrop-filter:blur(3px)}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:20px}.sheet-head h2{margin:0;font-size:20px}.menu-links a{display:flex;justify-content:space-between;align-items:center;min-height:54px;border-bottom:1px solid var(--line);font-weight:600}.menu-links .icon{width:17px;height:17px}.help-steps{padding-left:22px}.help-steps li{padding:5px 0}.help-steps p{color:var(--muted);font-size:14px;margin-top:4px}.sheet>label{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.editor-sheet hr{border:0;border-top:1px solid var(--line);margin:28px 0}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(100px + env(safe-area-inset-bottom));z-index:100;max-width:calc(100% - 32px);width:max-content;max-width:min(560px,calc(100% - 32px));background:var(--brand-blue);color:#fff;border-radius:12px;padding:12px 18px;box-shadow:0 8px 30px #0002;font-size:14px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed!important;top:10px;left:10px;width:auto;height:auto;margin:0;clip:auto;background:#fff;padding:12px;z-index:9999}.wp-block-image{margin:0}.site-main .wp-block-button__link{background:var(--brand-red)}.site-main pre{overflow:auto}.site-main table{max-width:100%}.site-main iframe{max-width:100%}.site-main>article{overflow-wrap:anywhere}.admin-bar .site-header{top:32px}@media(max-width:782px){.admin-bar .site-header{top:46px}}@media(max-width:360px){.site-main{padding-left:12px;padding-right:12px}.site-header{padding-left:10px;padding-right:10px;gap:7px}.brand-copy{font-size:10px}.brand-mark{font-size:23px}.listing-card{padding-left:11px;padding-right:11px}.listing-thumb{width:58px;height:76px}.listing-main{gap:9px}.listing-route{font-size:15px}.listing-meta{font-size:11px}.btn{padding-left:12px;padding-right:12px}.service-grid a{padding:12px;gap:8px}.custom-logo{max-width:180px}.sheet{padding-left:16px;padding-right:16px}}@media(min-width:700px){.app-shell{border-left:1px solid #dbe2ea;border-right:1px solid #dbe2ea}.site-main{padding:24px}.home-intro h1{font-size:31px}.listing-thumb{width:88px;height:94px}.listing-route{font-size:18px}.listing-copy h3{font-size:15px}}@media(prefers-reduced-motion:no-preference){.btn,.module-tabs a{transition:background .15s,box-shadow .15s}.sheet[open]{animation:sheet-in .18s ease-out}@keyframes sheet-in{from{transform:translateY(20px);opacity:.6}to{transform:translateY(0);opacity:1}}}@media print{.bottom-nav,.site-header,.contact-dock,.actions,.site-footer{display:none}.app-shell{max-width:100%;box-shadow:none;padding:0}.site-main{padding:0}body{background:#fff}.listing-card,.panel{break-inside:avoid}}
.brand>a{display:flex;align-items:center;gap:9px;color:var(--brand-blue);text-decoration:none}.brand-name{display:flex;flex-direction:column;font-size:10px;line-height:1.2;font-weight:650;letter-spacing:.6px}.brand-name b{font-size:12px}.brand-name small{font-size:9px;letter-spacing:0;font-weight:400;margin-top:4px}.brand-mark>span{font-size:18px;letter-spacing:-4px}.brand-mark{white-space:nowrap}

/* Compact posting form, v2.0.1 */
.form-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}.form-pair>*{min-width:0}.form-pair input,.form-pair select{min-width:0;max-width:100%}.form-pair.passenger-demand{grid-template-columns:1fr}.form-pair label{height:100%;justify-content:flex-end}.contact-pair label{font-size:13px}.form-pair input[type=date]::-webkit-calendar-picker-indicator{margin:0;padding:0;width:18px}.advanced.panel{border:1px solid var(--brand-gold);border-left:4px solid var(--brand-gold);background:#fffaf0;padding:0;overflow:hidden}.advanced.panel>summary{position:relative;display:block;list-style:none;padding:16px 42px 16px 16px;min-height:70px;color:var(--brand-blue)}.advanced.panel>summary::-webkit-details-marker{display:none}.advanced.panel>summary::after{content:"+";position:absolute;right:15px;top:18px;font-size:25px;line-height:1;font-weight:500;color:var(--brand-red)}.advanced.panel[open]>summary::after{content:"−"}.advanced.panel>summary span{font-size:14px;font-weight:800;display:block}.advanced.panel>summary small{display:block;font-weight:400;margin-top:3px;color:var(--muted)}.advanced.panel[open]>.stack{margin:0;padding:0 16px 18px}.advanced.panel>summary:hover{background:#fff2cf}

.stack .form-pair input,.stack .form-pair select{height:50px;min-height:50px;line-height:normal}
.ai-write-button{border-color:#d9b149;background:#fff7df;color:var(--brand-blue);font-size:13px;min-height:44px}.ai-writer>[data-ai-message]{margin:8px 0 0}.ai-suggestion{margin-top:12px;border-color:var(--brand-gold);background:#fffdf7}.ai-suggestion h3{margin:0}.ai-suggestion input,.ai-suggestion textarea{font-weight:400}.ai-writer:has([hidden]){min-width:0}

/* Compact AI and image actions, 2.0.3 */
.ai-write-button{border:1px solid #cdd2ff;background:#f1f2ff;color:#3736c9;border-radius:999px;padding:8px 13px;min-height:40px;font-size:13px;font-weight:650;gap:6px;box-shadow:none;max-width:100%;white-space:normal}.ai-write-button:hover{background:#e8ebff;border-color:#adb5ff;color:#302bb0;filter:none}.ai-write-button>span{font-size:15px}.ai-write-button:disabled{opacity:.65}.ai-writer>[data-ai-message]:empty{display:none}.photo-field>legend.screen-reader-text{margin:0}.photo-previews:empty{display:none}.photo-previews{gap:8px;margin-bottom:8px}.photo-tile{width:76px;height:76px;aspect-ratio:1}.photo-toolbar{display:flex;align-items:center;gap:12px;min-height:44px}.photo-picker{width:auto;min-height:44px;padding:9px 14px;border:1px dashed #b6c5d8;border-radius:10px;flex:none;font-size:13px!important;font-weight:650!important;gap:7px!important}.photo-picker .icon{width:19px;height:19px}.photo-picker:hover{background:#edf3fa}.photo-count{font-size:12px;font-weight:500;color:var(--muted)}.photo-field>small{margin-top:6px;font-size:11px}


/* Full-width attachment picker and photo cards, 2.0.4 */
.photo-toolbar{position:relative;display:block;min-height:78px}.photo-picker{width:100%;min-height:78px;padding:14px 90px 14px 14px;border:1px dashed #b8c6d8;background:#fff;border-radius:14px;justify-content:flex-start!important;gap:12px!important}.photo-add-icon{display:grid;place-items:center;width:40px;height:40px;background:#edf3fb;border-radius:12px;color:var(--brand-blue);flex-shrink:0}.photo-add-icon .icon{width:23px;height:23px}.photo-add-copy{display:flex;flex-direction:column;text-align:left;min-width:0}.photo-add-copy b{font-size:14px;font-weight:750}.photo-add-copy small{font-size:11px;font-weight:400;margin-top:2px}.photo-count{position:absolute;right:14px;top:50%;transform:translateY(-50%);pointer-events:none;font-size:11px;background:#f0f4f9;padding:5px 9px;border-radius:20px;white-space:nowrap}.photo-field>small{display:block;margin:7px 2px 0;font-size:11px}.photo-previews:not(:empty){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 0}.photo-tile{width:auto;height:auto;aspect-ratio:auto;border:1px solid #dce4ee;border-radius:12px;background:#fff;overflow:hidden;min-width:0}.photo-stage{position:relative;aspect-ratio:4/3;background:#f3f6fa;display:grid;place-items:center}.photo-stage img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;padding:5px}.photo-stage button{position:absolute;top:5px;right:5px;width:28px;height:28px;border:1px solid #e2e7ef;background:#fff;color:#6c7c90;box-shadow:0 2px 5px #123d7010;font-size:20px;line-height:1;z-index:1;display:grid;place-items:center}.photo-stage button:hover{color:var(--brand-red);background:#fff2f3}.photo-stage button::before{content:"";position:absolute;inset:-6px}.photo-tile .photo-label{position:static;display:flex;align-items:center;justify-content:center;gap:5px;background:#fff;color:#718096;padding:7px 3px;font-size:10px;line-height:1.35;border-top:1px solid #edf1f6}.photo-label::before{content:"";width:5px;height:5px;border-radius:50%;background:#b8c5d6}.photo-label.is-saved{color:#365c83}.photo-label.is-saved::before{background:#4c82b9}.photo-label.is-failed{color:var(--brand-red)}.photo-label.is-failed::before{background:var(--brand-red)}

.ai-writer>[data-ai-message].needs-location{padding:11px 13px;border:1px solid #f0d292;border-left:3px solid var(--brand-gold);border-radius:10px;background:#fff7df;color:#735310;font-size:12px;line-height:1.6}
@media(min-width:560px){.photo-previews:not(:empty){grid-template-columns:repeat(4,minmax(0,1fr))}}
