.dw-entry{display:flex;gap:18px;justify-content:space-between;align-items:center;padding:18px 20px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(115deg,#f4e8ff,#fff2f7);margin-bottom:18px}.dw-entry small,.dw-entry b{display:block}.dw-entry small,.dw-heading small{color:var(--accent);font-size:10px;letter-spacing:.09em;font-weight:800}.dw-entry b{margin-top:5px;font-size:16px}.dw-entry>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.dw-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dw-heading h2{font-size:28px;margin:5px 0}.dw-heading p,.dw-note{color:var(--muted);font-size:12px;line-height:1.6}.dw-toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin:20px 0 12px}.dw-toolbar>label:first-child{flex:1;min-width:220px}.dw-toolbar label{font-size:12px;color:var(--muted)}.dw-toolbar input:not([type=checkbox]){display:block;margin-top:5px;width:100%}.dw-check{display:flex!important;align-items:center;gap:8px;font-size:12px}.dw-check input{width:17px!important;min-height:17px!important;height:17px;flex:none}.dw-message{min-height:22px;line-height:1.5;color:var(--accent);font-size:13px}.dw-error{color:var(--danger,#a62e52);padding:14px;border:1px solid #e8b8c7;border-radius:12px}.dw-board{display:grid;grid-template-columns:repeat(7,minmax(240px,1fr));gap:14px;overflow:auto;max-width:100%;padding:4px 3px 18px;min-height:390px;scrollbar-width:thin}.dw-column{background:var(--accent-soft);border:1px solid var(--line);border-radius:18px;padding:12px;min-width:0;transition:border-color .15s}.dw-column h3{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin:2px 2px 15px}.dw-column h3 span{display:grid;place-items:center;border-radius:50%;background:var(--card);width:25px;height:25px;font-size:11px}.dw-column.drop-ready,.dw-file-drop.drop-ready{outline:3px solid var(--accent);outline-offset:-3px}.dw-card{padding:14px;background:var(--card);border:1px solid var(--line);border-radius:15px;margin:0 0 10px;box-shadow:0 3px 12px #49336409;cursor:grab}.dw-card.dragging{opacity:.45}.dw-card.is-late{border-left:4px solid #e05b88}.dw-card>b,.dw-card>span,.dw-card>small{display:block;overflow-wrap:anywhere}.dw-card>b{font-size:15px;margin:7px 0}.dw-card>span,.dw-card>p{font-size:12px;line-height:1.4}.dw-card>small{font-size:10px;color:var(--muted)}.dw-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.dw-card-tags span{padding:5px 7px;background:var(--accent-soft);border-radius:7px;font-size:10px}.dw-stage-label{font-size:10px;color:var(--muted)}.dw-stage-label select{width:100%;display:block;min-height:37px;font-size:12px;padding:7px;margin-top:4px}.dw-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.dw-card-actions button{font-size:11px;min-height:34px;background:var(--accent-soft);color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:6px}.dw-column-empty{font-size:12px;color:var(--muted);text-align:center;padding:28px 10px;line-height:1.6}.dw-wide-modal{width:min(1100px,96vw)!important;max-width:1100px!important}.dw-order-tools,.dw-file-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}.dw-file-drop{border:2px dashed #c7a4e0;border-radius:18px;background:var(--accent-soft);padding:24px;text-align:center}.dw-file-drop p{font-size:12px;line-height:1.6;color:var(--muted)}.dw-file-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid var(--line);border-radius:14px;padding:15px;margin-top:10px}.dw-file-row>div:first-child{min-width:0;flex:1}.dw-file-row b,.dw-file-row small,.dw-file-version{display:block;overflow-wrap:anywhere}.dw-file-row b{font-size:14px}.dw-file-row small,.dw-file-version{font-size:11px;color:var(--muted);margin-top:5px}.dw-file-row>div:last-child{display:flex;gap:7px;flex-wrap:wrap}.dw-file-row button{font-size:11px;min-height:34px}.dw-files-empty{padding:30px;text-align:center;color:var(--muted);border:1px solid var(--line);border-radius:12px}.dw-approval-summary{font-size:13px;color:var(--accent);display:flex;gap:10px;align-items:center;flex-wrap:wrap}.sp-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(300px,1.15fr);gap:30px;margin:22px 0}.sp-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sp-fields .field{font-size:12px}.sp-fields input{min-width:0;width:100%}.sp-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px}.sp-metrics>div{border:1px solid var(--line);border-radius:13px;padding:12px}.sp-metrics small,.sp-metrics b{display:block}.sp-metrics small{font-size:11px;color:var(--muted)}.sp-metrics b{font-size:22px;color:var(--accent);margin-top:4px}.sp-preview{display:block;width:100%;height:310px;margin:15px auto;filter:drop-shadow(0 3px 7px #41345118)}.sp-paper{fill:#fff;stroke:#b9a4c8;stroke-width:.6px}.sp-margin{fill:none;stroke:#d5c6e0;stroke-dasharray:2 2;stroke-width:.5px}.sp-pieces rect{fill:#e8d4ff;stroke:#a066cf;stroke-width:.5px}.sp-panel>p:first-child{color:var(--muted);font-size:13px;line-height:1.6}.sp-panel #sp-result>p{font-size:12px;line-height:1.5}@media(max-width:1120px){.dw-entry{align-items:flex-start;flex-direction:column}.sp-layout{gap:18px}.dw-file-row{align-items:flex-start;flex-direction:column}}@media(max-width:720px){.sp-layout{grid-template-columns:1fr}.dw-heading{align-items:flex-start;flex-direction:column}.dw-entry>div:last-child{width:100%}.dw-entry button{flex:1}.dw-board{grid-template-columns:repeat(7,240px)}}@media(prefers-color-scheme:dark){.dw-entry{background:linear-gradient(115deg,#30223d,#332330)}.sp-pieces rect{fill:#d6b3f0}}

.dw-toolbar input:not([type=checkbox]){border:1px solid var(--line);border-radius:13px;background:var(--card);color:var(--ink);padding:12px 14px;font:inherit;min-height:46px;outline-offset:3px}.dw-board{height:clamp(340px,calc(100dvh - 385px),650px)}.dw-column{overflow-y:auto}.dw-column>h3{position:sticky;top:0;background:var(--accent-soft);z-index:1;padding:5px 0 8px}.dw-workbench{padding-bottom:8px}
