/* Органайзер v11 · 12.11.2026 — нова подредба. Зарежда се след organizer-v10.css; всичко е под body.op11 (класът идва от organizer-v11.js). */

/* ---------- Форма: дата и пристигане, 6 полета на ред ---------- */
body.op11 .op-bar{display:grid;grid-template-columns:1.25fr 1fr 1.3fr 1fr 1.2fr 1.2fr;align-items:end;gap:0}
body.op11 .op-field{padding:6px 12px;justify-content:flex-end}
body.op11 .op-field label{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.op11 .op-field label .icon{flex:none}
body.op11 .op-field.op-int label{overflow:visible;flex:none}
body.op11 .op-field select,body.op11 .op-field input[type=date]{width:100%;height:26px;line-height:26px;box-sizing:border-box}
body.op11 .op-field input[type=date]{border:0;background:transparent;font:600 15px Montserrat,Arial,sans-serif;color:var(--op-ink);padding:0;margin:0;min-height:0;cursor:pointer}
body.op11 .op-bar>.op-field:nth-of-type(6){border-right:0}
body.op11 .op-field.op-int{grid-column:1/5;grid-row:2;border-top:0;margin-top:12px;padding-top:0;padding-bottom:0;align-self:center;justify-content:flex-start}
body.op11 .op-chips button{min-height:36px;padding:6px 13px;font-size:13.5px}
body.op11 .op-go{grid-column:5/7;grid-row:2;align-self:center;justify-content:center;margin:12px 0 0;min-height:50px}
@media (max-width:1100px){body.op11 .op-bar{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:6px}body.op11 .op-bar>.op-field:nth-of-type(3){border-right:0}body.op11 .op-field.op-int{grid-column:1/-1;grid-row:auto}body.op11 .op-go{grid-column:1/-1;grid-row:auto;order:7}}
@media (max-width:760px){body.op11 .op-bar{grid-template-columns:repeat(2,minmax(0,1fr))}body.op11 .op-bar>.op-field{border-right:0;padding:6px 8px}body.op11 .op-field label{font-size:12px;gap:5px}body.op11 .op-bar>.op-field:not(.op-int) label .icon{display:none}}

/* ---------- Свита лента с избора (след създаване) ---------- */
.op11-sum{display:none}
body.op11-collapsed .op-hero{min-height:0;margin-bottom:0}
body.op11-collapsed .op-hero:before{background:#14261ab3}
body.op11-collapsed .op-copy,body.op11-collapsed .op-bar{display:none}
body.op11-collapsed .op11-sum{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:40px 0}
.op11-sum>b{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#dbe8d8}
.op11-sum-chips{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 auto}
.op11-sum-chips span{padding:7px 13px;border-radius:999px;background:#35573d;color:#fff;font-size:14px;line-height:1.3}
.op11-sum>button{min-height:44px;padding:0 18px;border:1px solid #fff;border-radius:10px;background:transparent;color:#fff;font:600 14px Montserrat,Arial,sans-serif;cursor:pointer}
.op11-sum>button:hover{background:#ffffff26}
body.op11-collapsed .op-main .tp-result-header [data-tp-action=edit]{display:none}
body.op11-collapsed .op-main{padding-top:36px}

/* ---------- По-четим текст ---------- */
body.op11 .op-main .tp-summary span,body.op11 .op-main .tp-result-meta{font-size:14.5px}
body.op11 .op-main .tp-eyebrow,body.op11 .op-main .tp-day-heading .tp-eyebrow{font-size:12px}
body.op11 .op-main .tp-day-sum{font-size:14px!important}
body.op11 .op-main .tp-stop-type{font-size:13px}
body.op11 .op-main .tp-stop-meta{font-size:13.5px}
body.op11 .op-main .tp-time small{font-size:12px!important}
body.op11 .op-main .tp-add span{font-size:13px}
body.op11 .op-main .tp-stop-details p{font-size:13.5px}
body.op11 .op-main .tp-tools>button,body.op11 .op-main .tp-tools summary{font-size:14px}
body.op11 .op-main .tp-route-note{display:none}
body.op11 .op-main .tp-disclaimer{font-size:13px}
body.op11 .op-map-foot small{font-size:13px}

/* ---------- Дните като карти със снимка ---------- */
body.op11 .op-main .tp-day-tabs{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px!important;margin:22px 0 18px!important}
body.op11 .op-main .tp-day-tabs>button{padding:0 0 14px!important;gap:3px;overflow:hidden;background:#fff!important;border:1px solid var(--op-line)!important;border-radius:14px!important;box-shadow:0 2px 10px #1f262208}
body.op11 .op-main .tp-day-tabs>button:hover{background:#fff!important;border-color:#b9cdb0!important}
body.op11 .op-main .tp-day-tabs>button>:not(.op11-tabimg){margin-left:16px;margin-right:16px}
.op11-tabimg{display:block;align-self:stretch;height:128px;margin-bottom:10px;background:#e4e9df}
.op11-tabimg img{display:block;width:100%;height:100%;object-fit:cover}
body.op11 .op-main .tp-day-tabs>button b{font-size:14px}
body.op11 .op-main .tp-day-tabs>button span:not(.op11-tabimg){font-size:13px;opacity:1;color:var(--op-mute)}
body.op11 .op-main .tp-day-tabs>button em{font-size:17px;font-weight:700;margin-top:4px}
body.op11 .op-main .tp-day-tabs>button small{font-size:13.5px}
body.op11 .op-main .tp-day-tabs>button[aria-selected=true]{background:var(--op-green)!important;border-color:var(--op-green)!important}
body.op11 .op-main .tp-day-tabs>button[aria-selected=true]:hover{background:var(--op-green)!important}
body.op11 .op-main .tp-day-tabs>button[aria-selected=true] span:not(.op11-tabimg){color:#fff;opacity:.9}

/* ---------- Бързи промени + AI ---------- */
.op11-quick{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;background:#fff;border:1px solid var(--op-line);border-radius:14px;padding:14px 16px;margin:0 0 22px}
.op11-quick>b{font-size:15px;font-weight:700;color:var(--op-ink)}
.op11-chips{display:flex;flex-wrap:wrap;gap:8px}
.op11-chips button{min-height:44px;padding:0 16px;border:1px solid #cfc9bb;border-radius:999px;background:#f6f5f0;font:500 14px Montserrat,Arial,sans-serif;color:var(--op-ink);cursor:pointer}
.op11-chips button:hover{background:var(--op-green-l);border-color:#b9cdb0}
.op11-quick .op-ai{flex:1 1 360px;min-width:0;display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:none;border:0;border-radius:0;padding:0;margin:0}
.op11-quick .op-ai-icon,.op11-quick .op-ai-text{display:none}
.op11-quick .op-ai form{flex:1 1 100%;display:flex;flex-direction:row;gap:8px;align-items:stretch}
.op11-quick .op-ai textarea{flex:1 1 auto;min-width:0;min-height:44px;height:44px;padding:10px 14px;font-size:14.5px;line-height:1.4;border-width:1px;border-radius:10px;resize:none;box-shadow:none}
.op11-quick .op-ai-go{min-height:44px;padding:0 18px;border-radius:10px;font-size:14px}
.op11-quick .op-ai .ai-msg{flex-basis:100%}

/* ---------- Заглавие на деня ---------- */
body.op11 .op-main .tp-day{background:transparent;border:0;box-shadow:none;padding:0;border-radius:0}
body.op11 .op-main .tp-day-heading h4{font-size:28px!important}
.op11-mapbtn{display:none}
@media (min-width:901px){body.op11 .op-main .tp-day-route-tools a.tp-btn{display:none}}

/* ---------- Действия на спирка: едно основно ---------- */
body.op11 .op-main .tp-stop-details>summary{min-height:40px;font-size:14px}
body.op11 .op-main .tp-stop-details+.tp-stop-actions{margin-top:-40px!important}
body.op11 .op-main .tp-stop-details[open]+.tp-stop-actions{margin-top:10px!important}
body.op11 .op-main .tp-stop-actions{gap:8px!important}
body.op11 .op-main .tp-stop-actions>button{min-height:40px;padding:0 16px!important;border:1px solid var(--op-green)!important;border-radius:9px!important;background:#fff!important;font-size:14px!important;font-weight:600;color:var(--op-green-d)!important}
body.op11 .op-main .tp-stop-actions>button:hover{background:var(--op-green-l)!important}
body.op11 .op-main .tp-stop-actions .tp-more>summary{min-height:40px;width:44px;justify-content:center;padding:0!important;border:1px solid #cfc9bb!important;border-radius:9px!important;background:#fff!important;font-size:0!important}
body.op11 .op-main .tp-stop-actions .tp-more>summary::after{content:"···";margin:0;font-size:18px;font-weight:700;opacity:1;color:var(--op-ink);letter-spacing:1px}

/* ---------- Часова линия (десктоп) ---------- */
@media (min-width:761px){
 body.op11 .op-main .tp-stop,body.op11 .op-main .tp-stop.tp-free{grid-template-columns:110px 36px 230px minmax(0,1fr)!important;gap:0!important;align-items:stretch;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important}
 body.op11 .op-main .tp-stop.op11-meal{grid-template-columns:110px 36px 112px minmax(0,1fr)!important}
 body.op11 .op-main .tp-stop>*{grid-row:1}
 body.op11 .op-main .tp-stop>.tp-time{grid-column:1;padding:16px 10px 0 0;min-width:0}
 body.op11 .op-main .tp-stop>.tp-time small{letter-spacing:.04em;white-space:nowrap}
 /* линията и точката са в колона 2 */
 body.op11 .op-main .tp-stop::before{content:"";grid-column:2;grid-row:1;justify-self:center;width:2px;background:#c5cec0}
 body.op11 .op-main .tp-stop::after{content:"";grid-column:2;grid-row:1;justify-self:center;align-self:start;margin-top:17px;width:10px;height:10px;border-radius:50%;background:#f6f5f0;border:2px solid var(--op-green);box-shadow:0 0 0 4px #f6f5f0}
 body.op11 .op-main .tp-stop[data-place-id]::after{content:counter(opstop);display:grid;place-items:center;margin-top:13px;width:24px;height:24px;border:0;background:var(--op-green);color:#fff;font:700 12px Montserrat,Arial,sans-serif}
 body.op11 .op-main .tp-stop.op11-meal[data-place-id]::after{background:#fff;color:var(--op-green-d);border:2px solid var(--op-green);width:20px;height:20px}
 body.op11 .op-main .tp-stop[data-place-id] .tp-stop-image:before{display:none}
 body.op11 .op-main #tp-day-panel>article.tp-stop:first-of-type::before{margin-top:22px}
 body.op11 .op-main #tp-day-panel>article.tp-stop:last-of-type::before{align-self:start;height:22px}
 /* карта = снимка + текст, слепени */
 body.op11 .op-main .tp-stop>.tp-stop-image{grid-column:3;position:relative;width:auto!important;max-width:none!important;height:auto!important;justify-self:stretch;overflow:hidden;min-height:176px;margin:0 0 12px;border:1px solid var(--op-line);border-right:0;border-radius:14px 0 0 14px;background:#e4e9df}
 body.op11 .op-main .tp-stop>.tp-stop-image img{position:absolute;inset:0;width:100%;height:100%!important;border-radius:0}
 body.op11 .op-main .tp-stop>.tp-stop-copy{grid-column:4;margin:0 0 12px;padding:16px 18px;background:#fff;border:1px solid var(--op-line);border-left:0;border-radius:0 14px 14px 0;min-width:0}
 body.op11 .op-main .tp-stop>.tp-time+.tp-stop-copy{grid-column:3/5;border-left:1px solid var(--op-line);border-radius:14px}
 body.op11 .op-main .tp-stop.is-focus>.tp-stop-image,body.op11 .op-main .tp-stop.is-focus>.tp-stop-copy{border-color:var(--op-green)}
 body.op11 .op-main .tp-stop.op11-visit .tp-stop-copy h4{font-size:22px}
 /* хранене: компактно */
 body.op11 .op-main .tp-stop.op11-meal>.tp-stop-image{min-height:96px}
 body.op11 .op-main .tp-stop.op11-meal>.tp-stop-copy{padding:12px 16px}
 body.op11 .op-main .tp-stop.op11-meal .tp-stop-copy h4{font-size:18px}
 /* хотел и свободни слотове: тънък ред без карта */
 body.op11 .op-main .tp-stop.tp-free>.tp-stop-copy{grid-column:3/5;background:transparent;border:0;border-radius:0;padding:12px 0 14px}
 body.op11 .op-main .tp-stop.tp-free>.tp-time{font-size:19px!important}
 /* преходи и почивка по линията */
 body.op11 .op-main .tp-transit,body.op11 .op-main .tp-rest{position:relative;margin:0!important;padding:2px 0 14px 146px;border:0;border-radius:0;font-size:13px;opacity:1;color:var(--op-mute)}
 body.op11 .op-main .tp-transit::before,body.op11 .op-main .tp-rest::before{content:"";position:absolute;left:127px;top:0;bottom:0;width:2px;background:#c5cec0}
 body.op11 .op-main .tp-rest::before{background:repeating-linear-gradient(#c5cec0 0 6px,transparent 6px 12px)}
 body.op11 .op-main #tp-day-panel>.tp-add,body.op11 .op-main #tp-day-panel>.tp-day-warning,body.op11 .op-main #tp-day-panel>.tp-empty,body.op11 .op-main #tp-day-panel>.tp-ideas{margin-left:146px;width:auto}
 body.op11 .op-main #tp-day-panel>.tp-add{width:calc(100% - 146px);border-radius:14px;margin-top:10px}
}

/* хотелски ред: без снимка и VIP етикет, смяната е текстова връзка */
body.op11 .op-main .tp-hotel-stop .tp-suggest{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none}
body.op11 .op-main .tp-hotel-stop .tp-suggest>img,body.op11 .op-main .tp-hotel-stop .tp-suggest small{display:none}
body.op11 .op-main .tp-hotel-stop .tp-suggest b{font-size:16px;font-weight:600;color:var(--op-ink)}
body.op11 .op-main .tp-hotel-stop .tp-suggest em{display:block;font-style:normal;font-size:13.5px;color:var(--op-mute)}
body.op11 .op-main .tp-hotel-stop .tp-suggest>button{flex:0 0 auto!important;width:auto!important;margin-left:auto;min-height:40px;padding:0 4px!important;border:0!important;background:none!important;color:var(--op-green-d)!important;font-size:14px!important;font-weight:600;text-decoration:underline;border-radius:0!important}

/* ---------- Телефон ---------- */
@media (max-width:760px){
 body.op11-collapsed .op11-sum{padding:22px 0;gap:10px}
 .op11-sum>b{display:none}
 .op11-sum-chips span{font-size:13px;padding:6px 11px}
 .op11-sum-chips span:nth-child(n+4){display:none}
 body.op11-collapsed .op-main{padding-top:24px}
 body.op11 .op-main .tp-tools{flex-wrap:wrap!important;overflow:visible}
 /* дните: равна ширина, залепени под хедъра */
 body.op11 .op-main .tp-day-tabs{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:8px!important;overflow:visible;position:sticky;top:74px;z-index:20;margin:12px 0!important;padding:8px 0;background:#f6f5f0;box-shadow:-16px 0 0 #f6f5f0,16px 0 0 #f6f5f0}
 body.op11 .op-main .tp-day-tabs>button{flex:none;align-items:center;justify-content:center;min-height:54px;padding:6px 4px!important;text-align:center!important;box-shadow:none}
 body.op11 .op-main .tp-day-tabs>button>:not(.op11-tabimg){margin-left:0;margin-right:0}
 body.op11 .op-main .tp-day-tabs>button .op11-tabimg,body.op11 .op-main .tp-day-tabs>button em,body.op11 .op-main .tp-day-tabs>button small{display:none}
 body.op11 .op-main .tp-day-tabs>button b{font-size:15px;font-weight:700}
 .op11-quick{padding:12px;margin-bottom:18px}
 .op11-quick>b{flex-basis:100%}
 .op11-quick .op-ai form{flex-direction:column}
 .op11-quick .op-ai-go{justify-content:center}
 body.op11 .op-main .tp-day-heading h4{font-size:22px!important}
 /* бутонът за картата е в потока, не плава върху съдържанието */
 body.op11 .op-map-fab{display:none!important}
 body.op11 .op-main .tp-day-route-tools{flex-wrap:wrap!important;gap:8px 12px}
 body.op11 .op-main .tp-day-route-tools .tp-btn{min-height:44px;display:inline-flex;align-items:center}
 body.op11 .op11-mapbtn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--op-green);border-radius:10px;background:#fff;color:var(--op-green-d);font:600 14px Montserrat,Arial,sans-serif}
 body.op11 .op11-mapbtn .icon{width:18px;height:18px}
 /* часова линия: линия вляво, часът над картата */
 body.op11 .op-main .tp-stop,body.op11 .op-main .tp-stop.tp-free,body.op11 .op-main .tp-stop:not(.tp-free){grid-template-columns:20px 76px minmax(0,1fr)!important;column-gap:0!important;row-gap:0!important;align-items:stretch;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important}
 body.op11 .op-main .tp-stop::before{content:"";grid-column:1;grid-row:1/4;justify-self:start;margin-left:5px;width:2px;background:#c5cec0}
 body.op11 .op-main .tp-stop::after{content:"";grid-column:1;grid-row:1;justify-self:start;align-self:start;margin:6px 0 0 1px;width:10px;height:10px;box-sizing:border-box;border-radius:50%;background:#f6f5f0;border:2px solid var(--op-green)}
 body.op11 .op-main .tp-stop[data-place-id]::after{background:var(--op-green)}
 body.op11 .op-main #tp-day-panel>article.tp-stop:first-of-type::before{margin-top:10px}
 body.op11 .op-main #tp-day-panel>article.tp-stop:last-of-type::before{grid-row:1;align-self:start;height:10px}
 body.op11 .op-main .tp-stop>.tp-time,body.op11 .op-main .tp-stop:not(.tp-free) .tp-time{grid-column:2/4!important;grid-row:1!important;flex-direction:row!important;align-items:baseline!important;gap:8px!important;padding:0 0 8px;font-size:18px!important}
 body.op11 .op-main .tp-stop.op11-visit>.tp-stop-image,body.op11 .op-main .tp-stop.op11-visit:not(.tp-free) .tp-stop-image{grid-column:2/4!important;grid-row:2;width:auto!important;height:160px!important;border:1px solid var(--op-line);border-bottom:0;border-radius:14px 14px 0 0;overflow:hidden}
 body.op11 .op-main .tp-stop.op11-visit:not(.tp-free) .tp-stop-image img{width:100%!important;height:160px!important;border-radius:0}
 body.op11 .op-main .tp-stop.op11-visit>.tp-stop-copy,body.op11 .op-main .tp-stop.op11-visit:not(.tp-free) .tp-stop-copy{grid-column:2/4!important;grid-row:3;margin-bottom:10px;padding:14px;background:#fff;border:1px solid var(--op-line);border-top:0;border-radius:0 0 14px 14px}
 body.op11 .op-main .tp-stop.op11-visit>.tp-time+.tp-stop-copy{grid-row:2;border-top:1px solid var(--op-line);border-radius:14px}
 body.op11 .op-main .tp-stop.op11-meal:not(.tp-free) .tp-stop-image{grid-column:2!important;grid-row:2;width:76px!important;height:auto!important;min-height:76px;border:1px solid var(--op-line);border-right:0;border-radius:14px 0 0 14px;overflow:hidden;margin-bottom:10px;position:relative}
 body.op11 .op-main .tp-stop.op11-meal:not(.tp-free) .tp-stop-image img{position:absolute;inset:0;width:100%!important;height:100%!important;border-radius:0}
 body.op11 .op-main .tp-stop.op11-meal:not(.tp-free) .tp-stop-copy{grid-column:3!important;grid-row:2;margin-bottom:10px;padding:10px 12px;background:#fff;border:1px solid var(--op-line);border-left:0;border-radius:0 14px 14px 0;min-width:0}
 body.op11 .op-main .tp-stop.op11-meal>.tp-time+.tp-stop-copy{grid-column:2/4!important;border-left:1px solid var(--op-line);border-radius:14px}
 body.op11 .op-main .tp-stop[data-place-id] .tp-stop-image:before{display:none}
 body.op11 .op-main .tp-stop.tp-free>.tp-stop-copy,body.op11 .op-main .tp-stop.tp-free .tp-stop-copy{grid-column:2/4!important;grid-row:2;padding:0 0 12px;background:transparent;border:0}
 body.op11 .op-main .tp-stop-details+.tp-stop-actions{margin-top:4px!important;margin-left:0;align-self:flex-start!important}
 body.op11 .op-main .tp-stop-actions>button,body.op11 .op-main .tp-stop-actions .tp-more>summary{min-height:44px}
 body.op11 .op-main .tp-stop-details>summary{min-height:44px}
 body.op11 .op-main .tp-transit,body.op11 .op-main .tp-rest{position:relative;margin:0!important;padding:2px 0 12px 20px;border:0;border-radius:0;font-size:13px;opacity:1;color:var(--op-mute)}
 body.op11 .op-main .tp-transit::before,body.op11 .op-main .tp-rest::before{content:"";position:absolute;left:5px;top:0;bottom:0;width:2px;background:#c5cec0}
 body.op11 .op-main .tp-rest::before{background:repeating-linear-gradient(#c5cec0 0 6px,transparent 6px 12px)}
 body.op11 .op-main .tp-hotel-stop .tp-suggest>button{margin-left:0}
}

/* ---------- „Добави място“: табове по вид ---------- */
.op11-cats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.op11-cats button{min-height:44px;padding:0 16px;border:1px solid #cfc9bb;border-radius:999px;background:#fff;font:500 14px Montserrat,Arial,sans-serif;color:#1f2622;cursor:pointer}
.op11-cats button span{margin-left:4px;font-size:13px;color:#5c6259}
.op11-cats button:hover{background:#e8efe3;border-color:#b9cdb0}
.op11-cats button[aria-pressed=true]{background:#2f5d3a;border-color:#2f5d3a;color:#fff;font-weight:600}
.op11-cats button[aria-pressed=true] span{color:#e3eee3}
.op11-hide{display:none!important}
.op11-has-cats .tp-picker-tabs [data-tp-all]{display:none}
.op11-has-cats .tp-option b{font-size:16px}
.op11-has-cats .tp-option small{font-size:13px}
.op11-top{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:#e8efe3;color:#244a2e;font-style:normal;font-size:12px;font-weight:600;vertical-align:1px;white-space:nowrap}
