:root{font:15px/1.6 "Microsoft YaHei",system-ui,sans-serif;color:#254237;background:#f3f7f5;color-scheme:light;--green:#297c53;--line:#dce8e1;--muted:#71877b}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;max-width:100%}
button{min-height:46px;padding:10px 18px;border:1px solid var(--green);border-radius:9px;background:var(--green);color:#fff;cursor:pointer;font-weight:600;overflow-wrap:anywhere;transition:background .15s,border-color .15s}
button:hover{background:#236b48}button:disabled{opacity:.5;cursor:not-allowed}.secondary,.quiet{background:#fff;color:#286d48;border-color:#cbded1}.secondary:hover,.quiet:hover{background:#f0f7f3;border-color:#8bb39c}.quiet{min-height:36px;padding:6px 12px;font-size:13px}a{color:var(--green)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #95c7ab;outline-offset:3px}
.app{max-width:1024px;margin:auto;padding:0 32px;min-height:100dvh;display:flex;flex-direction:column}
.app-header{display:flex;align-items:center;gap:12px;padding:23px 0;border-bottom:1px solid var(--line);min-width:0}.brand{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:12px;background:#297c53;color:#fff;font-size:15px;font-weight:750;letter-spacing:.03em;box-shadow:0 4px 10px #297c5318}.brand-copy{min-width:0}.brand-copy strong{font-size:17px}.brand-copy small{display:block;color:var(--muted);font-size:11px}.environment{margin-left:auto;white-space:nowrap;color:#527c63;background:#e9f2ed;border:1px solid #d5e5dc;border-radius:6px;padding:3px 8px;font-size:11px}.app-header>button{flex-shrink:0}
main{padding:32px 0 12px;flex:1;min-width:0}.screen{min-width:0}.view-heading{margin-bottom:24px}.view-heading h1{font-size:25px;line-height:1.4;letter-spacing:.015em;margin:0 0 7px}.view-heading p{margin:0;max-width:720px}h2{font-size:17px;line-height:1.5;margin:0 0 12px}p{margin:0 0 16px;overflow-wrap:anywhere}.hint,.empty,footer{color:var(--muted);font-size:13px}.empty{padding:24px 0}.card{padding:24px;border:1px solid var(--line);border-radius:13px;background:#fff;margin-bottom:18px}.stack{display:grid;gap:12px}.row{display:flex;gap:10px;flex-wrap:wrap}.row>*{flex:1;min-width:0}.section-title{font-size:14px;margin:26px 0 12px;color:#597467}.menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.menu .task-button{position:relative;display:block;text-align:left;padding:23px 19px;min-height:132px;font-size:15px;color:#285b40;background:#fff;border-color:var(--line);box-shadow:0 2px 4px #203e2d03}.menu .task-button:before{content:"↗";display:block;color:#328258;font-size:19px;line-height:1;margin-bottom:14px}.menu .task-button:hover{background:#f5fbf7;border-color:#8bb39c}.menu small{display:block;font-size:12px;line-height:1.7;font-weight:400;color:var(--muted);margin-top:7px}.tools-menu .task-button{min-height:120px}.tools-menu .task-button:before{content:"＋";font-size:16px;color:#6e8e7a}.account-actions{display:flex;justify-content:flex-end;margin:24px 0}.account-actions button{font-size:13px;min-height:38px;padding:6px 12px}
.form-field{display:grid;gap:7px;margin-bottom:18px;min-width:0}.form-field>span{font-size:13px;font-weight:500;color:#4c6b5b}input,select,textarea{width:100%;min-height:46px;border:1px solid #cfded5;border-radius:8px;padding:11px 12px;background:#fbfdfc;color:#254237}input::placeholder,textarea::placeholder{color:#a1b0a7}textarea{resize:vertical;min-height:96px}input:read-only{background:#f1f5f3;color:#667d70}form.card>button[type=submit]{min-width:145px}form.card>button+button{margin-left:8px}.form-field+button{margin-bottom:4px}
.login-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;align-items:stretch}.login-intro{border:1px solid #dbe8e0;border-radius:16px;padding:32px;background:linear-gradient(145deg,#e9f3ed,#f4f9f6);position:relative;overflow:hidden}.eyebrow{display:inline-block;color:#648875;font-size:12px;margin-bottom:14px;letter-spacing:.08em}.login-intro h2{font-size:25px;line-height:1.6;max-width:280px;margin-bottom:27px;font-weight:600;color:#2d5940}.login-features{display:grid;gap:22px}.login-feature{position:relative;padding-left:17px}.login-feature:before{content:"";position:absolute;left:0;top:8px;width:5px;height:5px;border-radius:50%;background:#6da385}.login-feature strong{font-size:14px;font-weight:600}.login-feature p{font-size:12px;margin:4px 0 0;color:#768d7d}.auth-card{margin:0;padding:32px;align-self:stretch;box-shadow:0 5px 24px #25423704}.auth-card h2{font-size:20px;margin-bottom:4px}.auth-card>.hint{margin-bottom:24px}.auth-card button[type=submit]{width:100%;margin-top:3px}.auth-note{font-size:12px;line-height:1.8;color:#8b9b91;margin:18px 0 0;padding-top:16px;border-top:1px solid #e9efeb}.connection-note{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:16px 0}.connection-note p{margin:0;font-size:12px}.connection-note button{font-size:12px;min-height:32px;padding:4px 10px;background:transparent;border-color:transparent;color:#668b76}
#status{padding:12px 15px;background:#eaf5ee;border:1px solid #cee3d5;border-radius:9px;font-size:13px;white-space:pre-wrap}#status.error,.warning{color:#9b493b;background:#fff7f0;border-color:#eedccf}.warning{padding:13px 15px;border:1px solid #eedccf;border-radius:9px;font-size:13px}.identity{display:grid;grid-template-columns:110px minmax(0,1fr);gap:0;font-size:14px;margin:4px 0 18px}.identity dt,.identity dd{padding:10px 0;border-bottom:1px solid #eef3ef}.identity dt{color:#7a8f81}.identity dd{margin:0;overflow-wrap:anywhere}.code{font-family:Consolas,monospace;overflow-wrap:anywhere;font-size:13px;font-weight:600}.label{display:block;width:100%;max-width:440px;height:auto;background:#fff;border:1px solid var(--line);border-radius:9px;margin:18px auto}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:45vh;overflow:auto;font:13px/1.7 monospace;background:#f6f9f7;padding:14px;border-radius:8px}
.app-download{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:16px 0 0;padding:19px 22px;border:1px solid var(--line);border-radius:11px;background:#fff}.app-download strong{display:block;font-size:13px;font-weight:600}.app-download small{display:block;font-size:11px;color:#8a9e91;margin-top:3px}.download-bar{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:8px 13px;min-height:38px;white-space:nowrap;color:#286d48;border:1px solid #cbded1;border-radius:8px;font-size:12px;font-weight:600;text-decoration:none;background:#fafdfb}.download-bar:hover{background:#edf6f0}footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;padding:18px 0 23px;color:#9aaa9f}
dialog{width:calc(100vw - 32px);max-width:500px;border:1px solid #d7e4dc;border-radius:15px;padding:26px;max-height:85dvh;overflow:auto;box-shadow:0 20px 80px #183a2426}dialog::backdrop{background:#16312366;backdrop-filter:blur(2px)}#confirm-text{white-space:pre-wrap}details{margin-bottom:14px}details summary{cursor:pointer;color:#577461;font-size:13px;min-height:42px;line-height:1.6;padding:10px 0}[hidden]{display:none!important}
@media(min-width:700px){.screen:not(.view-home):not(.view-login)>.card,.screen:not(.view-home):not(.view-login)>form{max-width:680px}.screen:not(.view-home):not(.view-login)>.row{max-width:680px}}
@media(max-width:760px){.app{padding:0 22px}.login-layout{gap:24px}.login-intro,.auth-card{padding:25px}.login-intro h2{font-size:22px}.menu{gap:10px}.menu .task-button{padding:19px 15px;font-size:14px}}
@media(max-width:600px){:root{font-size:14px}.app{padding:0 18px}.app-header{padding:18px 0;gap:10px}.brand{flex-basis:38px;height:38px;border-radius:10px;font-size:13px}.brand-copy strong{font-size:16px}.brand-copy small{font-size:10px}.environment{font-size:10px;padding:3px 6px}.app-header>button{padding:5px 8px;font-size:11px}.app-header{flex-wrap:wrap}main{padding-top:25px}.view-heading{margin-bottom:21px}.view-heading h1{font-size:23px}.view-heading .hint{font-size:12px}.login-layout{display:flex;flex-direction:column;gap:18px}.login-intro{padding:18px 20px;order:2;background:#eef5f0}.login-intro .eyebrow,.login-intro h2{display:none}.login-features{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.login-feature{padding-left:0}.login-feature:before{display:none}.login-feature strong{font-size:12px}.login-feature p{font-size:10px;line-height:1.7;margin-top:4px}.auth-card{padding:25px 22px;order:1}.auth-card h2{font-size:18px}.auth-card>.hint{font-size:12px;margin-bottom:22px}.auth-note{font-size:11px}.connection-note{padding:12px 0;justify-content:space-between;gap:8px}.connection-note p{font-size:11px}.connection-note button{padding:4px 0}.app-download{padding:16px;margin-top:8px;gap:12px;align-items:center}.app-download small{max-width:190px;line-height:1.6;font-size:10px}.download-bar{font-size:11px;padding:7px 10px;gap:8px}.menu{grid-template-columns:minmax(0,1fr);gap:10px}.menu .task-button{padding:16px 42px 16px 18px;min-height:82px;font-size:14px;border-radius:11px}.menu .task-button:before{content:"›";position:absolute;right:18px;top:24px;margin:0;font-size:25px;color:#80a48e}.menu small{font-size:11px;margin-top:4px}.section-title{margin-top:22px}.card{padding:20px}.identity{grid-template-columns:88px minmax(0,1fr);font-size:13px}.row{gap:8px}form.card>button+button{margin-left:0}.form-field{margin-bottom:18px}dialog{padding:23px}.account-actions{justify-content:center}footer{font-size:10px;padding-bottom:max(18px,env(safe-area-inset-bottom))}}
@media(max-width:360px){.app{padding:0 13px}.row{flex-direction:column}.app-download{padding:13px}.app-download small{max-width:160px}.login-feature p{font-size:10px}.environment{max-width:100px;white-space:normal;overflow-wrap:anywhere}}
@media print{@page{size:60mm 80mm;margin:2mm}body{background:#fff}body>*:not(.app),header,footer,.app-download,#status,#screen>*:not(.label){display:none!important}.app,main,#screen{margin:0;padding:0;width:56mm;min-height:0}.label{width:56mm;height:76mm;object-fit:contain;margin:0;border:0}}
