html,body{margin:0;min-height:100%;background:#f4f8f5;color:#264737;font:14px "Microsoft YaHei UI","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}
body{--web-green:#216c4e;--web-ink:#264737;--web-muted:#566b5f;--web-line:#ccded3;--web-surface:#fff;--web-focus:#246fa0}
button{min-height:36px;padding:7px 14px;border:1px solid var(--web-line);border-radius:6px;background:var(--web-surface);color:var(--web-green)}
button:hover:not(:disabled){background:#edf5ef;border-color:var(--web-green)}button.primary{background:var(--web-green);color:#fff}
button.primary:hover:not(:disabled){background:#18583e}:focus-visible{outline:2px solid var(--web-focus);outline-offset:3px}::selection{background:#cbe5d6;color:#183a29}input{caret-color:var(--web-green)}
.skip-link{position:absolute;left:16px;top:-100px;z-index:20;padding:12px;background:white}.skip-link:focus{top:12px}
.web-header{display:flex;align-items:center;gap:24px;padding:14px 24px;background:var(--web-surface);border-bottom:1px solid var(--web-line)}
.web-brand{font-size:20px;color:var(--web-green);font-weight:700;text-decoration:none;white-space:nowrap}.web-brand span{font-size:13px;font-weight:500;margin-left:6px}.web-header p{color:var(--web-muted);font-size:12px;margin:0}.web-header>div{margin-left:auto;display:flex;gap:8px}
.web-welcome{max-width:1060px;margin:10vh auto;padding:32px;display:grid;grid-template-columns:1.3fr 1fr;gap:64px}.web-welcome h1{font-size:28px;margin:0 0 20px}.web-welcome p{line-height:1.9;color:var(--web-muted);max-width:40em}.web-welcome .primary{margin-top:16px}.web-welcome ol{margin:0;padding-left:24px}.web-welcome li{padding:0 0 26px 12px;color:var(--web-green)}.web-welcome strong,.web-welcome span{display:block}.web-welcome span{font-size:13px;color:var(--web-muted);margin-top:8px;line-height:1.7}
.module-home{height:calc(100dvh - 65px);max-width:1800px;margin:0 auto}.module-home #homeManage,.module-home #homeUpdate,.home-rule-actions,.home-eyebrow{display:none!important}.home-footer{flex-wrap:wrap}.module-home .home-output{margin-left:auto}.home-header .suite-read-row:empty{display:none}.module-home .home-message{white-space:pre-line}
.web-layers{border:0;border-top:1px solid var(--web-line);padding:8px 0 0;margin:8px 0 0;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px}.web-layers legend{padding:0 8px 0 0;color:var(--web-muted)}.web-layers label{display:flex;align-items:center;gap:6px;min-height:32px}.module-home .web-layers input{width:16px;height:16px;min-height:16px;accent-color:var(--web-green)}
.web-hide-cut .home-cut,.web-hide-cut .home-holes,.web-hide-crease .home-crease,.web-hide-process .home-vGroove,.web-hide-process .home-reference,.web-hide-process .home-aux{visibility:hidden}
.web-result{display:flex;justify-content:space-between;align-items:center;gap:16px;max-width:1800px;margin:0 auto;padding:12px 24px;background:#e5f1e9;border-top:1px solid var(--web-line)}.web-result p{font-size:12px;line-height:1.7;margin:0}.web-result>div{display:flex;gap:8px;flex-shrink:0}body:has(.web-result:not([hidden])) .module-home{height:calc(100dvh - 144px)}
dialog{width:min(500px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid var(--web-line);border-radius:10px;padding:24px;color:var(--web-ink);background:white}dialog::backdrop{background:#172e2460}dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}dialog h2{font-size:20px;margin:0}dialog p{font-size:13px;line-height:1.8;color:var(--web-muted)}dialog label{display:block;margin:16px 0}dialog input{display:block;width:100%;min-height:40px;margin-top:6px;padding:8px;border:1px solid #9ab4a5;border-radius:6px}dialog .web-actions{display:flex;gap:8px;flex-wrap:wrap}.web-help{font-size:12px}#accountError{color:#a33125}#historyDialog{width:min(760px,calc(100vw - 32px))}#historyItems article{padding:16px 0;border-bottom:1px solid var(--web-line)}#historyItems p{margin:6px 0 0;font-variant-numeric:tabular-nums}
@media(max-width:800px){.web-header{gap:12px;padding:12px 16px}.web-header>p{display:none}.web-welcome{margin:40px auto;gap:32px;padding:24px;grid-template-columns:1fr}.web-welcome h1{font-size:24px}.web-result{align-items:flex-start;flex-direction:column;padding:12px 16px}body:has(.web-result:not([hidden])) .module-home{height:calc(100dvh - 200px)}}
@media(max-width:600px){.web-header{flex-wrap:wrap}.web-brand{font-size:18px}.web-header button{padding:6px 10px}.module-home{min-height:calc(100dvh - 65px);height:auto!important}.module-home[data-view=editor]{overflow:visible}.module-home #homeEditorPage{display:flex;flex-direction:column;overflow:visible}.generator-preview{min-height:440px;overflow:visible}.generator-preview #homeSvg{min-height:280px}.generator-settings{overflow:visible}.module-home .home-footer{position:sticky;bottom:0;background:#f4f8f5;z-index:2;padding:12px 0}.module-home button,button,dialog input,.module-home input,.module-home select{min-height:44px}.module-home .home-measure-controls button{min-height:44px;min-width:44px}.module-home .home-measure-controls label{min-height:44px}.web-result{padding-bottom:24px}.web-welcome li{padding-bottom:20px}}
