/*! © 2026 Cengiz Ilerler. All rights reserved. https://cengiz.ilerler.info/ */
.tool-box.pd { width: 100%; position: relative; }
.pd-i { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pd-gap { flex: 1; }
.pd [hidden] { display: none !important; }
.pd-pill { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.pd-pill .pd-i { width: 15px; height: 15px; }
.pd .tool-l { font: 600 10.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); white-space: nowrap; }
.pd-hint { font: 400 13px/1.4 var(--sans); color: var(--mist); }
.pd-meta { font: 400 13px/1.35 var(--sans); color: var(--mist); }
.pd kbd { padding: 2px 6px; border: 1px solid var(--hair-3); border-radius: 6px; font: 500 11px/1 var(--mono); color: var(--foam); }
.pd-ib { width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--hair-3); border-radius: 999px; background: none; color: var(--foam); cursor: pointer; transition: border-color .15s, color .15s; }
.pd-ib:hover:not(:disabled) { border-color: var(--sea); color: var(--sea); }
.pd-ib:disabled { opacity: .35; cursor: default; }
.pd-ib .pd-i { width: 16px; height: 16px; }
.pd-ctl { display: inline-flex; align-items: center; gap: 10px; }
.pd-sw { position: relative; width: 40px; height: 22px; flex: none; padding: 0; border: 1px solid var(--hair-3); border-radius: 99px; background: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.pd-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--mist); transition: left .15s, background-color .15s; }
.pd-sw:hover { border-color: var(--sea); }
.pd-sw[aria-pressed="true"] { background: var(--foam); border-color: var(--foam); }
.pd-sw[aria-pressed="true"]::after { left: 21px; background: var(--abyss); }
.pd-seg button { padding: 6px 10px; font-size: 12.5px; white-space: nowrap; }
.pd-seg .pd-i { width: 15px; height: 15px; display: block; }
.pd-seg button:has(.pd-i) { padding: 5px 9px; }
.pd-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pd-files { display: contents; }
.pd-file { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; height: 38px; padding: 0 6px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--abyss); }
.pd-file::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c, var(--sea)); margin-right: -2px; }
.pd-file b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 13.5px/1 var(--mono); color: var(--foam); }
.pd-file i { flex: none; font: 400 12.5px/1 var(--sans); font-style: normal; color: var(--mist); white-space: nowrap; }
.pd-file svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--mist); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pd-file button { width: 26px; height: 26px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--mist); cursor: pointer; }
.pd-file button:hover { color: var(--sea); }
.pd-file button svg { stroke: currentColor; }
.pd-addw { position: relative; display: inline-flex; }
.pd-add[aria-expanded="true"] { border-color: var(--sea); color: var(--sea); }
.pd-chev { width: 14px; height: 14px; }
.pd-am { position: absolute; z-index: 30; top: 40px; left: 0; width: 440px; max-width: calc(100vw - 2 * var(--gutter)); padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--deep); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.pd-am > button { width: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border: 0; border-radius: 10px; background: none; color: var(--foam); text-align: left; cursor: pointer; }
.pd-am > button:hover, .pd-am > button:focus-visible { background: color-mix(in srgb, var(--sea) 10%, transparent); outline: none; }
.pd-am > button .pd-i { width: 20px; height: 20px; margin-top: 1px; }
.pd-am b { display: block; font: 500 15px/1.3 var(--sans); }
.pd-am i { display: block; margin-top: 3px; font: 400 12.5px/1.4 var(--sans); font-style: normal; color: var(--mist); }
.pd-am kbd { margin-left: 6px; color: var(--mist); }
.pd-am.is-right { left: auto; right: 0; }
.pd-amrow { display: flex; margin: 0 12px; padding: 9px 0; border-top: 1px solid var(--hair); }
.pd-amrow .pd-ctl { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.pd-amtip { margin: 4px 12px 6px; padding-top: 10px; border-top: 1px solid var(--hair); font: 400 12.5px/1.45 var(--sans); color: var(--mist); }
.pd-msg { margin: 12px 0 0; }
.pd-tabs { margin: 14px 0 16px; }
.pd-panel { position: relative; }
.pd-props { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: 48px; margin-bottom: 14px; padding: 6px 8px 6px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--deep); }
.pd-what { margin-right: 2px; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); white-space: nowrap; }
.pd-acts, .pd-viewctl { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pd-viewctl { gap: 8px 12px; }
.pd-sep { width: 1px; height: 24px; background: var(--hair-2); }
.pd-stage { position: relative; display: flex; height: clamp(460px, 74vh, 780px); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--trench); }
.pd-scroll { position: relative; flex: 1; min-width: 0; overflow: auto; padding: 22px 22px 0; overscroll-behavior: contain; }
.pd-grid { --pd-tw: 168px; position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--pd-tw), 1fr)); gap: 22px 20px; align-items: start; outline: none; }
.pd-grid[data-size="s"] { --pd-tw: 112px; gap: 18px 14px; }
.pd-grid[data-size="l"] { --pd-tw: 260px; }
.pd-grid:focus-visible { outline: 2px solid var(--sea); outline-offset: 8px; border-radius: 4px; }
.pd-th { position: relative; min-width: 0; margin: 0; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.pd-pgw { display: flex; align-items: flex-end; justify-content: center; }
.pd-pg { position: relative; width: 100%; border-radius: 4px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.4); line-height: 0; }
.pd-pg canvas, .pd-pg img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 4px; }
.pd-th[aria-selected="true"] .pd-pg { box-shadow: 0 0 0 3px var(--trench), 0 0 0 5px var(--foam), 0 6px 18px rgba(0,0,0,.4); }
.pd-th.is-preview .pd-pg { box-shadow: 0 0 0 3px var(--trench), 0 0 0 5px var(--sea), 0 6px 18px rgba(0,0,0,.4); }
.pd-th.is-focus .pd-pg { outline: 2px solid var(--sea); outline-offset: 7px; }
.pd-th.is-lift { opacity: .35; }
.pd-zoom { position: absolute; z-index: 2; right: 6px; bottom: 6px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid var(--hair-3); border-radius: 50%; background: rgba(11, 27, 40, .88); color: var(--foam); cursor: zoom-in; opacity: 0; transition: opacity .15s, border-color .15s, color .15s; }
.pd-zoom .pd-i { width: 15px; height: 15px; }
.pd-th:hover .pd-zoom, .pd-th.is-focus .pd-zoom, .pd-zoom:focus-visible { opacity: 1; }
.pd-zoom:hover { border-color: var(--sea); color: var(--sea); }
@media (hover: none) { .pd-zoom { opacity: 1; width: 32px; height: 32px; } }
.pd-cap { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 9px; font: 500 12.5px/1 var(--mono); color: var(--foam); }
.pd-cap i { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 8px; border-left: 2px solid var(--c, var(--sea)); font: 400 11.5px/1 var(--sans); font-style: normal; color: var(--mist); }
.pd-cap em { flex: none; display: inline-flex; align-items: center; gap: 3px; margin-left: auto; font: 500 11px/1 var(--mono); font-style: normal; color: var(--sea); }
.pd-cap em + em { margin-left: 6px; }
.pd-cap em svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pd-ttl { margin: 5px 0 0; min-height: 1.3em; font: 400 12.5px/1.3 var(--sans); color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-grid[data-size="s"] .pd-cap { gap: 6px; font-size: 11.5px; }
.pd-grid[data-size="s"] .pd-ttl { font-size: 11.5px; }
.pd-ghint { margin: 18px 0 22px; }
.pd-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .pd-mouse { display: none; } .pd-touch { display: inline; } }
.pd-ins { position: absolute; z-index: 3; width: 3px; border-radius: 3px; background: var(--sea); box-shadow: 0 0 0 4px rgba(98, 207, 224, .18); pointer-events: none; }
.pd-ghost { position: fixed; z-index: 60; width: 120px; transform: rotate(-4deg); border-radius: 4px; overflow: hidden; line-height: 0; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.6); pointer-events: none; }
.pd-ghost canvas, .pd-ghost img { width: 100%; height: auto; display: block; }
.pd-ghost b { position: absolute; top: -10px; right: -10px; min-width: 26px; height: 26px; display: grid; place-items: center; padding: 0 6px; border-radius: 99px; background: var(--sea); color: var(--abyss); font: 600 12px/1 var(--sans); }
.pd-band { position: absolute; z-index: 3; border: 1px solid var(--sea); background: rgba(98, 207, 224, .10); pointer-events: none; }
.pd-stage.is-drop { box-shadow: inset 0 0 0 2px var(--sea); }
.pd-aside { width: 470px; flex: none; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-left: 1px solid var(--line); background: rgba(11, 27, 40, .7); }
.pd-ah { display: flex; align-items: center; gap: 10px; min-width: 0; font: 400 13px/1.2 var(--sans); color: var(--mist); }
.pd-ah b, .pd-qlh b { flex: none; font: 500 14px/1 var(--sans); color: var(--foam); }
.pd-ah span:not(.pd-gap), .pd-qlh span[data-pd-ql-src] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-ap { flex: 1; min-height: 0; display: grid; place-items: center; }
.pd-ap .pd-big, .pd-qlp .pd-big { max-width: 100%; max-height: 100%; background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.55); }
.pd-anote { margin: 0; font: 400 12.5px/1.4 var(--sans); color: var(--mist); }
.pd-nav { width: 52px; height: 52px; flex: none; display: grid; place-items: center; padding: 0; border: 1px solid var(--hair-3); border-radius: 999px; background: rgba(11, 27, 40, .9); color: var(--foam); cursor: pointer; transition: border-color .15s, color .15s; }
.pd-nav .pd-i { width: 22px; height: 22px; }
.pd-nav:hover:not(:disabled) { border-color: var(--sea); color: var(--sea); }
.pd-nav:disabled { opacity: .3; cursor: default; }
.pd-nav.pd-sm { width: 34px; height: 34px; }
.pd-nav.pd-sm .pd-i { width: 17px; height: 17px; }
.pd-split .pd-aside { display: flex; }
.pd-ql { position: absolute; z-index: 20; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: rgba(4, 10, 16, .94); }
.pd-qlh { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 4px 0 8px; font: 400 13px/1.2 var(--sans); color: var(--mist); }
.pd-kh { white-space: nowrap; }
.pd-qlb { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 22px; }
.pd-qlp { flex: 1; min-width: 0; height: 100%; display: grid; place-items: center; }
.pd-empty { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 380px; margin-top: 4px; padding: 40px 20px; border: 1.5px dashed var(--hair-3); border-radius: 14px; background: var(--trench); text-align: center; }
.pd-empty .pd-hint { max-width: 420px; }
.pd-empty .btn { margin-top: 10px; }
.pd-ei { width: 44px; height: 44px; fill: none; stroke: var(--mist); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.pd-et { font: 400 var(--t-card)/1.15 var(--serif); color: var(--foam); }
.pd-empty.is-drop { border-color: var(--sea); }
.pd.is-none .pd-empty { display: flex; }
.pd.is-busy .pd-panel, .pd.is-busy .pd-files { pointer-events: none; }
.pd.is-busy .pd-stage { opacity: .8; }
.pd.is-none .pd-panel, .pd.is-none .pd-tabs, .pd.is-none .pd-bottom { display: none !important; }
.pd-tb { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pd-tools { flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.pd-tools::-webkit-scrollbar { display: none; }
.pd-tools button { position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; white-space: nowrap; }
.pd-ti { display: inline-flex; }
.pd-more { position: absolute; right: 4px; bottom: 5px; width: 0; height: 0; border-left: 5px solid transparent; border-bottom: 5px solid currentColor; opacity: .6; }
.pd-tm { position: absolute; z-index: 30; min-width: 190px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--deep); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.pd-tm button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: var(--foam); font: 500 14px/1.2 var(--sans); text-align: left; cursor: pointer; }
.pd-tm button:hover, .pd-tm button:focus-visible { background: color-mix(in srgb, var(--sea) 10%, transparent); color: var(--sea); outline: none; }
.pd-tm button[aria-checked="true"] { background: var(--foam); color: var(--abyss); }
.pd-tm kbd { margin-left: auto; color: var(--mist); }
.pd-dots { display: inline-flex; gap: 6px; }
.pd-dots button { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(238, 244, 246, .35); cursor: pointer; }
.pd-dots button:hover { box-shadow: 0 0 0 2px var(--abyss), 0 0 0 3px var(--sea); }
.pd-dots button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--abyss), 0 0 0 4px var(--foam); }
.pd-sel { position: relative; display: inline-flex; }
.pd-sel select { appearance: none; -webkit-appearance: none; max-width: 260px; height: 34px; padding: 0 30px 0 13px; border: 1px solid var(--hair-3); border-radius: 999px; background: transparent; color: var(--foam); color-scheme: dark; font: 500 13px/1 var(--sans); text-overflow: ellipsis; cursor: pointer; }
.pd-sel select:hover { border-color: var(--sea); }
.pd-sel::after { content: ""; position: absolute; right: 13px; top: 12px; width: 6px; height: 6px; border: solid var(--mist); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.pd-num input { width: 64px; height: 34px; padding: 0 6px; border: 1px solid var(--hair-3); border-radius: 10px; background: var(--abyss); color: var(--foam); color-scheme: dark; font: 500 13px/1 var(--mono); text-align: center; }
.pd-num input:focus { border-color: var(--sea); outline: none; }
.pd-fstage { display: flex; }
.pd-side { width: 112px; flex: none; overflow-y: auto; padding: 16px 14px; border-right: 1px solid var(--line); background: rgba(11, 27, 40, .6); display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; }
.pd-mini { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: var(--mist); cursor: pointer; }
.pd-mini .pd-pg { box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.pd-mini span { display: block; margin-top: 6px; text-align: center; font: 500 11.5px/1 var(--mono); }
.pd-mini:hover span { color: var(--sea); }
.pd-mini[aria-current="true"] .pd-pg { box-shadow: 0 0 0 2px var(--trench), 0 0 0 4px var(--foam); }
.pd-mini[aria-current="true"] span { color: var(--foam); }
.pd-view { position: relative; flex: 1; min-width: 0; overflow: auto; padding: 22px 16px; overscroll-behavior: contain; }
.pd-fp { position: relative; margin: 0 auto 22px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.55); line-height: 0; touch-action: pan-x pan-y; }
.pd-fp > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pd-ff, .pd-mks, .pd-hit { position: absolute; inset: 0; }
.pd-hit { z-index: 2; }
.pd-ff { z-index: 4; pointer-events: none; }
.pd-mks { z-index: 3; pointer-events: none; }
.pd-fp.is-front .pd-mks { z-index: 5; }
.pd-view[data-tool="select"] .pd-ff > * { pointer-events: auto; }
.pd-view[data-tool]:not([data-tool="select"]) .pd-hit { cursor: crosshair; }
.pd-view[data-tool="edit"] .pd-hit, .pd-view[data-tool="mark"] .pd-hit { cursor: text; }
.pd-ff input, .pd-ff textarea, .pd-ff select { position: absolute; margin: 0; padding: 0 3px; border: 1px solid #9fb6d3; border-radius: 0; background: #dfe9f6; color: #0b1f3a; font-family: 'pd-arimo', Arial, sans-serif; line-height: 1.15; outline: none; }
.pd-ff textarea { padding: 2px 3px; resize: none; overflow: hidden; }
.pd-ff select { padding: 0 2px; color-scheme: light; }
.pd-ff :is(input, textarea, select):focus { border-color: var(--sea); box-shadow: 0 0 0 2px var(--sea); background: #eef4fb; }
.pd-ff :is(input, textarea, select):disabled { opacity: .7; }
.pd-ff .pd-cb { appearance: none; -webkit-appearance: none; display: grid; place-items: center; padding: 0; cursor: pointer; }
.pd-ff .pd-cb.is-radio { border-radius: 50%; }
.pd-ff .pd-cb::after { content: ""; width: 62%; height: 62%; background: #0b1f3a; clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); opacity: 0; }
.pd-ff .pd-cb.is-radio::after { border-radius: 50%; clip-path: none; width: 50%; height: 50%; }
.pd-ff .pd-cb:checked::after { opacity: 1; }
.pd-ff .is-comb { letter-spacing: var(--pd-comb, 0); padding-left: calc(var(--pd-comb, 0) / 2); }
.pd-mk { position: absolute; pointer-events: auto; line-height: 1; transform-origin: center; }
.pd-mk svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pd-mk img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pd-view:not([data-tool="select"]) .pd-mk:not(.is-editing) { pointer-events: none; }
.pd-view[data-tool="select"] .pd-mk { cursor: move; }
.pd-mk.is-hl { mix-blend-mode: multiply; }
.pd-mk.is-white { background: #fff; outline: 1px dashed rgba(138, 146, 155, .9); outline-offset: -1px; }
.pd-mk.is-white.is-real::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(98, 207, 224, .25) 6px 8px); }
.pd-mk.is-cover { background: var(--bg, #fff); }
.pd-txt { position: relative; display: block; white-space: pre; outline: none; cursor: inherit; }
.pd-txt[contenteditable] { cursor: text; min-width: 1ch; caret-color: #0b1f3a; }
.pd-txt:empty::before { content: attr(data-ph); color: rgba(11, 31, 58, .45); }
.pd-mk.is-editing { outline: 2px solid var(--sea); outline-offset: 2px; }
.pd-mk.is-edit.is-editing { background: #fff; }
.pd-mk.is-picked { outline: 2px solid var(--sea); outline-offset: 1px; }
.pd-hd { position: absolute; z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid var(--sea); border-radius: 3px; background: var(--foam); pointer-events: auto; touch-action: none; }
@media (pointer: coarse) { .pd-hd { width: 20px; height: 20px; margin: -10px 0 0 -10px; } }
.pd-hov { position: absolute; z-index: 5; outline: 2px solid var(--sea); outline-offset: 1px; background: rgba(98, 207, 224, .12); pointer-events: none; }
.pd-draft { position: absolute; z-index: 5; border: 1.5px dashed var(--sea); pointer-events: none; }
.pd-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; }
.pd-bottom .btn, .pd-bottom .btn-2 { gap: 9px; }
.pd-bottom .pd-i { width: 18px; height: 18px; }
.pd-flat { display: inline-flex; margin-right: 6px; }
.pd-note.is-busy { color: var(--foam); }
.pd-legend::before { content: ""; display: inline-block; width: 14px; height: 10px; margin-right: 8px; vertical-align: -1px; background: #dfe9f6; border: 1px solid #9fb6d3; }
.pd-dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 22px 24px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--deep); color: var(--foam); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.pd-dlg[open] { display: flex; flex-direction: column; gap: 14px; }
.pd-dlg form { display: flex; flex-direction: column; gap: 14px; }
.pd-dlg::backdrop { background: rgba(4, 10, 16, .72); }
.pd-dh { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-dh h2 { margin: 0; font: 400 var(--t-card)/1.1 var(--serif); color: var(--foam); }
.pd-dlg .tabs { margin: 0; }
.pd-drow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pd-dnote { margin: 0; font: 400 13px/1.5 var(--sans); color: var(--mist); }
.pd-dnote b { color: var(--foam); font-weight: 500; }
.pd-dfoot { padding-top: 14px; border-top: 1px solid var(--hair); }
.pd-pad { position: relative; height: 180px; border-radius: 12px; background: #fff; overflow: hidden; }
.pd-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.pd-line { position: absolute; left: 40px; right: 40px; bottom: 42px; border-bottom: 1.5px dashed #b8c0c8; pointer-events: none; }
.pd-x { position: absolute; left: 20px; bottom: 44px; color: #8a929b; pointer-events: none; }
.pd-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; display: block; }
.pd-padt input { position: absolute; left: 40px; right: 40px; bottom: 46px; height: 92px; padding: 0; border: 0; background: transparent; color: var(--ink, #14306b); font: 400 64px/1 'pd-caveat', cursive; outline: none; }
.pd-padt input::placeholder { color: #b8c0c8; }
.pd-padp canvas { cursor: default; }
.pd-padph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.pd-padph i { font: 400 12.5px/1.4 var(--sans); font-style: normal; color: #58616b; }
.pd-padp .pd-pill { border-color: #9fb6d3; color: #0b1f3a; }
.pd-padp .pd-pill:hover { border-color: var(--sea); color: #0b1f3a; }
.pd-opts { display: flex; flex-direction: column; gap: 6px; }
.pd-opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--tide); color: var(--foam); font: 500 14px/1.3 var(--sans); text-align: left; cursor: pointer; }
.pd-opt:hover { border-color: var(--sea); }
.pd-opt[aria-pressed="true"] { background: var(--foam); border-color: var(--foam); color: var(--abyss); }
.pd-pwin { height: 48px; }
@media (max-width: 1180px) { .pd-aside { width: 360px; } }
@media (max-width: 899px) {
  .pd-viewctl .pd-ctl:first-child { display: none; }
  .pd-aside { display: none !important; }
  .pd-side { display: none; }
  .pd-kh { display: none; }
}
@media (max-width: 760px) {
  .pd-tools .pd-tw { display: none; }
  .pd-tb { gap: 8px; }
  .pd-tb .pd-gap { display: none; }
  .pd-tools button { padding: 9px 11px; }
  .pd-tools .pd-i { width: 18px; height: 18px; }
  .pd-props { padding: 8px 10px; }
  .pd-stage { height: 72vh; min-height: 420px; }
  .pd-scroll { padding: 14px 12px 0; }
  .pd-grid { --pd-tw: 84px; gap: 16px 12px; }
  .pd-grid[data-size="s"] { --pd-tw: 60px; gap: 12px 10px; }
  .pd-grid[data-size="l"] { --pd-tw: 130px; }
  .pd-grid[data-size="s"] .pd-ttl { display: none; }
  .pd-cap { font-size: 11.5px; gap: 6px; }
  .pd-ttl { font-size: 11.5px; }
  .pd-view { padding: 12px 8px; }
  .pd-ql { padding: 10px; }
  .pd-qlb { gap: 8px; }
  .pd-qlb .pd-nav { position: absolute; bottom: 18px; z-index: 2; }
  .pd-qlb .pd-nav:first-child { left: 18px; }
  .pd-qlb .pd-nav:last-of-type { right: 18px; }
  .pd-am { position: fixed; left: 16px; right: 16px; top: auto; width: auto; max-height: calc(100vh - 120px); overflow-y: auto; }
  .pd-meta[data-pd-meta] { flex-basis: 100%; }
  .pd-bottom .pd-note { flex-basis: 100%; }
  .pd-bottom .pd-gap { display: none; }
  .pd-bottom .btn, .pd-bottom .btn-2 { flex: 1; padding-inline: 14px; }
  .pd-dlg { padding: 18px 16px 16px; }
  .pd-padt input { left: 24px; right: 24px; font-size: 44px; }
}
