@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{--orange:#d8502c;--orange-dark:#b94021;--soft:#fcf0eb;--ink:#282c28;--muted:#8b8d86;--line:#e6e6df;--paper:#faf9f6;--white:#fff;--green:#728361}*{box-sizing:border-box}body{margin:0;font-family:'Noto Sans KR','Apple SD Gothic Neo',sans-serif;background:var(--paper);color:var(--ink);font-size:13px;letter-spacing:-.025em}button,input,textarea,select{font:inherit;color:inherit}button,select{cursor:pointer}button{transition:background .16s,border-color .16s,box-shadow .16s}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #d8502c66;outline-offset:3px}textarea:focus,input:focus{outline:none;border-color:var(--orange)!important;box-shadow:0 0 0 3px #d8502c0d}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h2{font-size:14px;font-weight:700}.topbar{height:78px;display:flex;align-items:center;padding:0 36px;border-bottom:1px solid var(--line);background:#fff;gap:36px}.brand{display:flex;align-items:center;gap:11px;letter-spacing:.12em;font-size:10px;font-weight:800}.brand-mark{font-family:Georgia,serif;font-weight:700;font-size:38px;color:var(--orange);letter-spacing:-5px;width:34px}.brand small{display:block;font-size:14px;letter-spacing:-.03em;margin-top:3px;font-weight:700}.breadcrumb{border-left:1px solid var(--line);padding-left:28px;color:#90928b;font-size:12px;display:flex;gap:18px}.breadcrumb span:last-child{color:#555b52}.top-actions{margin-left:auto;display:flex;align-items:center;gap:22px}#save-status{font-size:11px;color:#7c8377}#save-status::before{content:'✓';margin-right:6px;color:var(--green)}#save-status.error{color:var(--orange)}main{max-width:1780px;margin:auto;padding:0 32px}.projectbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 0 27px}.eyebrow{font-size:9px;letter-spacing:.17em;color:var(--orange);font-weight:700}.project-line{display:flex;align-items:center;gap:16px;margin-top:7px}h1{font-size:23px;letter-spacing:-.06em;font-weight:700}.badge{font-size:10px;background:#eeeee7;color:#717769;border-radius:20px;padding:5px 10px;white-space:nowrap}.badge::before{content:'';width:5px;height:5px;background:#a6ac88;display:inline-block;border-radius:50%;margin-right:5px}.badge.submitted{color:var(--orange);background:var(--soft)}.project-actions{display:flex;align-items:center;gap:10px}select{background:#fff;border:1px solid var(--line);padding:9px 28px 9px 11px;border-radius:5px;max-width:220px;font-size:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid #dedfd7;border-radius:5px;padding:10px 16px;font-size:12px;font-weight:500;min-height:38px;white-space:nowrap}.button:hover{background:#f5f5f0;border-color:#c8c9bd}.button.primary{background:var(--orange);color:#fff;border-color:var(--orange)}.button.primary:hover{background:var(--orange-dark);border-color:var(--orange-dark)}.full{width:100%}.workspace{display:grid;grid-template-columns:188px minmax(300px,1fr) 340px;gap:16px;min-height:640px;height:calc(100vh - 255px);max-height:870px}.assets-panel,.canvas-panel,.feedback-panel,.summary-panel{background:#fff;border:1px solid var(--line);border-radius:7px;overflow:hidden}.assets-panel{display:flex;flex-direction:column}.panel-head{height:57px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}.count{font-size:10px;color:#8d9287;background:#f1f2ed;border-radius:4px;padding:2px 6px}.asset-list{padding:0 10px;overflow:auto;flex:1}.asset-card{display:flex;align-items:center;gap:11px;width:100%;text-align:left;border:1px solid transparent;border-radius:5px;background:#fff;padding:12px 9px;margin-bottom:8px}.asset-card:hover{background:#f9f8f4}.asset-card.selected{border-color:var(--orange);background:#fdf5f0}.asset-card img{width:48px;height:69px;object-fit:contain;background:#f0ede4;border:1px solid #00000005}.asset-card strong{font-size:11px;font-weight:600;display:block;max-width:93px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-card small{display:block;color:var(--muted);font-size:9px;line-height:1.8;margin-top:4px}.upload-actions{padding:16px 12px 14px}.upload-actions p{text-align:center;font-size:8px;color:#9c9f94;margin-top:9px}.canvas-panel{display:flex;flex-direction:column;min-width:0}.canvas-toolbar{height:56px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 18px;gap:10px}.asset-heading{display:flex;align-items:center;gap:10px;min-width:0}.asset-heading strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.asset-heading select{font-size:10px;padding:5px;border:0;background:#f5f5f0;max-width:95px}.zoom-tools{display:flex;align-items:center;gap:4px;color:#777d70;font-size:10px;flex-shrink:0}.zoom-tools button{border:0;background:transparent;border-radius:3px;height:27px;width:27px;font-size:17px}.zoom-tools button:hover{background:var(--soft);color:var(--orange)}#zoom-label{min-width:34px;text-align:center}.divider{height:13px;width:1px;background:var(--line);margin:0 5px}.canvas{flex:1;min-height:0;overflow:auto;display:flex;background:#edede8;position:relative;padding:30px;align-items:safe center;justify-content:safe center;background-image:radial-gradient(#bdbeb629 .7px,transparent .7px);background-size:7px 7px}.artboard{position:relative;flex-shrink:0;box-shadow:0 7px 25px #383b3216;background:#fff;line-height:0;cursor:crosshair;margin:auto}.artboard>img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}.pins{position:absolute;inset:0;pointer-events:none}.pin{pointer-events:auto;position:absolute;transform:translate(-50%,-50%);width:27px;height:27px;border:2px solid #fff;border-radius:50%;background:var(--orange);color:white;box-shadow:0 0 0 1px var(--orange),0 2px 5px #0002;font-size:12px;line-height:1;padding:0;font-weight:600}.pin.active{box-shadow:0 0 0 5px #d8502c25,0 0 0 1px var(--orange)}.pin.done{background:var(--green);box-shadow:0 0 0 1px var(--green)}.canvas-footer{min-height:47px;display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 15px;font-size:10px;color:#919589;line-height:1.6}.canvas-footer>span{display:flex;align-items:center;gap:6px}.tiny-pin{width:7px;height:7px;border:1.5px solid var(--orange);display:inline-block;border-radius:50%}.text-button{border:0;background:none;color:var(--orange);font-size:10px;padding:4px 0;white-space:nowrap}.feedback-panel{display:flex;flex-direction:column}.panel-head h2>span{color:var(--orange);margin-left:7px}.live-dot{font-size:9px;color:#929989}.live-dot::before{content:'';width:4px;height:4px;display:inline-block;border-radius:50%;background:#a3af90;margin-right:5px}.tabs{display:flex;margin:0 18px;border-bottom:1px solid var(--line)}.tabs button{flex:1;border:0;background:none;padding:11px 0 13px;font-size:11px;color:#95998d;border-bottom:2px solid transparent}.tabs button.active{color:var(--orange);font-weight:600;border-color:var(--orange)}.comments{flex:1;min-height:100px;overflow:auto;padding:16px 16px 0}.comment{border:1px solid var(--line);border-radius:5px;padding:13px;margin-bottom:12px;cursor:pointer}.comment.active{border-color:#e8ab98;background:#fffdfb}.comment-head{display:flex;align-items:center;gap:8px}.comment-number{width:21px;height:21px;display:flex;align-items:center;justify-content:center;flex:none;background:var(--orange);color:#fff;border-radius:50%;font-size:10px}.comment.done .comment-number{background:var(--green)}.comment-head strong{font-size:11px}.comment-head small{font-size:8px;color:#9a9e93;margin-left:auto}.icon-button{border:0;background:none;padding:3px 6px;font-size:18px;color:#999e90;border-radius:4px}.icon-button:hover{color:var(--orange);background:var(--soft)}.comment p{margin:11px 0 0 29px;font-size:11px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.comment-editor{display:flex;gap:10px;margin-top:13px}.crop{width:70px;height:82px;flex-shrink:0;border:1px solid #eee9de;border-radius:3px;overflow:hidden;background:#f6f1e7}.crop canvas{display:block;width:100%;height:100%}textarea{resize:vertical;display:block;border:1px solid #dedfd7;border-radius:4px;background:#fff;padding:10px 11px;font-size:11px;line-height:1.7;width:100%;min-height:68px}textarea::placeholder{color:#b1b4aa}.comment textarea{border-color:#e4a590;min-height:82px;resize:vertical}.comment-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-size:9px;color:#9b9f93}.check-label{display:flex;align-items:center;gap:4px;cursor:pointer}.check-label input{accent-color:var(--orange)}.general{padding:15px 17px 17px;background:#fff;border-top:1px solid #f3f3ee}.general label{display:block;font-size:11px;font-weight:600;margin-bottom:9px}.general label span{font-size:9px;font-weight:400;color:#a0a495;margin-left:5px}.general textarea{resize:none;min-height:61px;font-size:10px}.general .button{margin-top:13px;justify-content:space-between;padding:11px 15px;font-size:11px}.summary-panel{margin-top:20px;padding:22px 24px 13px}.summary-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;gap:15px}.summary-heading h2{font-size:14px}.summary-tag{font-weight:500;font-size:9px;background:var(--soft);color:var(--orange);padding:4px 7px;border-radius:3px;margin-left:10px;vertical-align:middle}.summary-heading p{font-size:10px;color:#a0a494;margin-top:7px}.summary-row{display:flex;align-items:baseline;gap:20px;padding:12px 8px;border-top:1px solid var(--line);font-size:11px;line-height:1.8}.summary-row .number{color:#a3a999;min-width:20px;font-size:10px;font-variant-numeric:tabular-nums}.summary-row strong{font-size:10px;min-width:110px}.summary-row .body{flex:1;white-space:pre-wrap;overflow-wrap:anywhere}.summary-row.done .body{text-decoration:line-through;color:#a5aa9c}.summary-row .status{color:#94a080;font-size:9px;white-space:nowrap}.summary-foot{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:13px;margin-top:4px;font-size:9px;color:#a3a798}.page-footer{display:flex;justify-content:space-between;padding:23px 2px 27px;color:#a6ab9e;font-size:9px}.page-footer{align-items:baseline;gap:12px 24px;flex-wrap:wrap;line-height:1.8}.page-footer span{letter-spacing:.14em}.empty{text-align:center;margin:auto;color:#a1a696;padding:30px 15px}.empty-icon{display:inline-flex;width:45px;height:45px;border-radius:12px;border:1px solid #ccd0c2;align-items:center;justify-content:center;font-size:25px;color:#9ca68b;margin-bottom:17px}.empty h3{font-size:15px;color:#6e7762;font-weight:500}.empty p{font-size:11px;line-height:1.9;margin-top:12px}.comments .empty{padding-top:50px}.notice{padding:12px 16px;background:var(--soft);color:var(--orange-dark);border-radius:5px;margin-bottom:15px;font-size:12px;line-height:1.8}dialog{border:1px solid var(--line);border-radius:10px;padding:25px;width:450px;max-width:calc(100vw - 30px);box-shadow:0 20px 80px #0002}dialog::backdrop{background:#292f2555;backdrop-filter:blur(2px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-head h2{font-size:17px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}#dialog-body input{width:100%;border:1px solid var(--line);border-radius:5px;padding:12px;margin-top:10px;font-size:12px}#dialog-body p{font-size:12px;line-height:1.9;color:#929885}.share-link{word-break:break-all}.dialog-note{background:var(--soft);padding:12px;margin-top:12px;border-radius:4px;color:var(--orange-dark)!important;font-size:10px!important}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,10px);background:#343d2e;color:#fff;padding:12px 22px;border-radius:7px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;z-index:10;box-shadow:0 5px 20px #0002}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){.workspace{grid-template-columns:205px minmax(400px,1fr) 380px}.comment textarea{font-size:12px}.crop{width:84px;height:95px}}
@media(max-width:1150px){main{padding:0 20px}.workspace{grid-template-columns:150px minmax(250px,1fr) 290px;gap:10px}.topbar{padding:0 22px}.asset-card{padding:9px 5px;gap:7px}.asset-card img{width:36px;height:53px}.asset-card strong{max-width:77px;font-size:10px}.canvas{padding:20px}.breadcrumb{display:none}.crop{width:53px;height:74px}.canvas-toolbar{padding:0 10px}.asset-heading strong{max-width:110px}.canvas-footer{flex-wrap:wrap}}
@media(max-width:800px){.topbar{height:65px;padding:0 18px}.brand{font-size:8px}.brand small{font-size:12px}.brand-mark{font-size:32px}.top-actions{gap:10px}#save-status{font-size:9px}.top-actions .button{font-size:10px;padding:8px 11px;min-height:33px}main{padding:0 14px}.projectbar{padding:22px 0 19px;align-items:flex-start;flex-wrap:wrap;gap:14px}.project-line{gap:8px}h1{font-size:19px}.badge{font-size:8px}.project-actions{width:100%}.project-actions select{flex:1;max-width:none}.project-actions .button{font-size:10px}.workspace{display:flex;flex-direction:column;height:auto;max-height:none;gap:12px}.assets-panel{flex-direction:row;align-items:center;min-height:93px}.assets-panel .panel-head{display:none}.asset-list{display:flex;overflow:auto;gap:5px;padding:8px;min-width:0}.asset-card{width:auto;min-width:121px;margin:0;gap:8px}.asset-card img{width:30px;height:44px}.asset-card small{font-size:8px;margin-top:2px}.asset-card small .date{display:none}.upload-actions{padding:9px 8px;border-left:1px solid var(--line);flex:none}.upload-actions .button{font-size:9px;padding:7px}.upload-actions p{display:none}.canvas-panel{height:570px}.canvas{padding:24px}.asset-heading strong{max-width:190px}.canvas-footer{justify-content:center;gap:15px}.feedback-panel{max-height:none}.feedback-panel .panel-head{height:52px}.comments{max-height:500px;min-height:100px;scroll-margin-top:12px}.comment textarea{font-size:13px}.crop{width:75px;height:86px}.comment p{font-size:12px}.general textarea{font-size:12px}.summary-panel{padding:19px 16px 12px}.summary-heading .button{font-size:10px;padding:8px}.summary-row{gap:10px;flex-wrap:wrap;padding:12px 2px}.summary-row strong{min-width:80px}.summary-row .body{flex-basis:calc(100% - 35px);margin-left:30px}.summary-row .status{margin-left:auto}.summary-foot{font-size:8px}.page-footer{font-size:8px}.canvas-footer{font-size:9px}.live-dot{font-size:10px}}

.dev-label{font-size:10px;color:#9b6c52;background:#fcf0eb;padding:5px 8px;border-radius:4px}.canvas-upload{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;padding:10px 14px;border-top:1px solid var(--line);font-size:11px;color:#888f7f}.canvas-upload .button{color:var(--orange);border-color:#e3ab99;min-height:32px;padding:6px 12px;font-size:11px}.canvas-upload small{font-size:9px;color:#9ea392}.drop-hint{display:none;position:absolute;inset:10px;z-index:4;background:#fff8f1ed;border:2px dashed var(--orange);border-radius:8px;pointer-events:none;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--orange)}.drop-hint strong{font-size:18px}.drop-hint span{font-size:12px}.canvas-panel.dragging .drop-hint{display:flex}.canvas-panel.dragging{border-color:var(--orange)}@media(max-width:800px){.dev-label{display:none}.canvas-upload small{width:100%;text-align:center}.drop-hint strong{font-size:15px}}

.asset-item{position:relative}.asset-item .asset-card{padding-right:23px}.asset-delete{position:absolute;right:5px;top:6px;width:22px;height:22px;border:0;border-radius:4px;background:transparent;color:#969d8d;font-size:19px;line-height:1;cursor:pointer}.asset-delete:hover{background:var(--soft);color:var(--orange)}.pin{cursor:grab;touch-action:none;user-select:none}.pin.dragging{cursor:grabbing;z-index:5;box-shadow:0 0 0 6px #d8502c30}.asset-item{flex-shrink:0}@media(max-width:800px){.asset-item .asset-card{padding-right:26px}}

.mark-tools{display:flex;gap:3px;margin-left:auto;background:#f4f3ef;border-radius:5px;padding:3px}.mark-tools button{background:none;border:0;border-radius:3px;font-size:10px;padding:5px 8px;white-space:nowrap}.mark-tools button.active{background:var(--soft);color:var(--orange)}.region-pin{transform:none;background:#d8502c0d;border:2px solid var(--orange);border-radius:2px;box-shadow:none;min-width:0;min-height:0;z-index:1}.region-pin>span{position:absolute;left:-13px;top:-13px;width:25px;height:25px;border-radius:50%;border:2px solid white;display:flex;align-items:center;justify-content:center;background:var(--orange);box-shadow:0 0 0 1px var(--orange)}.region-pin.active{box-shadow:0 0 0 3px #d8502c26}.region-pin.done{background:#72836110;border-color:var(--green);box-shadow:none}.region-pin.done>span{background:var(--green)}.region-preview{position:absolute;border:2px dashed var(--orange);background:#d8502c15;pointer-events:none;z-index:6}.artboard{touch-action:none}.pin:not(.region-pin){z-index:2}@media(max-width:1150px){.canvas-toolbar{flex-wrap:wrap;height:auto;min-height:56px;padding-top:8px;padding-bottom:8px}.mark-tools{margin-left:0}}

.canvas{overflow:hidden;display:block;touch-action:none}.artboard{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0}.canvas .empty{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.space-held,.space-held .artboard,.space-held .pin{cursor:grab!important}.panning,.panning .artboard,.panning .pin{cursor:grabbing!important}.region-pin .resize-handle{position:absolute;display:block;opacity:0;z-index:8}.region-pin:hover .resize-handle,.region-pin:focus-visible .resize-handle,.region-pin.dragging .resize-handle{opacity:1}.handle-n,.handle-s{height:10px;left:8px;right:8px;cursor:ns-resize}.handle-n{top:-5px}.handle-s{bottom:-5px}.handle-e,.handle-w{width:10px;top:8px;bottom:8px;cursor:ew-resize}.handle-e{right:-5px}.handle-w{left:-5px}.handle-ne,.handle-nw,.handle-se,.handle-sw{width:10px;height:10px;background:white;border:1.5px solid var(--orange);border-radius:2px}.handle-ne{right:-5px;top:-5px;cursor:nesw-resize}.handle-nw{left:-5px;top:-5px;cursor:nwse-resize}.handle-se{right:-5px;bottom:-5px;cursor:nwse-resize}.handle-sw{left:-5px;bottom:-5px;cursor:nesw-resize}.region-pin .handle-n::after,.region-pin .handle-s::after,.region-pin .handle-e::after,.region-pin .handle-w::after{content:'';position:absolute;width:7px;height:7px;background:white;border:1px solid var(--orange);left:50%;top:50%;transform:translate(-50%,-50%)}.canvas-footer{flex-wrap:wrap}.region-pin>span{left:5px;top:5px;pointer-events:none}@media(hover:none){.region-pin.active .resize-handle{opacity:1}}

.brand-icon{display:block;width:40px;height:40px;object-fit:contain;flex-shrink:0}.rename-project{border:0;background:transparent;color:#959b8c;font-size:10px;padding:5px 7px;border-radius:4px;white-space:nowrap}.rename-project:hover{background:var(--soft);color:var(--orange)}.canvas .empty{padding:28px}.empty .empty-icon{margin-bottom:19px}.empty h3{font-size:18px}.empty p{font-size:12px;line-height:1.9;margin-top:14px}.empty .canvas-upload{display:flex;flex-direction:column;gap:12px;border:0;background:none;padding:0;margin-top:22px}.empty .canvas-upload .button{background:var(--orange);color:white;border-color:var(--orange);font-size:13px;min-height:43px;padding:11px 24px}.empty .canvas-upload .button:hover{background:var(--orange-dark)}.empty .canvas-upload small{font-size:10px;color:#989f8e}.empty p.empty-help{font-size:10px;color:#a1a795;margin-top:25px;max-width:280px;word-break:keep-all}@media(max-width:800px){.brand-icon{width:34px;height:34px}.project-line{flex-wrap:wrap}.rename-project{font-size:9px}.empty h3{font-size:16px}}

.reference-block{margin-top:12px}.reference-grid{display:flex;flex-wrap:wrap;gap:8px}.reference-item{position:relative}.reference-thumb{display:block;width:64px;height:64px;padding:0;border:1px solid #e5e2db;border-radius:6px;background:#f4f2ee;overflow:hidden;cursor:zoom-in}.reference-thumb img{width:100%;height:100%;object-fit:contain}.reference-remove{position:absolute;right:-5px;top:-5px;width:21px;height:21px;border:1px solid #e5e2db;border-radius:50%;background:white;color:#777;cursor:pointer;line-height:16px}.reference-add{font-size:12px;margin:8px 0 0;padding:4px 0;color:#8b8f82}.reference-add:hover{color:#e85329}.summary-row .reference-block:empty{display:none}#general-references{margin-bottom:12px}.general{max-height:48%;overflow-y:auto}#reference-preview{width:min(960px,92vw);max-width:92vw;padding:20px}#reference-preview .dialog-head h2{overflow-wrap:anywhere;font-size:15px}#reference-preview-image{display:block;max-width:100%;max-height:75vh;width:auto;height:auto;margin:16px auto 0;object-fit:contain}.reference-thumb:focus-visible,.reference-remove:focus-visible{outline:2px solid #e85329;outline-offset:3px}

.asset-filename{display:block;max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:400;margin-top:5px;color:#92958c}.reference-thumb{width:44px;height:44px;border-radius:4px}.reference-grid{gap:7px}.reference-remove{width:17px;height:17px;font-size:12px;line-height:12px;right:-4px;top:-4px}.reference-block{margin-top:9px}.reference-add{font-size:11px;font-weight:400}.summary-actions{display:flex;flex-wrap:wrap;gap:7px}.summary-actions .button{font-size:11px;padding:8px 11px;min-height:34px;font-weight:500}@media(max-width:800px){.summary-heading{flex-wrap:wrap;gap:14px}.summary-actions{width:100%}}

.reference-remove{top:2px;right:2px;width:16px;height:16px;padding:0;display:grid;place-items:center;line-height:1;font-size:13px;background:#fffffff2;color:#62685e;border:1px solid #dedfd7;box-shadow:0 1px 3px #00000012}.reference-remove:hover{background:#fff1eb;color:var(--orange);border-color:var(--orange)}

.delete-project{color:#8b8d86;padding-inline:11px}.delete-project:hover{color:var(--orange);background:var(--soft);border-color:var(--orange)}

/* Keep the region number fully clear of the selected outline and resize handles. */
.region-pin>span{left:-31px;top:-31px}

/* The badge sits outside a region, but must still receive clicks there. */
.region-pin>span{pointer-events:auto;cursor:pointer}

.asset-edit{position:absolute;right:5px;top:34px;width:22px;height:22px;border:0;border-radius:4px;background:transparent;color:#969d8d;font-size:15px;line-height:1;cursor:pointer}.asset-edit:hover{background:var(--soft);color:var(--orange)}.asset-round{display:block;color:var(--orange);font-weight:600;font-size:9px}.asset-card strong{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.asset-item .asset-card{padding-right:27px}
.asset-card[data-drag-asset]{cursor:grab;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.asset-card[data-drag-asset]:active{cursor:grabbing}.asset-item.drag-ready .asset-card{box-shadow:0 0 0 2px #d8502c66}.asset-item.moving{opacity:.5}.asset-item.drop-before{box-shadow:inset 0 3px var(--orange)}.asset-item.drop-after{box-shadow:inset 0 -3px var(--orange)}@media(max-width:800px){.asset-item.drop-before{box-shadow:inset 3px 0 var(--orange)}.asset-item.drop-after{box-shadow:inset -3px 0 var(--orange)}}
.history-actions{display:flex;justify-content:flex-end;gap:8px;margin:-13px 0 16px}.history-actions .button{padding:7px 12px;min-height:34px;font-size:11px}.history-actions button:disabled{cursor:not-allowed}@media(max-width:800px){.history-actions{justify-content:flex-start;margin:-5px 0 14px}.history-actions .button{font-size:10px}}

.asset-heading-edit{border:0;background:transparent;color:#969d8d;font-size:14px;padding:4px 5px;margin-left:-5px;border-radius:4px;flex:none}.asset-heading-edit:hover{background:var(--soft);color:var(--orange)}

.mobile-mark-tools,.mobile-canvas-help{display:none!important}
@media (pointer:coarse){
  .canvas-toolbar{height:auto;min-height:56px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
  .mobile-mark-tools{display:flex!important;order:3;width:100%;gap:4px;padding:3px;background:#f4f3ef;border-radius:6px}
  .mobile-mark-tools button{flex:1;min-height:37px;border:0;border-radius:4px;background:transparent;color:#6f766c;font-size:12px;font-weight:600}
  .mobile-mark-tools button[aria-pressed="true"]{background:#fff;color:var(--orange);box-shadow:0 1px 4px #00000012}
  .canvas,.artboard,.artboard>img,.pin{touch-action:pan-y}
  .canvas.marking-touch,.canvas.marking-touch .artboard,.canvas.marking-touch .artboard>img,.canvas.marking-touch .pin{touch-action:none}
  .artboard{cursor:default}
  .canvas.marking-touch .artboard{cursor:crosshair}
  .desktop-canvas-help{display:none!important}
  .mobile-canvas-help{display:flex!important}
}

.comment-editor .crop{padding:0;appearance:none;cursor:pointer;touch-action:manipulation}
.comment-editor .crop:hover{border-color:var(--orange)}

/* A clear title first; revision and position stay quiet beside the date. */
.asset-card strong,.asset-heading strong{color:var(--orange)}
.asset-round{color:var(--muted);font-weight:400;font-size:9px;line-height:1.5}
.asset-heading select{max-width:66px;padding:6px 20px 6px 9px;color:#6f7669;font-size:10px}

/* Keep owner-only project controls visible on narrow screens. */
@media(max-width:800px){.project-actions{flex-wrap:wrap}.project-actions select{flex:1 1 140px;min-width:0}}

/* Give the share and owner workspace actions their own row on narrow screens. */
@media(max-width:600px){.topbar{height:auto;min-height:65px;flex-wrap:wrap;gap:8px 12px;padding:10px 14px}.top-actions{width:100%;justify-content:flex-end;gap:8px}}

/* Keep the active feedback editor compact above mobile keyboards. */
@media(max-width:800px){
  .feedback-panel .comments{max-height:none;overflow:visible;flex:0 0 auto}
  .comment.active{padding:11px}
  .comment.active .comment-editor{gap:9px;margin-top:10px}
  .comment.active .crop{width:58px;height:70px}
  .comment.active textarea{min-height:70px}
  .comment.active .comment-bottom{margin-top:8px}
}

@media(hover:none){
  .region-pin:hover .resize-handle{opacity:0}
  .region-pin.active .resize-handle{opacity:1}
}
