*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f5f7fb;color:#17233b}.hidden{display:none!important}button,input,textarea,select{font:inherit}button{cursor:pointer}.home{min-height:100vh;background:radial-gradient(circle at 72% 12%,#e9e6ff 0,transparent 28%),#f7f8fc}header{height:72px;display:flex;align-items:center;padding:0 4vw;border-bottom:1px solid #e3e7ef;gap:24px}.back{text-decoration:none;color:#60708b}.brand{font-size:19px}.brand span{font-size:10px;background:#6557e8;color:#fff;padding:4px 7px;border-radius:12px;margin-left:8px}.ghost{margin-left:auto;border:1px solid #d8ddea;background:white;padding:10px 16px;border-radius:12px}.landing{max-width:1180px;margin:auto;padding:65px 30px}.hero{max-width:900px}.eyebrow{font-size:12px;letter-spacing:2px;color:#6557e8;font-weight:800}.hero h1{font-size:52px;line-height:1.05;margin:15px 0}.hero h1 em{font-style:normal;color:#6557e8}.hero p{font-size:18px;color:#64718a;max-width:760px;line-height:1.55}.hero textarea{width:100%;height:115px;border:1px solid #dce1eb;border-radius:18px;padding:20px;font-size:16px;resize:none;box-shadow:0 12px 35px #29324a12;background:#fff}.source-row{display:flex;gap:8px;margin:15px 0;flex-wrap:wrap}.chip{border:1px solid #dce1eb;background:#fff;border-radius:20px;padding:8px 13px;color:#5c6880}.chip.active{border-color:#6557e8;color:#5849d9;background:#f0eeff}.hero-actions{display:flex;gap:10px}.primary{border:0;background:linear-gradient(135deg,#6c5ce7,#5a78ef);color:#fff;padding:13px 20px;border-radius:12px;font-weight:700}.secondary{border:1px solid #d8ddea;background:#fff;padding:13px 20px;border-radius:12px}.section-title{display:flex;align-items:end;justify-content:space-between;margin-top:65px}.section-title h2{margin:0}.section-title span{color:#8a95aa}.templates{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:15px}.template{text-align:left;background:white;border:1px solid #e1e5ee;border-radius:16px;padding:22px;min-height:105px;box-shadow:0 8px 25px #26314b08}.template:hover{border-color:#7568ed;transform:translateY(-2px)}.template b{display:block;font-size:16px;margin-bottom:8px}.template small{color:#77839a;line-height:1.4}.designer{height:100vh;overflow:hidden;background:#e9edf4}.topbar{height:62px;background:#111a2c;color:white;display:flex;align-items:center;padding:0 14px;gap:12px}.icon{font-size:28px;background:transparent;color:white;border:0}.doc{display:flex;flex-direction:column}.doc input{background:transparent;border:0;color:white;font-weight:700;width:330px}.doc span{font-size:10px;color:#8491aa}.tools{margin-left:auto;display:flex;gap:7px}.tools button,.contextbar button,.contextbar select{border:1px solid #d8dee9;background:white;border-radius:8px;padding:8px 11px}.tools button{background:#1a263d;color:#dce4f5;border-color:#34415a}.tools .primary{background:#6557e8}.small{padding:9px 13px!important}.workspace{height:calc(100vh - 62px);display:grid;grid-template-columns:190px minmax(500px,1fr) 270px}.slides,.properties{background:#f9fafc;border-right:1px solid #d8dee8;overflow:auto}.properties{border-left:1px solid #d8dee8;border-right:0}.aside-head{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 14px}.aside-head button{border:0;background:#eceafa;color:#5b4fe1;border-radius:8px;padding:5px 9px}.thumb{margin:7px 12px;padding:8px;border:2px solid transparent;border-radius:10px;cursor:pointer}.thumb.active{border-color:#6557e8;background:#efedff}.thumb-preview{aspect-ratio:16/9;background:white;border:1px solid #dfe4ed;border-radius:5px;padding:8px;font-size:8px;overflow:hidden}.thumb label{font-size:11px;display:block;margin-top:5px;color:#536079}.canvas-wrap{min-width:0;display:flex;flex-direction:column}.contextbar{height:48px;background:#fff;border-bottom:1px solid #d9dfe9;display:flex;align-items:center;gap:6px;padding:0 10px}.contextbar span{flex:1}.canvas-stage{flex:1;overflow:auto;padding:28px;display:flex;justify-content:center;align-items:flex-start}.slide-canvas{width:min(1120px,calc((100vh - 145px)*1.777));aspect-ratio:16/9;background:#fff;box-shadow:0 14px 45px #1b294030;border-radius:5px;position:relative;overflow:hidden;transform-origin:top center}.slide-title{position:absolute;left:5%;right:5%;top:5%;height:14%;z-index:2}.slide-title h1{font-size:clamp(20px,2.1vw,34px);margin:0 0 5px;outline:none}.slide-title p{color:#7a8497;margin:0;outline:none}.block{border:1px solid transparent;border-radius:12px;padding:14px;position:absolute;overflow:hidden;background:#fff;user-select:none;touch-action:none}.block:hover,.block.selected{border-color:#7568ed;box-shadow:0 0 0 2px #7568ed20}.block h3{font-size:14px;margin:0 0 10px}.block.kpi{background:#f5f6fb}.kpi small{display:block;color:#6c7890;font-size:12px}.kpi strong{display:block;font-size:clamp(20px,2vw,32px);margin:5px 0}.insight{font-size:11px;color:#657188}.text-body{font-size:14px;line-height:1.55;color:#45536b}.actions ul{padding-left:18px;font-size:13px;margin:8px 0}.actions li{margin:8px 0}.resize-handle{position:absolute;width:12px;height:12px;right:2px;bottom:2px;background:#6557e8;border:2px solid #fff;border-radius:50%;cursor:nwse-resize}.chart-bars{height:calc(100% - 28px);display:flex;align-items:end;gap:8px;border-bottom:1px solid #dfe4ed}.chart-bars>div{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}.chart-bars i{display:block;width:70%;background:linear-gradient(#6f61e8,#8d83f2);border-radius:5px 5px 0 0}.chart-bars small{font-size:9px;white-space:nowrap}.line-chart{width:100%;height:calc(100% - 45px);color:#6557e8;overflow:visible}.axis-labels{display:flex;justify-content:space-between;font-size:9px;color:#6f7a8d}.donut-chart{width:min(130px,50%);aspect-ratio:1;border-radius:50%;margin:auto;position:relative}.donut-chart i{position:absolute;inset:27%;background:white;border-radius:50%}.chart-legend{font-size:9px;display:flex;gap:7px;justify-content:center;flex-wrap:wrap;margin-top:7px}.visual-table{height:calc(100% - 25px);overflow:auto}.visual-table table{width:100%;border-collapse:collapse;font-size:11px}.visual-table td,.visual-table th{padding:6px;border-bottom:1px solid #e5e8ef;text-align:left}.visual-table th{background:#f4f5fa;position:sticky;top:0}.shape{background:#eeeaff}.shape-label{height:100%;display:grid;place-items:center;color:#6256dc}.prop-tabs{display:flex;border-bottom:1px solid #dfe4ed}.prop-tabs button{flex:1;border:0;background:transparent;padding:15px}.prop-tabs .active{color:#5e51df;border-bottom:2px solid #6557e8}.empty-prop{padding:25px;color:#8792a5;font-size:13px;line-height:1.5}.prop-form{padding:16px}.prop-form label{display:block;font-size:11px;font-weight:700;margin:14px 0 5px}.prop-form input,.prop-form textarea,.prop-form select,.prop-form button{width:100%;border:1px solid #d8dee8;border-radius:8px;padding:9px;background:#fff}.prop-form input[type=color]{height:38px;padding:3px}.prop-form .full{margin-top:12px;border:0;background:#6557e8}.prop-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:15px}.range-note{background:#f0eeff;padding:9px;border-radius:8px;margin-bottom:7px;color:#5c50d8;font-weight:700}.data-panel{position:fixed;left:190px;right:270px;bottom:0;height:58vh;background:#fff;z-index:20;border-top:1px solid #cfd6e2;box-shadow:0 -12px 30px #1b294020;padding:14px;display:flex;flex-direction:column}.data-head{display:flex;justify-content:space-between;align-items:center}.data-head small{display:block;color:#7b879b}.data-head button{border:1px solid #d8dee8;background:white;border-radius:8px;padding:7px 10px}.sheet-toolbar{display:flex;gap:6px;align-items:center;margin:12px 0 7px;flex-wrap:wrap}.sheet-toolbar input{border:1px solid #d8dee8;border-radius:7px;padding:7px;font-weight:700}.sheet-toolbar button{border:1px solid #d8dee8;background:#f8f9fc;border-radius:7px;padding:7px 9px}.formula{display:flex;border:1px solid #d8dee8;border-radius:6px;margin-bottom:7px}.formula span{width:55px;padding:7px;text-align:center;border-right:1px solid #d8dee8;font-size:12px}.formula input{border:0;outline:0;flex:1;padding:7px}.sheet-wrap{flex:1;overflow:auto;border:1px solid #cfd6e2;background:white}.sheet-wrap table{border-collapse:collapse;min-width:100%;table-layout:fixed}.sheet-wrap th,.sheet-wrap td{border:1px solid #dfe4eb;min-width:110px;height:30px;padding:5px 7px;font-size:12px;outline:none}.sheet-wrap thead th,.sheet-wrap tbody th{background:#f3f5f8;text-align:center;min-width:40px}.sheet-wrap .corner{min-width:40px}.sheet-wrap td.sel{background:#e9e6ff;box-shadow:inset 0 0 0 1px #7568ed}.data-foot{display:flex;justify-content:space-between;color:#7b879b;font-size:11px;padding-top:6px}.presentation{position:fixed;inset:0;background:#080d18;z-index:50;display:flex;align-items:center;justify-content:center}.presentation>button{position:absolute;right:25px;top:20px;background:transparent;border:0;color:white;font-size:32px}.presentation #presentSlide{width:85vw;aspect-ratio:16/9;background:white;position:relative;overflow:hidden}.presentation .block{border:0}.pres-nav{position:absolute;bottom:15px;display:flex;gap:15px;color:white;align-items:center}.pres-nav button{border:0;border-radius:50%;width:36px;height:36px}@media(max-width:900px){.templates{grid-template-columns:1fr 1fr}.workspace{grid-template-columns:130px 1fr}.properties{display:none}.hero h1{font-size:40px}.data-panel{left:130px;right:0}.contextbar{overflow-x:auto}.tools button:first-child{display:none}}

