@import url('pdf-studio.css');
header,main,footer{max-width:1440px}nav{flex-wrap:wrap}.intro{padding-bottom:28px}.intro-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin:16px 0}.section-heading,.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0}.section-heading h2{font-size:24px}.section-heading p{margin:5px 0}.section-heading label{min-width:230px}.templates{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.template{text-align:left;padding:12px;background:#fff;border-radius:12px}.template:hover{border-color:#94a6ed;box-shadow:0 4px 18px #263b7510}.template-preview{height:130px;background:#f1f3f6;border-radius:7px;padding:15px;display:flex;align-items:center;justify-content:center;overflow:hidden}.template-preview svg{width:100%;height:100%;filter:drop-shadow(0 2px 4px #0001)}.template strong{display:block;font-size:13px;margin:11px 0 3px}.template small{color:var(--muted);font-size:11px}.editor{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;margin:28px 0;scroll-margin-top:10px}.editor[hidden]{display:none}.editor-heading{margin:0 0 15px}.editor-heading h2{font-size:24px}.editor-heading .eyebrow{margin:0}.toolbar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.toolbar>div{display:flex;flex-wrap:wrap;gap:6px}.toolbar button{font-size:11px}.zoom{flex-direction:row;align-items:center;gap:8px}.zoom input{width:110px}.zoom output{width:38px}.work-grid{display:grid;grid-template-columns:200px minmax(0,1fr) 225px;gap:18px;margin-top:18px}.work-grid aside{padding:0;border:0;min-width:0}.tools{border-right:1px solid var(--line)!important;padding-right:15px!important}.properties{border-left:1px solid var(--line)!important;padding-left:15px!important}.work-grid h3{font-size:12px;margin:4px 0 10px}.work-grid h3:not(:first-child){margin-top:20px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fields .wide{grid-column:1/-1}label{display:flex;flex-direction:column;gap:4px;font-size:11px;margin-bottom:8px;min-width:0}.check{flex-direction:row;align-items:center;gap:7px}input,select,textarea{width:100%;min-width:0;max-width:100%;font-size:12px;border:1px solid var(--line);border-radius:6px;padding:7px;background:#fff;color:var(--ink)}input[type=checkbox]{width:auto}input[type=color]{height:33px;padding:3px}textarea{resize:vertical;min-height:70px}input[type=range]{padding:4px 0;accent-color:var(--blue)}.hint{font-size:10px;color:var(--muted);line-height:1.6}.add-grid,.layer-actions,.align-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.add-grid button,.layer-actions button,.align-grid button{padding:7px 4px;font-size:10px}.align-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.layers{max-height:210px;overflow:auto;display:grid;gap:4px;margin-bottom:8px}.layer{display:flex;gap:5px;align-items:center;padding:7px;text-align:left;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.layer.selected{border-color:var(--blue);background:#f0f3ff;color:var(--blue)}.layer span{overflow:hidden;text-overflow:ellipsis}.canvas-column{min-width:0}.stage{height:500px;background:repeating-conic-gradient(#edf0f5 0% 25%,#f7f8fb 0% 50%) 50%/24px 24px;border:1px solid var(--line);border-radius:9px;overflow:auto;display:grid;place-items:center;padding:28px;touch-action:pan-x pan-y}.stage svg{display:block;flex:none;overflow:visible;box-shadow:0 4px 22px #23324822;touch-action:none;user-select:none;max-width:none}.stage svg [data-id]{cursor:move}.stage svg [data-handle=resize]{cursor:nwse-resize}.stage svg [data-handle=rotate]{cursor:grab}.canvas-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin:9px 0}.canvas-meta span:last-child{text-align:right;max-width:190px}#status{font-size:12px;color:#39765c;min-height:20px}#export-errors{font-size:11px;color:#b83b43;white-space:pre-line}.export{display:flex;flex-wrap:wrap;align-items:end;gap:7px;border-top:1px solid var(--line);padding-top:12px}.export label{margin:0;flex:1;min-width:85px}.export button{font-size:11px}.export label:first-child{flex-basis:150px}.sheets{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;margin:24px 0;scroll-margin-top:10px}.sheet-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px}.paper{padding:20px;background:#f0f2f6;border-radius:9px;text-align:center;max-height:650px;overflow:auto}.paper img{display:block;max-width:100%;max-height:600px;margin:auto;box-shadow:0 3px 15px #0002}#sheet-page{max-width:140px}#sheet-status{font-size:12px}.sheet-grid .intro-actions{justify-content:start}.trust{margin-top:22px}.private{white-space:nowrap}[hidden]{display:none!important}@media(max-width:1100px){.work-grid{grid-template-columns:180px minmax(0,1fr)}.properties{grid-column:1/-1;border-left:0!important;border-top:1px solid var(--line)!important;padding:15px 0 0!important}#inspector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.stage{height:450px}}@media(max-width:750px){.templates{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading{align-items:start;flex-direction:column;gap:10px}.section-heading label{width:100%}header{flex-wrap:wrap}nav{width:100%;gap:14px}nav a{font-size:12px}.work-grid{grid-template-columns:1fr}.tools{border:0!important;padding:0!important}.tools .add-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.layers{max-height:140px}.stage{height:360px}.editor{padding:13px}#inspector{display:block}.sheet-grid{grid-template-columns:1fr}.sheets{padding:14px}.toolbar .zoom{width:100%}.canvas-meta{flex-wrap:wrap}.canvas-meta span:last-child{text-align:left;max-width:none}.intro h1{font-size:32px}.template-preview{height:120px}.editor-heading h2{font-size:21px}.trust{grid-template-columns:1fr}}
