:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;color:#2e2531;background:#f8f6f8;font-size:15px;-webkit-text-size-adjust:100%}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}input,select,textarea{color:#33283a}.hidden{display:none!important}.app{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#281c2e;color:#fff;display:flex;flex-direction:column;padding:28px 14px 22px;position:sticky;top:0;height:100vh}.brandwrap{display:flex;gap:8px;align-items:center;margin:0 5px 27px}.rose{color:#d5b47e;font-size:39px;line-height:1}.brand{font-family:Georgia,serif;color:#f1dfba;font-size:21px;white-space:nowrap}.brand-sub{font-size:10px;letter-spacing:2.5px;color:#c6b2ce;margin-top:5px}.nav{display:grid;gap:5px}.navbtn{text-align:left;display:flex;align-items:center;gap:9px;padding:13px 15px;border-radius:11px;border:0;background:transparent;color:#dbd0df;font-weight:550;font-size:14px}.navbtn.selected,.navbtn:hover{background:#513656;color:white}.tiny-count{background:#e0bb78;border-radius:99px;color:#281c2e;font-size:11px;padding:2px 6px;margin-left:auto}.side-bottom{margin-top:auto;color:#c5b3ca;font-size:14px;padding:12px}.side-bottom small{font-size:11px;line-height:1.5;display:block;margin-top:6px}.goldline{height:1px;background:#816a53;margin-bottom:12px}.workarea{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;border-bottom:1px solid #e9e2ec;padding:25px 30px}.eyebrow{font-weight:800;letter-spacing:1.8px;font-size:10px;color:#765f80}.eyebrow.gold{color:#9b783d}h1{margin:5px 0;font:32px Georgia,serif;color:#34263b}h2{font-size:20px;margin:0 0 10px;color:#36283d}h3{font-size:16px;margin:4px 0 9px;color:#423048}p{line-height:1.5;margin:7px 0 12px}.topbar p{font-size:13px;color:#86798b;margin:5px 0 0}.topActions,.buttonRow{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.btn{border:1px solid transparent;border-radius:10px;padding:11px 15px;font-weight:700;font-size:13px;min-height:43px;white-space:normal;text-align:center;transition:filter .15s}.btn:hover{filter:brightness(.965)}.btn.primary{background:#6d457a;color:#fff}.btn.secondary{background:#eee4f0;color:#634073}.btn.ghost,.btn.outline{background:white;border-color:#ded1e1;color:#674477}.btn.danger{background:#a44348;color:white}.btn.subtleDanger{background:#fff4f3;color:#a13d43;border:1px solid #e8c6c2}.btn.full{width:100%}.smallbtn{padding:8px 11px;min-height:37px}.textbtn{border:0;background:none;color:#684479;font-weight:700;font-size:13px}.input{border:1px solid #dcd3df;border-radius:10px;padding:11px 12px;background:#fff;min-width:0;width:100%}.input:focus,.btn:focus-visible,.navbtn:focus-visible{outline:3px solid #d7bce0;outline-offset:2px}textarea.input{resize:vertical;min-height:110px}.full{width:100%}main{padding:26px 30px 44px;max-width:1480px;margin:auto}footer{text-align:center;color:#97899b;font-size:11px;padding:0 15px 22px}.warningStrip{border:1px solid #ebd7b2;background:#fff9ed;padding:13px 16px;border-radius:11px;color:#73552a;font-size:12px;line-height:1.5;margin-bottom:21px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:20px}.stat,.panel{background:white;border:1px solid #e8e0eb;border-radius:16px;box-shadow:0 3px 18px #35243b08}.stat{padding:18px}.stat span{font-size:12px;color:#776b7d}.stat strong{font-size:32px;display:block;line-height:1.25;font-weight:750;color:#634271;margin:6px 0}.stat small{font-size:11px;color:#94889a}.stat.attention strong{color:#a56a2e}.panel{padding:22px;margin-bottom:19px}.grid2{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.intro{background:linear-gradient(120deg,#fefdfd,#f6eef9)}.intro h2,.syncCard h2{margin-top:7px;font:25px Georgia,serif}.intro p,.syncCard p{color:#796d7c;max-width:520px}.intro .buttonRow{margin:22px 0 13px}.tips{display:flex;gap:12px;flex-wrap:wrap;color:#7b6786;font-size:11px}.syncCard .btn{margin:7px 0}.syncCard small{display:block;color:#918497;font-size:11px;margin-top:11px;line-height:1.5}.row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.row.between{justify-content:space-between}.muted{color:#827586}.small{font-size:12px}.panel .row h2{margin-bottom:5px}.itemgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:13px;margin-top:17px}.itemcard{border:1px solid #e6dfe8;border-radius:13px;background:#fff;overflow:hidden}.itemphoto{height:158px;background:#f0eaf3;display:flex;align-items:center;justify-content:center;position:relative;color:#9f91a5}.itemphoto img{height:100%;width:100%;object-fit:contain}.imgcount{position:absolute;right:8px;top:8px;background:#23182acc;color:white;border-radius:99px;font-size:10px;padding:5px 9px}.itemcontent{padding:13px}.itemcontent h3{font-size:14px;height:38px;overflow:hidden;line-height:1.4;margin:0 0 8px}.itemmeta{font-size:11px;color:#857a89;line-height:1.5;min-height:40px}.itembottom{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:13px}.pill{display:inline-block;background:#f0e9f2;color:#6a4975;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:700}.pill.listed{background:#e3f2e7;color:#286342}.pill.sold{background:#f9e4e5;color:#9b494f}.pill.amber{background:#fff0d6;color:#885e2e}.empty{padding:27px 14px;text-align:center;color:#93849a;background:#fcfafc;border-radius:12px;width:100%;border:1px dashed #e4d7e9}.filterbar{display:flex;gap:9px;flex-wrap:wrap;margin:19px 0}.filterbar>input{flex:2;min-width:190px}.filterbar>select{flex:1;min-width:150px}.dropzone{border:2px dashed #bda8c5;border-radius:14px;text-align:center;padding:32px 10px;background:#fcf9fd;display:flex;flex-direction:column;align-items:center;gap:10px;cursor:pointer;color:#52345e}.dropzone span{color:#a18da8;font-size:12px}.dropzone.dragging{background:#f2e7f6}.uploadIcon{height:65px;width:65px;border-radius:20px;background:#efe2f3;font-size:40px;line-height:60px;color:#785188}.fileinput{position:absolute!important;width:1px;height:1px;opacity:0;pointer-events:none}.workflowbar{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.workflowbar .btn{flex:1 1 170px}.photoGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:8px;margin:13px 0}.photoThumb{border:2px solid transparent;border-radius:10px;background:#f5f0f6;position:relative;padding:0;overflow:hidden;aspect-ratio:1;cursor:pointer}.photoThumb.selected{border-color:#6d457a;box-shadow:0 0 0 3px #dcc5e5}.photoThumb img{height:100%;width:100%;object-fit:cover}.photoThumb .photoCheck{position:absolute;top:5px;left:5px;background:#ffffffec;color:#593a62;border-radius:50%;height:20px;width:20px;text-align:center;font-size:13px;line-height:20px;font-weight:900}.photoThumb .photoName{position:absolute;bottom:0;left:0;right:0;background:#251c2ab3;color:#fff;font-size:9px;padding:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sectionRule{border-top:1px solid #eee7ef;margin:18px 0}.groupGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:13px}.groupCard{border:1px solid #e8dfeb;border-radius:12px;padding:12px;background:#fbf9fc}.groupPhotos{display:flex;gap:4px;height:70px;overflow:hidden;margin-bottom:9px}.groupPhotos img{height:70px;width:70px;border-radius:7px;object-fit:cover}.groupCard .label{margin:7px 0 4px}.label{display:block;font-weight:700;color:#68556f;font-size:12px;margin-bottom:5px}.groupCard .input{padding:7px 9px;font-size:13px}.groupCard .muted{font-size:11px}.subtleNote{border:1px solid #e7dcec;border-radius:10px;background:#faf6fb;color:#7b6882;padding:13px 14px;line-height:1.55;font-size:12px;margin-top:18px}.important{border-left:4px solid #c58d43;background:#fff6e7;border-radius:8px;color:#7a5724;padding:13px 14px;font-size:12px;line-height:1.6;margin:15px 0}.task{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #eee7ef;flex-wrap:wrap}.task b{font-size:14px}.task a{font-size:12px;color:#6a4480}.task .meta{font-size:12px;color:#807387;margin-top:6px}.details{margin-top:18px;font-size:13px;color:#6d5b74}.details summary{cursor:pointer;font-weight:700}.syncActions{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:22px 0}.syncAction{border:1px solid #e4d9e8;padding:21px;border-radius:13px;background:#fcf9fd}.syncAction p{color:#84758a;font-size:12px;min-height:80px}.actionNumber{background:#6d457a;color:white;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800}.syncAction h3{margin-top:12px}.settingsGrid{display:grid;grid-template-columns:1fr 1fr;gap:27px}.settingsGrid>div{min-width:0}.plainList{color:#756a7c;font-size:12px;line-height:1.9;padding-left:17px}.marketStatus{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.marketStatus>div{background:#f5f0f6;border-radius:9px;padding:10px;font-size:12px;color:#6b5277}.marketStatus small{display:block;color:#9c8aa4;margin-top:5px;font-size:10px}.editHeader{margin-bottom:15px}.editLayout{display:grid;grid-template-columns:295px minmax(0,1fr);gap:17px}.editPhotos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}.editPhotos .editPic{position:relative}.editPhotos img{width:100%;height:85px;object-fit:cover;border-radius:8px}.editPhotos button{position:absolute;right:3px;top:3px;border-radius:50%;color:white;background:#312239d9;border:0;width:22px;height:22px;font-size:12px;line-height:20px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.formfield{font-size:12px;font-weight:750;color:#695872;display:flex;flex-direction:column;gap:6px}.formfield.wide{grid-column:1/-1}.marketEditor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.marketTile{background:#fbf8fc;border:1px solid #ebe2ed;border-radius:12px;padding:12px}.marketTile h3{font-size:14px}.marketTile .input{margin:5px 0 9px}.marketTile label{font-size:11px;color:#766a7e}.toast{background:#eef8ed;color:#24643e;border:1px solid #cee8cd;padding:13px 15px;border-radius:10px;font-size:13px;margin-bottom:16px;line-height:1.5}.toast.error{background:#fff0ef;border-color:#e5c0bd;color:#9a3d3b}.overlay{position:fixed;inset:0;background:#231b29c4;z-index:20;display:flex;align-items:center;justify-content:center;padding:15px}.modal{width:min(740px,100%);max-height:90vh;overflow:auto;background:white;border-radius:16px;padding:22px;box-shadow:0 15px 50px #160d21aa}.conflictList{max-height:350px;overflow:auto;margin:16px 0}.conflict{border-top:1px solid #e9e2ec;padding:12px 0}.conflict .meta{font-size:11px;color:#91839b}.conflict select{max-width:290px;font-size:12px}.modal .btn{min-width:100px}@media(max-width:1080px){.app{grid-template-columns:200px 1fr}.sidebar{padding:18px 9px}.brand{font-size:18px}main{padding:19px}.topbar{padding:19px}.editLayout{grid-template-columns:245px 1fr}.grid2{grid-template-columns:1fr}.marketEditor{grid-template-columns:1fr}}@media(max-width:770px){.app{display:block}.sidebar{position:sticky;top:0;height:auto;padding:9px 10px;z-index:5;display:block}.brandwrap{margin:2px 7px 8px}.brand{font-size:17px}.rose{font-size:27px}.brand-sub{font-size:9px}.nav{display:flex;gap:2px;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}.navbtn{flex:0 0 auto;white-space:nowrap;padding:9px 11px;font-size:12px}.side-bottom{display:none}.topbar{padding:17px 15px;align-items:flex-start;flex-wrap:wrap}.topbar h1{font-size:26px}.topActions{width:100%}.topActions .btn{flex:1;min-width:125px}main{padding:14px}.stats{grid-template-columns:repeat(2,1fr);gap:8px}.stat{padding:13px}.stat strong{font-size:26px}.panel{padding:15px}.grid2,.syncActions,.editLayout,.settingsGrid{grid-template-columns:1fr}.itemgrid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:9px}.itemphoto{height:135px}.itemcontent{padding:10px}.itemcontent h3{font-size:13px}.marketEditor{grid-template-columns:repeat(2,1fr)}.syncAction p{min-height:0}.filterbar select{flex:1 1 120px}.editHeader{align-items:stretch}.editHeader .buttonRow{flex:1}.editHeader .buttonRow .btn{flex:1}.editPhotos img{height:125px}}@media(max-width:445px){.marketEditor,.formgrid{grid-template-columns:1fr}.itemgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.itemcontent h3{min-height:38px}.btn{font-size:12px;padding:10px}.topActions .btn{font-size:12px}.photoGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.groupGrid{grid-template-columns:1fr}.workflowbar .btn{flex:1 1 135px}.modal{padding:14px}.navbtn{padding:9px 10px}}