.chart-hbars{height:calc(100% - 28px);display:grid;gap:7px;align-content:center}.chart-hbars>div{display:grid;grid-template-columns:25% 1fr 12%;gap:7px;align-items:center;font-size:10px}.chart-hbars i{height:12px;background:#eceafa;border-radius:8px;overflow:hidden}.chart-hbars b{display:block;height:100%;background:#6c5ce7;border-radius:8px}.chart-hbars em{font-style:normal}.report-help{position:fixed;inset:0;background:#11182c99;z-index:80;display:grid;place-items:center}.report-help>div{width:min(720px,90vw);background:white;border-radius:18px;padding:28px;box-shadow:0 20px 60px #0003;position:relative}.report-help button{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:25px}.report-help li{margin:12px 0;line-height:1.45}.report-help p{background:#f2f0ff;border-radius:12px;padding:13px;color:#4f5870}.shape-circle{border-radius:50%}.shape-round{border-radius:24px}.shape-diamond{transform:rotate(-45deg)}
/* V7 premium reporting */
.slide-canvas{background:linear-gradient(135deg,#fff 0%,#fff 72%,#f5f2ff 100%);box-shadow:0 24px 70px rgba(16,33,63,.14)}
.slide-title h1{letter-spacing:-.035em}.slide-title p{max-width:72%}
.block.text,.block.table,.block.actions{border:1px solid #e5e9f2;box-shadow:0 10px 28px rgba(16,33,63,.07)}
.block.kpi{border:1px solid #e5e9f2;box-shadow:0 12px 30px rgba(16,33,63,.08)}
.block.kpi strong{font-size:clamp(18px,2vw,34px);letter-spacing:-.04em}.block.kpi small{font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.visual-table{height:calc(100% - 34px);overflow:auto}.visual-table table{font-size:12px}.visual-table th{position:sticky;top:0;background:#eef1ff;color:#17213a}.visual-table td,.visual-table th{padding:7px 9px}
.block.text h3,.block.actions h3,.block.table h3,.block.chart h3{color:#17213a}.text-body{line-height:1.55}
.series-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;margin:0 0 8px;color:#667085}.series-legend span{display:flex;align-items:center;gap:5px}.series-legend i{width:9px;height:9px;border-radius:3px}.grouped-bars{height:calc(100% - 54px);display:flex;align-items:stretch;gap:12px;padding:10px 12px 0}.bar-group{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.bar-group .bars{height:90%;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px;border-bottom:1px solid #dfe4ee}.bar-group .bars i{width:min(22px,38%);border-radius:6px 6px 0 0;min-height:4px}.bar-group small{font-size:9px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* V8 - inspector inspired by standard office tools */
.prop-form{padding:12px}.prop-section{padding:12px 0;border-bottom:1px solid #e7eaf0}.prop-section>b{display:block;font-size:12px;color:#17213a;margin-bottom:8px}.format-row{display:grid;grid-template-columns:1fr 76px;gap:7px;align-items:end}.format-row label{margin:0!important}.format-buttons{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:8px 0}.format-buttons button{padding:7px!important}.format-buttons button.on,.prop-form button.on{background:#e9e6ff;border-color:#7568ed;color:#5547d8}.prop-form input[type=range]{padding:0;border:0}.prop-form .check{display:flex;align-items:center;gap:8px}.prop-form .check input{width:auto}.properties{background:#fbfcfe}.prop-tabs{position:sticky;top:0;background:#fff;z-index:5}.block .text-body,.block .insight,.block h3,.block small,.block strong{color:inherit}.block{box-sizing:border-box}
/* V9 Power Workspace */
.kpi-meta{display:flex;justify-content:space-between;gap:8px;margin-top:8px;padding-top:7px;border-top:1px solid rgba(100,110,140,.14);font-size:10px;font-weight:700;opacity:.72}.v9-analysis{background:#f7f8fc;border:1px solid #e5e9f2;border-radius:12px;padding:12px}.contextbar button[title]{min-width:42px}.prop-section select,.prop-section input,.prop-section textarea{max-width:100%}.data-panel .sheet-toolbar select{height:38px;border:1px solid #dce2ed;border-radius:9px;background:#fff;padding:0 10px}.block.selected{outline:2px solid #6756ef;outline-offset:2px}.slide-canvas{background-image:linear-gradient(rgba(108,93,238,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(108,93,238,.025) 1px,transparent 1px);background-size:24px 24px}
/* V11 work-ready refinements */
.primary-soft{background:#f0ebff!important;color:#5b3fc4!important;border-color:#d8cff9!important;font-weight:800}
.v11-data-link small{display:block;color:#7a8499;margin:4px 0 10px}.v11-data-link .format-row label{font-size:11px;color:#69758c}.v11-data-link .format-row label input{margin-top:4px}
.block[data-locked="true"]{outline-style:dashed}.block.locked:after{content:'🔒';position:absolute;right:5px;top:5px;font-size:10px;opacity:.55}
/* V12 Simple Pro */
.v12-simplebar{margin:8px 14px 4px;padding:10px 12px;border:1px solid #dfe4ef;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(27,39,76,.06)}
.v12-flow{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.v12-flow b{margin-right:5px}.v12-flow span{flex:1}.v12-flow button,.v12-mini-actions button{border:1px solid #d8deea;background:#f7f9fc;border-radius:9px;padding:7px 10px;font-weight:750;cursor:pointer}.v12-flow button:hover,.v12-mini-actions button:hover{background:#eef1ff;border-color:#aaa2ff}.v12-simplebar small{display:block;color:#7a8499;margin-top:7px}.v12-mini-actions{display:flex;gap:6px;margin-top:9px}.v12-mini-actions .danger{color:#a93149;background:#fff5f6}#v12Toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#17213a;color:#fff;padding:10px 15px;border-radius:10px;z-index:99999;transition:.18s;font-size:12px;box-shadow:0 8px 30px #0003}#v12Toast.show{opacity:1;transform:translate(-50%,0)}
/* V16 - page design */
.page-theme-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0 16px}.page-theme-grid button{min-height:38px;border:1px solid #dce3ef;border-radius:9px;background:#fff;font-weight:700}.slide-canvas{transition:background .15s ease}.visual-table table{font-size:12px}.visual-table th{background:#2f6f9f;color:#fff}.visual-table tr:nth-child(even) td{background:rgba(239,246,251,.65)}
