/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components,utilities;:root{--ink:#edf5f1;--muted:#9aaca4;--line:#263a33;--surface:#080c0b;--green-950:#031b14;--green-900:#043b2d;--green-800:#075a43;--green-700:#087657;--green-600:#0a916b;--green-100:#c9e9dc;--orange:#c6a45e;--shadow:0 20px 50px #00000061, 0 2px 8px #00000042;--shadow-strong:0 24px 66px #00000080}*{box-sizing:border-box}html{background:var(--surface);color:var(--ink)}body{background-image:linear-gradient(#0c916809 1px,#0000 1px),linear-gradient(90deg,#0c916809 1px,#0000 1px),radial-gradient(circle at 8% 0,#066f503b,#0000 34rem),radial-gradient(circle at 92% 46%,#043f2f24,#0000 30rem);background-size:32px 32px,32px 32px,auto,auto;background-color:var(--surface);-webkit-font-smoothing:antialiased;min-width:320px;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans JP,sans-serif}button,input,select{font:inherit}button{touch-action:manipulation}.app-shell{min-height:100vh;padding-bottom:55px}.topbar{color:#fff;background:linear-gradient(#ffffff2e 0%,#ffffff0d 43%,#0d2b2329 46%,#ffffff05 100%),linear-gradient(112deg,#21453b 0%,#3b6b5d 56%,#295147 100%);border-bottom:3px solid #719c8d;position:relative;overflow:hidden;box-shadow:0 8px 30px #1632294d,inset 0 1px #ffffff57,inset 0 -1px #0a261e4d}.topbar:before{content:"";opacity:.24;pointer-events:none;background-image:linear-gradient(120deg,#0000 0 72%,#fff3 72% 73%,#0000 73%),radial-gradient(at 76% -30%,#e5fbf16b,#0000 42%);position:absolute;inset:0}.topbar-inner{align-items:center;gap:14px;width:min(1400px,100% - 36px);min-height:86px;margin:auto;display:flex;position:relative}.brand-logo{object-fit:contain;filter:drop-shadow(0 4px 9px #0000003d);flex:none;width:58px;height:59px}.topbar p{color:#d9ece4;letter-spacing:.18em;margin:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;font-weight:850}.topbar h1{color:#fff;letter-spacing:.025em;text-shadow:0 2px 8px #0003;margin:2px 0 0;font-size:24px}.page-wrap{width:min(1400px,100% - 36px);margin:0 auto}.project-strip{border:1px solid var(--line);border-top:3px solid var(--green-600);box-shadow:var(--shadow);background:linear-gradient(135deg,#fff 0%,#f8fbf9 100%);border-radius:14px;grid-template-columns:1.2fr 1fr 1fr auto;align-items:end;gap:12px;margin:22px 0 18px;padding:16px 17px 15px;display:grid;position:relative;overflow:hidden}.project-strip:after{content:"";background:var(--orange);width:88px;height:3px;position:absolute;top:0;right:0}.project-strip label span{color:#506058;margin:0 0 5px 2px;font-size:14px;font-weight:800;display:block}.project-strip input{width:100%;height:44px;color:var(--ink);background:#f8fbf9;border:1.5px solid #ccd9d2;border-radius:8px;outline:0;padding:0 12px;transition:border-color .18s,box-shadow .18s,background .18s;box-shadow:inset 0 1px 3px #072d200a}.project-strip input:focus,.measure-fields input:focus{border-color:var(--green-600);box-shadow:0 0 0 4px #22885a1f}.total-chip{color:#fff;background:linear-gradient(180deg, #ffffff30 0%, #ffffff0d 44%, #12352b26 47%, #ffffff05 100%), linear-gradient(135deg, var(--green-950), var(--green-700));border:1px solid #bee2d361;border-radius:10px;flex-direction:column;justify-content:center;align-items:flex-end;min-width:190px;height:65px;padding:10px 16px 10px 20px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 22px #07322340,inset 0 1px #ffffff57,inset 0 -1px #0d2f2547}.total-chip:before{content:"";background:var(--orange);width:4px;position:absolute;inset:0 auto 0 0}.total-chip small{color:#c9e1d5;font-size:13px}.total-chip strong{letter-spacing:-.04em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:28px;line-height:1.1}.total-chip b{font-size:15px}.workspace-grid{grid-template-columns:minmax(0,1.55fr) minmax(355px,.72fr);align-items:start;gap:18px;display:grid}.drawing-card,.input-card,.export-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:15px}.drawing-card,.input-card{overflow:hidden}.card-head{border-bottom:1px solid #80b19938;justify-content:space-between;align-items:center;gap:14px;min-height:79px;padding:18px 21px;display:flex}.drawing-card>.card-head,.input-card>.card-head{color:#fff;background:linear-gradient(#fff3 0%,#ffffff0e 43%,#0d2b2329 46%,#ffffff05 100%),linear-gradient(112deg,#294f45 0%,#416f62 100%);box-shadow:inset 0 1px #ffffff59,inset 0 -1px #0c29214d}.card-head>div:first-child,.export-card>div:first-child{align-items:center;gap:11px;display:flex}.step{color:#fff;background:linear-gradient(145deg,#e4b06b,#bd7d35);border:1px solid #fff3;border-radius:8px;flex:none;place-items:center;width:37px;height:37px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:19px;font-weight:900;display:grid;box-shadow:0 6px 14px #87592538,inset 0 1px #ffffff59}.card-head small,.export-card small{color:var(--green-700);letter-spacing:.09em;font-size:13px;font-weight:850;display:block}.drawing-card>.card-head h2,.input-card>.card-head h2{color:#fff}.card-head h2,.export-card h2{margin:1px 0 0;font-size:21px}.drawing-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.drawing-actions button{color:#dcebe4;cursor:pointer;background:#fff1;border:1px solid #c2e2d23d;border-radius:7px;min-height:38px;padding:0 12px;font-size:14px;font-weight:800;transition:transform .14s,background .14s,border-color .14s;box-shadow:inset 0 1px #ffffff0f}.drawing-actions button.active{border-color:var(--orange);color:#fff;background:#d97519}.drawing-actions button:not(:disabled):hover{background:#ffffff1f;border-color:#7ae2aa8c;transform:translateY(-1px)}button:disabled{opacity:.42;cursor:not-allowed!important}.annotation-tools{background:linear-gradient(135deg,#f5faf7,#edf5f0);border-bottom:1px solid #d4e2da;grid-template-columns:minmax(210px,1fr) auto auto auto auto auto;align-items:end;gap:7px;padding:11px 14px 9px;display:grid}.annotation-tools label{min-width:0}.annotation-tools label span{color:#4d5f56;margin:0 0 4px 2px;font-size:13px;font-weight:850;display:block}.annotation-tools input{width:100%;height:40px;color:var(--ink);background:#fff;border:1.5px solid #c8d8d0;border-radius:7px;outline:0;padding:0 11px;font-size:16px;font-weight:750;transition:border-color .18s,box-shadow .18s;box-shadow:inset 0 1px 3px #072d200a}.annotation-tools input:focus{border-color:var(--green-600);box-shadow:0 0 0 3px #22885a1c}.annotation-tools button{color:#40564b;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #c5d5cd;border-radius:7px;min-height:40px;padding:0 10px;font-size:13px;font-weight:850;transition:transform .14s,box-shadow .14s;box-shadow:0 2px 5px #062a1d0d}.annotation-tools button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 5px 12px #062a1d1a}.annotation-tools .note-add-button:not(:disabled){border-color:var(--green-800);color:#fff;background:linear-gradient(180deg, #ffffff38 0%, #ffffff0b 46%, #12352b26 49%, #ffffff04 100%), linear-gradient(135deg, var(--green-900), var(--green-700));box-shadow:0 4px 10px #23483b3b,inset 0 1px #ffffff57}.annotation-tools small{color:#718078;grid-column:1/-1;font-size:12px;font-weight:750}.canvas-wrap{background-color:#fafcfb;background-image:linear-gradient(#4c79690e 1px,#0000 1px),linear-gradient(90deg,#4c79690e 1px,#0000 1px),linear-gradient(#4c796906 1px,#0000 1px),linear-gradient(90deg,#4c796906 1px,#0000 1px);background-size:96px 96px,96px 96px,24px 24px,24px 24px;place-items:center;min-height:590px;padding:8px 12px 38px;display:grid;position:relative;box-shadow:inset 0 8px 18px #365b4e09}.canvas-wrap svg{touch-action:none;width:100%;height:min(590px,55vw);min-height:430px;overflow:visible}.movable-group{cursor:grab}.movable-group:active{cursor:grabbing}.selected-group .triangle-fill{stroke:var(--orange);stroke-width:4px;filter:drop-shadow(0 5px 7px #e2751933)}.rotation-control{cursor:grab;touch-action:none}.rotation-control:active{cursor:grabbing}.rotation-control line{stroke:#e98a2e;stroke-width:3px;stroke-dasharray:5 4;pointer-events:none}.rotation-control circle{fill:#fff;stroke:#e98a2e;stroke-width:6px}.rotation-control text{fill:#b85c13;text-anchor:middle;pointer-events:none;font-size:32px;font-weight:900}.canvas-empty{color:var(--muted);text-align:center;flex-direction:column;align-items:center;display:flex}.canvas-empty .triangle-side-guide{filter:drop-shadow(0 14px 22px #3e635621);width:min(285px,68vw);height:205px;margin-bottom:8px}.canvas-empty strong{color:#405048;font-size:19px}.canvas-empty p{margin:8px 0 0;font-size:15px}.triangle-side-guide{overflow:visible}.side-guide-shape{fill:#6a9e8b29;stroke:var(--green-700);stroke-width:2.3px;stroke-linejoin:round}.guide-side-badge{pointer-events:none}.guide-side-badge circle{fill:#fff;stroke:var(--orange);stroke-width:2.5px;vector-effect:non-scaling-stroke}.guide-side-badge text{fill:#8a5a25;text-anchor:middle;dominant-baseline:middle;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;font-weight:950}.triangle-fill{stroke:#3e6b5d;stroke-width:2.2px;vector-effect:non-scaling-stroke;transition:filter .15s}.tone-0{fill:#d7e7df}.tone-1{fill:#edf4f0}.tone-2{fill:#c9ded4}.triangle-preview{fill:#e98a2e24;stroke:var(--orange);stroke-width:3px;stroke-dasharray:9 7;vector-effect:non-scaling-stroke}.preview-side-marker{pointer-events:none}.preview-side-marker circle{fill:#fff;stroke:var(--orange);stroke-width:4px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 3px 4px #7e421033)}.preview-side-marker text{fill:#9f4f0f;text-anchor:middle;dominant-baseline:middle;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:34px;font-weight:950}.triangle-name{fill:#073c29;text-anchor:middle;pointer-events:none;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:40px;font-weight:900}.triangle-area{fill:#254c3b;text-anchor:middle;pointer-events:none;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:34px;font-weight:750}.edge-hit{stroke:#0000;stroke-width:36px;vector-effect:non-scaling-stroke;pointer-events:stroke}.edge-line{stroke:#425e51;stroke-width:2.3px;vector-effect:non-scaling-stroke;pointer-events:none}.edge-line.selected{stroke:var(--orange);stroke-width:5px}.edge-selectable{cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent}.edge-selectable:hover .edge-line{stroke:var(--green-600);stroke-width:5px}.edge-selectable:hover .edge-line.selected{stroke:var(--orange)}.edge-selectable:focus-visible{outline:none}.edge-selectable:focus-visible .edge-line{stroke:var(--green-600);stroke-width:5px}.edge-selectable:focus-visible .edge-line.selected{stroke:var(--orange)}.edge-length{fill:#152e23;text-anchor:middle;dominant-baseline:middle;paint-order:stroke;stroke:#fff;stroke-width:6px;stroke-linejoin:round;pointer-events:none;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:30px;font-weight:850}.point-dot{fill:#fff;stroke:var(--green-800);stroke-width:2.5px;vector-effect:non-scaling-stroke}.point-label{fill:#50665c;paint-order:stroke;stroke:#fff;stroke-width:5px;font-size:26px;font-weight:800}.point-dot,.point-label{pointer-events:none}.drawing-note{cursor:grab;touch-action:none}.drawing-note:active{cursor:grabbing}.note-hit{fill:#ffffffc7;stroke:#0000;stroke-width:1px}.note-text{fill:#17201c;text-anchor:middle;dominant-baseline:middle;paint-order:stroke;stroke:#fff;stroke-width:6px;stroke-linejoin:round;pointer-events:none;font-size:38px;font-weight:900}.note-selection{fill:#e98a2e0d;stroke:var(--orange);stroke-width:2px;stroke-dasharray:5 3;vector-effect:non-scaling-stroke;pointer-events:none}.note-rotation-control{cursor:grab;touch-action:none}.note-rotation-control:active{cursor:grabbing}.note-rotation-control line{stroke:var(--orange);stroke-width:2.5px;stroke-dasharray:4 3;pointer-events:none}.note-rotation-control circle{fill:#fff;stroke:var(--orange);stroke-width:5px}.note-rotation-control text{fill:#b85c13;text-anchor:middle;pointer-events:none;font-size:28px;font-weight:900}.canvas-hint{color:#f4faf7;white-space:nowrap;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:linear-gradient(#ffffff38,#ffffff08 48%,#0c2a222b 51%),#254f43f7;border:1px solid #bee0d175;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:800;position:absolute;bottom:13px;left:50%;transform:translate(-50%);box-shadow:0 5px 15px #18352c3d,inset 0 1px #ffffff57}.legend{color:var(--muted);background:#fbfcfb;border-top:1px solid #dce7e1;justify-content:center;gap:25px;padding:11px 18px;font-size:13px;display:flex}.legend span{align-items:center;gap:6px;display:flex}.legend i{border-radius:3px;width:19px;height:4px}.legend .green{background:var(--green-600)}.legend .orange{background:var(--orange)}.legend .gray{background:#8a9a93}.input-card{position:sticky;top:14px}.card-head.compact{padding:17px}.side-guide-panel{background:linear-gradient(135deg,#f8fbf9,#eef5f1);border:1px solid #d3e0da;border-radius:9px;align-items:center;gap:12px;margin:13px 17px 0;padding:8px 12px;display:flex}.side-guide-panel .triangle-side-guide{flex:none;width:86px;height:59px}.side-guide-panel strong{color:#3d5d52;font-size:14px;display:block}.side-guide-panel span{color:#72857c;margin-top:3px;font-size:12px;display:block}.unit-toggle{background:#ffffff14;border:1px solid #84cba52e;border-radius:8px;padding:3px;display:flex}.unit-toggle button{color:#b4cabf;cursor:pointer;background:0 0;border:0;border-radius:7px;min-width:43px;min-height:35px;font-weight:850}.selected-edge{background:linear-gradient(135deg,#fff9f1,#fff4e7);border:1px solid #edc092;border-radius:9px;grid-template-columns:1fr auto;align-items:center;margin:15px 17px 0;padding:12px 14px 12px 17px;display:grid;position:relative;overflow:hidden}.selected-edge:before{content:"";background:var(--orange);width:4px;position:absolute;inset:0 auto 0 0}.selected-edge small{color:#946129;font-size:13px;font-weight:800}.selected-edge strong{color:#a65d16;font-size:21px}.selected-edge span{color:#977558;grid-column:1/-1;font-size:12px}.measure-fields{grid-template-columns:repeat(3,1fr);gap:9px;padding:17px 17px 0;display:grid}.input-card .selected-edge+.measure-fields{grid-template-columns:1fr 1fr}.measure-fields label>span{color:#4b5c54;align-items:flex-end;min-height:32px;margin-bottom:5px;font-size:13px;font-weight:850;line-height:1.25;display:flex}.measure-fields label>div{position:relative}.measure-fields input{color:#092b20;background:#f8fbf9;border:2px solid #ccd9d2;border-radius:9px;outline:0;width:100%;height:58px;padding:0 36px 0 9px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:23px;font-weight:800;transition:border-color .18s,box-shadow .18s,background .18s;box-shadow:inset 0 2px 4px #072d2009}.measure-fields input:focus{background:#fff}.measure-fields b{color:#718079;font-size:14px;position:absolute;top:50%;right:9px;transform:translateY(-50%)}.live-result{background:#f5f8f6;border:1px solid #d7e2dc;border-radius:9px;grid-template-columns:1fr auto;align-items:center;margin:14px 17px 0;padding:13px 14px 13px 17px;display:grid;position:relative;overflow:hidden}.live-result>span{color:var(--muted);font-size:13px;font-weight:800}.live-result strong{color:#9aa59f;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:28px}.live-result strong small{font-size:15px}.live-result p{color:#89958f;grid-column:1/-1;margin:1px 0 0;font-size:12px}.live-result.ok:before{content:"";background:var(--green-600);width:4px;position:absolute;inset:0 auto 0 0}.live-result.error p{color:#b44a39}.add-button{color:#fff;background:linear-gradient(180deg, #ffffff38 0%, #ffffff0d 44%, #0d2b232b 47%, #ffffff04 100%), linear-gradient(115deg, var(--green-900), var(--green-700));cursor:pointer;border:1px solid #bee2d36b;border-radius:9px;width:calc(100% - 34px);min-height:54px;margin:11px 17px 15px;font-size:17px;font-weight:900;transition:transform .15s,box-shadow .15s,filter .15s;box-shadow:0 10px 20px #1f443752,inset 0 1px #ffffff5c,inset 0 -1px #0a271f4a}.add-button:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 13px 24px #0b704547}.add-button:disabled{color:#929e98;box-shadow:none;background:#e2e8e4}.triangle-list{border-top:1px solid #dce7e1}.list-head{color:#293f35;background:#f8faf9;justify-content:space-between;padding:13px 17px 9px;font-size:14px;display:flex}.list-empty{color:#929d97;text-align:center;margin:0;padding:22px 17px;font-size:13px}.heron-table-wrap{padding:0 10px 10px;overflow-x:auto}.heron-table{border-collapse:separate;border-spacing:0;color:#263d32;text-align:center;border:1px solid #cbd9d2;border-radius:7px;width:100%;min-width:380px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;overflow:hidden}.heron-table th,.heron-table td{white-space:nowrap;border:1px solid #d7e2dc;border-top:0;border-left:0;padding:8px 3px}.heron-table tr>:last-child{border-right:0}.heron-table tbody tr:last-child>*{border-bottom:0}.heron-table thead th{color:#fff;background:linear-gradient(#527d70 0%,#3f6c5f 43%,#315c50 47%,#294f46 100%);font-weight:900;box-shadow:inset 0 1px #ffffff47,inset 0 -1px #0c29214d}.heron-table tbody th{color:#fff;letter-spacing:.03em;background:linear-gradient(#4f7a6c 0%,#386659 45%,#2d594d 49%,#274f45 100%);font-size:13px;box-shadow:inset 0 1px #ffffff47}.heron-table th:first-child{min-width:56px}.edit-side-button{min-height:32px;color:var(--green-800);cursor:pointer;background:#fff;border:1px solid #7ea993;border-radius:5px;padding:0 10px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans JP,sans-serif;font-size:12px;font-weight:900}.cancel-edit-button{color:#63756c;cursor:pointer;background:#fff;border:1px solid #ccd9d2;border-radius:9px;width:calc(100% - 32px);min-height:39px;margin:0 16px 14px;font-size:14px;font-weight:850}.triangle-row{border-top:1px solid #eff3f0;justify-content:space-between;padding:8px 17px;font-size:14px;display:flex}.triangle-row span{font-weight:750}.list-total{color:#fff;background:linear-gradient(#fff3 0%,#ffffff0d 44%,#0d2b232b 47%,#ffffff04 100%),linear-gradient(110deg,#294f45,#457362);justify-content:space-between;align-items:center;padding:13px 17px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff57}.list-total:before{content:"";background:var(--orange);width:4px;position:absolute;inset:0 auto 0 0}.list-total span{color:#c4ded1;font-size:13px}.list-total strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:20px}.export-card{color:#fff;box-shadow:var(--shadow-strong), inset 0 1px #ffffff59, inset 0 -1px #0c29214d;background:linear-gradient(#ffffff30 0%,#ffffff0d 43%,#0d2b2329 46%,#ffffff04 100%),linear-gradient(112deg,#2b554a 0%,#477669 68%,#345f54 100%);border-color:#628d7d;justify-content:space-between;align-items:center;gap:24px;margin-top:18px;padding:20px 22px;display:flex;position:relative;overflow:hidden}.export-card:after{content:"";pointer-events:none;border:1px solid #4fd0891f;border-radius:50%;width:260px;height:260px;position:absolute;bottom:-110px;right:-90px;box-shadow:0 0 0 34px #4fd08909,0 0 0 70px #4fd08906}.export-card>*{z-index:1;position:relative}.export-card h2{color:#fff}.export-card p{color:#e0ece7;margin:4px 0 0;font-size:14px}.print-settings{gap:8px;display:flex}.print-settings label{min-width:112px}.print-settings label>span{color:#e0ece7;margin-bottom:4px;font-size:13px;font-weight:800;display:block}.print-settings select,.print-settings input{height:40px;color:var(--ink);background:#fffffff5;border:1px solid #a5d2bc52;border-radius:7px;outline:0;font-size:16px;font-weight:800}.print-settings select{width:100%;padding:0 10px}.scale-input{align-items:center;gap:5px;display:flex}.scale-input b{white-space:nowrap;font-size:16px}.scale-input input{width:78px;padding:0 8px}.export-buttons{grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px;display:grid}.export-buttons button{text-align:left;cursor:pointer;background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;min-width:105px;min-height:60px;padding:10px 12px;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 8px 20px #00000021}.export-buttons button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 12px 24px #0003}.export-buttons strong{font-size:17px}.export-buttons span{color:var(--muted);font-size:13px;font-weight:700}.pdf-button{color:#9f3931;border:1px solid #d3918a}.sfc-button{color:#27688f;border:1px solid #85adca}.share-button{color:var(--green-800);border:1px solid #73c798;background:linear-gradient(145deg,#fff,#edfaf3)!important}.toast{z-index:30;color:#fff;background:linear-gradient(#fff3,#ffffff06 47%,#0c2a222b 50%),linear-gradient(135deg,#35675a,#275347);border:1px solid #bee0d15c;border-radius:999px;padding:12px 18px;font-size:15px;font-weight:850;position:fixed;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #16322957,inset 0 1px #ffffff57}.topbar{background:linear-gradient(#ffffff21 0%,#ffffff06 42%,#00000047 46%,#ffffff03 100%),linear-gradient(112deg,#030706 0%,#07110e 34%,#064b38 73%,#02110c 100%);border-bottom-color:#0b9a72;box-shadow:0 10px 34px #0000009e,inset 0 1px #ffffff2e,inset 0 -1px #000000b3}.topbar:before{opacity:.34;background-image:linear-gradient(120deg,#0000 0 70%,#28dca024 70% 71%,#0000 71%),radial-gradient(at 76% -30%,#4fddaa42,#0000 43%)}.topbar p{color:#a9d7c5}.topbar h1{text-shadow:0 2px 12px #000c}.brand-logo{filter:drop-shadow(0 5px 10px #00000094)}.project-strip{border-color:#294039;border-top-color:var(--green-600);box-shadow:var(--shadow), inset 0 1px #ffffff0d;background:linear-gradient(145deg,#171f1cfa 0%,#090e0cfc 62%,#032017f5 100%)}.project-strip:after{background:linear-gradient(90deg, var(--orange), #e0c684);box-shadow:0 0 14px #c6a45e59}.project-strip label span{color:#b8c8c0}.project-strip input,.annotation-tools input,.measure-fields input{color:#f3f8f5;background:linear-gradient(#121a17,#0b100e);border-color:#334c43;box-shadow:inset 0 2px 5px #0000006b,0 1px #ffffff06}.project-strip input::placeholder,.annotation-tools input::placeholder,.measure-fields input::placeholder{color:#788a82}.project-strip input:focus,.measure-fields input:focus,.annotation-tools input:focus{background:#101a16;border-color:#11a77c;box-shadow:0 0 0 4px #0a916b2b,inset 0 2px 5px #0000005c}.total-chip{background:linear-gradient(#ffffff24 0%,#ffffff06 43%,#0000004d 47%,#ffffff03 100%),linear-gradient(135deg,#020806,#064a37 66%,#021b14);border-color:#19bb8957;box-shadow:0 12px 28px #0000008c,inset 0 1px #ffffff2b,inset 0 -1px #000000bf}.total-chip small{color:#acd6c5}.project-manager{border:1px solid #273b34;border-top:3px solid var(--green-600);box-shadow:var(--shadow);background:linear-gradient(145deg,#171f1cfa 0%,#090e0cfc 62%,#032017f5 100%);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px;margin:0 0 18px;padding:13px 17px;display:flex}.project-select{flex:260px;min-width:220px}.project-select span{color:#b8c8c0;margin:0 0 5px 2px;font-size:14px;font-weight:800;display:block}.project-select select{color:#f3f8f5;background:linear-gradient(#121a17,#0b100e);border:1.5px solid #334c43;border-radius:8px;outline:0;width:100%;height:44px;padding:0 10px;font-size:16px;font-weight:750;box-shadow:inset 0 2px 5px #0000006b,0 1px #ffffff06}.project-manager-buttons{flex-wrap:wrap;gap:8px;display:flex}.project-manager-buttons button{color:#c7d5cf;cursor:pointer;white-space:nowrap;background:linear-gradient(#18211e,#0d1311);border:1px solid #354b42;border-radius:8px;min-height:44px;padding:0 14px;font-size:14px;font-weight:850;transition:transform .14s,box-shadow .14s;box-shadow:0 3px 8px #0000003d,inset 0 1px #ffffff0b}.project-manager-buttons button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 6px 15px #00000059}.project-manager-buttons .project-save-button{color:#fff;background:linear-gradient(#ffffff21 0%,#ffffff05 46%,#00000045 49%),linear-gradient(135deg,#064b38,#087657);border-color:#087b59;box-shadow:0 5px 13px #00000061,inset 0 1px #ffffff29}.project-manager-buttons .project-delete-button:not(:disabled){color:#efa79e;background:#1c1110;border-color:#70443e}.drawing-card,.input-card,.export-card{box-shadow:var(--shadow), inset 0 1px #ffffff06;background:#0c1210;border-color:#273b34}.drawing-card>.card-head,.input-card>.card-head{background:linear-gradient(#ffffff24 0%,#ffffff06 43%,#0000004d 47%,#ffffff03 100%),linear-gradient(112deg,#030706 0%,#063f30 66%,#02110c 100%);border-bottom-color:#18b58540;box-shadow:inset 0 1px #ffffff29,inset 0 -1px #000000b8}.drawing-card>.card-head small,.input-card>.card-head small{color:#9ed1bd}.step{color:#171108;background:linear-gradient(145deg,#ead39e,#b68d45 60%,#8b682f);border-color:#e7cc9152;box-shadow:0 7px 16px #00000061,inset 0 1px #ffffff80}.drawing-actions button{color:#c8d9d2;background:#ffffff0b;border-color:#7ab89f3d}.drawing-actions button:not(:disabled):hover{background:#097e5c2e;border-color:#14be8c94}.drawing-actions button.active{color:#171108;background:linear-gradient(145deg,#e2c47f,#b8873d);border-color:#e1c27f}.drawing-actions button.delete-selected:not(:disabled){color:#ffc0b8;background:#972c2233;border-color:#e5706473}.annotation-tools{background:linear-gradient(145deg,#111916,#090e0c);border-bottom-color:#263b33}.annotation-tools label span{color:#b6c6be}.annotation-tools button,.cancel-edit-button{color:#c7d5cf;background:linear-gradient(#18211e,#0d1311);border-color:#354b42;box-shadow:0 3px 8px #0000003d,inset 0 1px #ffffff0b}.annotation-tools button:not(:disabled):hover{box-shadow:0 6px 15px #00000059}.annotation-tools .note-add-button:not(:disabled){background:linear-gradient(#ffffff21 0%,#ffffff05 46%,#00000045 49%),linear-gradient(135deg,#064b38,#087657);border-color:#087b59;box-shadow:0 5px 13px #00000061,inset 0 1px #ffffff29}.annotation-tools .note-delete-button:not(:disabled){color:#efa79e;background:#1c1110;border-color:#70443e}.annotation-tools small{color:#87978f}.canvas-wrap{border-top:1px solid #ffffff06;box-shadow:inset 0 9px 22px #00000014}.canvas-hint{background:linear-gradient(#ffffff2e,#ffffff05 48%,#00000040 51%),#032b20f7;border-color:#19be8b6b;box-shadow:0 7px 18px #00000061,inset 0 1px #ffffff29}.legend{color:#a5b6ae;background:#0b100e;border-top-color:#283a33}.side-guide-panel{background:linear-gradient(145deg,#121a17,#0a0f0d);border-color:#2c433a}.side-guide-panel strong{color:#c0d1c9}.side-guide-panel span{color:#8ea198}.unit-toggle{background:#0000003d;border-color:#15a67a42}.unit-toggle button{color:#91a49b}.unit-toggle button.active{color:#f4faf7;background:linear-gradient(145deg,#087657,#043e2f);box-shadow:0 4px 12px #0006,inset 0 1px #ffffff24}.selected-edge{background:linear-gradient(145deg,#211b10,#151109);border-color:#705c35}.selected-edge small{color:#d6bb82}.selected-edge strong{color:#e0bc70}.selected-edge span{color:#aa966f}.measure-fields label>span{color:#b9c8c1}.measure-fields b{color:#889991}.live-result{background:linear-gradient(145deg,#111815,#0a0f0d);border-color:#2b4037}.live-result strong{color:#677770}.live-result p{color:#7d8c85}.live-result.ok{background:linear-gradient(145deg,#08241b,#061710);border-color:#087757}.live-result.ok strong{color:#39c99a}.live-result.ok p{color:#80bca4}.live-result.error{background:#1d100f;border-color:#68413b}.add-button{background:linear-gradient(#ffffff26 0%,#ffffff06 43%,#00000052 47%),linear-gradient(115deg,#032219,#087657 62%,#043e2f);border-color:#17bd8961;box-shadow:0 12px 25px #00000080,inset 0 1px #ffffff2e,inset 0 -1px #000000b3}.add-button:hover:not(:disabled){filter:brightness(1.12);box-shadow:0 14px 28px #00000094,0 0 18px #08765724}.add-button:disabled{color:#66736d;background:#171d1a}.triangle-list{border-top-color:#253730}.list-head{color:#d5e1dc;background:#0b110f}.list-head span{color:#58b997}.list-empty{color:#7f8e87}.heron-table{color:#dce7e2;border-color:#34483f}.heron-table th,.heron-table td{border-bottom-color:#31443b;border-right-color:#31443b}.heron-table thead th{background:linear-gradient(#0b7657 0%,#075c44 43%,#044632 47%,#032d22 100%);box-shadow:inset 0 1px #ffffff2e,inset 0 -1px #00000094}.heron-table tbody td{background:#101714}.heron-table tbody tr:nth-child(2n) td{background:#151e1a}.heron-table tbody th{background:linear-gradient(#087052 0%,#054c38 46%,#033629 50%,#02251c 100%);box-shadow:inset 0 1px #ffffff24}.edit-side-button{color:#60c39f;background:#101915;border-color:#34765d}.cancel-edit-button{color:#9daea6}.triangle-row{border-top-color:#24362f}.triangle-row b{color:#5fc49f}.list-total{background:linear-gradient(#ffffff21 0%,#ffffff05 44%,#0000004f 47%),linear-gradient(110deg,#020806,#06533e 70%,#021711);box-shadow:inset 0 1px #ffffff29}.list-total span{color:#a6d0bf}.export-card{box-shadow:var(--shadow-strong), inset 0 1px #ffffff26, inset 0 -1px #000000b8;background:linear-gradient(#ffffff1f 0%,#ffffff05 43%,#00000052 46%,#ffffff02 100%),linear-gradient(112deg,#030706 0%,#06130f 34%,#064a37 72%,#02110c 100%);border-color:#087656}.export-card:after{border-color:#1bcf962e;box-shadow:0 0 0 34px #1bcf960b,0 0 0 70px #1bcf9606}.export-card small{color:#9dd0bc}.export-card p,.print-settings label>span{color:#becfc7}.print-settings select,.print-settings input{color:#eef6f2;background:#101815;border-color:#3b5148}.export-buttons button{background:linear-gradient(145deg,#171f1c,#0c1210);box-shadow:0 9px 22px #0000006b,inset 0 1px #ffffff0b}.export-buttons span{color:#9eaea7}.pdf-button{color:#efaaa0;border-color:#8d5a53}.sfc-button{color:#91c7e6;border-color:#4e7591}.share-button{color:#69d0aa;border-color:#248b67;background:linear-gradient(145deg,#102019,#09130f)!important}.sfc-share{color:#8ec5e4;border-color:#4b7896;background:linear-gradient(145deg,#101c22,#091217)!important}.toast{background:linear-gradient(#ffffff24,#ffffff05 47%,#00000047 50%),linear-gradient(135deg,#020706,#06513d);border-color:#14be8c61;box-shadow:0 12px 34px #00000094,inset 0 1px #ffffff29}.pdf-preview-backdrop{z-index:60;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000705d6;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.pdf-preview-dialog{color:#edf5f1;background:#090e0c;border:1px solid #17694f;border-radius:16px;grid-template-rows:auto minmax(0,1fr) auto;width:min(1120px,100%);max-height:calc(100vh - 44px);display:grid;overflow:hidden;box-shadow:0 28px 90px #000000b8,inset 0 1px #ffffff0d}.pdf-preview-head{background:linear-gradient(#ffffff1c,#ffffff05 45%,#0000004d 48%),linear-gradient(112deg,#030706,#064a37 72%,#02110c);border-bottom:1px solid #214137;justify-content:space-between;align-items:center;gap:18px;min-height:76px;padding:15px 20px;display:flex}.pdf-preview-head small{color:#9dd0bc;letter-spacing:.08em;font-size:12px;font-weight:850}.pdf-preview-head h2{margin:2px 0 0;font-size:21px}.pdf-preview-head>span{color:#c5ddd3;white-space:nowrap;background:#0003;border:1px solid #30bc8d52;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:850}.pdf-preview-stage{background-color:#141b18;background-image:linear-gradient(#0c916809 1px,#0000 1px),linear-gradient(90deg,#0c916809 1px,#0000 1px);background-size:24px 24px;min-height:0;padding:20px;overflow:auto}.pdf-preview-stage img{background:#fff;border:1px solid #c9cfcc;width:100%;height:auto;display:block;box-shadow:0 14px 34px #00000075}.pdf-preview-actions{background:#0b1210;border-top:1px solid #223a32;justify-content:space-between;align-items:center;gap:14px;padding:13px 16px;display:flex}.pdf-preview-actions>div{gap:9px;display:flex}.pdf-preview-actions button{cursor:pointer;border-radius:9px;min-height:50px;font-weight:850}.preview-close-button{color:#b7c5bf;background:#141b18;border:1px solid #3a4d46;min-width:92px;padding:0 17px}.preview-print-button,.preview-share-button{color:#fff;text-align:left;border:1px solid;flex-direction:column;justify-content:center;align-items:flex-start;min-width:170px;padding:7px 14px;display:flex}.preview-print-button{background:linear-gradient(145deg,#30382d,#1a211b);border-color:#6e765e}.preview-share-button{background:linear-gradient(#ffffff21,#ffffff05 46%,#00000047 49%),linear-gradient(135deg,#043d2e,#087657);border-color:#16805e;box-shadow:inset 0 1px #ffffff24}.preview-print-button strong,.preview-share-button strong{font-size:16px}.preview-print-button span,.preview-share-button span{color:#afbeb7;margin-top:2px;font-size:12px}.preview-share-button span{color:#c1ddd2}@media (width<=980px){.project-strip{grid-template-columns:1fr 1fr}.project-strip .title-field{grid-column:1/-1}.project-strip .total-chip{flex-direction:row;grid-column:1/-1;justify-content:space-between;align-items:center;width:100%}.workspace-grid{grid-template-columns:1fr}.input-card{position:static}.canvas-wrap{min-height:480px}.canvas-wrap svg{height:58vw;min-height:400px}.export-card{flex-direction:column;align-items:flex-start}.print-settings,.export-buttons{width:100%}.export-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.export-buttons button{min-width:0}}@media (width<=640px){.page-wrap,.topbar-inner{width:calc(100% - 16px)}.topbar-inner{min-height:71px}.brand-logo{width:48px;height:49px}.topbar h1{font-size:20px}.project-strip{grid-template-columns:1fr 1fr;gap:8px;margin:13px 0;padding:12px}.project-strip label{grid-column:1/-1}.project-manager{flex-direction:column;align-items:stretch;margin-bottom:13px;padding:12px}.project-manager-buttons{width:100%}.project-manager-buttons button{flex:auto}.total-chip{flex-direction:row;grid-column:1/-1;justify-content:space-between;align-items:center;min-width:0;height:58px}.total-chip strong{font-size:26px}.drawing-card,.input-card,.export-card{border-radius:16px}.card-head{min-height:70px;padding:14px 12px}.drawing-card>.card-head{flex-direction:column;align-items:flex-start}.drawing-card .drawing-actions{justify-content:flex-start;width:100%}.card-head h2,.export-card h2{font-size:18px}.drawing-actions button{padding:0 8px;font-size:12px}.side-guide-panel{margin:11px 12px 0}.annotation-tools{grid-template-columns:repeat(4,minmax(0,1fr));padding:10px}.annotation-tools label{grid-column:1/-1}.annotation-tools .note-add-button,.annotation-tools .note-delete-button{grid-column:span 2}.annotation-tools button{padding:0 5px;font-size:12px}.canvas-wrap{min-height:360px;padding:4px 4px 34px}.canvas-wrap svg{height:88vw;min-height:330px}.canvas-hint{text-overflow:ellipsis;max-width:95%;overflow:hidden}.legend{gap:11px;padding:10px 7px;font-size:11px}.export-card{padding:17px 14px}.export-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.export-buttons button{min-height:57px}.pdf-preview-backdrop{padding:8px}.pdf-preview-dialog{border-radius:12px;max-height:calc(100vh - 16px)}.pdf-preview-head{min-height:66px;padding:11px 12px}.pdf-preview-head h2{font-size:18px}.pdf-preview-head>span{padding:6px 8px;font-size:12px}.pdf-preview-stage{padding:10px}.pdf-preview-stage img{width:max(100%,690px)}.pdf-preview-actions{flex-direction:column-reverse;align-items:stretch;padding:9px}.pdf-preview-actions>div{width:100%}.pdf-preview-actions button{min-height:52px}.preview-close-button{width:100%}.preview-print-button,.preview-share-button{flex:1;min-width:0;padding:6px 10px}}
