@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');
:root{--blue:#0866ff;--navy:#132b50;--yellow:#ffd229;--muted:#697b94;--line:#dce6f4;--pale:#f4f7fc}*{box-sizing:border-box}body{margin:0;color:var(--navy);background:var(--pale);font:13px/1.6 Poppins,Arial,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #73a9ff;outline-offset:3px}[hidden]{display:none!important}svg{width:19px;height:19px;vertical-align:middle;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}i[data-icon],span[data-icon]{display:inline-flex;align-items:center;justify-content:center}header{height:90px;display:flex;justify-content:space-between;align-items:center;padding:0 max(5vw,24px);background:var(--blue);border-bottom:5px solid var(--yellow);color:white}.brand{display:flex;gap:14px;text-decoration:none;color:white;align-items:center;font-size:13px;letter-spacing:1.4px;font-weight:700}.brandmark{font-size:36px;font-weight:800;letter-spacing:-3px;line-height:1}.brand>span:last-child{border-left:1px solid #ffffff55;padding-left:15px}.brand b{display:block;font-size:8px;letter-spacing:2.5px;color:#d5e7ff;margin-top:3px}.headbadge{display:flex;gap:8px;align-items:center;font-size:10px;color:#fff5bd}main{max-width:1480px;margin:auto;padding:0 5vw}.hero{display:grid;grid-template-columns:1.6fr 1fr;gap:50px;align-items:center;padding:44px 0 36px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#2461ae}.hero .eyebrow{display:flex;gap:8px;align-items:center}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--blue)}h1{font-size:clamp(34px,3.5vw,50px);line-height:1.17;letter-spacing:-2px;margin:17px 0;font-weight:800}h1 em{color:var(--blue);font-style:normal}.hero p{max-width:470px;font-size:12px;line-height:1.9;color:var(--muted)}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.chips>span{display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:white;border-radius:6px;padding:8px 10px;font-size:9px}.chips svg{width:13px;height:13px}.hero-note{position:relative;max-width:330px;margin-left:auto;width:100%;background:var(--yellow);padding:27px 30px;border-radius:13px;transform:rotate(2deg);overflow:hidden;border:1px solid #edc42e;box-shadow:8px 8px 0 #e0e9fa}.note-label{font-size:8px;letter-spacing:1.7px;font-weight:600}.hero-note strong{font-size:35px;line-height:1.15;letter-spacing:-1.2px;display:block;margin:20px 0 18px}.hero-note>div{font-size:10px;line-height:1.8}.big-star{font-size:90px;position:absolute;right:-10px;top:17px;color:#0866ff;line-height:1}.mainnav{display:flex;align-items:center;gap:6px;border-bottom:1px solid #d7e1f2;margin:5px 0 32px}.mainnav>button{border:0;border-bottom:3px solid transparent;background:none;color:#68809f;font-weight:600;font-size:12px;padding:14px 20px;display:flex;gap:8px;align-items:center}.mainnav>button.active{color:var(--blue);border-bottom-color:var(--blue)}#historyCount{background:#dfeaff;border-radius:5px;padding:1px 6px;font-size:9px}.local-note{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:9px;color:var(--muted)}.local-note svg{width:12px}.workspace{display:grid;grid-template-columns:1.07fr 1fr;gap:26px;align-items:start;padding-bottom:36px}#form{min-width:0}.results{min-width:0;position:sticky;top:18px}.card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px;margin-bottom:18px;box-shadow:0 2px 3px #203b5f03}.cardhead{display:flex;gap:12px;align-items:flex-start;margin-bottom:23px}.titleicon{display:flex;align-items:center;justify-content:center;background:#eaf2ff;color:var(--blue);width:40px;height:40px;border-radius:10px;flex-shrink:0}.titleicon svg{width:21px;height:21px}.step{font-size:8px;letter-spacing:1.6px;font-weight:600;color:#68809e}h2{font-size:18px;line-height:1.4;letter-spacing:-.5px;margin:4px 0 6px;font-weight:700}.cardhead p,.ai-callout p{font-size:10px;color:var(--muted);line-height:1.8;margin:0}.editortop{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:20px}.editortop h2{font-size:21px}.textbtn{border:0;background:none;padding:4px 0;color:#1262d7;font-size:10px;display:inline-flex;align-items:center;gap:5px;text-decoration:underline;text-underline-offset:4px}.textbtn svg{width:14px;height:14px}label{display:block;font-size:10px;font-weight:500;margin-bottom:15px;color:#314b6a}label>span{color:#798ba2;font-weight:400}input,textarea,select{display:block;width:100%;border:1px solid #d6e1f0;border-radius:7px;background:#fff;color:#193653;padding:11px 12px;font-size:11px;font-weight:400;margin-top:7px;line-height:1.65}input::placeholder,textarea::placeholder{color:#9ba8ba}input:focus,textarea:focus,select:focus{outline:2px solid #5497ff;outline-offset:1px;border-color:transparent}textarea{resize:vertical;min-height:66px}input[type=radio],input[type=checkbox]{width:auto;margin:0;accent-color:var(--blue)}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.styles{display:grid;grid-template-columns:1fr 1fr;gap:8px}.styles label{margin:0;position:relative}.styles input{position:absolute;opacity:0}.styles label>span{position:relative;display:grid;grid-template-columns:28px 1fr;column-gap:7px;align-items:center;min-height:65px;border:1px solid #dbe5f3;border-radius:8px;padding:11px;color:#34516f;background:#fafcff}.styles i{grid-row:1/3;color:#3679d6}.styles b{font-size:10px;font-weight:600}.styles small{font-size:8px;color:#8794a8}.styles input:checked+span{border-color:#0866ff;background:#edf4ff;box-shadow:inset 0 0 0 1px #0866ff}.styles input:checked+span:after{content:'✓';position:absolute;right:5px;top:1px;color:#0866ff;font-size:10px}.styles input:focus-visible+span{outline:2px solid #0866ff;outline-offset:2px}.hint{font-size:9px;line-height:1.85;color:#73849b;margin:9px 0 15px}.palettebox{margin-bottom:18px}.palette-modes{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.palette-modes label{display:flex;align-items:center;gap:7px;border:1px solid #d8e4f7;padding:9px 12px;border-radius:7px;font-size:11px;margin:0;background:#fafcff}.palette-modes svg{width:15px;height:15px}.palettetop{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin-bottom:8px}.palettetop span{font-size:8px;color:#8091a8}.colorgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.colorgrid input{height:43px;padding:3px;cursor:pointer}.colorgrid label>span{display:block;font-size:9px;margin-top:4px;letter-spacing:.5px}.presets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:15px}.presets button{display:flex;align-items:center;gap:4px;font-size:8px;border:1px solid #d3dff1;background:#fff;padding:6px 9px;border-radius:15px;color:#3e5573}.presets i{width:8px;height:8px;border-radius:50%}.palette-preview{border-left:5px solid #ffd229;border-radius:7px;padding:14px 17px;background:#fffdf5;color:#0866ff}.palette-preview b{display:block;font-size:15px}.palette-preview span{font-size:9px;display:block;margin-top:3px}.check{display:flex;align-items:flex-start;gap:9px;font-size:10px;line-height:1.8}.check input{margin-top:3px}.ai-callout{display:flex;gap:12px;background:#eef5ff;border-color:#c6dcff}.ai-callout h2{font-size:16px}.ai-callout p{margin-bottom:13px}.contentbox{background:#fafcff;border:1px solid #e1e9f5;border-radius:9px;padding:15px;margin:12px 0}.contentbox h3{display:flex;gap:7px;align-items:center;font-size:11px;font-weight:600;margin:0 0 12px}.contentbox h3 svg{width:15px;height:15px;color:#397bda}.contentbox label:last-child{margin-bottom:0}.primary,.secondary,.iconbtn,.dangerbtn,.addbtn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;font-size:10px;font-weight:500;text-decoration:none;line-height:1.5;padding:11px 14px;transition:background .15s;border:1px solid transparent}.primary{background:var(--blue);color:white}.primary:hover{background:#0053dc}.secondary{background:#fff;color:#285b9e;border-color:#cfdef3}.secondary:hover{background:#f0f6ff}.iconbtn{padding:10px;background:#fff;color:#2b67bb;border-color:#d0def1;width:38px;height:38px;flex-shrink:0}.iconbtn:hover{background:#edf4ff}.iconbtn svg,.primary svg,.secondary svg,.dangerbtn svg,.addbtn svg{width:16px;height:16px}.dangerbtn{background:#fff3f2;color:#b74646;border-color:#f4d6d2}.addbtn{width:100%;border:1px dashed #8fb7f0;background:#f1f7ff;color:#1264db;padding:12px}.addbtn:hover{background:#e3efff}.generatebar{display:flex;gap:9px;position:sticky;bottom:12px;background:#f4f7fceb;padding:10px 0;backdrop-filter:blur(6px)}.generatebar .primary{flex:1;padding:15px;font-size:12px;font-weight:600;justify-content:flex-start}.generatebar .primary>span{margin-left:auto;color:var(--yellow)}.generatebar .iconbtn{width:48px;height:49px;background:#fff5c7;border-color:#edce60}.draftnote{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#7a8ca3;align-items:center}.draftnote span{display:flex;gap:5px;align-items:center}.draftnote svg{width:12px;height:12px}.spec{background:var(--blue);border-bottom:4px solid var(--yellow);padding:17px 18px;color:#fff;border-radius:9px}.spec strong{font-size:18px;display:block}.spec>span{font-size:9px;color:#d7e7ff;display:block;margin-top:4px}.sheetstats{display:flex;justify-content:space-between;font-size:9px;margin:12px 0;color:#6581a5}.sheetcard{border:1px solid #dce6f4;border-radius:9px;margin:14px 0;overflow:hidden}.sheethead{background:#f1f6ff;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:600}.sheethead .iconbtn{width:25px;height:25px;padding:4px;border:0;background:transparent;color:#a36969}.foldrow{display:flex;gap:0;padding:10px 10px 0}.foldrow:last-child{padding-bottom:10px}.foldrow>span{width:37px;font-size:8px;align-self:center;color:#8292a6}.panel{flex:1;min-width:0;padding:9px 5px;background:#f9fbff;border:1px dashed #b8cce8}.panel.front{background:#fff4be;border-color:#dfc461}.panel label{font-size:8px;margin:0;text-align:center;color:#6a7d98}.panel select{font-size:9px;padding:7px 3px;margin-top:6px;border-radius:5px}.mapactions{display:flex;align-items:center;gap:12px;margin-top:15px}.mapactions .addbtn{width:auto;flex:1;font-size:9px}.mapactions .textbtn{font-size:8px}.outputbar{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:18px}.outputbar label{display:flex;align-items:center;gap:9px;margin:0;font-size:10px}.outputbar select{width:110px;margin:0}#empty{text-align:center;padding:38px 18px 20px}#empty>span svg{width:40px;height:40px;color:#9bb8e7}#empty h3{font-size:15px;letter-spacing:-.4px;margin-top:16px}#empty p{font-size:10px;color:#7d90aa}#tabs{display:flex;gap:6px;flex-wrap:wrap;margin-top:20px;max-height:150px;overflow:auto}#tabs button{font-size:8px;background:#f5f8ff;color:#5d7a9c;border:1px solid #d9e5f6;border-radius:5px;padding:7px;text-align:left}#tabs button.active{color:white;background:#0866ff;border-color:#0866ff}.prompthead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 12px}.prompthead h3{font-size:10px;margin:0;max-width:65%}.prompthead>div{display:flex;gap:6px}.prompthead .secondary{font-size:9px;padding:9px}.prompthead .iconbtn{height:33px;width:33px;padding:8px}#prompt{height:380px;font-size:10px;line-height:1.9;background:#fbfdff}.storagehint{font-size:8px;line-height:1.9;color:#6e87a8;margin:12px 0}.storagehint svg{width:12px;height:12px;margin-right:3px}.notice{border-top:1px solid var(--line);padding-top:14px;margin-top:14px;font-size:9px;color:#6c83a2}.notice b{color:#3c5d84}.notice p{margin:5px 0}.bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:25px 0;margin-top:15px;font-size:9px;color:#7c8fa8}.bottom b{color:#385d8a;letter-spacing:1px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#113d7a;color:white;padding:12px 20px;border-radius:9px;font-size:11px;z-index:100;box-shadow:0 8px 30px #12345633;display:none;max-width:90vw}dialog{border:1px solid #d2e2f7;border-radius:16px;background:#fff;color:var(--navy);font-family:Poppins,Arial,sans-serif;padding:26px;max-width:650px;width:calc(100% - 32px);max-height:90vh;overflow:auto;box-shadow:0 25px 90px #08285533}dialog::backdrop{background:#112b50a3;backdrop-filter:blur(4px)}.dialogtop{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.dialogtop h2{font-size:19px}.dialogactions,.modalbuttons{display:flex;gap:10px;align-items:center;margin:18px 0 0}.dialogactions a{display:inline-flex}.modalbuttons{justify-content:flex-end}.modalbuttons .primary{min-width:100px}#actionDialog{max-width:440px}#actionMessage{font-size:11px;color:#7286a2;line-height:1.9}#actionTitle{font-size:20px;margin-bottom:10px}.error{font-size:10px;color:#b23e3e}.danger-confirm{background:#c34646}.danger-confirm:hover{background:#ae3535}#aiPrompt,#aiResponse,#historyPrompt{font-size:10px;line-height:1.9}#aiStatus{color:#1c63c9}.customhead{display:flex;align-items:center;justify-content:space-between;gap:10px}.customhead b{font-size:11px}.customhead .iconbtn{height:27px;width:27px;color:#a05b5b;padding:5px}.historyheader{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:15px 0 22px}.historyheader h2{font-size:28px}.historyheader p{font-size:11px;color:#8093ac;margin:6px 0}.privacy-note{display:flex;gap:13px;background:#eaf2ff;border:1px solid #cfe0fa;border-radius:10px;padding:18px 20px;margin-bottom:24px}.privacy-note>span{align-self:flex-start;color:#0866ff}.privacy-note b{font-size:11px}.privacy-note p{font-size:10px;line-height:1.9;color:#6d83a2;margin:6px 0 0}.searchbox{display:flex;gap:8px;align-items:center;max-width:420px;background:white;padding:0 13px;border:1px solid var(--line);border-radius:8px;margin-bottom:24px}.searchbox input{border:0;margin:0;background:none;outline:none}.searchbox>i{color:#85a1c4}.historygrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.historyitem{padding:20px;border:1px solid var(--line);border-radius:12px;background:white;min-width:0}.historyitem h3{font-size:14px;margin:12px 0 5px;word-break:break-word}.historyitem p{font-size:9px;line-height:1.8;color:#7690b0;margin:5px 0}.historyitem .tag{display:inline-flex;font-size:8px;background:#eaf2ff;color:#2b72d4;padding:4px 7px;border-radius:4px}.historyitem .itemactions{display:flex;gap:8px;margin-top:17px}.historyitem .itemactions .secondary{flex:1}.historyitem .itemactions .iconbtn{color:#ab6666}.emptyhistory{text-align:center;padding:65px 20px;background:#fff;border:1px dashed #c5d9f6;border-radius:12px;color:#6b85a9}.emptyhistory>span svg{width:36px;height:36px;color:#8fafd9}.emptyhistory h3{color:#345987;font-size:17px}.emptyhistory p{font-size:11px}.save-status{font-size:10px;color:#6a83a1}
@media(min-width:1500px){main{padding:0 60px}}@media(max-width:1000px){.workspace{grid-template-columns:1fr 1fr;gap:18px}.card{padding:19px}.hero-note{max-width:285px}.styles b{font-size:9px}.styles small{font-size:7px}.historygrid{grid-template-columns:1fr 1fr}}@media(max-width:800px){.workspace{grid-template-columns:1fr}.results{position:static}.hero{grid-template-columns:1fr;gap:20px;padding-top:33px}.hero-note{display:none}.local-note{display:none}.mainnav{margin-bottom:24px}.card{padding:22px}.hero p{max-width:540px}.headbadge{display:none}.historygrid{grid-template-columns:1fr 1fr}.generatebar{z-index:2}.styles b{font-size:11px}.styles small{font-size:8px}h1{font-size:40px}}@media(max-width:480px){main{padding:0 5vw}header{height:80px}.hero h1{font-size:34px;letter-spacing:-1.5px}.hero{padding-bottom:25px}.chips{gap:5px}.chips>span{font-size:8px;padding:7px}.grid{grid-template-columns:1fr;gap:0}.styles label>span{padding:9px;grid-template-columns:23px 1fr}.styles b{font-size:9px}.styles small{font-size:7px}.card{padding:18px}.cardhead{gap:10px}.cardhead h2{font-size:17px}.titleicon{width:35px;height:35px}.palettetop{display:block}.palettetop span{display:block;margin-top:3px}.historygrid{grid-template-columns:1fr}.historyheader{align-items:flex-start}.historyheader h2{font-size:24px}.historyheader .dangerbtn{font-size:8px;padding:9px}.foldrow{padding-left:7px;padding-right:7px}.foldrow>span{width:26px}.panel{padding:7px 3px}.panel select{font-size:8px}.mapactions{align-items:flex-start}.mapactions .addbtn{font-size:8px}.draftnote{font-size:8px}.dialogactions{flex-wrap:wrap}.bottom{gap:20px}.privacy-note{padding:15px}.outputbar .secondary{font-size:9px}.prompthead h3{font-size:9px}#prompt{font-size:10px}}

label{font-size:11px}input,textarea,select{font-size:12px}.hint{font-size:10px}.cardhead p,.ai-callout p{font-size:11px}.styles b{font-size:11px}.styles small{font-size:9px}.step{font-size:9px}.palette-preview span{font-size:10px}.palettetop{font-size:11px}.panel label{font-size:8px}.panel select{font-size:9px}@media(max-width:480px){.styles b{font-size:10px}.styles small{font-size:8px}.panel select{font-size:8px}}
/* Teks borang ringan, tajuk kekal jelas */
input,textarea,select,option,#prompt,#historyPrompt,#aiPrompt,#aiResponse{font-family:Poppins,Arial,sans-serif;font-weight:400!important;letter-spacing:normal;-webkit-text-stroke:0}label{font-weight:500}.examplebtn{background:#fff5c7;border-color:#efd15c;color:#234a7d;padding:11px 14px;box-shadow:0 3px 8px #244c7e08;font-weight:600;font-size:11px;white-space:nowrap}.examplebtn:hover{background:#ffe887}.examplebtn svg:last-child{width:13px;height:13px;margin-left:3px}.mapactions{flex-wrap:wrap}.mapactions .resetbtn{font-size:10px;padding:11px 12px;background:#fff;border-color:#ccdcef;color:#466c9e}.mapactions .addbtn{min-width:180px}.ai-preview{background:#f6f9ff;border:1px solid #d8e5f6;border-radius:10px;padding:17px;margin:17px 0}.ai-preview h3{display:flex;gap:7px;align-items:center;font-size:12px;margin:0 0 8px}.ai-preview h3 svg{color:#0866ff}.ai-preview label:last-child{margin-bottom:0}#examplesDialog{max-width:780px}.examples-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sample-card{display:flex;gap:13px;align-items:center;text-align:left;background:white;border:1px solid #dce6f4;border-radius:11px;padding:15px;color:#183d69;transition:transform .18s,border-color .18s,box-shadow .18s}.sample-card:hover{transform:translateY(-3px);border-color:#0866ff;box-shadow:0 6px 18px #185fc912}.sample-icon{display:flex;align-items:center;justify-content:center;background:var(--sample-bg,#eaf2ff);color:var(--sample-color,#0866ff);width:47px;height:55px;border-radius:8px;border-bottom:4px solid var(--sample-accent,#ffd229);flex-shrink:0}.sample-icon svg{width:23px;height:23px}.sample-info{min-width:0}.sample-info b{font-size:12px;display:block;line-height:1.5}.sample-info small{font-size:9px;color:#8798af;display:block;line-height:1.8;margin-top:3px}.sample-swatches{display:flex;gap:3px;margin-top:7px}.sample-swatches i{height:6px;width:18px;border-radius:3px}#magicDialog{max-width:410px;text-align:center;padding:34px;overflow:hidden}#magicDialog h2{font-size:20px;margin-top:13px}#magicStep{font-size:11px;color:#6b82a1;min-height:24px}.magic-orbit{position:relative;width:100px;height:100px;margin:0 auto 20px;display:grid;place-items:center;color:#0866ff}.magic-orbit>i{width:66px;height:66px;background:#eaf3ff;border-radius:20px;animation:magic-pulse 1.2s ease-in-out infinite}.magic-orbit svg{width:36px;height:36px}.magic-orbit>span{position:absolute;inset:0;border:1px solid #cddffc;border-radius:50%;animation:magic-spin 2s linear infinite}.magic-orbit>span:after{content:'';position:absolute;top:-4px;left:45px;width:8px;height:8px;border-radius:50%;background:#ffd229;box-shadow:0 0 14px #ffd229}.magic-orbit>span:nth-child(3){inset:-9px;animation-duration:2.6s;animation-direction:reverse}.magic-orbit>span:nth-child(4){inset:8px;animation-duration:1.4s}.magic-progress{height:5px;background:#e8f0fd;border-radius:8px;overflow:hidden;margin:18px 0 25px}.magic-progress>span{display:block;background:linear-gradient(90deg,#0866ff,#64a1ff,#ffd229);height:100%;width:0;transition:width .35s ease}.magic-filled{animation:field-arrive .8s ease both}#copyAllDialog{max-width:510px}#copyAllSummary{font-size:12px;color:#5a789f;line-height:1.9}.copy-steps{padding-left:20px;font-size:11px;color:#637e9f;line-height:1.9}.copy-steps li{padding-left:5px;margin-bottom:12px}.copy-steps b{color:#284e7d}#doneCopyAll{width:100%;margin-top:10px}@keyframes magic-spin{to{transform:rotate(360deg)}}@keyframes magic-pulse{50%{transform:scale(1.08) rotate(8deg);box-shadow:0 0 24px #6ca7ff44}}@keyframes field-arrive{0%{background:#fff5bb;box-shadow:0 0 0 3px #ffd22966;transform:translateY(3px)}100%{background:#fff;box-shadow:0 0 0 0 transparent;transform:none}}@media(prefers-reduced-motion:reduce){.magic-orbit>i,.magic-orbit>span,.magic-filled{animation:none}.magic-progress>span,.sample-card{transition:none}}@media(max-width:480px){.examples-grid{grid-template-columns:1fr}.examplebtn{font-size:10px;padding:10px}.mapactions{gap:8px}.mapactions .addbtn,.mapactions .resetbtn{flex:1;width:100%;min-width:0;font-size:9px}.sample-card{padding:13px}.editortop{align-items:center}.editortop h2{font-size:19px}}

/* Compact art direction and segmented workspace navigation */
.style-picker{margin-top:4px}.style-picker select{font-size:12px;padding:12px 13px;background:#fbfdff;border-color:#ccdcef}.custom-style-box{padding:16px 17px;background:#f1f6ff;border:1px solid #d3e3fc;border-radius:9px;margin:12px 0 18px}.custom-style-box label{margin:0}.custom-style-box .hint{margin-bottom:0}#styleDetails{line-height:1.9}.mainnav{background:white;border:1px solid #dce6f4;border-radius:13px;padding:9px 13px;margin:5px 0 30px;justify-content:space-between;box-shadow:0 3px 10px #153a6b04;gap:15px}.tabgroup{display:flex;align-items:center;gap:4px;padding:4px;border-radius:10px;background:#edf3fc;border:1px solid #e2ebf8}.tabgroup>button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:134px;border:1px solid transparent;border-radius:7px;background:transparent;color:#657d9d;padding:10px 17px;font-size:12px;font-weight:500;transition:background .18s,color .18s,box-shadow .18s}.tabgroup>button svg{height:17px;width:17px}.tabgroup>button:hover{color:#155fc5;background:#e1ecfc}.tabgroup>button.active{color:white;background:#0866ff;border-color:#0866ff;box-shadow:0 3px 7px #0866ff25}.tabgroup>button.active:before{content:'';width:4px;height:4px;background:#ffd229;border-radius:50%;position:absolute;bottom:4px;left:calc(50% - 2px)}.tabgroup #historyCount{background:#dce7f8;color:#5d7599;padding:1px 6px;min-width:19px;text-align:center;font-size:9px;border-radius:5px}.tabgroup>button.active #historyCount{background:#ffffff29;color:#fff}.mainnav .local-note{font-size:9px;margin-right:7px}@media(max-width:600px){.mainnav{padding:7px;gap:0}.tabgroup{width:100%;padding:4px}.tabgroup>button{flex:1;min-width:0;font-size:12px;padding:11px 15px}.mainnav .local-note{display:none}}@media(prefers-reduced-motion:reduce){.tabgroup>button{transition:none}}

.visit-counter{display:flex;gap:7px;align-items:center;padding:7px 12px;border:1px solid #d6e4f9;border-radius:8px;background:#fff;color:#607da0;font-size:10px}.visit-counter>i{color:#0866ff}.visit-counter svg{width:15px;height:15px}.visit-counter strong{color:#135cbf;font-weight:700;margin-left:5px;font-variant-numeric:tabular-nums}.visit-counter small{font-size:8px;padding-left:8px;border-left:1px solid #dce6f4;color:#8a9cb3}.bottom{align-items:center;gap:12px;flex-wrap:wrap}@media(max-width:600px){.bottom{justify-content:center}.bottom>b,.bottom>span{text-align:center}.visit-counter{order:3;flex-basis:100%;justify-content:center}.visit-counter small{font-size:8px}}
/* Community and owner management */
.admin-entry{border:0;background:none;font:inherit;font-size:10px;padding:10px 0;color:#fff4bd;cursor:pointer}.headbadge.admin-entry{display:inline-flex}.tabgroup>button#communityTab{min-width:205px}.community-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 28px}.community-intro h2{font-size:30px;letter-spacing:-1px}.community-intro p{font-size:12px;color:#7c8eaa;max-width:570px;line-height:1.8}.community-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:30px;align-items:start;margin-bottom:40px}.review-summary{background:white;border:1px solid #dce6f4;border-radius:12px;padding:20px;margin-bottom:24px}.review-summary>div{display:flex;gap:13px;align-items:center}.review-summary strong{font-size:36px;line-height:1;font-weight:700;color:#173e72}.review-summary>div>span{display:flex;flex-direction:column;gap:3px}.gold-stars{color:#e5ad28;letter-spacing:3px;font-size:18px}.review-summary small{font-size:10px;color:#8092ab}.review-summary p{font-size:10px;color:#7890ae;line-height:1.8;margin:13px 0 0}.review-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 18px;padding:6px 4px}.review-note{position:relative;padding:24px 20px 20px;border:1px solid #d9e4f4;border-radius:3px 3px 14px 3px;background:#fff9da;box-shadow:0 7px 12px #24466609;transform:rotate(-.65deg);min-width:0}.review-note:before{content:'';position:absolute;width:62px;height:16px;top:-9px;left:calc(50% - 31px);background:#d4e2fa9c;transform:rotate(-3deg);border:1px solid #ffffffb3;box-shadow:0 2px 3px #1a346a07}.note-1{background:#eaf3ff;transform:rotate(.65deg)}.note-2{background:#f3edff;transform:rotate(.4deg)}.note-3{background:#eaf8f1;transform:rotate(-.45deg)}.review-note-top{display:flex;align-items:center;gap:10px;margin-bottom:12px}.review-avatar{height:31px;width:31px;border-radius:50%;background:#ffffffb0;border:1px solid #ffffffd9;display:flex;align-items:center;justify-content:center;color:#4877aa;font-weight:700;flex-shrink:0}.review-note h3{font-size:12px;line-height:1.6;margin:0;word-break:break-word}.review-note small{font-size:8px;color:#8394aa}.review-stars{font-size:16px;letter-spacing:2px;color:#d7a222;margin:8px 0}.review-text{font-size:11px;line-height:1.95;color:#4e6889;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.photo-button{padding:0;background:#ffffff99;border:1px solid #ffffffd9;border-radius:7px;overflow:hidden;width:100%;margin-top:6px;display:block}.review-photo{display:block;width:100%;max-height:260px;object-fit:contain;background:#ffffffaa}.review-note .ai-image-label{display:block;font-size:8px;margin-top:5px;color:#8297af}.community-empty{padding:24px;border:1px dashed #cbdcf3;background:#fff;border-radius:10px;font-size:11px;color:#8296b0;line-height:1.9;grid-column:1/-1}.coffee-panel{padding:24px;background:white;border:1px solid #dce6f4;border-radius:14px}.coffee-heading{display:flex;align-items:center;gap:11px;margin-bottom:15px}.coffee-heading .titleicon{color:#b48019;background:#fff4c7}.coffee-panel>p{font-size:11px;color:#7890ad;line-height:1.9}.coffee-panel .hint{font-size:9px}.qr-box{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:210px;border:1px dashed #c9daf1;border-radius:10px;background:#fafcff;padding:18px;margin:20px 0;gap:12px;text-align:center;color:#91a5bf}.qr-box>span svg{width:42px;height:42px;color:#b6c9e4}.qr-box p{font-size:11px;margin:0}.qr-box small{font-size:9px;color:#8398b5;line-height:1.8}.qr-box img{max-width:100%;width:225px;max-height:290px;object-fit:contain;background:white}.coffee-panel .primary{width:100%}.coffee-ledger{border-top:1px solid #e0e9f6;padding-top:20px;margin-top:22px}.ledger-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.ledger-title h3{font-size:12px;margin:0}.ledger-title>span{font-size:9px;color:#90a3bb}.coffee-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf2f9;padding:13px 0}.coffee-row b{font-size:11px;word-break:break-word}.coffee-row small{display:block;font-size:8px;color:#95a5b9}.coffee-row strong{font-size:12px;color:#26766c;white-space:nowrap}.pagination{display:flex;align-items:center;justify-content:center;gap:9px;margin:20px 0;flex-wrap:wrap;font-size:9px;color:#8398b4}.pagination button{font-size:9px;padding:7px 11px}.rating-field{border:0;margin:0 0 20px;padding:0}.rating-field legend{font-size:11px;font-weight:500;color:#486583;padding:0;margin-bottom:8px}.star-picker{display:flex;gap:8px}.star-picker label{display:flex;align-items:center;justify-content:center;flex-direction:column;margin:0;position:relative;cursor:pointer;width:47px;height:57px;background:#f6f9ff;border:1px solid #dce7f8;border-radius:8px;transition:background .15s}.star-picker input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.star-picker label>span{font-size:25px;line-height:1;color:#c7d5e9}.star-picker small{font-size:8px;color:#a0b0c7;margin-top:4px}.star-picker label.lit{background:#fff8dc;border-color:#f1dc8a}.star-picker label.lit>span{color:#d8a52c}.star-picker input:focus-visible+span{outline:2px solid #0866ff;outline-offset:4px}.honey{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}.upload-preview{max-width:100%;max-height:200px;object-fit:contain;display:block;margin:12px auto 18px;border-radius:8px}.password-row{display:flex;gap:7px;align-items:center}.password-row .iconbtn{margin-top:7px;height:43px}.password-row input{min-width:0}#adminLoginDialog{max-width:430px}#adminLoginSubmit{width:100%;margin-top:6px}#adminDialog{max-width:1080px;width:calc(100% - 28px);padding:28px}#adminDialog h3{font-size:14px}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.admin-top>div:last-child{display:flex;align-items:center;gap:7px}.admin-top h2{font-size:28px;letter-spacing:-1px}.admin-nav{display:flex;gap:5px;align-items:center;background:#f0f5fd;border:1px solid #e0e9f7;border-radius:9px;padding:5px;margin-bottom:16px;flex-wrap:wrap}.admin-nav button{border:0;border-radius:6px;color:#6a84a7;background:none;font:inherit;font-size:11px;padding:10px 13px;display:flex;align-items:center;gap:7px}.admin-nav button svg{height:15px;width:15px}.admin-nav button.active{background:#0866ff;color:white;box-shadow:0 2px 8px #0866ff22}.admin-nav button>span{background:#ffffff25;border-radius:4px;padding:1px 5px;font-size:9px}.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px}.metric-card{border:1px solid #dfe8f6;border-radius:10px;padding:18px;min-width:0;background:#fbfdff}.metric-card>span{display:flex;align-items:center;justify-content:center;color:#4385e1;background:#edf4ff;width:30px;height:30px;border-radius:8px;margin-bottom:14px}.metric-card small{display:block;color:#7992b3;font-size:10px}.metric-card strong{display:block;font-size:24px;letter-spacing:-.7px;color:#244f87;overflow-wrap:anywhere;margin:5px 0}.metric-card p{font-size:8px;color:#9bacc1;line-height:1.8;margin:4px 0}.analytics-card{border:1px solid #dfe8f6;padding:22px;border-radius:11px;background:#fff}.analytics-card h3{margin:0}.admin-chart{height:180px;display:flex;align-items:flex-end;gap:5px;border-bottom:1px solid #dfebfb;margin-top:18px}.chart-column{flex:1;min-width:0;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;height:100%;gap:7px}.chart-bar{background:linear-gradient(#3f8aff,#0866ff);min-height:1px;border-radius:3px 3px 0 0;width:100%}.chart-column small{font-size:7px;color:#94a8c2}.admin-listtop{display:flex;align-items:center;justify-content:space-between;gap:15px}.admin-listtop label{display:flex;align-items:center;gap:8px;margin:0}.admin-listtop select{width:auto;max-width:210px;margin:0}.admin-review-card{border:1px solid #dce7f6;background:#fbfdff;border-radius:10px;padding:20px;margin:14px 0}.admin-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.admin-review-head h4{font-size:13px;margin:0 0 4px}.private-email{font-size:9px;color:#8a9eb8;overflow-wrap:anywhere}.status-badge{font-size:8px;border-radius:5px;padding:5px 8px;background:#fff1c7;color:#aa7e12;flex-shrink:0}.status-approved{background:#e5f6ed;color:#3a8e61}.status-rejected{background:#fceaea;color:#b56a6a}.admin-review-image{max-width:100%;max-height:240px;object-fit:contain;border:1px solid #dce7f7;background:white;border-radius:8px;margin:10px 0}.admin-item-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.admin-item-actions button{font-size:9px;padding:8px 11px}.admin-coffee-row{display:flex;gap:15px;align-items:center;border:1px solid #e0e9f6;border-radius:9px;padding:16px;margin:12px 0}.admin-coffee-row>div{flex:1;min-width:0}.admin-coffee-row b{font-size:12px;overflow-wrap:anywhere}.admin-coffee-row small{display:block;font-size:9px;color:#8ba0bc}.admin-coffee-row strong{color:#367568;white-space:nowrap}.qr-settings{display:grid;grid-template-columns:1fr 300px;gap:28px;align-items:start}.qr-settings>.qr-box{margin-top:0}#qrForm{max-width:480px}#reviewPhotoDialog{max-width:850px}#reviewPhotoLarge{display:block;width:100%;max-height:75vh;object-fit:contain}#reviewDialog #sendReview{width:100%;margin-top:10px}
@media(max-width:1000px){.community-grid{grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr);gap:20px}.review-board{grid-template-columns:1fr}.mainnav .local-note{display:none}.metric-card{padding:15px}.metric-card strong{font-size:21px}}@media(max-width:760px){.community-grid{grid-template-columns:1fr}.review-board{grid-template-columns:1fr 1fr}.community-intro h2{font-size:26px}.community-intro p{font-size:11px}.community-intro{align-items:flex-start}.community-intro>.primary{font-size:10px;white-space:nowrap}.headbadge.admin-entry{display:flex;font-size:8px}.admin-top{align-items:flex-start}.admin-top h2{font-size:24px}.admin-top>div:last-child{flex-wrap:wrap;justify-content:flex-end}.admin-metrics{grid-template-columns:1fr 1fr}.qr-settings{grid-template-columns:1fr}.qr-settings>.qr-box{max-width:350px}.admin-nav button{font-size:10px;padding:9px}.tabgroup>button#communityTab{min-width:0}.tabgroup>button{font-size:10px;padding:11px 9px;gap:5px}.tabgroup>button svg{width:14px;height:14px}.chart-column small{font-size:6px}.admin-chart{gap:3px}}@media(max-width:480px){.review-board{grid-template-columns:1fr;gap:25px;padding:5px 3px}.community-intro{display:block}.community-intro .primary{margin-top:10px}.coffee-panel{padding:20px}.admin-entry svg{display:none}.headbadge.admin-entry{max-width:105px;text-align:right;font-size:8px;line-height:1.7}.tabgroup>button#communityTab{font-size:9px;line-height:1.5;flex:1.6}.tabgroup>button{font-size:10px;gap:5px;padding:10px 7px}.tabgroup>button#communityTab svg{display:none}#adminDialog{padding:18px}.admin-top>div:last-child .secondary{font-size:8px;padding:8px}.admin-top>div:last-child #adminRefresh svg{display:none}.admin-metrics{gap:9px}.metric-card{padding:13px}.metric-card strong{font-size:20px}.metric-card small{font-size:9px}.analytics-card{padding:15px}.admin-nav{gap:3px}.admin-nav button{font-size:9px;padding:9px 7px}.admin-listtop{align-items:flex-start;flex-direction:column}.admin-listtop select{max-width:100%}.admin-review-card{padding:15px}.admin-review-head{gap:8px}.admin-coffee-row{gap:8px;padding:12px}.admin-coffee-row .dangerbtn{padding:7px;font-size:8px}.admin-coffee-row .dangerbtn svg{display:none}.star-picker{gap:7px}.star-picker label{width:44px}.chart-column:nth-child(even) small{visibility:hidden}}

.submit-spinner{display:inline-block;width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:review-spin .8s linear infinite;flex-shrink:0}#sendReview:disabled{opacity:1;background:#1756cb;cursor:wait}#reviewForm[aria-busy="true"]{cursor:wait}@keyframes review-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.submit-spinner{animation:none;border-style:dotted}}
