.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1120px}.text-back{margin-left:max(0px,calc((100% - 1120px)/2))}.source-choice-grid{max-width:1120px;margin:0 auto 18px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.source-choice{min-height:112px;padding:17px;border:1px solid transparent;border-radius:19px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;color:var(--ink);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.source-choice:hover,.source-choice.active{transform:translateY(-2px);box-shadow:0 12px 28px rgba(38,51,59,.08)}.source-choice.active{border-color:#9ab7ab}.source-choice svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.source-choice span{font-weight:720;font-size:16px}.lilac-card{background:#ece8f4}.sand-card{background:#f2ebdc}.source-panel{max-width:1120px;margin:0 auto;padding:24px}.source-panel[hidden]{display:none}.source-textarea{min-height:320px;resize:vertical;line-height:1.6}.compact-drop-zone{min-height:210px;border:1.5px dashed #aebdb6;border-radius:18px;background:linear-gradient(145deg,#f8fcfa,#f8fafb);display:grid;place-content:center;justify-items:center;text-align:center;gap:12px;padding:28px;color:var(--muted);cursor:pointer}.compact-drop-zone.dragging{border-color:var(--mint-strong);background:var(--mint)}.compact-drop-zone input{position:absolute;width:1px;height:1px;opacity:0}.compact-drop-zone svg{width:30px;height:30px;fill:none;stroke:var(--mint-strong);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.ocr-file-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.ocr-file-list[hidden]{display:none}.ocr-file-item{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr) 34px 34px 34px;align-items:center;gap:7px;padding:9px 10px;border:1px solid var(--line);border-radius:13px;background:#fafbf9}.ocr-file-item.is-dragging{opacity:.45}.ocr-file-order{font-size:12px;color:var(--muted);text-align:center}.ocr-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ocr-file-button{width:34px;height:34px;border:0;border-radius:10px;background:#eef2ef;color:var(--ink);display:grid;place-items:center;cursor:pointer;font-size:16px}.ocr-file-button:hover{background:#dfeae4}.ocr-file-button:disabled{opacity:.28;cursor:default}.source-panel .primary,.work-title-form button{display:flex;align-items:center;justify-content:center}.work-title-form{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;margin:0 0 16px}.work-title-form input{padding:10px 13px;background:#f8faf8}.work-title-form button{width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;color:#405159}.work-title-form button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.work-kind.text-kind{background:#f7e8dc;color:#9a6848}@media(max-width:980px){.source-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.source-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.dashboard-grid,.source-choice-grid{grid-template-columns:1fr}.source-choice{min-height:92px}.source-panel{padding:20px}.source-textarea{min-height:260px}.ocr-file-item{grid-template-columns:28px minmax(0,1fr) 32px 32px 32px;gap:4px;padding:8px 6px}}
