:root{font-family:"Baloo 2",-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif;color-scheme:light dark;color:var(--text-primary);background:var(--app-bg);font-synthesis:none;text-rendering:optimizeLegibility;--app-bg: #ececf0;--text-primary: #1d1d1f;--text-secondary: #2f3033;--text-tertiary: #4f5157;--text-muted: #6e6e73;--text-faint: #777981;--text-soft: #8a8a8e;--accent: #007aff;--accent-hover: #006ee6;--accent-strong: #0064c8;--accent-soft: rgba(0, 122, 255, .08);--accent-row: rgba(0, 122, 255, .06);--accent-row-selected: rgba(0, 122, 255, .14);--danger: #d70015;--danger-text: #b00020;--danger-bg: #fff1f2;--success: #248a3d;--surface: rgba(248, 248, 250, .92);--surface-solid: #f8f8fa;--surface-raised: rgba(255, 255, 255, .84);--surface-subtle: rgba(255, 255, 255, .56);--surface-wash: rgba(255, 255, 255, .38);--page-preview-bg: #ffffff;--control-bg: rgba(118, 118, 128, .14);--control-bg-stronger: rgba(118, 118, 128, .22);--control-bg-soft: rgba(118, 118, 128, .07);--control-bg-pre: rgba(118, 118, 128, .12);--hover-bg: rgba(0, 0, 0, .06);--hover-bg-strong: rgba(0, 0, 0, .07);--overlay-bg: rgba(0, 0, 0, .28);--border: rgba(60, 60, 67, .22);--border-strong: rgba(60, 60, 67, .25);--border-mid: rgba(60, 60, 67, .18);--border-soft: rgba(60, 60, 67, .14);--border-faint: rgba(60, 60, 67, .12);--border-dialog: rgba(60, 60, 67, .16);--thumb-border: #8e8e93;--shadow-small: 0 1px 2px rgba(0, 0, 0, .04);--shadow-tiny: 0 1px 1px rgba(0, 0, 0, .03);--shadow-control: 0 1px 2px rgba(0, 0, 0, .12);--shadow-dialog: 0 18px 48px rgba(0, 0, 0, .2);--preview-inset: inset 0 0 0 1px rgba(255, 255, 255, .8)}@media(prefers-color-scheme:dark){:root{--app-bg: #141416;--text-primary: #f5f5f7;--text-secondary: #e7e7eb;--text-tertiary: #d0d0d6;--text-muted: #a8a8b0;--text-faint: #9b9ba3;--text-soft: #8f8f98;--accent: #0a84ff;--accent-hover: #3797ff;--accent-strong: #64b5ff;--accent-soft: rgba(10, 132, 255, .18);--accent-row: rgba(10, 132, 255, .13);--accent-row-selected: rgba(10, 132, 255, .25);--danger: #ff453a;--danger-text: #ffb4ae;--danger-bg: rgba(255, 69, 58, .16);--success: #30d158;--surface: rgba(32, 32, 36, .92);--surface-solid: #202024;--surface-raised: rgba(72, 72, 78, .82);--surface-subtle: rgba(255, 255, 255, .08);--surface-wash: rgba(255, 255, 255, .06);--page-preview-bg: #f7f7f7;--control-bg: rgba(118, 118, 128, .24);--control-bg-stronger: rgba(118, 118, 128, .34);--control-bg-soft: rgba(118, 118, 128, .16);--control-bg-pre: rgba(118, 118, 128, .2);--hover-bg: rgba(255, 255, 255, .08);--hover-bg-strong: rgba(255, 255, 255, .12);--overlay-bg: rgba(0, 0, 0, .48);--border: rgba(235, 235, 245, .18);--border-strong: rgba(235, 235, 245, .24);--border-mid: rgba(235, 235, 245, .15);--border-soft: rgba(235, 235, 245, .12);--border-faint: rgba(235, 235, 245, .1);--border-dialog: rgba(235, 235, 245, .14);--thumb-border: #98989d;--shadow-small: 0 1px 2px rgba(0, 0, 0, .28);--shadow-tiny: 0 1px 1px rgba(0, 0, 0, .24);--shadow-control: 0 1px 2px rgba(0, 0, 0, .32);--shadow-dialog: 0 18px 52px rgba(0, 0, 0, .5);--preview-inset: inset 0 0 0 1px rgba(255, 255, 255, .12)}}@font-face{font-family:"Baloo 2";src:url(/fonts/Baloo2-Regular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:"Baloo 2";src:url(/fonts/Baloo2-Medium.ttf) format("truetype");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:"Baloo 2";src:url(/fonts/Baloo2-SemiBold.ttf) format("truetype");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:"Baloo 2";src:url(/fonts/Baloo2-Bold.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--app-bg)}button{font:inherit}.shell{width:min(860px,calc(100vw - 24px));min-height:100vh;margin:0 auto;padding:12px 0}.shell.isEmpty{display:grid;grid-template-rows:auto auto auto auto;align-content:center;gap:12px}.shell.isEmpty .dropzone{align-self:center}.shell.isEmpty .topbar{padding-bottom:0}.shell.isEmpty .emptyState{padding:0 4px}.shell.isEmpty .appFooter{padding-top:0}.topbar,.brand,.actions,.instructionBar,.fileHeader,.groupRow,.bottomBar{display:flex;align-items:center}.topbar{min-height:44px;justify-content:space-between;gap:12px;padding:0 8px 10px}.brand{gap:7px;color:var(--text-secondary)}.brandIcon{width:22px;height:22px;display:block}h1,h2,p{margin:0}h1{font-size:.95rem;font-weight:650;letter-spacing:0}.actions{gap:6px}.iconButton,.dropzone button,.instructionBar button,.fileHeader button,.bottomBar button,.groupRow{border:0;cursor:pointer}.iconButton{width:34px;height:34px;display:inline-grid;place-items:center;border-radius:999px;color:var(--text-primary);background:transparent}.iconButton:hover{background:var(--hover-bg)}.iconButton:disabled,.bottomBar button:disabled{cursor:not-allowed;opacity:.4}.iconButton.danger{color:var(--danger)}.dropzone,.resultsPanel{border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-small);overflow:hidden}.dropzone{position:relative;min-height:330px;display:grid;grid-template-columns:1fr;place-items:center;align-content:center;gap:12px;padding:24px;text-align:center;border-style:dashed;border-width:2px;transform-origin:top center;transition:min-height .36s cubic-bezier(.2,.8,.2,1),grid-template-columns .36s cubic-bezier(.2,.8,.2,1),padding .36s cubic-bezier(.2,.8,.2,1),gap .36s cubic-bezier(.2,.8,.2,1),border-color .18s ease,background .18s ease,box-shadow .36s ease}.dropzone.dragging{border-color:var(--accent);background:var(--accent-soft)}.dropzone.compact{min-height:72px;grid-template-columns:auto 1fr auto;justify-items:start;align-content:center;gap:12px;padding:12px 14px;margin-bottom:10px;text-align:left;box-shadow:var(--shadow-tiny)}.dropzone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.dropIcon{color:var(--text-faint);line-height:0;transition:color .18s ease,transform .36s cubic-bezier(.2,.8,.2,1)}.dropzone.compact .dropIcon{transform:scale(.9)}.dropzone h2{font-size:1.15rem;font-weight:500;transition:font-size .36s cubic-bezier(.2,.8,.2,1)}.dropzone.compact h2{font-size:.96rem}.dropCopy{display:grid;gap:2px;justify-items:center;transition:justify-items .36s ease}.dropzone.compact .dropCopy{justify-items:start}.dropzone p,.instructionBar p,.groupText span,.fileHeader span,.bottomBar p,.emptyState{color:var(--text-muted)}.privacyNote{max-width:430px;font-size:.83rem;line-height:1.25}.dropzone button,.bottomBar button{min-height:30px;padding:0 13px;border-radius:7px;color:#fff;background:var(--accent)}.dropzone button:hover,.bottomBar button:not(:disabled):hover{background:var(--accent-hover)}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.notice{margin-top:10px;padding:9px 12px;border-radius:8px;color:var(--danger-text);background:var(--danger-bg)}.resultsPanel{display:grid;grid-template-rows:auto minmax(220px,1fr) auto;min-height:460px;animation:resultsIn .28s cubic-bezier(.2,.8,.2,1)}@keyframes resultsIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.instructionBar{min-height:42px;gap:12px;padding:8px 14px;border-bottom:1px solid var(--border-mid)}.instructionBar p{flex:1;font-size:.86rem}.instructionBar button,.fileHeader button{padding:2px 0;color:var(--accent);background:transparent;font-size:.84rem}.modeSwitch{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:2px;border-radius:7px;background:var(--control-bg)}.modeSwitch button{min-height:26px;padding:0 10px;border-radius:5px;color:var(--text-tertiary)}.modeSwitch button.active{color:var(--text-primary);background:var(--surface-raised);box-shadow:var(--shadow-control)}.groupingSwitch{min-width:214px}.clipboardSwitch{min-width:164px}.instructionBar .helpButton{width:24px;height:24px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border-radius:999px;color:var(--text-tertiary);background:var(--control-bg);font-weight:700}.instructionBar .helpButton:hover{background:var(--control-bg-stronger)}.resultList{overflow:auto}.fileSection+.fileSection{border-top:1px solid var(--border-mid)}.fileSection[data-tinted=true]{background:linear-gradient(90deg,hsl(var(--section-hue) 88% 58% / .13),hsl(var(--section-hue) 88% 58% / .04) 34%,transparent 74%)}.fileHeader{gap:6px;min-height:32px;padding:7px 12px;background:var(--control-bg-soft)}.fileSection[data-tinted=true] .fileHeader{background:hsl(var(--section-hue) 82% 54% / .16);border-left:4px solid hsl(var(--section-hue) 78% 48%);padding-left:8px}.fileHeader svg{color:var(--text-faint);flex:0 0 auto}.fileHeader h2{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;font-weight:600}.fileHeader span{font-size:.75rem}.fileHeader button{width:22px;height:22px;display:inline-grid;place-items:center;flex:0 0 auto;padding:0;border-radius:999px;color:color-mix(in srgb,var(--text-faint) 78%,black);font-weight:700;line-height:1}.fileHeader button:hover{background:var(--hover-bg-strong)}.columnHeader,.groupRow{width:100%;display:grid;grid-template-columns:minmax(280px,1.55fr) minmax(180px,.95fr) minmax(180px,.95fr) minmax(130px,.65fr);gap:18px}.columnHeader{padding:5px 14px;color:var(--text-faint);background:var(--surface-wash);border-bottom:1px solid var(--border-faint);font-size:.74rem;font-weight:600}.columnHeader span:last-child{text-align:right}.columnHeader span:nth-child(2),.columnHeader span:nth-child(3){text-align:center}.groupRow{align-items:center;justify-items:stretch;padding:12px 14px;color:inherit;background:transparent;text-align:left;border-bottom:1px solid var(--border-faint)}.groupRow:hover{background:var(--accent-row)}.groupRow:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.fileSection[data-tinted=true] .groupRow:hover{background:hsl(var(--section-hue) 88% 58% / .1)}.groupRow.selected{background:var(--accent-row-selected)}.fileSection[data-tinted=true] .groupRow.selected{background:hsl(var(--section-hue) 88% 58% / .18)}.sizeColumn{display:flex;align-items:center;gap:10px;min-width:0}.thumb{width:var(--thumb-width);height:var(--thumb-height);flex:0 0 auto;border-radius:3px;border:1px solid var(--border-strong);background:var(--page-preview-bg);box-shadow:var(--preview-inset);overflow:hidden}.thumb iframe{width:var(--preview-width);height:var(--preview-height);border:0;pointer-events:none;transform:scale(var(--preview-scale));transform-origin:top left}.groupText{display:grid;gap:2px;min-width:0;flex:1}.groupText strong{font-weight:600;font-size:.98rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.groupText span{font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dot{padding:0 6px;color:var(--text-soft)}.colourColumn,.bleedColumn{min-width:0;color:var(--text-tertiary);font-size:.88rem;line-height:1.25;overflow-wrap:normal}.bleedColumn{display:flex;justify-content:center}.bleedNone{color:var(--text-soft)}.bleedPill{display:inline-grid;min-width:58px;min-height:26px;place-items:center;padding:1px 9px 0;border:1px solid var(--border-mid);border-radius:999px;background:var(--surface-subtle);color:var(--text-tertiary);font-weight:600;white-space:nowrap}.bleedDiagram{display:grid;grid-template-columns:32px var(--bleed-box-width) 32px;grid-template-rows:18px var(--bleed-box-height) 18px;align-items:center;justify-items:center;width:max-content;color:var(--text-tertiary);font-variant-numeric:tabular-nums;font-size:.78rem}.bleedTop{grid-column:2;grid-row:1}.bleedLeft{grid-column:1;grid-row:2}.bleedBox{grid-column:2;grid-row:2;width:var(--bleed-box-width);height:var(--bleed-box-height);border:2px solid var(--thumb-border);border-radius:3px;background:var(--surface-subtle)}.bleedRight{grid-column:3;grid-row:2}.bleedBottom{grid-column:2;grid-row:3}.colourColumn{display:grid;justify-items:center;gap:5px;font-weight:600;text-align:center}.spotColoursButton{min-height:23px;display:inline-flex;align-items:center;gap:5px;padding:2px 8px 1px;border:1px solid var(--border-mid);border-radius:999px;color:var(--accent-strong);background:var(--accent-soft);cursor:pointer;font-size:.72rem;font-weight:650;line-height:1}.spotColoursButton:hover{background:var(--control-bg-stronger)}.spotColoursButton svg{flex:0 0 auto}.spotColoursButton strong{font-size:.76rem}.colourCheckStatus{width:min(100%,190px);display:grid;align-items:center;justify-content:center;justify-items:center;gap:4px;min-width:0;color:var(--accent-strong)}.colourCheckIcon{position:relative;width:32px;height:18px}.colourCheckSet{position:absolute;inset:0;display:inline-flex;align-items:center;justify-content:center;gap:3px}.rgbIcon{animation:colourSpaceRgb 2.4s ease-in-out infinite}.cmykIcon{animation:colourSpaceCmyk 2.4s ease-in-out infinite}.rgbIcon span{width:7px;height:14px;border-radius:2px;animation:colourCheckPulse .9s ease-in-out infinite}.rgbIcon span:nth-child(1){background:#ff3b30}.rgbIcon span:nth-child(2){background:#34c759;animation-delay:.12s}.rgbIcon span:nth-child(3){background:#007aff;animation-delay:.24s}.cmykIcon span{width:7px;height:7px;border-radius:999px;animation:colourCheckPulse .9s ease-in-out infinite}.cmykIcon span:nth-child(1){background:#00aeef}.cmykIcon span:nth-child(2){background:#ec008c;animation-delay:90ms}.cmykIcon span:nth-child(3){background:#fff200;animation-delay:.18s}.cmykIcon span:nth-child(4){background:#1d1d1f;animation-delay:.27s}.colourCheckCopy{display:grid;gap:1px;justify-items:center;min-width:0;max-width:100%}.colourCheckCopy span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.colourCheckCopy span:first-child{font-size:.84rem}.colourCheckCopy span:last-child{color:var(--text-muted);font-size:.72rem;font-weight:500}.colourCheckProgress{width:96px;height:3px;overflow:hidden;border-radius:999px;background:var(--accent-soft)}.colourCheckProgress span{display:block;width:var(--colour-progress);height:100%;border-radius:inherit;background:var(--accent-strong);transition:width .26s ease}@keyframes colourCheckPulse{0%,to{transform:scaleY(.58);opacity:.45}50%{transform:scaleY(1);opacity:1}}@keyframes colourSpaceRgb{0%,42%{opacity:1;transform:translateY(0) scale(1)}50%,92%{opacity:0;transform:translateY(-2px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes colourSpaceCmyk{0%,42%{opacity:0;transform:translateY(2px) scale(.94)}50%,92%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(2px) scale(.94)}}.rangeColumn{display:grid;justify-items:end;gap:1px;color:var(--text-muted);font-size:.82rem}.rangeColumn strong{color:var(--text-primary);font-size:.92rem;font-weight:600}.rangeColumn span{color:var(--text-muted);font-variant-numeric:tabular-nums}.bottomBar{gap:12px;min-height:54px;padding:10px 14px;border-top:1px solid var(--border-mid);overflow:hidden}.bottomBar p{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.85rem}.bottomBar span{flex:0 0 auto;color:var(--success);font-size:.86rem}.bottomBar button{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.bottomBar .downloadSelectionButton{width:44px;min-width:44px;padding:0;gap:0;justify-content:center;overflow:hidden;white-space:nowrap;transition:width .22s ease 2s,padding .22s ease 2s,gap .22s ease 2s,background .18s ease}.bottomBar .downloadSelectionButton svg{flex:0 0 auto}.bottomBar .downloadSelectionButton span{display:inline-block;max-width:0;opacity:0;overflow:hidden;color:#fff;font-size:inherit;transition:max-width .22s ease 2s,opacity .14s ease 2s}.bottomBar .downloadSelectionButton:hover,.bottomBar .downloadSelectionButton:focus-visible{width:214px;padding:0 13px;gap:6px}.bottomBar .downloadSelectionButton:hover span,.bottomBar .downloadSelectionButton:focus-visible span{max-width:154px;opacity:1}.emptyState{display:grid;justify-items:center;gap:2px;padding:10px 4px;text-align:center;font-size:.84rem}.appFooter{display:flex;justify-content:center;align-items:center;gap:12px;padding:14px 8px 4px;color:var(--text-muted);font-size:.82rem}.appFooter button{border:0;padding:0;color:var(--accent);background:transparent;cursor:pointer;font:inherit;text-decoration:underline;text-underline-offset:3px}.appFooter button:hover{color:var(--accent-strong)}.licenseOverlay{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:20px;background:var(--overlay-bg)}.licenseDialog{width:min(680px,100%);max-height:min(720px,calc(100vh - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface-solid);box-shadow:var(--shadow-dialog)}.helpDialog{width:min(620px,100%);max-height:min(720px,calc(100vh - 40px));overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface-solid);box-shadow:var(--shadow-dialog)}.spotColoursDialog{width:min(420px,100%);max-height:min(560px,calc(100vh - 40px));display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface-solid);box-shadow:var(--shadow-dialog)}.spotColoursList{display:grid;gap:8px;overflow:auto;padding:14px 18px 18px}.spotColourItem{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 10px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-subtle);color:var(--text-secondary);font-weight:600}.spotColourItem span{min-width:0;overflow-wrap:anywhere}.spotColourItem svg{flex:0 0 auto;color:var(--accent-strong)}.helpList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:min(560px,calc(100vh - 150px));overflow:auto;padding:14px 18px 18px}.helpList article{display:grid;gap:6px;align-content:start;padding:12px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-subtle)}.helpList h3{margin:0;color:var(--text-primary);font-size:.94rem;font-weight:650}.helpList p{color:var(--text-muted);font-size:.82rem;line-height:1.25}.helpList pre{margin:2px 0 0;overflow-x:auto;padding:8px;border-radius:6px;color:var(--text-secondary);background:var(--control-bg-pre);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.76rem;line-height:1.35;white-space:pre-wrap}.licenseHeader{display:flex;align-items:start;gap:16px;padding:16px 18px 12px;border-bottom:1px solid var(--border-dialog)}.licenseHeader div{flex:1;min-width:0}.licenseHeader h2{font-size:1.08rem;font-weight:650}.licenseHeader p,.licenseItem p,.licenseNote{color:var(--text-muted)}.licenseHeader p{margin-top:2px;font-size:.84rem}.licenseClose{width:28px;height:28px;border:0;border-radius:999px;color:var(--text-muted);background:var(--control-bg);cursor:pointer;font:inherit;font-weight:700}.licenseClose:hover{background:var(--control-bg-stronger)}.licenseList{overflow:auto;padding:4px 18px}.licenseItem{display:grid;grid-template-columns:minmax(160px,.75fr) minmax(220px,1.25fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--border-faint)}.licenseItem h3{margin:0;color:var(--text-primary);font-size:.93rem;font-weight:650}.licenseItem strong{display:block;color:var(--text-secondary);font-size:.9rem}.licenseItem p{margin-top:2px;font-size:.8rem;line-height:1.25}.licenseNote{padding:12px 18px 16px;font-size:.82rem;line-height:1.3}.licenseNote a{color:var(--accent);white-space:nowrap}@media(max-width:640px){.shell{width:min(100vw - 16px,860px);padding:8px 0}.topbar,.instructionBar,.bottomBar,.dropzone.compact{flex-wrap:wrap}.dropzone.compact{grid-template-columns:auto 1fr}.dropzone.compact button{grid-column:1 / -1;justify-self:stretch}.instructionBar p,.bottomBar p{flex-basis:100%}.columnHeader{display:none}.groupRow{grid-template-columns:1fr;gap:8px}.rangeColumn{justify-items:start}.appFooter,.licenseItem,.helpList{align-items:start;grid-template-columns:1fr}.appFooter{flex-direction:column;gap:3px}}
