.author-section{padding:30px;margin:30px 0;background:#fff;border:1px solid #dce8ee;border-radius:16px}.author-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.author-heading h2{display:flex;gap:10px;align-items:center;font-size:24px;margin:0 0 8px}.author-heading h2 svg{width:24px;height:24px;color:#087fae}.author-heading p,.six-toolbar p{color:#526d7a;margin:0;max-width:70ch;line-height:1.65}.author-tabs{display:flex;gap:4px;flex-wrap:wrap;padding:5px;background:#f0f7fa;border-radius:12px;margin-bottom:22px}.author-tabs button{display:flex;align-items:center;gap:6px;min-height:44px;padding:10px 18px;border:0;border-radius:9px;background:transparent;color:#486676;font:inherit;font-weight:650;cursor:pointer}.author-tabs button[aria-selected=true]{background:#087fae;color:#fff}.author-tabs button span:not(:empty){font-size:11px;line-height:1;padding:4px;border-radius:4px;background:#d5eee4;color:#205b45}.author-section [hidden]{display:none!important}.author-section .input,.itinerary-stop .input{background:#fff;border-color:#c8dce6;border-radius:10px;min-width:0}.author-section textarea{line-height:1.8;resize:vertical}.author-source{max-width:300px;margin-bottom:20px}.author-counter{text-align:right;color:#526d7a;font-size:13px;margin:5px 0}.author-save{border-top:1px solid #e1ebef;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:18px}.author-save p{font-size:14px;color:#426879;margin:0;max-width:65ch}.author-translation-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.author-check{display:flex;align-items:center;gap:10px;line-height:1.5}.author-check input{accent-color:#087fae;width:18px;height:18px;flex:none}.author-section button:focus-visible,.itinerary-stop button:focus-visible{outline:3px solid #057bab;outline-offset:3px}.author-section ::selection,.itinerary-stop ::selection{background:#c5eafa;color:#113849}.author-section input,.author-section textarea,.itinerary-stop input,.itinerary-stop textarea{caret-color:#087fae}.author-section button:disabled,.itinerary-stop button:disabled{cursor:not-allowed;opacity:.45}.guide-overview.author-guide-overview{display:block}.author-guide-overview .guide-overview-side{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:30px}.six-toolbar{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:16px}.six-pager{display:flex;align-items:center;gap:8px;flex:none}.six-pager strong{font-size:13px;text-align:center;max-width:230px}.six-pager .btn{padding:8px;min-height:40px;width:40px;min-width:40px}.six-pager svg{width:18px;height:18px}.six-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;color:#526d7a;margin-bottom:22px}.six-legend span{display:flex;align-items:center;gap:7px}.six-legend span:before{content:'';width:10px;height:10px;border-radius:3px;background:#fff;border:1px solid #becfd7}.six-legend [data-state=off]:before{background:#087fae;border-color:#087fae}.six-legend [data-state=locked]:before{background:#f0deb9;border-color:#aa833b}.six-legend [data-state=inherited]:before{background:#dce5eb;border-color:#8198a4}.six-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 30px}.six-month{min-width:0;padding:16px 0;border-top:1px solid #dfebf0}.six-month h3{font-size:16px;margin:0 0 14px;color:#163a4b}.six-weekdays,.six-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.six-weekdays span{font-size:12px;text-align:center;color:#526d7a;padding-bottom:8px}.six-day{border:0;border-radius:8px;min-height:38px;width:100%;background:transparent;color:#163a4b;font:inherit;font-size:13px;font-weight:550;cursor:pointer;font-variant-numeric:tabular-nums;position:relative}.six-day.available:hover{background:#e7f4fa}.six-day.off{background:#087fae;color:#fff}.six-day[aria-current=date]:after{content:'';position:absolute;bottom:3px;width:4px;height:4px;border-radius:50%;background:currentColor;left:calc(50% - 2px)}.author-section .six-day:disabled{opacity:1}.six-day.locked{background:#fbf1dc;color:#79591e;text-decoration:underline;text-underline-offset:4px}.six-day.inherited{background:#e7eef2;color:#486472}.six-day.past{color:#8a9da7;text-decoration:line-through}.six-selected{display:flex;flex-wrap:wrap;gap:6px}.six-outside{border:1px solid #c8dce6;border-radius:6px;background:#f0f7fa;padding:6px 9px;color:#285d74}.itinerary-builder{margin:26px 0}.itinerary-builder h3{font-size:20px;margin:0 0 8px}.itinerary-builder>p{color:#526d7a;line-height:1.65}.itinerary-list{margin:20px 0;display:flex;flex-direction:column;gap:16px}.itinerary-stop{min-width:0;border:1px solid #d7e5ec;border-radius:12px;background:#f8fbfd;padding:20px;margin:0}.itinerary-stop-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.stop-number{display:grid;place-items:center;background:#dceffa;color:#126086;width:30px;height:30px;border-radius:8px;font-weight:750;font-variant-numeric:tabular-nums}.stop-actions{display:flex;gap:4px}.author-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid transparent;border-radius:8px;background:transparent;color:#3f6172;cursor:pointer}.author-icon:hover{background:#e6f1f7;border-color:#c5dce7}.author-icon svg{width:20px;height:20px}.stop-fields{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:16px;margin-bottom:14px}.itinerary-stop .field{margin:0}.itinerary-stop label{font-size:14px}.itinerary-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.itinerary-bottom p{font-size:14px;color:#426879;max-width:65ch}.itinerary-bottom .is-error{color:#ad3030}.author-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tour-editor-section .six-months{grid-template-columns:repeat(2,minmax(0,1fr))}.tour-editor-section .six-toolbar{display:block}.tour-editor-section .six-pager{justify-content:flex-end;margin-top:14px}.author-course-off{margin-top:28px;padding-top:24px;border-top:1px solid #dce8ee}.author-course-off h3{margin:0 0 12px}.guide-profile-form{max-width:none!important}.guide-profile-form>form{max-width:none}.author-section .stack{gap:16px}
@media(max-width:1000px){.six-months{grid-template-columns:repeat(2,minmax(0,1fr))}.six-toolbar{display:block}.six-pager{justify-content:flex-end;margin-top:14px}.author-guide-overview .guide-overview-side{grid-template-columns:1fr}.author-tabs button{flex:1;padding-inline:12px}}
@media(max-width:600px){.author-section{padding:20px 16px;margin:22px 0}.author-heading h2{font-size:21px}.six-months,.tour-editor-section .six-months{grid-template-columns:1fr;gap:12px}.six-day{min-height:42px;font-size:14px}.six-pager{justify-content:space-between}.six-legend{gap:12px}.author-tabs button{flex:1 0 28%;font-size:14px;padding:10px 8px}.author-translation-tools{align-items:stretch;flex-direction:column;gap:12px}.author-save{align-items:stretch;flex-direction:column;gap:12px}.author-save .btn{width:100%}.itinerary-stop{padding:15px}.stop-fields{grid-template-columns:minmax(0,1fr) 90px;gap:10px}.itinerary-bottom{display:block}.itinerary-bottom .btn{width:100%}.author-guide-overview .guide-overview-side{gap:16px}.author-heading{gap:12px}.six-toolbar p{font-size:13px}}

.author-jumps{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0}.author-jumps a{padding:10px 16px;border:1px solid #cee0e9;border-radius:8px;font-weight:650;font-size:14px;color:#295c75;background:#f4f9fc;min-height:42px;display:inline-flex;align-items:center}.author-jumps a:hover{background:#e2f1f9}.author-section,.guide-profile-form,#guide-requests,#guide-basic-profile{scroll-margin-top:110px}.author-jumps a:focus-visible{outline:3px solid #087fae;outline-offset:3px}

.tour-editor-section,.itinerary-builder{scroll-margin-top:120px}.author-course-aside{border-radius:14px;padding:26px;background:#eef7fb}.author-course-aside h2{font-size:20px;margin-bottom:18px}.author-course-aside nav{display:flex;flex-direction:column;gap:4px;margin-bottom:22px}.author-course-aside nav a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 0;font-size:14px;border-bottom:1px solid #d4e4ed}.author-course-aside nav svg{width:16px;height:16px;flex:none}.author-course-aside>p{font-size:13px;line-height:1.7;color:#496b7b}.author-course-aside>.btn{width:100%;margin-top:18px}.author-course-aside .author-return{font-size:13px;text-decoration:underline;text-underline-offset:4px}.author-course-aside nav a:focus-visible{outline:3px solid #087fae;outline-offset:3px}

.tour-editor-layout .tour-editor-section{border:0;border-bottom:1px solid #dce8ee;border-radius:0;padding:0 0 32px;background:transparent;box-shadow:none}.itinerary-stop textarea.input{min-height:88px;height:88px;resize:vertical}.author-mobile-course-nav{display:none}
@media(max-width:760px){.author-mobile-course-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 28px}.author-mobile-course-nav a{font-size:13px;padding:9px 12px;min-height:40px;background:#edf6fb;border:1px solid #d0e2ed;border-radius:8px;color:#255e7a;font-weight:650}.tour-editor-layout .tour-editor-section{padding-bottom:28px}.itinerary-stop textarea.input{min-height:100px;height:100px}.author-jumps{display:grid;grid-template-columns:1fr 1fr}.author-jumps a{justify-content:center}}
/* The document already reserves 94px for the fixed header. */
.author-section,.guide-profile-form,#guide-requests,#guide-basic-profile,.tour-editor-section,.itinerary-builder{scroll-margin-top:20px}

/* One introduction editor, with the original and translations sharing one panel. */
.intro-toolbar{display:flex;align-items:center;gap:24px;justify-content:space-between}.intro-toolbar .intro-tabs{margin:0;min-width:0;background:transparent;border-radius:0;padding:0;gap:4px;flex:1}.intro-tabs button{border-radius:8px;min-height:44px;padding:10px 16px;white-space:nowrap}.intro-toolbar .intro-translate{flex:none;min-height:44px;gap:8px}.intro-translate .lm-icon{width:18px;height:18px}.intro-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-height:24px}.intro-footer>p{margin:0;color:#526d7a;font-size:13px;line-height:1.6}.intro-footer [role=alert]{color:#aa3030}.intro-footer .author-counter{flex:none}.intro-edit-actions{display:flex;justify-content:flex-end;gap:10px}.intro-footer [data-intro-status]:empty{display:none}#guide-introduction .author-heading{margin-bottom:20px}#guide-introduction .field{margin:0}
@media(max-width:760px){.intro-toolbar{align-items:flex-start;flex-wrap:wrap;gap:12px}.intro-toolbar .intro-tabs{flex:1 0 100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.intro-tabs button{justify-content:center;padding:10px 6px;font-size:14px;white-space:normal}.intro-toolbar .intro-translate{margin-left:auto}.intro-footer{gap:8px}.intro-edit-actions{flex-wrap:wrap}.intro-edit-actions .btn{flex:1}}
/* Course translation uses the same original/language toolbar. */
[data-course-translation] [hidden]{display:none!important}[data-course-translation] .intro-toolbar{margin:24px 0 18px}[data-course-translation] .course-translation-status{margin:0 0 20px;line-height:1.6}[data-course-translation] .course-translation-status:empty{display:none}[data-course-translation] [role=alert]{color:#aa3030}.course-translation-empty{padding:28px 0;color:#526d7a;line-height:1.7}.course-translated-stops{padding-left:24px;margin:16px 0 28px}.course-translated-stops li{padding:14px 0;border-bottom:1px solid #dce8ee;white-space:pre-line;line-height:1.75}.course-translated-stop-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.course-translated-stop-heading span{white-space:nowrap}.course-translated-stops p{margin:8px 0 0}.course-translated-copy{white-space:pre-line;line-height:1.75}[data-course-translated] .input[readonly]{background:#f7fafc;color:#12384a;cursor:text}[data-course-translation] button:focus-visible{outline:3px solid #087dbb;outline-offset:3px}
