@font-face{font-family:'Noto Thai';src:url(NotoSansThai.ttf) format('truetype');font-weight:100 900;font-display:swap}
:root{font-family:'Noto Thai',Tahoma,sans-serif;color:#20382e;background:#eaf5ef;font-synthesis:none;--green:#096348;--muted:#73847e;--line:#dfe9e3;--shadow:0 5px 18px #2367470c}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#f5fbf8,#ebf6f1 55%,#e1f3ee);min-height:100vh}body:before{content:'';position:fixed;left:0;right:0;bottom:0;height:min(42vw,620px);z-index:0;pointer-events:none;background:url(bg-header.webp) left bottom/cover no-repeat;opacity:.9;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 55%);mask-image:linear-gradient(to bottom,transparent,#000 55%)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:white;border:1px solid #d7e4dc;border-radius:9px;color:#254a3c;padding:9px 14px;font-size:12px;font-weight:600;transition:background .15s,box-shadow .15s}button:hover{background:#eef7f1}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #73b8a0;outline-offset:3px}input,select{min-width:0}a{color:inherit}button.primary,.segmented .active{background:linear-gradient(145deg,#319a77,#07513c);color:#fff;border-color:#277c60;box-shadow:0 3px 7px #07513c1c}.primary:hover{background:#09543e}
.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.header{height:80px;display:flex;align-items:center;gap:23px;padding:12px 24px 12px 30px;background:linear-gradient(90deg,#fffffff5 0,#fbfdfbeb 42%,#eef9f7e0);border-bottom:1px solid #d9ede5;box-shadow:0 2px 14px #1f6b5010;position:relative;z-index:2;overflow:hidden}.header:before{content:'';position:absolute;z-index:-1;right:300px;bottom:0;width:min(900px,56vw);height:100%;pointer-events:none;background:url(bg-header.webp) 50% 84%/100% auto no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent,#000 32%,#000 80%,transparent);mask-image:linear-gradient(90deg,transparent,#000 32%,#000 80%,transparent)}.header:after{content:'PATTAYA';position:absolute;z-index:-1;right:calc(300px + min(900px,56vw)*.2);bottom:31px;font-size:9px;font-weight:700;letter-spacing:2.4px;color:#fff;text-shadow:0 1px 3px #1d6b4699;pointer-events:none}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#07553c;font-size:23px;font-weight:750;line-height:1.35;flex-shrink:0}.brand-logo{width:52px;height:52px;object-fit:contain}.brand small{display:block;font-size:9px;letter-spacing:1.8px;color:#55635f;font-weight:550;margin-top:4px}.header-note{border-left:1px solid #9baea4;padding-left:23px;display:flex;flex-direction:column;line-height:1.6}.header-note strong{color:#104c3b;font-size:19px;font-weight:750}.header-note>span{font-size:12px;color:#50635b}.export-actions{display:flex;gap:10px;margin-left:auto;flex-shrink:0}.export-actions button{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:40px;background-color:#ffffffde;box-shadow:0 3px 8px #1f786012}.export-actions .icon{width:19px;height:19px}.export-actions #open-help{background:#f0fbf8db;font-size:11px}
.workspace{position:relative;z-index:1;display:grid;grid-template-columns:72px 360px minmax(0,1fr);gap:14px;padding:14px 18px 10px 0;height:calc(100dvh - 136px);min-height:690px;max-width:1920px;margin:auto}.nav-rail{display:flex;flex-direction:column;align-items:center;gap:13px;padding:3px 5px;position:relative}.nav-rail>a,.nav-rail>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:66px;min-height:65px;padding:9px 3px;border:0;border-radius:12px;background:transparent;text-decoration:none;color:#5e756b;font-size:10px;font-weight:450}.nav-rail .icon{width:24px;height:24px}.nav-rail .active{background:linear-gradient(140deg,#359b7c,#06533f);color:white;box-shadow:0 5px 9px #0f694c26}.nav-rail>a:hover,.nav-rail>button:hover{background:#cfeade}.nav-rail .active:hover{background:#126c51}.rail-caption{margin-top:auto;writing-mode:vertical-rl;letter-spacing:3px;font-size:8px;color:#67a48d;line-height:1.8;padding-bottom:30px}
.sidebar{position:relative;background:#e4f5ed url(bg-sidebar.webp) 48% calc(100% + 6px)/103.6% auto no-repeat local;border:1px solid #cde5da;border-radius:18px;box-shadow:0 8px 24px #2367471a,inset 0 0 0 1px #ffffffb3;padding:14px 16px 18px;min-width:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c4d5cb transparent;scroll-behavior:smooth}.sidebar-intro{display:flex;align-items:center;gap:11px;background:linear-gradient(130deg,#ffffffd9,#f4faf6b3);border:1px solid #d9eae1;box-shadow:0 3px 10px #2a6b4f0d;border-radius:12px;padding:12px 10px;margin:-3px -7px 14px}.intro-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,#e1f4e7,#c6e8dc);color:#07805a;box-shadow:0 3px 5px #28644810}.sidebar-intro h1{font-size:18px;color:#154b35;margin:0;font-weight:750}.sidebar-intro p{font-size:11px;color:#66786e;margin:2px 0 0}.sidebar section{border-bottom:1px solid #d3e6dc;padding-bottom:12px;margin-bottom:12px}.sidebar h2{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:700;color:#223a31;margin:0 0 9px}.sidebar h2>span{background:linear-gradient(140deg,#329e77,#096346);color:white;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;font-size:12px;box-shadow:0 2px 5px #0963461f;font-weight:500}.segmented{display:flex;background:#e9f0ecd9;border-radius:9px;padding:3px;gap:3px}.segmented:before{content:'';width:42px;flex-shrink:0;background:#2c8962;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 6-2 6 2 6-2v16l-6 2-6-2-6 2Zm6-2v16m6-14v16'/%3E%3C/svg%3E") center/20px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 6-2 6 2 6-2v16l-6 2-6-2-6 2Zm6-2v16m6-14v16'/%3E%3C/svg%3E") center/20px no-repeat}.segmented button{width:50%;padding:7px 8px;border:0;background:transparent;border-radius:8px;font-size:13px}.segmented button.active{background:linear-gradient(145deg,#2e9472,#105a43);color:#fff}.mode-hint{display:flex;align-items:center;gap:7px;margin:7px 0 0;background:#e9f2eacc;border-radius:7px;padding:6px 9px;color:#5d7765;font-size:10px;line-height:1.5}.mode-hint:before{content:'';width:14px;height:14px;flex-shrink:0;background:#3c9a67;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20c4-1 9-6 14-15M8 16c-1-3 0-6 3-8'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20c4-1 9-6 14-15M8 16c-1-3 0-6 3-8'/%3E%3C/svg%3E") center/contain no-repeat}.field-label{font-size:11px}select{width:100%;height:38px;border:1px solid #d2dfd7;border-radius:8px;color:#293d33;background:#fff;padding:4px 10px;font-size:12px}.search{display:flex;align-items:center;gap:8px;border:1px solid #d2dfd7;border-radius:8px;padding:5px 10px;margin-top:8px;height:38px;background:#fff}.search .icon{width:16px;height:16px;color:#719883}.search input{border:0;outline:0!important;background:transparent;width:100%;font-size:11px}.search kbd{font-size:10px;color:#64776c;border:1px solid #dbe4df;border-radius:3px;padding:0 4px}.list-heading{display:flex;justify-content:space-between;font-size:12px;font-weight:600;margin:10px 5px 6px}.list-heading span:last-child{font-size:10px;font-weight:400;color:var(--muted)}.area-list{max-height:172px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c5d5ca transparent}.area-row{width:100%;display:flex;align-items:center;gap:10px;padding:5px 9px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:500;text-align:left;min-height:30px;background:transparent}.area-row small{margin-left:auto;color:#7e8c84;font-size:10px;font-weight:400}.area-row.selected{background:linear-gradient(100deg,#e0f2df,#bedfc8);border-color:#cce6cc;color:#173e29;font-weight:700}.area-row.selected .color-dot{background:#23895a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E") center/11px no-repeat!important;border-radius:50%;border-color:#23895a;box-shadow:0 0 0 2px #fff}.color-dot{width:14px;height:14px;border-radius:4px;border:1px solid #00000006;flex-shrink:0}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin:6px 0;color:#344a3e}.toggle-row input{appearance:none;position:relative;flex-shrink:0;width:34px;height:20px;margin:0;background:#d5ded9;border:1px solid #d5ded9;border-radius:20px;cursor:pointer;transition:background .15s}.toggle-row input:after{content:'';position:absolute;left:2px;top:2px;width:14px;height:14px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.toggle-row input:checked{background:#32936e;border-color:#32936e}.toggle-row input:checked:after{transform:translateX(14px)}.fill-toggle{background:#eef6efe6;border:1px solid #dcebe1;border-radius:8px;padding:10px;font-weight:650;margin:0 0 8px}.selection{display:flex;align-items:center;gap:10px;background:linear-gradient(110deg,#f3f9f4,#fbfcfa);border:1px solid #dfe8e0;border-radius:8px;padding:9px 11px;min-height:48px;margin:0 0 10px}.selection>.icon{color:#0c7d55;width:21px;height:21px}.selection strong{display:block;font-size:12px;color:#264333}.selection small{display:block;font-size:10px;color:#7b8980;margin-top:1px}.selection-arrow{margin-left:auto;font-size:23px;color:#27764c}.swatches{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin:0 2px 10px}.swatch{height:24px;border:1px solid #ffffff99;border-radius:6px;padding:0;box-shadow:0 1px 2px #1b4a3512}.swatch.current{outline:2px solid #287b51;outline-offset:2px}.color-summary{display:flex;align-items:center;gap:5px;border:1px solid #d6e3da;border-radius:8px;padding:5px;background:#ffffffd9}.no-color-button{display:flex;align-items:center;gap:6px;padding:4px 2px;border:0;background:transparent;font-size:10px;font-weight:500;min-width:0;flex:1;text-align:left;line-height:1.4}.no-color-button:before{content:'';width:15px;height:15px;flex-shrink:0;border:1px solid #b9d1c2;border-radius:4px;background:#fff}.no-color-button[aria-pressed=true]:before{background:linear-gradient(135deg,transparent 44%,#9bb6a5 45%,#9bb6a5 55%,transparent 56%),white}.custom-color{display:flex;align-items:center;gap:6px;padding:1px 4px;border:1px solid #dce6de;border-radius:6px;background:#fff}.custom-color label{display:none}.custom-color input{width:25px;height:25px;border:0;background:white;padding:0;cursor:pointer}.custom-color output{font:9px monospace;color:#4d6559}.text-button{font-size:10px;color:#748c7b;padding:3px 0;border:0;background:transparent;font-weight:450}.text-button:hover{color:#095c3d;text-decoration:underline;background:transparent}.hint{font-size:9px;line-height:1.6;color:#86998b;margin:4px 0 0}
.color-picker{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:10px;min-width:0;border:0;padding:0;margin:0}.color-plane{position:relative;min-height:154px;height:100%;border:5px solid white;outline:1px solid #dce6de;border-radius:9px;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent);background-clip:padding-box;touch-action:none;cursor:crosshair}.color-cursor{position:absolute;width:12px;height:12px;border:2px solid white;box-shadow:0 0 0 1px #344f3a;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.picker-controls{min-width:0}.picker-slider{display:block;font-size:10px;color:#697c70;margin:0 0 5px}.picker-slider>span{display:flex;justify-content:space-between;gap:3px}.picker-slider output{font-size:8px;font-variant-numeric:tabular-nums;color:#7b8b82}.picker-slider input{display:block;width:100%;margin:4px 0;height:8px;accent-color:#268360;cursor:pointer}.hue-slider{appearance:none;border-radius:8px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.hue-slider::-webkit-slider-thumb{appearance:none;width:10px;height:14px;border:2px solid white;border-radius:4px;background:transparent;box-shadow:0 0 0 1px #526a5b}.hue-slider::-moz-range-thumb{width:7px;height:10px;border:2px solid white;border-radius:4px;background:transparent;box-shadow:0 0 0 1px #526a5b}.picker-values{display:flex;align-items:center;gap:4px;margin-top:8px}.color-preview{width:15px;height:21px;border:1px solid #0002;border-radius:4px;flex-shrink:0}.picker-values label{display:flex;align-items:center;gap:4px;font-size:9px;min-width:0;color:#6c7e72}.picker-values input,.picker-rgb input{width:100%;min-width:0;border:1px solid #d7e2d9;background:#fff;border-radius:5px;padding:3px;font:9px monospace;color:#314d3e;height:24px}.picker-rgb{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:5px}.picker-rgb label{display:block;font-size:9px;color:#708376}.picker-rgb input{display:block;appearance:textfield}.picker-rgb input::-webkit-inner-spin-button{appearance:none}.picker-error{font-size:9px;color:#b34837;margin:5px 0 0}.color-picker input[aria-invalid=true]{border-color:#b34837}.color-picker:disabled{opacity:.45}.color-picker:disabled .color-plane{cursor:not-allowed}.detail-section>.text-button{margin-top:6px}.sidebar-footer{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#6f8a7b;font-size:9px;background:#ffffffc7;border-radius:9px;padding:6px 10px}.display-section{scroll-margin-top:15px}.label-switch{position:absolute;bottom:42px;left:14px;z-index:2;display:flex;align-items:center;gap:4px;padding:4px;background:#ffffffeb;border:1px solid #d5e7dc;border-radius:999px;box-shadow:0 6px 18px #1f5a4217;backdrop-filter:blur(4px)}.label-switch-title{display:flex;align-items:center;gap:6px;padding:0 8px 0 7px;font-size:12px;font-weight:650;color:#2f5f4a;white-space:nowrap}.label-switch-title .icon{width:17px;height:17px;color:#2a8a5e}.label-switch button{display:flex;align-items:center;gap:7px;border:1px solid transparent;border-radius:999px;padding:6px 14px 6px 9px;font-size:12.5px;font-weight:600;background:#f1f6f3;color:#47685a;box-shadow:none}.label-switch button:hover{background:#e3f1e9}.label-switch button:before{content:'';width:15px;height:15px;flex-shrink:0;border-radius:5px;border:1.5px solid #a5c4b3;background:#fff;box-sizing:border-box}.label-switch button[aria-pressed=true]{background:linear-gradient(145deg,#2e9472,#105a43);border-color:#1c7155;color:#fff;box-shadow:0 3px 8px #0f5a4226}.label-switch button[aria-pressed=true]:before{border-color:#fff;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2316704f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E") center/11px no-repeat}.label-count:not(:empty):before{content:'·';margin:0 7px}.label-count{font-weight:600;color:#3d7a5d}.legend-toggle{margin-left:auto;align-self:flex-start;display:flex;align-items:center;gap:5px;padding:5px 9px 5px 12px;border-radius:999px;font-size:11.5px;font-weight:600;color:#2a6a4f;background:#f1f8f3;border:1px solid #d3e7da;flex-shrink:0}.legend-toggle:hover{background:#e2f1e8}.legend-toggle .icon{width:17px;height:17px;transition:transform .2s}.legend.collapsed .legend-toggle .icon{transform:rotate(180deg)}.legend.collapsed .legend-items,.legend.collapsed .legend-title small{display:none}.legend.collapsed{padding-top:10px;padding-bottom:10px}.legend.collapsed .legend-title{margin-bottom:0;align-items:center}.legend.collapsed .legend-toggle{align-self:center}.site-footer{position:relative;z-index:1;max-width:1920px;margin:auto;padding:6px 16px 10px;text-align:center;color:#0f4f3c;line-height:1.55;text-shadow:0 1px 2px #ffffffd9,0 0 8px #ffffffb3}.site-footer p{margin:0;font-size:12px;font-weight:600}.site-footer-sep{margin:0 6px;color:#3c8f72}.site-footer .site-footer-en{font-size:10.5px;font-weight:500;letter-spacing:.6px;color:#27654f}.sidebar .display-section{position:relative;background:#ffffffd1;border:1px solid #d8e9df;border-radius:12px;padding:12px 12px 10px;box-shadow:0 4px 14px #2a6b4f0f;backdrop-filter:blur(2px)}
.map-panel{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid #cfe5db;border-radius:20px;background:#fbfaf7 url(bg-map.webp) 52.2% 50.3%/105% 115.2% no-repeat;box-shadow:0 10px 30px #2367471a,inset 0 0 0 1px #ffffffc0;padding:25px 21px 15px;overflow:hidden;position:relative}.map-heading{display:flex;align-items:center;gap:14px;flex-shrink:0}.map-emblem{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f3fbf4,#d9efdf);color:#4fa774;flex-shrink:0;box-shadow:0 4px 12px #2b7a5418,inset 0 0 0 1px #ffffffc0}.map-emblem .icon{width:31px;height:31px;stroke-width:2}.eyebrow{font-size:11px;letter-spacing:1.4px;font-weight:600;color:#4d7466}.map-heading h2{margin:1px 0 0;font-size:39px;line-height:1.45;letter-spacing:-1px;font-weight:750;color:#095a3d}.map-heading p{font-size:12px;color:#7a867e;margin:0}.map-badge{margin-left:auto;display:flex;align-items:center;gap:7px;align-self:flex-start;background:#e6f5e8e6;border:1px solid #cfe8d5;border-radius:20px;color:#1f6a3a;white-space:nowrap;font-size:11px;font-weight:600;padding:6px 13px 6px 7px;margin-top:14px;box-shadow:0 2px 6px #2b7a540f}.status-dot{width:17px;height:17px;border-radius:50%;background:#2a9358 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5'/%3E%3C/svg%3E") center/11px no-repeat;display:inline-block}.map-stage{position:relative;flex:1;min-height:310px;overflow:hidden;margin:2px -12px 0}#map{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}.north{position:absolute;top:18px;right:20px;display:flex;flex-direction:column;align-items:center;color:#22694c;pointer-events:none}.north b{font:600 11px Arial;color:#58665d}.north span{font-size:35px;line-height:1.3}.map-tools{position:absolute;right:18px;bottom:65px;display:flex;flex-direction:column;background:#fff;box-shadow:0 6px 16px #20463724;border-radius:12px;overflow:hidden}.map-tools button{border:0;border-radius:0;width:38px;height:37px;padding:0;font-size:25px;border-bottom:1px solid #edf1ed;color:#2f4541}.map-tools button:last-child{border-bottom:0}.map-help{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);font-size:9px;white-space:nowrap;background:#ffffffb3;padding:4px 10px;border-radius:15px;color:#85988b;pointer-events:none}.map-help span{margin:0 7px}.legend{flex-shrink:0;border:1px solid #dfeae3;border-radius:14px;background:#ffffffe6;box-shadow:0 6px 18px #2b5b3c10;padding:15px 16px;margin-top:5px}.legend-title{display:flex;gap:11px;align-items:center;margin-bottom:13px}.legend-title>.icon{color:#158452;width:25px;height:25px}.legend-title strong{font-size:15px;color:#30493b}.legend-title strong>span{font-size:10px;color:#7d9282;font-weight:400;margin-left:6px}.legend-title small{display:block;font-size:10px;color:#8b998e;margin-top:2px}.legend-items{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px 8px;max-height:112px;overflow:auto;padding:3px;scrollbar-width:thin}.legend-item{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid transparent;border-radius:8px;background:transparent;padding:4px 5px;font-size:11px;font-weight:500;text-align:left;white-space:nowrap}.legend-item>span:last-child{overflow:hidden;text-overflow:ellipsis}.legend-item .color-dot{width:29px;height:19px;border-radius:6px;box-shadow:inset 0 3px 5px #ffffff50}.legend-item.selected{border-color:#5f9d6c;background:#f6fbe9;box-shadow:0 0 0 2px #e3f1df;color:#07522e;font-weight:700}.map-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:9px;color:#8a9a8f;margin-top:15px;padding:0 6px;flex-shrink:0}.map-footer a{text-underline-offset:2px}.footer-dot{margin:0 7px}#tooltip{position:absolute;z-index:3;pointer-events:none;background:#164d3ceF;color:white;padding:8px 11px;font-size:11px;border-radius:8px;box-shadow:var(--shadow)}.loading{position:absolute;inset:0;background:#f6fbf7;display:grid;place-content:center;font-size:13px;color:#64806d}.empty{font-size:11px;color:#83998b;text-align:center;padding:15px}.no-fill-mark{background:linear-gradient(135deg,transparent 45%,#9bb5a4 46%,#9bb5a4 54%,transparent 55%),white!important;border:1px solid #b9cbbf}
[hidden]{display:none!important}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#175a40;color:#fff;border-radius:10px;padding:13px 22px;font-size:12px;box-shadow:0 5px 24px #17422a30;z-index:20;max-width:90vw}.download-result{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;background:#175a40;color:white;padding:12px 18px;border-radius:9px;max-width:94vw;z-index:20;font-size:12px;box-shadow:var(--shadow)}.download-result a{overflow-wrap:anywhere}.download-result button{border:0;color:white;background:transparent;padding:0 4px;font-size:22px}dialog{max-width:min(480px,90vw);border:1px solid #cce4d4;border-radius:18px;padding:26px;color:#2d4c3b;box-shadow:0 20px 80px #163e3533}dialog::backdrop{background:#173f3455;backdrop-filter:blur(3px)}dialog h2{font-size:19px;margin:0 0 13px}dialog p,dialog li{font-size:12px;line-height:1.9;color:#718377}dialog ol{padding-left:20px}dialog li{margin:8px 0}dialog>div,dialog form{display:flex;justify-content:flex-end;gap:10px;margin:20px 0 0}
@media(min-width:1600px){.workspace{grid-template-columns:78px 380px minmax(0,1fr);gap:18px;padding-right:24px}.map-panel{padding:28px 30px 18px}.map-heading h2{font-size:43px}.legend-items{grid-template-columns:repeat(6,minmax(0,1fr))}.legend-item{font-size:12px}.legend-item .color-dot{width:34px;height:22px}.area-list{max-height:190px}}
@media(min-height:1050px) and (min-width:1000px){.workspace{min-height:1100px}.sidebar{padding-top:15px}.sidebar section{margin-bottom:14px;padding-bottom:14px}.area-list{max-height:181px}.area-row{min-height:29px}.color-plane{min-height:165px}.map-stage{min-height:550px}}
@media(max-width:1150px){.header-note{display:none}.header:before{right:240px}.header:after{display:none}.header{background-position:55% bottom}.workspace{grid-template-columns:64px 310px minmax(0,1fr);gap:10px;padding-right:12px}.nav-rail>a,.nav-rail>button{width:58px}.sidebar{padding:12px}.map-panel{padding:20px 16px 14px}.map-heading{gap:10px;flex-wrap:wrap}.map-heading h2{font-size:31px}.map-emblem{width:48px;height:52px}.map-badge{margin:0 0 0 auto}.map-heading p{font-size:10px}.legend-items{grid-template-columns:repeat(3,minmax(0,1fr))}.legend{padding:12px}.legend-title strong>span{display:none}.map-footer{flex-wrap:wrap;font-size:7px}.color-picker{gap:8px}.sidebar-intro h1{font-size:15px}}
@media(max-width:800px){.header{height:auto;min-height:78px;padding:12px 16px;gap:12px;flex-wrap:wrap}.header:before{right:0;width:100%;opacity:.55}.brand{font-size:20px}.brand-logo{width:44px;height:44px}.export-actions{gap:6px}.export-actions button{padding:7px 10px;font-size:10px;min-height:35px}.export-actions #open-help span{display:none}.workspace{height:auto;min-height:0;grid-template-columns:60px minmax(0,1fr);padding:12px 12px 20px 0;gap:12px}.nav-rail{grid-column:1;grid-row:1 / 3}.nav-rail>a,.nav-rail>button{width:54px;font-size:9px}.sidebar{grid-column:2;grid-row:2;overflow:visible}.map-panel{grid-column:2;grid-row:1;min-height:680px}.map-stage{min-height:410px}.map-heading{flex-wrap:nowrap}.map-badge{display:none}.legend-items{grid-template-columns:repeat(4,minmax(0,1fr));max-height:150px}.color-picker{grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:480px;gap:16px}.color-plane{min-height:200px}.picker-slider{font-size:11px;margin:0 0 10px}.picker-values input,.picker-rgb input{height:30px;font-size:11px}.picker-rgb label{font-size:10px}.area-list{max-height:200px}.swatches{max-width:480px;gap:7px}.swatch{height:30px}.color-summary{max-width:480px}.sidebar h2{font-size:14px}.area-row,.toggle-row{font-size:12px}.hint{font-size:10px}.rail-caption{display:none}.sidebar-footer{font-size:10px}.map-heading h2{font-size:30px}.sidebar-intro h1{font-size:18px}}
@media(max-width:520px){.header{padding:10px 13px}.label-switch{left:8px;bottom:36px}.label-switch-title span{display:none}.label-switch button{padding:5px 10px 5px 7px;font-size:11.5px}.label-count{display:none}.site-footer p{font-size:11px}.site-footer-sep{display:block;height:0;overflow:hidden}.brand{font-size:18px}.brand small{font-size:8px;letter-spacing:1.1px}.export-actions{width:100%;margin-left:0}.export-actions button{flex:1}.export-actions #open-help span{display:inline}.workspace{grid-template-columns:1fr;padding:0 10px 20px;gap:10px}.nav-rail{position:sticky;top:0;z-index:5;grid-column:1;grid-row:1;flex-direction:row;justify-content:space-around;padding:5px 0;background:#eaf6eff5;border-radius:0 0 12px 12px;gap:2px}.nav-rail>a,.nav-rail>button{min-height:48px;gap:3px;width:19%;padding:5px 0;font-size:8px;border-radius:8px}.nav-rail .icon{width:19px;height:19px}.map-panel{grid-column:1;grid-row:2;min-height:590px;padding:17px 12px 12px}.sidebar{grid-column:1;grid-row:3}.map-heading h2{font-size:29px}.map-heading .eyebrow{font-size:9px}.map-emblem{width:43px;height:48px}.map-stage{min-height:350px}.legend-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.legend-item{font-size:9px;gap:5px}.legend-item .color-dot{width:22px;height:17px}.legend-title strong{font-size:12px}.legend-title small{font-size:8px}.map-tools{right:7px;bottom:45px}.map-tools button{width:32px;height:32px}.north{right:10px;top:8px}.color-plane{min-height:180px}dialog{padding:20px}.download-result{font-size:10px;gap:7px}}
dialog.manual{width:min(1080px,94vw);max-width:none;height:min(800px,90dvh);max-height:none;padding:0;border:0;border-radius:24px;overflow:hidden;background:#fbfdfb;color:#20382e;box-shadow:0 30px 90px #0f3a2c4d}dialog.manual[open]{animation:manual-in .22s ease-out}@keyframes manual-in{from{opacity:0;transform:translateY(12px) scale(.985)}}dialog.manual>.manual-shell{display:grid;grid-template:auto minmax(0,1fr) auto/236px minmax(0,1fr);gap:0;height:100%;margin:0}
.manual-head{grid-column:1/-1;display:flex;align-items:center;gap:16px;padding:22px 26px;background:linear-gradient(90deg,#eef8f2 42%,#eef8f2d9 62%,#eef8f200 100%),url(bg-header.webp) right 80%/62% auto no-repeat,#e6f4ec;border-bottom:1px solid #dcebe2}.manual-badge{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#2a9a72,#07513c);box-shadow:0 8px 18px #07513c33;flex-shrink:0}.manual-badge .icon{width:27px;height:27px}.manual-heading{min-width:0;flex:1}.manual-heading small{display:block;font-size:10px;letter-spacing:.14em;color:#2f8466;font-weight:700}dialog.manual .manual-heading h2{font-size:22px;margin:2px 0;color:#0f4a34}dialog.manual .manual-heading p{margin:0;font-size:12.5px;line-height:1.5;color:#4f6d5f}
.manual-head button{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cfe3d7;background:#ffffffeb;color:#1d6a4c;border-radius:999px;font:inherit;font-size:12px;font-weight:600;padding:8px 15px;box-shadow:0 3px 10px #1f6e4c14;flex-shrink:0}.manual-head button:hover{background:#fff;border-color:#9fcdb4}.manual-head button .icon{width:17px;height:17px}.manual-head .manual-close{width:40px;height:40px;padding:0}.manual-head .manual-link.copied{background:#096348;border-color:#096348;color:#fff}
.manual-nav{display:flex;flex-direction:column;gap:3px;padding:18px 12px;background:#f2f8f4;border-right:1px solid #e1ede6;overflow:auto;min-height:0}.manual-nav a{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:12px;color:#40614f;font-size:13px;font-weight:500;text-decoration:none;transition:background .15s,color .15s}.manual-nav a .icon{width:19px;height:19px;color:#5f9a7f}.manual-nav a:hover{background:#e3f2e9;color:#0f4a34}.manual-nav a.active{background:#fff;color:#0b5a40;font-weight:700;box-shadow:0 3px 10px #1f6e4c17,inset 3px 0 0 #1f8a62}.manual-nav a.active .icon{color:#0f7a52}
.manual-body{overflow:auto;min-height:0;padding:6px 34px 30px;outline:0}.manual-section{padding:22px 0 22px;border-bottom:1px dashed #d8e7de}.manual-section:last-child{border-bottom:0}.manual-section h3{display:flex;align-items:center;flex-wrap:wrap;gap:11px;font-size:18px;color:#0f4a34;margin:0 0 14px}.manual-ico{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e1f2e8;color:#0f7a52}.manual-ico .icon{width:21px;height:21px}dialog.manual em{font-style:normal;font-weight:600;color:#0f6a49}dialog.manual .manual-ref{font-size:11px;color:#2a7c5b;background:#eef7f1;border:1px solid #d3e7da;border-radius:999px;padding:2px 10px}dialog.manual .manual-lead{margin:-6px 0 14px;font-size:13px;color:#557466}
dialog.manual .manual-steps{list-style:none;padding:0;margin:0 0 16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;counter-reset:step}dialog.manual .manual-steps li{counter-increment:step;position:relative;margin:0;padding:16px 14px 14px;border-radius:16px;background:#fff;border:1px solid #e0ece5;box-shadow:0 4px 14px #1f6e4c0d;display:flex;flex-direction:column;gap:3px;color:#20382e}.manual-steps li:before{content:counter(step);position:absolute;top:12px;right:12px;width:22px;height:22px;border-radius:50%;background:#096348;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center}.manual-steps li:not(:last-child):after{content:'';position:absolute;right:-12px;top:50%;width:7px;height:7px;border-top:2px solid #94c5ac;border-right:2px solid #94c5ac;transform:translateY(-50%) rotate(45deg)}.step-ico{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#e8f6ee,#d0eadc);color:#0f7a52;margin-bottom:7px}.manual-steps b{font-size:14px;color:#0f4a34}.manual-steps small{font-size:11.5px;line-height:1.6;color:#5f786b}
.manual-layout{display:grid;grid-template:auto 1fr/64px 1fr 1.6fr;gap:8px;padding:12px;border-radius:18px;background:linear-gradient(160deg,#f3faf6,#e5f2ea);border:1px solid #dcebe2;min-height:180px}.manual-layout>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:11px 13px;border-radius:12px;background:#fff;border:1px solid #dfece4;font-size:12.5px;font-weight:700;color:#1d5a42}.manual-layout small{font-weight:400;font-size:11px;color:#617d6f;line-height:1.55}.manual-layout .icon{width:18px;height:18px;color:#1f8a62}.manual-layout .ml-head{grid-column:1/-1;flex-direction:row;align-items:center;gap:8px}.manual-layout .ml-rail{align-items:center;justify-content:center;text-align:center;font-size:10.5px;padding:10px 4px}.manual-layout .ml-map{background:linear-gradient(#ffffffd9,#ffffffb3),url(bg-map.webp) center/cover}
dialog.manual .manual-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}dialog.manual .manual-list li{display:flex;gap:12px;align-items:flex-start;margin:0;padding:11px 14px;border-radius:13px;background:#fff;border:1px solid #e5efe9;font-size:12.5px;line-height:1.7;color:#4f6a5c}.manual-list li>.icon{width:20px;height:20px;color:#1f8a62;margin-top:3px}.manual-list b{display:block;font-size:13px;color:#173f30}dialog.manual .manual-tip{display:flex;gap:10px;align-items:flex-start;margin:12px 0 0;padding:11px 14px;border-radius:13px;background:#fff8e7;border:1px solid #f1e0b0;color:#6b5a26;font-size:12.5px;line-height:1.7}.manual-tip .icon{width:19px;height:19px;color:#c58b12;margin-top:2px}dialog.manual .chip{display:inline-block;padding:0 9px;border-radius:999px;background:#eaf6ef;border:1px solid #cfe5d8;color:#0f6a49;font-size:11.5px;font-weight:600;line-height:1.75}dialog.manual kbd{display:inline-block;min-width:24px;text-align:center;font-family:inherit;font-size:11.5px;font-weight:700;color:#21483a;background:#fff;border:1px solid #cfdcd4;border-bottom-width:3px;border-radius:7px;padding:1px 7px;line-height:1.5}
.manual-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 10px}.manual-cards>div{display:flex;flex-direction:column;gap:3px;padding:16px;border-radius:16px;background:linear-gradient(160deg,#fff,#f3faf6);border:1px solid #e0ece5}.manual-cards b{font-size:14px;color:#0f4a34;margin-top:8px}.manual-cards small{font-size:12px;line-height:1.6;color:#5f786b}.swatch-row{display:flex;gap:6px}.swatch-row i{width:28px;height:28px;border-radius:9px;border:2px solid #fff;box-shadow:0 1px 5px #1f6e4c2e}.picker-demo{height:28px;border-radius:9px;background:linear-gradient(90deg,#f87171,#fbbf24,#86d39b,#67c3ee,#9a8cf3,#f08cc8);box-shadow:inset 0 0 0 2px #fff,0 1px 5px #1f6e4c2e}.file-badge{align-self:flex-start;font-size:12px;font-weight:800;letter-spacing:.06em;color:#fff;padding:5px 12px;border-radius:9px}.file-badge.png{background:linear-gradient(145deg,#38a3d6,#1f6fa6)}.file-badge.pdf{background:linear-gradient(145deg,#e66a57,#b83b2d)}
.manual-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.manual-keys>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:16px 10px;border-radius:16px;background:#fff;border:1px solid #e0ece5}.key-ico{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#e4f4ea;color:#0f7a52;font-size:17px;font-weight:700;margin-bottom:7px}.manual-keys b{font-size:13px;color:#0f4a34}.manual-keys small{font-size:11.5px;color:#6a8577}.manual-shortcuts{margin:0;display:grid;gap:8px}.manual-shortcuts>div{display:flex;align-items:center;gap:14px;padding:10px 14px;border-radius:13px;background:#fff;border:1px solid #e5efe9}.manual-shortcuts dt{min-width:52px}.manual-shortcuts dd{margin:0;font-size:12.5px;color:#4f6a5c}dialog.manual .manual-note{margin:14px 0 0;font-size:11.5px;line-height:1.7;color:#7a8d83}
.manual-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 26px;border-top:1px solid #e1ede6;background:#f6fbf8}.manual-foot span{display:flex;align-items:center;gap:8px;font-size:12px;color:#5f786b}.manual-foot .icon{width:17px;height:17px;color:#1f8a62}.manual-foot .primary{padding:10px 26px;border-radius:999px;font-size:13px}
@media (max-width:860px){dialog.manual>.manual-shell{grid-template:auto auto minmax(0,1fr) auto/minmax(0,1fr)}.manual-nav{flex-direction:row;overflow-x:auto;padding:10px 12px;border-right:0;border-bottom:1px solid #e1ede6;scrollbar-width:none}.manual-nav a{flex-shrink:0;padding:8px 12px;font-size:12px;white-space:nowrap}.manual-nav a.active{box-shadow:0 3px 10px #1f6e4c17,inset 0 -3px 0 #1f8a62}.manual-body{padding:4px 22px 24px}dialog.manual .manual-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-steps li:nth-child(2):after{display:none}.manual-keys{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){dialog.manual{width:100vw;height:100dvh;border-radius:0}.manual-head{padding:14px;gap:10px;background-size:auto,130% auto,auto}.manual-badge{width:42px;height:42px;border-radius:13px}.manual-badge .icon{width:22px;height:22px}.manual-heading small{display:none}dialog.manual .manual-heading h2{font-size:17px}dialog.manual .manual-heading p{font-size:11.5px}.manual-head .manual-link{width:40px;height:40px;padding:0}.manual-head .manual-link span{display:none}.manual-body{padding:0 14px 18px}.manual-section h3{font-size:16px}dialog.manual .manual-steps{gap:10px}.manual-cards{grid-template-columns:minmax(0,1fr)}.manual-layout{grid-template:auto auto auto/minmax(0,1fr)}.manual-layout .ml-rail{display:none}.manual-foot{padding:12px 14px}.manual-foot span{display:none}.manual-foot .primary{width:100%}}
.site-footer{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px 16px}.site-footer-credit{grid-column:2}.usage-strip{grid-column:1;justify-self:start;display:flex;align-items:center;padding:4px 4px 4px 2px;border-radius:999px;background:#ffffffc2;border:1px solid #ffffffeb;backdrop-filter:blur(8px);box-shadow:0 4px 14px #0f4a3414;color:#2a5a47;font-size:11.5px;font-weight:500;text-shadow:none}.usage-strip[hidden]{display:none}.usage-strip:hover{background:#fff;box-shadow:0 6px 18px #0f4a3421}.usage-strip>span{display:flex;align-items:center;gap:5px;padding:2px 11px;border-right:1px solid #d3e6da;white-space:nowrap}.usage-strip>span:nth-last-child(2){border-right:0}.usage-strip b{font-size:13px;font-weight:700;color:#0b5a40;font-variant-numeric:tabular-nums}.usage-strip .icon{width:16px;height:16px;color:#1f8a62}.usage-strip .usage-more{width:28px;height:28px;padding:0;justify-content:center;border-radius:50%;background:linear-gradient(145deg,#2a9a72,#07513c)}.usage-strip .usage-more .icon{width:15px;height:15px;color:#fff}
dialog.manual.stats{width:min(880px,94vw);height:fit-content;max-height:92dvh}dialog.stats>.stats-shell{display:flex;flex-direction:column;justify-content:flex-start;gap:0;max-height:92dvh;margin:0}.stats-body{overflow:auto;min-height:0;padding:22px 26px 24px;display:grid;gap:16px}.manual-head .manual-link.spin .icon{animation:stats-spin .8s linear infinite}@keyframes stats-spin{to{transform:rotate(360deg)}}
.stat-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stat-tile{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-content:center;padding:16px 18px;border-radius:18px;background:linear-gradient(160deg,#fff,#f2f9f5);border:1px solid #e0ece5;box-shadow:0 4px 14px #1f6e4c0d}.stat-ico{grid-row:1/4;align-self:center;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#e1f2e8;color:#0f7a52}.stat-tile small{font-size:12px;color:#5f786b}.stat-tile b{font-size:30px;line-height:1.25;color:#0f4a34;font-weight:700;font-variant-numeric:tabular-nums}.stat-sub{font-size:11.5px;color:#4f6d5f}
.stats-chart-card{padding:18px 20px 14px;border-radius:18px;background:#fff;border:1px solid #e0ece5}.stats-chart-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin-bottom:16px}.stats-chart-head h3{margin:0;font-size:15px;color:#0f4a34}.stats-chart-head h3 small{margin-left:6px;font-size:12px;font-weight:500;color:#6a8577}#stats-range{font-size:11.5px;color:#6a8577}.sc-plot{position:relative;height:190px;margin-left:36px}.sc-grid span{position:absolute;left:0;right:0;border-top:1px solid #edf3ef}.sc-grid span:first-child{border-top-color:#c4d6cb}.sc-grid i{position:absolute;right:calc(100% + 8px);top:-8px;font-style:normal;font-size:10.5px;color:#7a8d83;font-variant-numeric:tabular-nums}.sc-cols{position:absolute;inset:0;display:flex;gap:2px}.sc-cols .sc-col{flex:1;min-width:0;height:100%;display:flex;align-items:flex-end;justify-content:center;padding:0;border:0;border-radius:6px 6px 0 0;background:transparent;box-shadow:none;cursor:default}.sc-cols .sc-col:hover,.sc-cols .sc-col.hover{background:#eff7f2}.sc-bar{display:block;width:min(68%,30px);border-radius:4px 4px 0 0;background:#3a9f78}.sc-col.today .sc-bar{background:#0b5a40}.sc-x{display:flex;gap:2px;margin:7px 0 0 36px}.sc-x span{flex:1;min-width:0;text-align:center;font-size:10.5px;color:#7a8d83;white-space:nowrap}.sc-x .today{font-weight:700;color:#0b5a40}
.sc-tip{position:absolute;top:0;z-index:2;min-width:200px;display:grid;gap:3px;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #d7e6dd;box-shadow:0 10px 24px #0f3a2c26;font-size:11.5px;color:#4f6a5c;pointer-events:none}.sc-tip[hidden]{display:none}.sc-tip strong{margin-bottom:2px;font-size:12px;color:#173f30}.sc-tip span{display:flex;align-items:center;gap:6px}.sc-tip b{margin-left:auto;padding-left:12px;color:#173f30;font-variant-numeric:tabular-nums}.tip-swatch{width:10px;height:10px;border-radius:3px;background:#3a9f78}
.stats-table{margin-top:12px;padding-top:10px;border-top:1px dashed #d8e7de}.stats-table summary{display:inline-flex;align-items:center;gap:7px;cursor:pointer;font-size:12px;font-weight:600;color:#1d6a4c}.stats-table summary .icon{width:16px;height:16px}.stats-table table{width:100%;margin-top:10px;border-collapse:collapse;font-size:12px}.stats-table th{padding:6px 8px;border-bottom:1px solid #dcebe2;text-align:right;font-weight:600;color:#5f786b}.stats-table td{padding:6px 8px;border-bottom:1px solid #eef4f0;text-align:right;color:#2d4c3b;font-variant-numeric:tabular-nums}.stats-table th:first-child,.stats-table td:first-child{text-align:left}dialog.manual .stats-note{margin:0}.stats-note b{color:#5a4a16}
@media (max-width:1150px){.site-footer{grid-template-columns:minmax(0,1fr)}.usage-strip,.site-footer-credit{grid-column:1;justify-self:center}}
@media (max-width:640px){.stat-tiles{grid-template-columns:minmax(0,1fr)}.stat-tile{padding:12px 14px}.stat-tile b{font-size:24px}.stat-ico{width:40px;height:40px}}
@media (max-width:560px){dialog.manual.stats{height:100dvh;max-height:none}dialog.stats>.stats-shell{max-height:100dvh;height:100%}.stats-body{padding:14px}.stats-chart-card{padding:14px 12px 12px}.sc-plot{height:160px;margin-left:28px}.sc-x{margin-left:28px}.sc-x span{font-size:9px}}
@media (max-width:520px){.nav-rail>a,.nav-rail>button{width:16%}.usage-strip{font-size:10.5px}.usage-strip>span{padding:2px 8px}.usage-strip>span:not(.usage-more)>.icon,.usage-unit{display:none}.usage-strip b{font-size:12px}}
.usage-unit{font-style:normal;margin-left:3px;color:#557466}
@media (min-width:1151px) and (max-width:1450px){.usage-strip>span:not(.usage-more)>.icon{display:none}}
dialog.manual.work{width:min(760px,94vw);height:fit-content;max-height:92dvh}dialog.work>.work-shell{display:flex;flex-direction:column;justify-content:flex-start;gap:0;max-height:92dvh;margin:0}.work-body{overflow:auto;min-height:0;padding:22px 26px 22px;display:grid;gap:16px}.work-pick{display:grid;gap:14px}.work-pick[hidden],.work-result[hidden]{display:none}
.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:190px;padding:22px;border:2px dashed #a9d0bb;border-radius:20px;background:linear-gradient(160deg,#f6fcf8,#eaf6ef);text-align:center;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}.dropzone:hover,.dropzone.over{border-color:#1f8a62;background:linear-gradient(160deg,#eefaf3,#dcf1e5)}.dropzone.over{transform:scale(1.01)}.dropzone b{font-size:16px;color:#0f4a34}.dropzone small{font-size:12px;color:#557466;line-height:1.6}.dropzone u{color:#0f6a49;font-weight:600}.drop-ico{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#2a9a72,#07513c);box-shadow:0 8px 18px #07513c33;margin-bottom:6px}.drop-ico .icon{width:28px;height:28px}
.work-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.work-steps li{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:14px;background:#fff;border:1px solid #e3eee8}.work-steps .step-ico{width:36px;height:36px;border-radius:11px;margin:0;flex-shrink:0}.work-steps .step-ico .icon{width:19px;height:19px}.work-steps b{display:block;font-size:12.5px;color:#0f4a34}.work-steps small{font-size:11px;line-height:1.55;color:#5f786b}
.work-result{display:grid;gap:12px}.work-card{display:flex;gap:14px;align-items:flex-start;padding:18px;border-radius:18px;border:1px solid #cfe5d8;background:linear-gradient(160deg,#fff,#f0f9f4)}.work-card.error{border-color:#f1c9c2;background:linear-gradient(160deg,#fff,#fdf1ee)}.work-card-ico{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;flex-shrink:0;background:#dff2e7;color:#0f7a52}.work-card.error .work-card-ico{background:#fbe1dc;color:#b6412f}.work-card b{display:block;font-size:15px;color:#0f4a34}.work-card.error b{color:#8f2f21}dialog.manual .work-card p{margin:4px 0 6px;font-size:12.5px;line-height:1.65;color:#6b4a43}.work-card small{display:block;font-size:11.5px;color:#7a8d83;word-break:break-all}.work-facts{margin:12px 0 0;display:grid;gap:6px}.work-facts div{display:flex;gap:12px;font-size:12.5px}.work-facts dt{min-width:96px;color:#6a8577}.work-facts dd{margin:0;color:#173f30;font-weight:600}.work-swatches{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.work-swatches i{width:20px;height:20px;border-radius:6px;border:2px solid #fff;box-shadow:0 1px 4px #1f6e4c2e}
dialog.manual .work-replace{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;color:#557466}.work-replace .icon{width:16px;height:16px;color:#1f8a62}.work-actions{display:flex;justify-content:flex-end;gap:10px}.work-actions button{padding:10px 20px;border-radius:999px;font-size:13px}
.work-warning{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:16px;background:#fff6e3;border:1px solid #f0d9a0}.work-warning-ico{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex-shrink:0;background:#fde8b8;color:#a86a00}.work-warning-ico .icon{width:19px;height:19px}.work-warning b{display:block;font-size:13px;color:#6b4a00}dialog.manual .work-warning p{margin:4px 0 6px;font-size:12px;line-height:1.65;color:#6b5a26}dialog.manual .work-warning ul{margin:0;padding-left:18px}dialog.manual .work-warning li{margin:2px 0;font-size:12px;line-height:1.6;color:#6b5a26}
.work-foot{flex-wrap:wrap}.work-backup{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.work-backup button{display:inline-flex;align-items:center;gap:7px;border-radius:999px;font-size:12px}.work-backup .icon{width:16px;height:16px;color:#1f8a62}.manual-foot .work-backup span{font-size:11.5px;color:#0f6a49;word-break:break-all}.work-foot>button{border-radius:999px;padding:9px 22px}
.manual-warn{display:flex;gap:10px;align-items:flex-start;margin:12px 0 0;padding:12px 14px;border-radius:13px;background:#fdf0ec;border:1px solid #f1cdc4;color:#7a3a2c;font-size:12.5px;line-height:1.7}.manual-warn .icon{width:20px;height:20px;color:#c0452f;margin-top:2px;flex-shrink:0}.manual-warn b{display:block;color:#8f2f21}
.work-banner{position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:10px;max-width:calc(100% - 120px);padding:6px 6px 6px 12px;border-radius:999px;background:#ffffffeb;border:1px solid #cfe3d7;box-shadow:0 6px 18px #0f4a3421;backdrop-filter:blur(6px);font-size:12px;color:#2a5a47}.work-banner[hidden]{display:none}.work-banner>.icon{width:18px;height:18px;color:#1f8a62;flex-shrink:0}.work-banner span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-banner b{color:#0b5a40}.work-banner button{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:999px;font-size:11.5px;flex-shrink:0}.work-banner button .icon{width:14px;height:14px}.work-banner .work-banner-close{width:28px;height:28px;padding:0;justify-content:center}
.drop-overlay{position:fixed;inset:0;z-index:30;display:grid;place-items:center;background:#0f3a2c59;backdrop-filter:blur(3px);pointer-events:none}.drop-overlay[hidden]{display:none}.drop-overlay>div{display:flex;flex-direction:column;align-items:center;gap:10px;padding:34px 48px;border-radius:24px;border:2px dashed #7cc4a2;background:#ffffffeb;color:#0f4a34;font-size:16px;font-weight:700;box-shadow:0 20px 60px #0f3a2c40}.drop-overlay small{font-size:12px;font-weight:500;color:#557466}
.download-result .dl-text{display:flex;flex-direction:column;gap:1px;min-width:0}.download-result .dl-text small{font-size:10.5px;opacity:.85;line-height:1.4}
@media (max-width:640px){.work-steps{grid-template-columns:minmax(0,1fr)}.work-banner{max-width:calc(100% - 24px);top:8px}.work-banner span{font-size:11px}}
@media (max-width:560px){dialog.manual.work{height:100dvh;max-height:none}dialog.work>.work-shell{max-height:100dvh;height:100%}.work-body{padding:14px}.dropzone{min-height:150px}.work-actions{flex-direction:column-reverse}.work-actions button{width:100%}.download-result .dl-text small{display:none}}
@media (max-width:520px){.export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}.export-actions button{min-width:0}}
.work-backup-card{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border-radius:16px;background:linear-gradient(160deg,#fff,#f1f8fb);border:1px solid #d5e6ef}.work-backup-ico{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;background:#dcecf5;color:#1f6f96}.work-backup-ico .icon{width:21px;height:21px}.work-backup-text{min-width:0;flex:1}.work-backup-text>b{display:block;font-size:14px;color:#16465e}dialog.manual .work-backup-text p{margin:4px 0 8px;font-size:12.5px;line-height:1.7;color:#4c6573}dialog.manual .work-backup-text em{color:#1f6f96}.work-backup-text strong{color:#16465e}dialog.manual .work-backup-uses{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:5px}dialog.manual .work-backup-uses li{display:flex;gap:8px;align-items:flex-start;margin:0;font-size:12px;line-height:1.6;color:#3f5a68}.work-backup-uses .icon{width:16px;height:16px;color:#2f86ad;margin-top:2px;flex-shrink:0}dialog.manual .work-backup-hint{margin:0 0 12px;padding:8px 10px;border-radius:10px;background:#eef6fa;font-size:11.5px;color:#4c6573}.work-backup-action{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.work-backup-action button{display:inline-flex;align-items:center;gap:7px;border-radius:999px;font-size:12.5px;border-color:#bcd8e6;color:#16566f}.work-backup-action button:hover{background:#e6f2f8}.work-backup-action .icon{width:16px;height:16px}.work-backup-action span{font-size:11.5px;color:#0f6a49;word-break:break-all}
@media (max-width:560px){.work-backup-card{flex-direction:column;padding:14px}.work-backup-action button{width:100%;justify-content:center}}
.work-foot>button{margin-left:auto}