/* Shared accounts */
.accountScreen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#e9ddec,#f8f6f8 65%)}.accountCard{width:min(440px,100%);padding:34px;background:#fff;border:1px solid #e2d6e5;border-radius:22px;box-shadow:0 15px 60px #39213f14}.accountCard h1{font-size:34px}.accountCard .label{display:block;margin:18px 0 6px}.accountCard .remember{display:flex;gap:9px;align-items:center;margin:18px 0;font-size:13px}.accountCard .textbtn{margin-top:15px;padding:8px 0}.accountCard small{color:#85718c;line-height:1.5}.accountCard #accountMessage{font-size:14px;overflow-wrap:anywhere}.accountCard #accountMessage.error{color:#9a3d3b}.accountbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 30px;background:#f2edf4;border-bottom:1px solid #e5dce8;font-size:12px;color:#6b5476}.accountbar #sharedStatus{margin-left:auto}.toast{display:flex;align-items:center;justify-content:space-between;gap:15px;position:sticky;top:10px;z-index:10}.editLayout>div,.panel,.filterbar{min-width:0}.itemcontent h3{overflow-wrap:anywhere}.topbar{position:static}.accountbar #signedInAs{overflow-wrap:anywhere}@media(max-width:770px){.accountbar{padding:10px 15px}.toast{top:130px}.accountCard{padding:24px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
