:root{color:#20242b;background:#f5f6f8;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #20242b;--muted: #747c88;--line: #e4e7eb;--surface: #fff;--green: #15805d;--green-soft: #e9f6f0;--blue: #2d63d4;--blue-soft: #eaf0fc;--red: #c3423f;--red-soft: #fbeceb}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);font-size:17px;font-weight:750}.brand-mark{width:36px;height:36px;display:grid;place-items:center;color:#fff;background:#e14e43;border-radius:8px}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.public-shell{min-height:100vh;background:#f7f7f5;display:flex;flex-direction:column}.public-header{height:72px;max-width:1180px;width:calc(100% - 48px);margin:0 auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e2de}.public-count{color:var(--muted);font-size:13px}.public-main{width:calc(100% - 48px);max-width:1180px;margin:0 auto;flex:1;padding:58px 0 72px}.public-title{margin-bottom:30px}.public-title p{margin:0 0 7px;color:#e14e43;font-size:12px;font-weight:750;text-transform:uppercase}.public-title h1{margin:0;font-family:Georgia,Songti SC,serif;font-size:56px;line-height:1;font-weight:500;letter-spacing:0}.category-back{display:inline-flex;align-items:center;gap:6px;margin-top:18px;color:var(--muted);font-size:13px;font-weight:650}.category-back:hover{color:var(--ink)}.category-list{border-top:1px solid #d9dbd7}.category-entry{min-height:92px;display:grid;grid-template-columns:52px minmax(0,1fr) auto 28px;align-items:center;gap:18px;border-bottom:1px solid #d9dbd7;transition:background .15s ease}.category-entry:hover{background:#fff}.category-index{color:#a0a6ad;font-family:SFMono-Regular,Consolas,monospace;font-size:12px}.category-name{font-family:Georgia,Songti SC,serif;font-size:28px}.category-count{color:var(--muted);font-size:13px}.category-entry>svg{color:#a0a6ad}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}.project-card{min-width:0}.project-cover{aspect-ratio:16 / 10;position:relative;overflow:hidden;display:grid;place-items:center;border-radius:6px;color:#fff;transition:transform .18s ease,box-shadow .18s ease}.project-card:hover .project-cover{transform:translateY(-3px);box-shadow:0 14px 34px #161b2226}.project-cover img{width:100%;height:100%;object-fit:cover}.project-cover>span:first-child{font-family:Georgia,serif;font-size:70px}.cover-0{background:#d95545}.cover-1{background:#226c70}.cover-2{background:#5d5387}.cover-3{background:#2f6f44}.cover-4{background:#ad7631}.cover-5{background:#366a9b}.open-action{position:absolute;right:14px;bottom:14px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#ffffffeb;color:var(--ink);opacity:0;transform:translate(-4px);transition:.18s ease}.project-card:hover .open-action{opacity:1;transform:translate(0)}.project-copy{padding:14px 2px 0}.project-copy h2{margin:0 0 5px;font-size:17px;letter-spacing:0}.project-copy p{margin:0;color:var(--muted);line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.public-footer{width:calc(100% - 48px);max-width:1180px;margin:auto;padding:22px 0;border-top:1px solid #e1e2de;color:var(--muted);font-size:12px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.public-footer a{color:inherit;text-decoration:none}.public-footer a:hover,.public-footer a:focus-visible{color:var(--text);text-decoration:underline}.empty-public{padding:80px 20px;text-align:center;color:var(--muted);border-top:1px solid #e1e2de}.empty-public h2{color:var(--ink);margin:14px 0 5px;font-size:18px}.empty-public p{margin:0}.auth-page{min-height:100vh;background:#f3f5f7;display:grid;place-items:center;padding:24px}.auth-panel{width:100%;max-width:420px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:34px;box-shadow:0 18px 50px #1f263014}.auth-brand{margin-bottom:40px}.auth-heading{margin-bottom:26px}.auth-icon{display:grid;place-items:center;width:36px;height:36px;color:var(--blue);background:var(--blue-soft);border-radius:8px;margin-bottom:16px}.auth-heading h1{margin:0 0 7px;font-size:24px;letter-spacing:0}.auth-heading p{color:var(--muted);margin:0;line-height:1.5}form label{display:block;font-size:13px;font-weight:650;margin-bottom:16px}input,textarea,select{width:100%;margin-top:7px;border:1px solid #cfd4da;border-radius:6px;padding:10px 11px;color:var(--ink);background:#fff;outline:none;transition:border .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}textarea{resize:vertical}.primary,.secondary{height:38px;border-radius:6px;border:1px solid transparent;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700}.primary{color:#fff;background:var(--blue)}.primary:hover{background:#2458c0}.primary:disabled,.secondary:disabled{opacity:.55;cursor:default}.secondary{color:var(--ink);background:#fff;border-color:#d7dbe0}.secondary:hover{background:#f6f7f8}.full{width:100%;margin-top:8px}.form-error,.inline-error{color:var(--red);background:var(--red-soft);border-radius:6px;padding:10px 12px;font-size:13px;margin-bottom:12px}.admin-shell{min-height:100vh;background:#f6f7f9;padding-left:224px}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;padding:24px 16px 18px;background:#20252d;color:#bdc4ce;display:flex;flex-direction:column}.sidebar-brand{color:#fff;padding:0 8px;margin-bottom:38px}.sidebar nav{display:grid;gap:4px}.nav-item{width:100%;height:40px;padding:0 11px;border:0;border-radius:6px;background:transparent;color:inherit;display:flex;align-items:center;gap:11px;text-align:left;font-weight:600}.nav-item svg:last-child:not(:first-child){margin-left:auto}.nav-item:hover{color:#fff;background:#2a3039}.nav-item.active{color:#fff;background:#343b46}.logout{margin-top:auto}.admin-main{max-width:1240px;margin:0 auto;padding:46px 48px 70px}.admin-header,.detail-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:30px}.eyebrow{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.1em}.admin-header h1,.detail-header h1{margin:5px 0 4px;font-size:29px;letter-spacing:0}.admin-header p,.detail-header p{margin:0;color:var(--muted)}.table-wrap{background:#fff;border:1px solid var(--line);border-radius:7px;overflow:visible}table{width:100%;border-collapse:collapse}th,td{padding:14px 18px;text-align:left;border-bottom:1px solid #eceef1;font-size:13px}th{color:var(--muted);background:#fafbfc;font-size:11px;text-transform:uppercase}tbody tr:last-child td{border-bottom:0}tbody tr{cursor:pointer}.table-wrap tbody tr:hover{background:#f9fafb}.project-cell{display:flex;align-items:center;gap:12px;min-width:220px}.project-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:6px;color:#fff;background:#566273;font-weight:750}.project-cell strong,.project-cell small{display:block}.project-cell small{color:var(--muted);margin-top:3px;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;color:#46505d;background:#eef0f2;font-size:11px;font-weight:700;white-space:nowrap}code{font-family:SFMono-Regular,Consolas,monospace;font-size:12px;color:#46505d}.status{display:inline-flex;align-items:center;min-width:58px;justify-content:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700}.status.live{color:var(--green);background:var(--green-soft)}.status.draft{color:#6d7480;background:#eef0f2}.status.hidden-status{color:#9b651c;background:#faf0dc}.action-cell{width:50px;position:relative}.icon-button{width:34px;height:34px;border:0;border-radius:6px;color:#707985;background:transparent;display:inline-grid;place-items:center}.icon-button:hover{background:#eceff2;color:var(--ink)}.menu{position:absolute;z-index:3;right:12px;top:44px;width:130px;padding:5px;border:1px solid var(--line);background:#fff;border-radius:6px;box-shadow:0 12px 30px #1c222b24}.menu button{width:100%;border:0;background:transparent;border-radius:4px;padding:8px;display:flex;gap:8px;align-items:center;text-align:left}.menu button:hover{background:#f3f4f6}.danger-text{color:var(--red)}.empty-admin{background:#fff;border:1px dashed #cfd4da;border-radius:7px;text-align:center;padding:80px 20px;color:var(--muted)}.empty-admin h2{color:var(--ink);font-size:18px;margin:14px 0 5px}.empty-admin p{margin:0}.center-loading{min-height:180px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.saving-label{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:13px}.category-order-list{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff}.category-order-row{min-height:76px;display:grid;grid-template-columns:40px 42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 18px 0 10px;border-bottom:1px solid #eceef1;background:#fff;transition:opacity .15s,background .15s}.category-order-row:last-child{border-bottom:0}.category-order-row.dragging{opacity:.45;background:#f1f4f8}.drag-handle{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:6px;color:#9299a3;background:transparent;cursor:grab}.drag-handle:hover{color:var(--ink);background:#eef0f2}.drag-handle:active{cursor:grabbing}.category-order-index{color:#9aa1aa;font-family:SFMono-Regular,Consolas,monospace;font-size:12px}.category-order-copy{min-width:0}.category-order-copy strong,.category-order-copy code{display:block}.category-order-copy strong{margin-bottom:5px;font-size:14px}.category-order-count{color:var(--muted);font-size:12px;white-space:nowrap}.service-update-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:22px;align-items:start}.service-update-panel{min-height:310px;padding:34px;border:1px solid var(--line);border-radius:7px;background:#fff}.service-update-panel>svg{color:var(--blue)}.service-update-panel h2{margin:17px 0 8px;font-size:20px}.service-update-panel>p{max-width:680px;margin:0;color:var(--muted);line-height:1.7}.update-progress-panel{margin:28px -34px 0;padding:22px 34px;border-top:1px solid #dce3ec;border-bottom:1px solid #dce3ec;background:#f7f9fc}.update-progress-panel.failed{background:#fff8f7;border-color:#f0d4d1}.update-progress-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.update-progress-heading span{min-width:0}.update-progress-heading strong,.update-progress-heading small{display:block}.update-progress-heading strong{font-size:14px}.update-progress-heading small{margin-top:5px;color:var(--muted);line-height:1.45}.update-progress-heading b{flex:none;color:var(--blue);font-family:SFMono-Regular,Consolas,monospace;font-size:13px}.update-progress-panel.failed .update-progress-heading b{color:var(--red)}.update-progress-track{height:8px;margin-top:16px;overflow:hidden;border-radius:4px;background:#dfe5ec}.update-progress-track span{display:block;height:100%;border-radius:inherit;background:var(--blue);transition:width .35s ease}.update-progress-panel.failed .update-progress-track span{background:var(--red)}.update-connection-state{min-height:20px;display:flex;align-items:center;gap:7px;margin-top:12px;color:#5f6976;font-size:12px}.update-connection-state svg{flex:none}.return-home{margin-top:16px}.update-safety-note{margin-top:24px;padding:14px 16px;border-left:3px solid #ad7631;background:#fbf5e9;color:#6f572f;font-size:13px;line-height:1.6}.service-update-panel .inline-error{margin-top:16px;margin-bottom:0}.update-row{min-height:84px}.release-dot.update-queued{background:#ad7631;box-shadow:0 0 0 4px #fbf2df}.release-dot.update-running{background:var(--blue);box-shadow:0 0 0 4px var(--blue-soft);animation:pulse 1.2s ease-in-out infinite}.release-dot.update-rolled_back,.release-dot.update-failed{background:var(--red);box-shadow:0 0 0 4px var(--red-soft)}.update-state{flex:none;padding:4px 7px;border-radius:999px;background:#eef0f2;color:#68717d;font-size:10px;font-weight:750}.state-running{color:var(--blue);background:var(--blue-soft)}.state-failed,.state-rolled_back{color:var(--red);background:var(--red-soft)}@keyframes pulse{50%{opacity:.4}}.detail-header{align-items:center;justify-content:flex-start;gap:14px}.detail-header .secondary{margin-left:auto}.back{background:#fff;border:1px solid var(--line)}.detail-title-line{display:flex;align-items:center;gap:12px}.detail-title-line h1{margin-top:0}.detail-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:22px;align-items:start}.drop-zone{min-height:330px;padding:44px 28px;border:1px dashed #bfc6ce;border-radius:7px;background:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.drop-zone>svg{color:var(--blue);margin-bottom:16px}.drop-zone h2{margin:0 0 6px;font-size:20px}.drop-zone p{color:var(--muted);margin:0 0 20px}.drop-zone small{color:#8a919b;margin-top:20px;line-height:1.5}.drop-zone.busy{background:#fafbfc}.inline-error{margin-top:12px;display:flex;align-items:center;gap:8px}.contract-note{margin-top:14px;padding:15px 17px;background:#edf3fc;border-left:3px solid var(--blue);font-size:13px}.contract-note p{margin:5px 0 0;color:#596474;line-height:1.55}.history-panel{border:1px solid var(--line);border-radius:7px;background:#fff;overflow:hidden}.section-heading{padding:18px 19px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.section-heading h2{margin:3px 0 0;font-size:17px}.release-list{padding:3px 0}.release-row{min-height:72px;display:flex;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #edf0f2}.release-row:last-child{border-bottom:0}.release-dot{flex:none;width:9px;height:9px;border-radius:50%;background:#c4cad1}.release-dot.current{background:var(--green);box-shadow:0 0 0 4px var(--green-soft)}.release-copy{flex:1;min-width:0}.release-copy strong,.release-copy small{display:block}.release-copy strong{font-size:13px}.release-copy small{color:var(--muted);margin-top:4px}.current-label{color:var(--green);font-size:11px;font-weight:750}.empty-history{padding:60px 25px;text-align:center;color:var(--muted)}.empty-history p{margin:12px 0 0;line-height:1.5}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;padding:20px;background:#151a217a}.dialog{width:min(480px,100%);background:#fff;border-radius:8px;box-shadow:0 24px 70px #0d121940}.dialog>header{display:flex;justify-content:space-between;padding:23px 25px 18px;border-bottom:1px solid var(--line)}.dialog h2{margin:0 0 4px;font-size:20px}.dialog header p{margin:0;color:var(--muted);font-size:13px}.dialog form{padding:22px 25px 24px}.new-category-fields{margin:-3px 0 16px;padding:14px 15px 1px;border:1px solid #d9e1ed;border-radius:6px;background:#f6f8fb}.new-category-heading{display:flex;align-items:center;gap:7px;margin-bottom:13px;color:var(--blue);font-size:12px;font-weight:750}.toggle-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0}.toggle-row span strong,.toggle-row span small{display:block}.toggle-row span small{color:var(--muted);font-weight:400;margin-top:3px}.toggle-row input{width:38px;height:20px;margin:0;accent-color:var(--blue)}.dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.toast{position:fixed;right:24px;bottom:24px;z-index:20;display:flex;align-items:center;gap:9px;padding:11px 15px;color:#fff;background:#26303a;border-radius:6px;box-shadow:0 10px 28px #1419203d;font-size:13px}@media(max-width:900px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid,.service-update-layout{grid-template-columns:1fr}}@media(max-width:680px){.public-header,.public-main,.public-footer{width:calc(100% - 30px)}.public-main{padding-top:40px}.public-title h1{font-size:38px}.category-entry{min-height:78px;grid-template-columns:34px minmax(0,1fr) 22px;gap:10px}.category-name{font-size:22px}.category-count{display:none}.project-grid{grid-template-columns:1fr;gap:27px}.project-cover>span:first-child{font-size:56px}.admin-shell{padding-left:0}.sidebar{display:none}.admin-main{padding:28px 18px 50px}.admin-header{align-items:center}.table-wrap{overflow-x:auto}.detail-header{flex-wrap:wrap}.detail-header .secondary{margin-left:48px}}
