:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#1a2b40;background:#f5f7fa;font-synthesis:none;--blue:#143866;--muted:#7b8797;--line:#e3e8ef;--orange:#a66b1f}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button,a{transition:background .15s,color .15s,box-shadow .15s}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #91b6f0;outline-offset:3px}input,textarea,select{border:1px solid #d8e0e9;border-radius:7px;padding:10px 12px;background:white;color:#24364c;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #c4d7f5;border-color:#7497c6}textarea{resize:vertical;line-height:1.7}button{border:0;background:none;color:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:9px 14px;background:#fff;font-size:13px;line-height:1.5;white-space:nowrap}.btn:hover{background:#edf2f9;border-color:#c6d4e5}.btn.primary{background:var(--blue);border-color:var(--blue);color:white}.btn.primary:hover{background:#21508b}.btn.small{padding:5px 10px;font-size:12px}.btn.danger{color:#ae433c}.quiet{color:var(--muted)}.small{font-size:12px}.topbar{height:74px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 4vw;gap:38px}.brand{display:flex;gap:12px;align-items:center;font-size:18px;letter-spacing:-.4px;font-weight:650}.brand-mark{display:grid;place-items:center;background:var(--blue);color:#fff;width:33px;height:36px;border-radius:7px;font-weight:600;font-family:Georgia,serif;font-size:27px}.brand span span{font-weight:400;color:#8b97a6}.topnav{display:flex;gap:25px;align-self:stretch;font-size:13px}.topnav a{display:flex;align-items:center;position:relative;color:#78879a}.topnav a.active{color:var(--blue);font-weight:600}.topnav a.active:after{content:'';height:3px;border-radius:3px;background:var(--blue);position:absolute;bottom:0;left:0;right:0}.connection{margin-left:auto;display:flex;gap:8px;align-items:center;font-size:12px;color:#768498}.dot{width:7px;height:7px;border-radius:50%;background:#49a183}.dot.off{background:#d9785e}.shell{max-width:1500px;margin:0 auto;padding:30px 4vw 20px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8f9eb0;font-weight:600}.overview{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:25px}.overview h1{font-size:25px;font-weight:600;letter-spacing:-.7px;margin:7px 0}.overview p{font-size:13px;color:#8793a2;margin:0;line-height:1.8}.metrics{display:flex;gap:35px}.metric{border-left:1px solid var(--line);padding-left:25px}.metric strong{display:block;font-size:27px;font-weight:500;margin-bottom:4px}.metric span{font-size:11px;color:#8a96a5}.action-row{display:flex;gap:10px;align-items:center}.template-strip{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:13px;margin:25px 0 30px}.template-tile{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:14px 18px;text-align:left;min-height:80px}.template-tile:hover{border-color:#afc5df;box-shadow:0 4px 15px #1c355309}.template-icon{height:48px;width:70px;flex-shrink:0;background:#eef3f9;border:1px solid #e1e8f1;position:relative;border-radius:3px;overflow:hidden}.template-icon img{width:100%;height:100%;object-fit:cover}.template-icon.minimal{display:grid;place-items:center;color:#25354a;font-size:18px;letter-spacing:3px;background:#fafafa}.template-tile strong{font-size:12px;font-weight:600;display:block;margin-bottom:6px}.template-tile small{font-size:10px;color:#919dab}.template-tile .arrow{margin-left:auto;color:#a6b4c5}.section-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:15px}.section-controls h2{font-size:15px;font-weight:600;margin:0}.count{font-size:11px;color:#8d9caf;border-radius:4px;background:#e7ecf3;padding:2px 6px;margin-left:8px}.filters{display:flex;gap:10px}.search{width:245px;font-size:12px;padding:8px 12px}.filters select{font-size:12px;padding:8px 12px;background:transparent}.deck-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}.deck-card{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 2px 3px #283f5803}.cover-link{display:block;position:relative;aspect-ratio:1787/1006;background:#eaf0f7;border-bottom:1px solid #e9eef4;overflow:hidden}.cover-link img{width:100%;height:100%;object-fit:contain;transition:transform .3s}.cover-link:hover img{transform:scale(1.025)}.cover-empty{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#b2bfce;gap:10px}.cover-empty b{font-size:32px;font-weight:300}.cover-empty span{font-size:11px}.type-label{position:absolute;left:12px;top:11px;border-radius:4px;background:#ffffffed;color:#4f6c90;font-size:9px;padding:4px 7px;backdrop-filter:blur(6px)}.card-info{padding:15px 16px 12px}.card-info h3{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 7px}.card-info p{font-size:11px;color:#8a96a5;height:32px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 10px}.template-name{font-size:10px;color:#8295ac;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:7px 0 12px}.card-stats{display:flex;gap:12px;color:#8995a4;font-size:10px}.card-stats b{color:#495e78;font-weight:600}.card-bottom{border-top:1px solid #f0f3f7;margin-top:12px;padding-top:11px;display:flex;align-items:center;gap:12px;color:#96a1af;font-size:10px}.card-bottom time{margin-right:auto}.text-btn{font-size:11px;color:#597697;padding:1px 0}.text-btn:hover{color:#143866}.footer-note{display:flex;justify-content:space-between;color:#9ba6b4;font-size:10px;margin:25px 0;gap:15px;line-height:1.8}.empty{padding:70px 20px;text-align:center;border:1px dashed #ced9e6;border-radius:10px;background:#ffffff66}.empty h2{font-size:18px;font-weight:500}.empty p{font-size:13px;color:#8b98a9;line-height:1.8}.loading{padding:50px;text-align:center;color:#92a1b4}.workspace{display:grid;grid-template-columns:286px 1fr;height:100dvh;background:#eaf0f5}.sidebar{display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);min-height:0;padding:20px 16px 14px}.back{font-size:12px;color:#8896a8;margin-bottom:18px;display:block}.sidebar h1{font-size:17px;line-height:1.5;margin:0 0 6px;word-break:break-word}.sidebar-template{font-size:10px;color:#91a1b4;line-height:1.6;margin-bottom:15px}.sidebar-buttons{display:flex;gap:7px;margin-bottom:12px}.sidebar-buttons .btn{flex:1}.generate-button{width:100%;margin-bottom:12px}.page-filter{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8393a8;margin:10px 0}.page-filter label{display:flex;align-items:center;gap:5px}.page-filter input{margin:0}.sidebar .search{width:100%}.page-list{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;margin:2px -5px 8px;padding:0 5px}.page-item{padding:9px 8px;border:1px solid transparent;border-radius:6px;display:flex;align-items:center;gap:9px;margin-bottom:5px;width:100%;text-align:left}.page-item:hover{background:#f5f7fb}.page-item.selected{background:#edf3fa;border-color:#d4e1f1}.page-item.hidden-page{opacity:.5}.page-thumb{width:61px;height:36px;object-fit:contain;background:#e9eef4;border:1px solid #e0e6ed;border-radius:2px;flex-shrink:0;display:grid;place-items:center;font-size:11px;color:#8b9cb0}.page-info{min-width:0;flex:1}.page-info strong{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.page-info small{color:#9ba8b8;font-size:9px;display:block;margin-top:4px}.page-num{font-size:9px;color:#a2afbf}.side-footer{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-wrap:wrap;gap:7px}.side-footer .btn{flex:1;font-size:11px;padding:7px}.side-footer .full{flex-basis:100%}.workspace-main{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:32px 25px 77px;min-width:0;overflow:hidden}.slide-stage{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.slide-stage img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 6px 25px #17375215}.no-image{text-align:center;color:#8c9db0}.no-image .symbol{font-size:48px;display:block;font-weight:200;margin-bottom:20px;color:#b2c1d1}.no-image h2{font-size:17px;font-weight:500;color:#6b8099}.no-image p{font-size:12px;line-height:1.9}.image-navigation{position:absolute;bottom:22px;left:0;right:0;display:flex;justify-content:center;gap:10px}.image-navigation button{border:1px solid #d3dde8;background:#f9fbfd;border-radius:6px;padding:8px 17px;font-size:11px;color:#617891}.image-navigation kbd{font:10px inherit;margin-left:8px;color:#a2afbd}.sidebar details{font-size:11px;width:100%;border:1px solid var(--line);border-radius:6px;padding:9px 10px;margin-top:9px}.sidebar summary{cursor:pointer;color:#6f849d}.details-actions{display:grid;gap:4px;padding-top:8px}.details-actions button,.details-actions a{text-align:left;padding:7px;color:#6b7f96;font-size:11px;border-radius:4px}.details-actions button:hover{background:#f1f5fa}.history-item{display:flex;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f5}.history-item img{width:90px;height:51px;object-fit:contain;background:#eaf0f7}.history-item div{flex:1}.history-item strong{font-size:12px;display:block}.history-item small{font-size:10px;color:#9aa6b5}.history-item .btn{font-size:10px}.job-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:20px}.job-intro h1{font-size:23px;font-weight:600;margin:0 0 8px}.job-intro p{font-size:12px;color:#8594a6;line-height:1.8;margin:0}.folder{font-family:Consolas,monospace;font-size:11px;word-break:break-all;background:#eaf0f7;border:1px solid #dfe7f0;padding:12px 15px;border-radius:6px;display:block;margin:12px 0;color:#5f7793}.job-card{background:white;border:1px solid var(--line);border-radius:8px;padding:18px 20px;margin-bottom:12px}.job-heading{display:flex;align-items:center;gap:10px;margin-bottom:8px}.job-heading h3{font-size:14px;margin:0;font-weight:600}.job-heading small{font-size:10px;color:#9aa7b8;margin-left:auto}.badge{display:inline-block;font-size:9px;padding:4px 7px;border-radius:4px;background:#edf2f8;color:#6c84a2;white-space:nowrap}.badge.succeeded{background:#e9f4ef;color:#4f9177}.badge.running{background:#eaf1ff;color:#507ec5}.badge.failed,.badge.cancelled{background:#f9eeea;color:#b27f6b}.job-meta{font-size:11px;color:#8a9bad;margin-bottom:10px}.job-actions{display:flex;gap:7px;flex-wrap:wrap}.job-error{font-size:11px;color:#a5755d;margin:8px 0}.job-card details{font-size:11px;color:#8192a7;margin:10px 0}.job-card pre{font-size:11px;line-height:1.8;white-space:pre-wrap;max-height:230px;overflow:auto;background:#f5f7fa;padding:14px;border-radius:5px}.status-filters{display:flex;gap:6px;margin-bottom:18px;flex-wrap:wrap}.status-filters button{font-size:11px;padding:7px 12px;border-radius:5px;color:#8798ad}.status-filters button.active{color:#28558b;background:#e5edf7}dialog{border:1px solid #dde5ef;border-radius:12px;padding:25px;width:min(600px,calc(100% - 30px));color:#273b53;box-shadow:0 22px 90px #102b5540;max-height:90dvh;overflow:auto}dialog::backdrop{background:#0e254440;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-heading h2{font-size:19px;margin:0;font-weight:600}.close{font-size:24px;color:#a7b2c0;line-height:1;padding:2px 7px}.dialog-intro{font-size:12px;color:#8395aa;line-height:1.8;margin:0 0 19px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#617790;margin-bottom:16px}.field small{font-size:10px;color:#98a6b6;line-height:1.7}.field input,.field select,.field textarea{width:100%}.field textarea{font-size:12px}.dialog-footer{display:flex;gap:9px;justify-content:flex-end;margin-top:23px}.comment{padding:13px 0;border-bottom:1px solid #e8edf3;font-size:12px;line-height:1.8;white-space:pre-wrap}.comment small{display:block;color:#9aabbe;font-size:10px;margin-bottom:5px}.comment .text-btn{display:block}.presentation{position:fixed;inset:0;background:#101820;z-index:100;display:flex;justify-content:center;align-items:center;padding:0 0 50px}.presentation img{width:100%;height:100%;object-fit:contain}.presentation .image-navigation{bottom:12px;opacity:.3}.presentation:hover .image-navigation{opacity:1}.presentation .image-navigation button{background:#263749;border-color:#3b4d5e;color:#c2d1df}.shared{height:100dvh;display:flex;flex-direction:column;background:#eaf0f5}.shared-header{display:flex;align-items:center;padding:15px 25px;font-size:13px;color:#66809e}.shared-header strong{margin-right:auto}.shared-main{flex:1;min-height:0;position:relative;padding:15px 30px 70px;display:flex;align-items:center;justify-content:center}.shared-main img{max-width:100%;max-height:100%;object-fit:contain}.error-panel{margin:50px auto;max-width:600px;padding:25px;background:white;border:1px solid #ecd9d2;border-radius:10px;font-size:13px;line-height:1.8}#toast{position:fixed;z-index:200;bottom:25px;left:50%;transform:translate(-50%,20px);background:#153251;color:#fff;border-radius:7px;padding:11px 22px;font-size:12px;opacity:0;pointer-events:none;transition:all .2s;max-width:min(90%,600px);text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}.prompt-copy{width:100%;min-height:130px;font:11px/1.8 Consolas,monospace}.inline-error{color:#ad5b48;font-size:12px;margin-top:12px}.mobile-only{display:none}
@media(min-width:1600px){.deck-grid{gap:24px}.shell{padding-top:36px}.cover-link{aspect-ratio:1787/1006}}
@media(max-width:1100px){.deck-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics{gap:18px}.metric{padding-left:18px}.template-tile{padding:12px;gap:10px}.template-icon{width:50px;height:35px}.template-tile small{display:none}.workspace{grid-template-columns:250px 1fr}.sidebar{padding:16px 12px}.workspace-main{padding:18px 15px 70px}}
@media(max-width:760px){.topbar{height:64px;padding:0 20px;gap:25px}.brand{font-size:15px}.brand span span{display:none}.connection{font-size:0;gap:0}.topnav{font-size:12px;gap:18px}.shell{padding:24px 20px}.overview{align-items:flex-start}.overview h1{font-size:22px}.overview p{max-width:220px}.metrics{gap:15px}.metric{border:0;padding:0}.metric strong{font-size:22px}.metric:last-child{display:none}.template-strip{grid-template-columns:1fr;gap:8px;margin:20px 0}.template-tile{min-height:60px}.template-icon{width:62px;height:35px}.template-tile small{display:inline;font-size:9px}.deck-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-info{padding:12px}.card-stats{gap:8px;font-size:9px}.section-controls{align-items:flex-start;flex-direction:column}.filters{width:100%}.search{flex:1;width:100%}.footer-note{flex-direction:column}.workspace{grid-template-columns:200px 1fr}.sidebar{padding:14px 10px}.sidebar h1{font-size:14px}.sidebar .btn{font-size:10px;padding:7px}.page-thumb{width:42px;height:27px}.page-item{padding:7px 4px;gap:5px}.page-info strong{font-size:10px}.sidebar .back{font-size:10px}.workspace-main{padding:8px 8px 64px}.image-navigation{gap:5px}.image-navigation button{padding:8px 9px;font-size:10px}.job-heading{flex-wrap:wrap}.job-heading small{margin-left:0}.job-intro{align-items:flex-start;flex-direction:column}.job-card{padding:14px}.job-heading h3{font-size:12px}}
@media(max-width:480px){.brand{gap:7px}.brand-mark{width:28px;height:31px;font-size:23px}.topbar{gap:20px}.topnav{gap:14px}.deck-grid{grid-template-columns:1fr}.metrics{gap:15px}.metric span{font-size:9px}.metric strong{font-size:20px}.overview{gap:10px}.overview p{font-size:11px;max-width:180px}.overview h1{font-size:20px}.workspace{grid-template-columns:145px 1fr}.sidebar{padding:12px 7px}.sidebar-buttons{flex-wrap:wrap;gap:4px}.sidebar-buttons .btn{padding:6px}.sidebar-template{font-size:8px}.sidebar h1{font-size:12px}.page-thumb{display:none}.page-info small{font-size:8px}.sidebar .search{font-size:10px;padding:7px}.side-footer .btn{font-size:9px}.page-filter{font-size:8px;gap:3px}.page-filter input{width:11px}.workspace-main .image-navigation{flex-direction:column;align-items:center}.workspace-main{padding-bottom:95px}.workspace-main .image-navigation button{width:90px}.sidebar details{font-size:10px;padding:8px 6px}}
.sidebar .search{flex:none;height:34px}.no-image{max-width:100%}.no-image p{overflow-wrap:anywhere}@media(max-width:480px){.no-image h2{font-size:13px}.no-image p{font-size:10px;padding:0 4px}}
