/* UnkieCorp Tiger Curation Desk: responsive Aqua / brushed-metal interface. */
:root{color-scheme:light;--ink:#17212f;--metal:#d5d9df;--frame:#606c7b;--blue:#2873d6;--soft-blue:#e8f2ff;--green:#319c47;--red:#d94d4d;--amber:#d89020}
*{box-sizing:border-box}
html,body{margin:0;min-width:290px}
body{font-family:"Lucida Grande","Trebuchet MS",Arial,sans-serif;color:var(--ink);background:linear-gradient(145deg,#fafafa,#d3dce7);font-size:15px;-webkit-text-size-adjust:100%}
button,a{font:inherit}a{color:#1c4f95}button{cursor:pointer}
button:disabled{cursor:default;opacity:.48}
a:focus-visible,button:focus-visible,input:focus-visible,.submission-scroller:focus-visible{outline:3px solid #f3a112;outline-offset:2px;position:relative;z-index:2}
.mac-window{background:repeating-linear-gradient(0deg,#e4e8ed 0 2px,#e9ebee 2px 4px);border:2px solid #5f6875;border-radius:28px;box-shadow:inset 0 0 0 3px #f6f8fb,0 18px 45px #2c374c55;overflow:hidden}
.titlebar{min-height:52px;background:linear-gradient(#f5f6f9 0%,#c8cbd1 30%,#f0f1f4 54%,#b7bcc4 98%);box-shadow:inset 0 2px 1px #fff,inset 0 -2px 2px #717b88;border-bottom:1px solid #515e70;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 20px;flex:none}
.titlebar h1{margin:0;text-align:center;font-size:clamp(16px,2.4vw,23px);font-weight:700;letter-spacing:-.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.traffic,.top-blank{width:75px;flex:0 0 75px}
.traffic{display:flex;gap:7px}
.traffic i{display:block;width:18px;height:18px;border-radius:50%;border:1px solid #393d45;box-shadow:inset 0 2px 2px #ffffffbb,0 1px 2px #0009}
.traffic i:nth-child(1){background:radial-gradient(circle at 33% 25%,#fff,#fb7e5a 38%,#9d1200 87%)}
.traffic i:nth-child(2){background:radial-gradient(circle at 33% 25%,#fff,#ffda63 38%,#bd820a 87%)}
.traffic i:nth-child(3){background:radial-gradient(circle at 33% 25%,#fff,#83e76a 38%,#178323 87%)}
.mac-toolbar{margin:11px 17px 8px;min-height:40px;padding:6px 15px;border:1px solid #7e8a9c;border-radius:17px;background:linear-gradient(180deg,#fff 0%,#e9eef6 37%,#c6cbd3 73%,#f4f6fa 100%);box-shadow:0 2px 3px #0005,inset 0 1px 0 white;display:flex;align-items:center;justify-content:center;gap:10px;font-size:clamp(12px,2vw,16px);white-space:nowrap;overflow:hidden;flex:none}
.toolbar-icon{font-size:21px;color:#758293;text-shadow:0 1px 1px white}
.toolbar-divider{height:22px;border-left:1px solid #788396;margin:0 10px}
.aqua-dot{width:15px;height:15px;display:inline-block;flex:none;border:1px solid #1757a3;border-radius:5px;background:radial-gradient(circle at 28% 20%,#fff,#80c7fe 35%,#0873d3 80%);box-shadow:0 1px 2px #4f7591}
.aqua-button,.desk-tile,.desk-home{border:1px solid #77879c;box-shadow:inset 0 2px 2px #fff,0 3px 4px #2936465c;text-decoration:none;color:var(--ink);font-weight:700;background:linear-gradient(180deg,#fff 0%,#f8fbff 22%,#d5dfeb 51%,#f5f7fc 85%,#c5d2e1 100%);text-shadow:0 1px 0 #fff}
.aqua-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:24px;min-height:43px;padding:8px 14px;font-size:16px;line-height:1.1;white-space:nowrap}
.aqua-button.primary{color:#fff;text-shadow:0 -1px #123f86;border:1px solid #19538b;background:linear-gradient(180deg,#a2d4ff 0%,#428ee2 28%,#0960be 54%,#2688f0 75%,#b3dfff 100%);box-shadow:inset 0 2px 2px #fff9,0 2px 5px #165ca86e}
.aqua-button:not(:disabled):active,.desk-tile:active,.desk-home:active{filter:brightness(.93);transform:translateY(1px)}
/* Landing page */
.desk-page{min-height:100vh;padding:15px;display:flex;justify-content:center;align-items:flex-start}
.desk-window{width:min(720px,100%);padding-bottom:0;display:flex;flex-direction:column;min-height:min(840px,calc(100dvh - 30px))}
.desk-hero{margin:20px 24px 17px;padding:25px 14px 22px;text-align:center;border:2px solid #8995a5;border-radius:29px;background:linear-gradient(165deg,#fff 0%,#e2ebfb 40%,#f7faff 58%,#c7d9f6 100%);box-shadow:inset 0 4px 5px #fff,0 4px 4px #0003}
.desk-hero h2{font-size:clamp(23px,4vw,31px);margin:16px 0 6px}
.desk-hero p{color:#525967;margin:0;font-size:clamp(16px,2.7vw,20px)}
.finder-face{width:62px;height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:auto;border-radius:14px;border:2px solid #1e528d;background:linear-gradient(145deg,#e6f8ff 0%,#72baf6 36%,#1771c7 65%,#9cddff 100%);box-shadow:inset 0 2px 5px white,2px 4px 5px #35445e88;position:relative}
.finder-face .eyes{font-size:14px;letter-spacing:10px;line-height:14px;margin-left:11px;color:#1a2736}
.finder-face .smile{font-size:36px;line-height:22px;position:absolute;bottom:8px;color:#0a2c47}
.finder-face.large{width:90px;height:90px}
.desk-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr 1fr .7fr;flex:1;gap:17px;margin:0 28px 23px}
.desk-tile{min-height:140px;border-radius:26px;padding:15px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:linear-gradient(168deg,#fff 2%,#e4efff 35%,#cbdaf1 64%,#f3f7ff 100%);text-align:center;box-shadow:inset 0 3px 4px white,0 4px 5px #394b6380}
.desk-tile strong{font-size:clamp(16px,2.6vw,20px)}
.desk-tile small{font-weight:500;color:#5b6472;font-size:11px}
.desk-tile.disabled{opacity:.58;cursor:not-allowed;box-shadow:inset 0 2px 2px white,0 2px 3px #0004}
.tile-icon{font-size:45px;height:56px;line-height:55px;filter:drop-shadow(1px 3px 1px #33446655)}
.smile-icon{width:62px;height:62px;line-height:56px;border:2px solid #2779b4;background:radial-gradient(circle at 25% 12%,#fff,#a5dfff 26%,#2aa5f1 70%,#00549b 100%);border-radius:50%;color:#093862;text-shadow:none;font-size:56px;box-shadow:inset 0 2px 4px #fff,0 3px 4px #0005}
.desk-home{grid-column:1/-1;min-height:78px;border-radius:25px;display:flex;align-items:center;justify-content:center;gap:18px;background:linear-gradient(180deg,#fff,#cde5ff 35%,#7facdf 62%,#d1e7ff);font-size:clamp(20px,4vw,28px);box-shadow:inset 0 3px 4px #fff,0 3px 5px #394b6370}
.desk-home span{font-size:37px}
.desk-bottom{background:linear-gradient(#f4f5f7,#bfc6d0);border-top:1px solid #8c96a4;min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:8px 22px;gap:10px;font-size:13px;color:#4b505b;font-weight:700}
.feature-button{font-size:12px;font-weight:700;text-decoration:none;padding:6px 9px;border-radius:11px;border:1px solid #8a97a8;background:linear-gradient(#fff,#d5e3f5);color:#194b83;box-shadow:0 1px 2px #0003;white-space:nowrap}
.subtle-link{background:transparent;border:0;text-decoration:underline;color:#1c4f95;font-size:13px;padding:5px}
.login-panel{margin:24px auto 35px;max-width:430px;padding:22px;border:1px solid #8b9aac;border-radius:24px;text-align:center;background:linear-gradient(#fff,#cfdef3);box-shadow:inset 0 2px 2px white,0 5px 12px #0004}
.login-panel h2{margin:17px 0 7px}.login-panel p{color:#445b75}.login-form{text-align:left;display:flex;flex-direction:column;gap:10px;margin-top:17px}
.login-form input{height:46px;border:1px solid #8494a6;background:white;border-radius:9px;padding:8px 12px;font-size:19px}
.login-form button{margin-top:5px}
.small-home-link{display:inline-block;margin-top:20px}
/* Editor: the entire window fits the viewport; only .submission-scroller moves. */
.editor-page{height:100vh;height:100dvh;overflow:hidden;padding:8px;display:flex;justify-content:center;align-items:stretch}
.editor-window{width:min(1000px,100%);height:100%;display:flex;flex-direction:column;border-radius:22px}
.editor-form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;padding:0 12px 9px}
.editor-controls{margin:5px 2px 10px;padding:13px 17px 12px;border:1px solid #8294aa;border-radius:22px;flex:none;background:linear-gradient(165deg,#fff 0%,#f0f5ff 24%,#c7dbfa 65%,#f4f8ff 100%);box-shadow:inset 0 2px 2px white,0 3px 5px #4a5a7366}
.controls-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.controls-heading h2{font-size:clamp(19px,3vw,25px);margin:0 0 4px;line-height:1.15}
.controls-heading span{font-size:13px;color:#424f61}
.controls-stamp{border:1px solid #94a0b0;border-radius:10px;padding:4px 10px;font-size:14px;font-weight:600;background:linear-gradient(#fff,#e4e8f1);box-shadow:0 2px 2px #0003;white-space:nowrap}
.segmented{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 0;gap:0;border-radius:16px;overflow:hidden;border:1px solid #7a8799;box-shadow:0 2px 4px #0005}
.segmented a{background:linear-gradient(#fff,#edf1f5 42%,#bcc5d0 55%,#fff);color:#242d3a;text-align:center;text-decoration:none;min-height:39px;padding:6px 3px 4px;font-size:clamp(12px,2vw,15px);border-right:1px solid #8793a4;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}
.segmented a:last-child{border-right:0}
.segmented a.selected{background:linear-gradient(#7dbaf9,#125db2 46%,#0b63c5 55%,#6db6ff);color:#fff;text-shadow:0 -1px #083e84}
.filter-count{font-weight:400;font-size:11px;line-height:1}
.control-actions{display:flex;align-items:center;justify-content:space-between;gap:7px}
.control-actions .aqua-button{min-width:95px;min-height:42px}
.dirty-counter{display:flex;align-items:center;gap:5px;font-style:italic;font-size:clamp(10px,1.7vw,13px);white-space:nowrap;color:#4a5465;text-align:center}
.dirty-light{width:12px;height:12px;flex:none;border:1px solid #b48c53;border-radius:50%;background:linear-gradient(#fff5cd,#c8cbd1);box-shadow:inset 0 1px 1px white}
.dirty-counter.has-changes .dirty-light{background:radial-gradient(circle at 35% 30%,#fff,#ffad20 55%,#cd5f00 90%);box-shadow:0 0 5px #ffa120}
.list-bar{margin:0 4px;border:1px solid #8e9cab;border-radius:10px 10px 0 0;background:linear-gradient(#fdfdff,#d0d7e1);box-shadow:inset 0 1px 1px white;flex:none;display:flex;justify-content:space-between;align-items:center;min-height:31px;gap:6px;padding:4px 10px;font-size:13px;font-weight:700}
.list-bar-scroll{font-size:12px;white-space:nowrap;font-weight:400;color:#475569}
.submission-scroller{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#4a8fea #e6edf6;scrollbar-width:thin;border:1px solid #96a0b1;border-top:none;border-radius:0 0 12px 12px;margin:0 4px;padding:11px 10px;background:repeating-linear-gradient(0deg,#dae0e9 0 2px,#e5e8ef 2px 4px)}
.submission{--status-color:#3986e9;margin:0 0 10px;border:1px solid #8a97a9;border-left:8px solid var(--status-color);border-radius:15px;padding:12px 13px 10px;background:linear-gradient(150deg,#fff 0%,#f8faff 58%,#e5ebf5 100%);box-shadow:inset 0 2px 2px #fff,0 3px 5px #233d5890}
.submission.status-approved{--status-color:#37a94d}
.submission.status-rejected{--status-color:#e85f5f}
.submission.is-dirty{border-left-color:#e5a42a;background:linear-gradient(150deg,#fff 0%,#fffcf0 60%,#e8e7ee 100%)}
.submission-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:7px}
.submission-meta{display:flex;gap:5px;align-items:center;min-width:0;font-size:13px;line-height:1.5}
.submission-meta strong{font-size:16px}
.submission-date{overflow-wrap:anywhere;color:#536077;font-size:12px}
.bubble{flex:none;border:1px solid #6e819f;background:linear-gradient(#fff,#dce9fb);border-radius:50%;width:24px;height:21px;text-align:center;line-height:15px;box-shadow:0 2px 2px #0002;color:#58657b;font-size:7px;letter-spacing:-2px;padding-right:2px}
.status-badge{flex:none;min-width:88px;text-align:center;font-size:12px;font-weight:800;padding:4px 7px;border:1px solid #3a87cd;border-radius:13px;color:#153a5b;background:linear-gradient(#e4f3ff,#83c2ff)}
.status-approved .status-badge{color:#17521d;border-color:#39974d;background:linear-gradient(#f0ffed,#b2e6b7)}
.status-rejected .status-badge{color:#782525;border-color:#ca4d4d;background:linear-gradient(#fff3f3,#ffc3c3)}
.submission-text{margin:10px 0;font-size:clamp(15px,2.2vw,19px);line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap}
.submission-credit{font-size:13px;margin:0 0 10px;color:#5c6172;font-weight:700}
.missing-file{color:#ab3b2e;font-weight:700}
.submission-bottom{border-top:1px solid #9faaba;padding-top:9px;display:flex;flex-direction:column;gap:6px}
.decision-buttons{display:flex;gap:9px}
.decision-button{flex:1;min-height:40px;border-radius:22px;font-size:clamp(14px,2.2vw,17px);padding:7px 8px}
.decision-button span{font-size:21px;line-height:14px}
.decision-button.approve span{color:#229535;text-shadow:0 1px #fff}
.decision-button.reject span{color:#d8412d;text-shadow:0 1px #fff}
.decision-button[aria-pressed="true"]{background:linear-gradient(#f9fcff,#b1ccea 45%,#8eadd2 60%,#e4eeff);border-color:#275e91;box-shadow:inset 0 1px 3px #2c476e88,0 1px 2px #fff}
.pending-indicator{align-self:flex-end;border:1px solid #ca8521;border-radius:10px;background:linear-gradient(#fff8db,#ffcf68);color:#694008;padding:2px 8px;font-size:11px;font-weight:800}
.pending-indicator[hidden]{display:none}
.pagination{display:flex;justify-content:center;align-items:center;gap:10px;margin:16px 0 10px;flex-wrap:wrap}
.pagination .aqua-button{font-size:13px;min-height:35px}
.empty-state{border:1px solid #9aa7bb;border-radius:12px;background:#ffffffc9;padding:22px;text-align:center}
.scroll-footer{font-size:12px;text-align:center;color:#586273;margin:16px 6px 7px}
.message{margin:9px 4px 2px;border:1px solid;border-radius:10px;padding:7px 10px;font-size:13px;font-weight:600}
.message.bad{border-color:#b94c3a;background:#fff0eb;color:#853429}
.message.good{border-color:#6b9958;background:#e9fbe6;color:#2d5725}
@media (min-width:880px){.editor-page{padding:12px}.editor-window{max-height:1100px}.submission-scroller{padding:15px 18px}.submission{padding:17px 19px}.editor-controls{padding:17px 23px}}
@media (max-width:480px){
 .desk-page{padding:0}.desk-window{border-radius:0;min-height:100vh;min-height:100dvh;border-width:0}
 .titlebar{min-height:40px;padding:0 9px}.titlebar h1{font-size:17px}.traffic,.top-blank{width:45px;flex-basis:45px}.traffic{gap:3px}.traffic i{width:13px;height:13px}
 .mac-toolbar{margin:6px 7px 6px;padding:3px 6px;min-height:29px;font-size:10px;gap:5px;border-radius:10px}.toolbar-icon{font-size:15px}.toolbar-divider{height:14px;margin:0 3px}.aqua-dot{width:12px;height:12px}
 .desk-hero{margin:10px 10px 14px;padding:17px 8px;border-radius:18px}.desk-hero h2{font-size:20px;margin:8px 0 4px}.desk-hero p{font-size:14px}.finder-face{width:46px;height:46px;border-radius:11px}.finder-face .eyes{font-size:11px;letter-spacing:6px;line-height:11px;margin-left:6px}.finder-face .smile{font-size:30px;bottom:4px}
 .desk-buttons{margin:0 11px 17px;gap:10px}.desk-tile{min-height:112px;border-radius:18px;padding:10px 4px}.desk-tile strong{font-size:14px}.desk-tile small{font-size:10px}.tile-icon{font-size:34px;height:42px;line-height:42px}.smile-icon{font-size:36px;width:44px;height:44px;line-height:40px}.desk-home{min-height:66px;border-radius:19px;font-size:20px}.desk-home span{font-size:29px}.desk-bottom{min-height:45px;padding:7px 10px;gap:5px;font-size:11px}.feature-button{font-size:10px;padding:6px 5px}
 .editor-page{padding:0}.editor-window{border:0;border-radius:0;box-shadow:none}.editor-form{padding:0 4px 5px}.editor-controls{margin:1px 2px 7px;padding:8px 8px 9px;border-radius:15px}.controls-heading h2{font-size:18px}.controls-heading span{font-size:11px}.controls-stamp{font-size:11px;padding:4px 6px;border-radius:8px}.segmented{margin:7px 0;border-radius:10px}.segmented a{min-height:37px;font-size:12px}.filter-count{font-size:9px}
 .control-actions{gap:5px}.control-actions .aqua-button{min-width:75px;min-height:36px;padding:7px 10px;font-size:14px}.dirty-counter{font-size:10px}.dirty-light{width:10px;height:10px}.list-bar{font-size:11px;min-height:28px;padding:4px 6px}.list-bar-scroll{font-size:10px}.submission-scroller{padding:8px 6px}.submission{padding:9px 9px 8px;border-radius:11px;margin-bottom:8px;border-left-width:6px}.submission-meta{gap:3px;font-size:11px}.submission-meta strong{font-size:14px}.submission-date{font-size:10px}.bubble{width:18px;height:16px;font-size:6px;line-height:10px}.status-badge{min-width:67px;font-size:10px;padding:3px 5px}.submission-text{font-size:16px;line-height:1.38;margin:8px 0}.decision-button{min-height:36px;font-size:14px;padding:6px 5px}.decision-button span{font-size:19px}
}
@media(max-height:550px){.editor-controls{margin:0 2px 4px;padding:5px 8px}.mac-toolbar{margin:3px 6px 4px}.segmented{margin:5px 0}.controls-heading h2{font-size:16px}.submission-scroller{padding-top:6px}}
