.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url("./media/layers-55W3Q4RM.png");width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url("./media/layers-2x-TBM42ERR.png");background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url("./media/marker-icon-2V3QKKVC.png")}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}:root{--color-primary: #2d5016;--color-primary-hover: #3d6b1e;--color-primary-text: var(--color-primary);--color-primary-soft: #e8f0e0;--color-primary-ring: rgba(45, 80, 22, .25);--color-bg: #f4efe6;--color-surface: #fffdf8;--color-surface-muted: #f7f3ea;--color-border: #ddd4c4;--color-border-strong: #c9bead;--color-text: #243018;--color-text-muted: #5c6454;--color-text-inverse: #fffdf8;--color-danger: #b42318;--color-danger-hover: #912018;--color-danger-soft: #fdecea;--color-danger-border: #f3c4c0;--color-warning: #9a6700;--color-warning-soft: #fff4d6;--color-warning-border: #ead48a;--color-success: #1b6b2a;--color-success-soft: #e5f4e6;--color-success-border: #b7dfb9;--color-info: #175cd3;--color-info-soft: #e8f0fe;--color-info-border: #c5d7fb;--color-status-requested: #9a6700;--color-status-requested-bg: #fff4d6;--color-status-confirmed: #175cd3;--color-status-confirmed-bg: #e8f0fe;--color-status-completed: #1b6b2a;--color-status-completed-bg: #e5f4e6;--color-status-cancelled: #5c6454;--color-status-cancelled-bg: #eeeae2;--color-status-noshow: #b42318;--color-status-noshow-bg: #fdecea;--color-status-draft: #9a6700;--color-status-draft-bg: #fff4d6;--color-status-signed: #1b6b2a;--color-status-signed-bg: #e5f4e6;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--space-6: 1.5rem;--space-8: 2rem;--space-10: 2.5rem;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px;--shadow-sm: 0 1px 2px rgba(36, 48, 24, .06);--shadow-md: 0 8px 24px rgba(36, 48, 24, .1);--text-sm: .8125rem;--text-base: 1rem;--text-lg: 1.125rem;--text-xl: 1.35rem;--text-2xl: 1.75rem;--tap-min: 44px;--focus-ring: 0 0 0 3px var(--color-primary-ring);--header-h: 56px;--tabbar-h: 64px;--sidebar-w: 260px;--font: "Segoe UI", system-ui, -apple-system, sans-serif}html[data-theme=dark]{--color-primary: #3d6b1e;--color-primary-hover: #4d7c2a;--color-primary-text: #b5d49a;--color-primary-soft: #354429;--color-primary-ring: rgba(181, 212, 154, .35);--color-bg: #1a1f14;--color-surface: #242b1c;--color-surface-muted: #2d3524;--color-border: #3d4a32;--color-border-strong: #4f5f40;--color-text: #eef2e8;--color-text-muted: #b8c4a8;--color-text-inverse: #fffdf8;--color-danger: #f2a39a;--color-danger-hover: #e07a70;--color-danger-soft: #3a221f;--color-danger-border: #6b3a34;--color-warning: #e0b84a;--color-warning-soft: #3a3018;--color-warning-border: #6b5a28;--color-success: #7dca86;--color-success-soft: #243628;--color-success-border: #3d5c42;--color-info: #8bb4f0;--color-info-soft: #1e2a3d;--color-info-border: #35507a;--color-status-requested: #e0b84a;--color-status-requested-bg: #3a3018;--color-status-confirmed: #8bb4f0;--color-status-confirmed-bg: #1e2a3d;--color-status-completed: #7dca86;--color-status-completed-bg: #243628;--color-status-cancelled: #b8c4a8;--color-status-cancelled-bg: #2d3524;--color-status-noshow: #f2a39a;--color-status-noshow-bg: #3a221f;--color-status-draft: #e0b84a;--color-status-draft-bg: #3a3018;--color-status-signed: #7dca86;--color-status-signed-bg: #243628}.sync-chip{font-size:var(--text-sm);padding:.25rem .5rem;border-radius:var(--radius-sm);white-space:nowrap}.sync-offline{background:var(--color-warning-soft);color:var(--color-warning)}.sync-syncing{background:var(--color-info-soft);color:var(--color-info)}.sync-error{background:var(--color-danger-soft);color:var(--color-danger)}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--font);font-size:var(--text-base);line-height:1.45;color:var(--color-text);background:var(--color-bg);color-scheme:light}html[data-theme=dark],html[data-theme=dark] body{color-scheme:dark}button,a,input,select,textarea{font:inherit;color:inherit}button,[role=button],a.btn,input,select,textarea{min-height:var(--tap-min)}:focus{outline:none}:focus-visible{outline:none;box-shadow:var(--focus-ring)}a{color:var(--color-primary-text)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.page{width:100%;max-width:960px;margin:0 auto;padding:var(--space-5) var(--space-4) var(--space-8)}.page--wide{max-width:1120px}.page--narrow{max-width:640px}.page-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-5)}.page-header h1,.page-title{margin:0;font-size:var(--text-2xl);font-weight:700;letter-spacing:-.02em;color:var(--color-primary-text);line-height:1.2}.page-subtitle{margin:var(--space-1) 0 0;color:var(--color-text-muted);font-size:var(--text-sm)}.page-header-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center}.pac-container{z-index:4000}.card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);padding:var(--space-4)}.card+.card{margin-top:var(--space-3)}.card-title{margin:0 0 var(--space-3);font-size:var(--text-lg);font-weight:650}.btn,.btn-primary,.btn-secondary,.btn-ghost,.btn-danger,.btn-sm{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--tap-min);padding:0 var(--space-4);border-radius:var(--radius-sm);border:1px solid transparent;font-weight:600;text-decoration:none;cursor:pointer;background:var(--color-surface);color:var(--color-text);transition:background-color .15s ease,border-color .15s ease,color .15s ease}.btn-primary{background:var(--color-primary);color:var(--color-text-inverse);border-color:var(--color-primary)}.btn-primary:hover:not(:disabled){background:var(--color-primary-hover)}.btn-secondary{background:var(--color-surface);color:var(--color-primary-text);border-color:var(--color-border-strong)}.btn-secondary:hover:not(:disabled){background:var(--color-primary-soft)}.btn-ghost{background:transparent;color:var(--color-primary-text)}.btn-ghost:hover:not(:disabled){background:var(--color-primary-soft)}.btn-danger{background:var(--color-danger);color:#fff;border-color:var(--color-danger)}.btn-danger:hover:not(:disabled){background:var(--color-danger-hover)}.btn-sm{min-height:36px;padding:0 var(--space-3);font-size:var(--text-sm)}.btn:disabled,.btn-primary:disabled,.btn-secondary:disabled,.btn-ghost:disabled,.btn-danger:disabled{opacity:.5;cursor:not-allowed}.field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:var(--space-4)}.field-label,.field>label{font-weight:600;font-size:var(--text-sm);color:var(--color-text)}.field-hint{font-size:var(--text-sm);color:var(--color-text-muted)}.field-error{font-size:var(--text-sm);color:var(--color-danger)}.required:after{content:" *";color:var(--color-danger)}.input,.field input,.field select,.field textarea,input.input,select.input,textarea.input{width:100%;min-height:var(--tap-min);padding:.55rem .75rem;border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text)}textarea.input,.field textarea{min-height:96px;resize:vertical}.input:disabled,.field input:disabled,.field select:disabled,.field textarea:disabled{background:var(--color-surface-muted);cursor:not-allowed}.input--danger,.field input.ng-invalid.ng-touched,.field textarea.ng-invalid.ng-touched,.field select.ng-invalid.ng-touched{border-color:var(--color-danger)}.table-wrap{overflow-x:auto;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid var(--color-border)}.table th{font-size:var(--text-sm);text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);background:var(--color-surface-muted)}.table tbody tr:hover{background:var(--color-primary-soft)}.table tbody tr:last-child td{border-bottom:0}@media(max-width:640px){.table thead{display:none}.table,.table tbody,.table tr,.table td{display:block;width:100%}.table tr{padding:var(--space-3);border-bottom:1px solid var(--color-border)}.table td{display:flex;justify-content:space-between;gap:var(--space-3);border:0;padding:.35rem 0}.table td:before{content:attr(data-label);font-weight:600;color:var(--color-text-muted);font-size:var(--text-sm)}}.badge{display:inline-flex;align-items:center;min-height:24px;padding:0 .55rem;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.01em;background:var(--color-surface-muted);color:var(--color-text-muted)}.badge-requested,.badge-draft{background:var(--color-status-draft-bg);color:var(--color-status-draft)}.badge-confirmed{background:var(--color-status-confirmed-bg);color:var(--color-status-confirmed)}.badge-completed,.badge-signed,.badge-active{background:var(--color-status-signed-bg);color:var(--color-status-signed)}.badge-cancelled,.badge-inactive{background:var(--color-status-cancelled-bg);color:var(--color-status-cancelled)}.badge-noshow{background:var(--color-status-noshow-bg);color:var(--color-status-noshow)}.alert{display:flex;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);margin-bottom:var(--space-4);border:1px solid transparent}.alert-error{background:var(--color-danger-soft);color:var(--color-danger);border-color:var(--color-danger-border)}.alert-success{background:var(--color-success-soft);color:var(--color-success);border-color:var(--color-success-border)}.alert-info{background:var(--color-info-soft);color:var(--color-info);border-color:var(--color-info-border)}.alert-warning{background:var(--color-warning-soft);color:var(--color-warning);border-color:var(--color-warning-border)}.empty-state{text-align:center;padding:var(--space-10) var(--space-4);color:var(--color-text-muted)}.empty-state h2{margin:0 0 var(--space-2);color:var(--color-text);font-size:var(--text-xl)}.empty-state p{margin:0 0 var(--space-4)}.skeleton{display:block;height:14px;border-radius:6px;background:linear-gradient(90deg,#eee8dc 25%,#f7f3ea 37%,#eee8dc 63%);background-size:400% 100%;animation:skeleton 1.2s ease-in-out infinite}.skeleton-card{height:92px;border-radius:var(--radius-md);margin-bottom:var(--space-3)}@keyframes skeleton{0%{background-position:100% 0}to{background-position:0 0}}html[data-theme=dark] .skeleton{background:linear-gradient(90deg,#2d3524 25%,#3d4a32 37%,#2d3524 63%);background-size:400% 100%}.muted{color:var(--color-text-muted)}.loading{color:var(--color-text-muted);padding:var(--space-6) 0}.seg{display:inline-flex;flex-wrap:wrap;padding:3px;background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:999px;gap:2px}.seg button,.filter-btn{min-height:36px;padding:0 .9rem;border:0;background:transparent;border-radius:999px;color:var(--color-text-muted);font-weight:600;cursor:pointer}.seg button.active,.seg button[aria-pressed=true],.filter-btn.active{background:var(--color-surface);color:var(--color-primary-text);box-shadow:var(--shadow-sm)}.search-input{width:100%;max-width:360px;min-height:var(--tap-min);padding:0 .9rem 0 2.4rem;border:1px solid var(--color-border-strong);border-radius:999px;background:var(--color-surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235c6454' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>") no-repeat .85rem 50%}.toolbar{display:flex;flex-wrap:wrap;gap:var(--space-3);align-items:center;margin-bottom:var(--space-4)}.actions-bar{position:sticky;bottom:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-2);padding:var(--space-3) 0;background:linear-gradient(180deg,transparent,var(--color-bg) 28%)}.form-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:flex-end;margin-top:var(--space-4)}.detail-row{display:grid;grid-template-columns:140px 1fr;gap:var(--space-3);padding:.55rem 0;border-bottom:1px solid var(--color-border)}.detail-row:last-child{border-bottom:0}.detail-row dt{color:var(--color-text-muted);font-size:var(--text-sm);font-weight:600}.detail-row dd{margin:0}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:var(--space-4);background:radial-gradient(1200px 500px at 10% -10%,#d7e4c8 0%,transparent 55%),var(--color-bg)}html[data-theme=dark] .auth-screen{background:radial-gradient(1200px 500px at 10% -10%,#2d3f22 0%,transparent 55%),var(--color-bg)}.auth-card{width:100%;max-width:420px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--space-8) var(--space-6)}.auth-brand{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-5)}.auth-mark{width:40px;height:40px;border-radius:12px;background:var(--color-primary);color:#fff;display:grid;place-items:center;font-weight:800}.auth-card h1{margin:0;color:var(--color-primary-text);font-size:var(--text-2xl)}.auth-card .subtitle{margin:.2rem 0 1.4rem;color:var(--color-text-muted)}.skip-link{position:absolute;left:var(--space-3);top:-40px;z-index:100;background:var(--color-primary);color:#fff;padding:.5rem .8rem;border-radius:var(--radius-sm)}.skip-link:focus{top:var(--space-3)}.app-shell{min-height:100vh;background:var(--color-bg)}.app-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:var(--header-h);padding:0 var(--space-3);background:var(--color-primary);color:var(--color-text-inverse)}.app-brand{color:inherit;text-decoration:none;font-weight:800;letter-spacing:-.02em}.notify-btn{position:relative}.notify-badge{display:inline-flex;min-width:1.1rem;height:1.1rem;padding:0 .25rem;border-radius:999px;background:#c0392b;color:#fff;font-size:.7rem;align-items:center;justify-content:center;margin-left:.35rem}.notify-btn .notify-badge{position:absolute;top:.15rem;right:.15rem;margin:0}.notify-backdrop{position:fixed;inset:0;background:#0f172a47;z-index:40;display:flex;justify-content:flex-end}.notify-panel{width:min(22rem,100%);max-height:100%;overflow:auto;background:var(--color-surface, #fff);color:var(--color-text, #111);padding:1rem;box-shadow:0 8px 24px #00000029}.notify-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.notify-panel a{display:block;padding:.65rem 0;border-top:1px solid var(--color-border, #e5e5e5);color:inherit;text-decoration:none}.notify-panel a.unread{font-weight:600}.notify-panel a span{display:block;font-weight:400;color:var(--color-muted, #555)}.app-topbar-actions{display:flex;align-items:center;gap:var(--space-2)}.app-topbar .icon-btn{min-width:var(--tap-min);min-height:var(--tap-min);border:0;background:#ffffff1f;color:inherit;border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.app-sidebar{display:none}.app-content{min-width:0}.app-main{min-height:calc(100vh - var(--header-h) - var(--tabbar-h));padding-bottom:calc(var(--tabbar-h) + var(--space-4))}.app-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(5,1fr);height:var(--tabbar-h);background:var(--color-surface);border-top:1px solid var(--color-border);padding-bottom:env(safe-area-inset-bottom)}.app-tabbar a,.app-tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:0;border:0;background:none;text-decoration:none;color:var(--color-text-muted);font-size:.7rem;font-weight:650;cursor:pointer}.app-tabbar a.active,.app-tabbar a[aria-current=page]{color:var(--color-primary-text)}.more-sheet{position:fixed;inset:0;z-index:40;background:#24301866;display:flex;align-items:flex-end}.more-sheet-panel{width:100%;background:var(--color-surface);border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:var(--space-4);padding-bottom:calc(var(--space-6) + env(safe-area-inset-bottom))}.more-sheet-panel a{display:flex;align-items:center;gap:var(--space-3);min-height:var(--tap-min);padding:0 var(--space-2);text-decoration:none;color:var(--color-text);border-radius:var(--radius-sm)}.more-sheet-panel a:hover,.more-sheet-panel a.active{background:var(--color-primary-soft);color:var(--color-primary-text)}.user-chip{font-size:var(--text-sm);opacity:.9}.btn-logout{min-height:36px;padding:0 .75rem;border-radius:var(--radius-sm);border:1px solid rgba(255,255,255,.35);background:#ffffff1f;color:inherit;cursor:pointer}@media(min-width:900px){.app-shell{display:grid;grid-template-columns:var(--sidebar-w) 1fr}.app-topbar,.app-tabbar,.more-sheet{display:none}.app-sidebar{display:flex;flex-direction:column;position:sticky;top:0;height:100vh;background:#243018;color:#f4efe6;padding:var(--space-5) var(--space-4)}.app-sidebar .app-brand{font-size:1.2rem;margin-bottom:var(--space-5);color:inherit}.nav-group{margin-bottom:var(--space-5)}.nav-group h2{margin:0 0 var(--space-2);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:#f4efe68c}.app-sidebar a,.app-sidebar button.nav-link{display:flex;align-items:center;gap:var(--space-3);min-height:40px;padding:0 .7rem;border-radius:var(--radius-sm);color:#f4efe6e0;text-decoration:none;border:0;background:none;width:100%;text-align:left;cursor:pointer}.app-sidebar a:hover,.app-sidebar a.active,.app-sidebar a[aria-current=page]{background:#ffffff1a;color:#fff}.nav-cta{margin:0 0 var(--space-5)}.nav-cta a{justify-content:center;background:#4d7c2a;color:#fff!important;font-weight:700}.nav-cta a:hover{background:#5a8d33}.sidebar-user{margin-top:auto;padding-top:var(--space-4);border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:var(--space-2)}.app-main{min-height:100vh;padding-bottom:var(--space-8)}}.toast-host{position:fixed;right:var(--space-4);bottom:calc(var(--tabbar-h) + var(--space-4));z-index:80;display:flex;flex-direction:column;gap:var(--space-2);width:min(360px,calc(100vw - 2rem))}@media(min-width:900px){.toast-host{bottom:var(--space-4)}}.toast{display:flex;align-items:flex-start;gap:var(--space-3);padding:.85rem 1rem;border-radius:var(--radius-md);box-shadow:var(--shadow-md);background:var(--color-surface);border:1px solid var(--color-border)}.toast-success{border-left:4px solid var(--color-success)}.toast-error{border-left:4px solid var(--color-danger)}.toast-info{border-left:4px solid var(--color-info)}.ej-dialog-overlay,.confirm-overlay{position:fixed;inset:0;z-index:70;background:#24301873;display:flex;align-items:center;justify-content:center;padding:var(--space-4)}.ej-dialog,.confirm-dialog{width:100%;max-width:480px;max-height:90vh;overflow:auto;background:var(--color-surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}.ej-dialog-header,.confirm-dialog header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--color-border)}.ej-dialog-header h2,.confirm-dialog h2{margin:0;font-size:var(--text-lg)}.ej-dialog-body,.confirm-dialog .body{padding:var(--space-5)}.ej-dialog-footer,.confirm-dialog footer{display:flex;justify-content:flex-end;gap:var(--space-2);padding:var(--space-4) var(--space-5);border-top:1px solid var(--color-border)}.ej-dialog-close{min-width:var(--tap-min);border:0;background:none;font-size:1.5rem;cursor:pointer;color:var(--color-text-muted)}.editor-section{margin-bottom:var(--space-4)}.editor-section h2{margin:0 0 var(--space-4);font-size:var(--text-lg);color:var(--color-primary-text)}.search-select{position:relative}.search-dropdown{position:absolute;top:100%;left:0;right:0;z-index:20;margin:0;padding:0;list-style:none;background:var(--color-surface);border:1px solid var(--color-border);border-radius:0 0 var(--radius-sm) var(--radius-sm);max-height:220px;overflow:auto;box-shadow:var(--shadow-md)}.search-option,.search-empty{padding:.7rem .85rem;cursor:pointer;display:flex;justify-content:space-between}.search-option:hover,.search-option.active{background:var(--color-primary-soft)}.selected-tag{display:inline-flex;align-items:center;gap:.4rem;background:var(--color-primary-soft);color:var(--color-primary-text);padding:.25rem .55rem;border-radius:999px}.upload-zone{border:2px dashed var(--color-border-strong);border-radius:var(--radius-md);padding:1.5rem;text-align:center;cursor:pointer}.upload-zone.dragover{border-color:var(--color-primary);background:var(--color-primary-soft)}.file-input{display:none}.schema-overview{margin-bottom:var(--space-4);overflow:hidden}.schema-overview-copy{padding-bottom:var(--space-3)}.schema-overview-copy p{margin:.25rem 0 0}.schema-map{position:relative;width:100%;height:360px;background:var(--color-surface-muted);overflow:hidden}.schema-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.schema-route-pin-wrap{background:none;border:none}.schema-route-pin{display:flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 .45rem;border-radius:999px;background:var(--color-primary);color:var(--color-text-inverse);font-size:.8125rem;font-weight:700;line-height:1;box-shadow:0 1px #1d360e,var(--shadow-sm)}.schema-route-pin-home{background:var(--color-surface);color:var(--color-primary-text);box-shadow:inset 0 0 0 2px var(--color-primary-text),var(--shadow-sm)}.schema-route-popup{min-width:8rem}.schema-route-popup p{margin:.2rem 0 0}.schema-route-popup-sep{margin:.55rem 0;border:0;border-top:1px solid var(--color-border)}.schema-map-stop{margin-top:.85rem;border-radius:var(--radius-md);border:1px solid var(--color-border);height:200px}.travel-chip{display:inline-flex;align-items:center;gap:.4rem;margin:.65rem 0 0;padding:.35rem .7rem;border-radius:999px;background:var(--color-primary-soft);color:var(--color-primary-text);font-size:var(--text-sm);font-weight:600}
