:root{--bg: #0f0d15;--surface: #1a1726;--surface-2: #221d33;--border: #322c46;--text: #f3f1f7;--text-muted: #9d95b0;--accent: #8b5cf6;--accent-strong: #7c3aed;--accent-soft: rgba(139, 92, 246, .16);--danger: #f87171;--success: #4ade80;--warning: #fbbf24;--radius: 16px;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-tap-highlight-color:transparent}a{color:inherit}.app-shell{min-height:100%;display:flex;flex-direction:column;padding-bottom:76px}.app-header{position:sticky;top:0;z-index:5;padding:18px 16px 14px;background:#0f0d15d9;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}.app-header h1{margin:0;font-size:20px;font-weight:700;background:linear-gradient(90deg,#c4b5fd,var(--accent));-webkit-background-clip:text;background-clip:text;color:transparent}.app-header p{margin:6px 0 0;color:var(--text-muted);font-size:13px}.brand{display:flex;align-items:center;gap:10px}.brand-mark{flex-shrink:0;width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(139,92,246,.35))}.brand-name{font-size:20px;font-weight:700;letter-spacing:-.01em;background:linear-gradient(90deg,#c4b5fd,var(--accent));-webkit-background-clip:text;background-clip:text;color:transparent}.page{flex:1;padding:12px 16px 24px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin-bottom:14px}.item-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}.item-grid .card{margin-bottom:0}.card-compact .card-photo{aspect-ratio:1 / 1}.card-compact .card-body{padding:10px 10px 12px}.card-compact .card-title{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-compact .price{font-size:14px}.card-compact button{padding:8px 10px;font-size:13px}.card-photo{width:100%;aspect-ratio:4 / 3;object-fit:cover;background:var(--surface-2);display:block}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#050408b3;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:24px 16px;z-index:100}.modal-sheet{position:relative;width:100%;max-width:480px;max-height:85vh;overflow:hidden;background:var(--surface);border-radius:var(--radius);animation:modal-pop-in .18s ease;display:flex;flex-direction:column}.modal-scroll{overflow-y:auto}@keyframes modal-pop-in{0%{transform:scale(.96);opacity:0}to{transform:scale(1);opacity:1}}.modal-close{position:absolute;top:12px;right:12px;z-index:1;width:32px;height:32px;border-radius:50%;background:#00000080;color:#fff;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;padding:0;font-size:14px}.gallery{position:relative}.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;background:#00000073;color:#fff;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;font-size:20px;line-height:1;padding:0}.gallery-arrow.prev{left:10px}.gallery-arrow.next{right:10px}.gallery-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:6px}.gallery-dot{width:6px;height:6px;border-radius:50%;background:#fff6;transition:width .15s ease,background-color .15s ease}.gallery-dot.active{background:#fff;width:16px;border-radius:3px}.photo-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.photo-thumb{position:relative;width:72px;height:72px;border-radius:var(--radius);overflow:hidden}.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}.photo-thumb .remove{position:absolute;top:2px;right:2px;width:20px;height:20px;border-radius:50%;background:#0009;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;cursor:pointer}.full-photo-view{width:100%;max-height:70vh;object-fit:contain;background:var(--surface-2);display:block}.card-body{padding:12px 14px}.card-title{font-weight:600;font-size:15px;margin:0 0 4px}.card-desc{color:var(--text-muted);font-size:13px;margin:0 0 10px;white-space:pre-wrap}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.price{font-weight:700;color:var(--accent);font-size:15px}button,.btn{font:inherit;border:none;border-radius:12px;padding:10px 16px;cursor:pointer;background:var(--accent);color:#fff;font-weight:600;transition:transform .05s ease,opacity .15s ease}button:active,.btn:active{transform:scale(.97)}button:disabled{opacity:.5;cursor:default}.btn-secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}.btn-ghost{background:transparent;color:var(--accent);padding:8px 10px}.btn-danger{background:transparent;color:var(--danger);border:1px solid rgba(248,113,113,.4)}.btn-block{width:100%}input,textarea,select{font:inherit;width:100%;background:var(--surface-2);border:1px solid var(--border);color:var(--text);border-radius:12px;padding:10px 12px;margin-bottom:12px}input::placeholder,textarea::placeholder{color:var(--text-muted)}label{display:block;font-size:13px;color:var(--text-muted);margin-bottom:6px}.field{margin-bottom:16px}.choice-grid{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.choice-chip{border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:999px;padding:8px 14px;font-size:13px;font-weight:500;cursor:pointer}.choice-chip.selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.choice-chip{display:inline-flex;align-items:center}.color-dot{display:inline-block;width:14px;height:14px;border-radius:50%;margin-right:7px;border:1px solid rgba(255,255,255,.25);flex-shrink:0}.tech-card{border:1px solid var(--border);background:var(--surface);border-radius:var(--radius);padding:14px;margin-bottom:10px;cursor:pointer}.tech-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.tech-card h3{margin:0 0 4px;font-size:15px}.tech-card p{margin:0;font-size:13px;color:var(--text-muted)}.badge{display:inline-block;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border)}.badge-new{color:var(--accent);border-color:var(--accent)}.badge-in_progress{color:var(--warning);border-color:var(--warning)}.badge-ready{color:#60a5fa;border-color:#60a5fa}.badge-completed{color:var(--success);border-color:var(--success)}.badge-cancelled{color:var(--danger);border-color:var(--danger)}.nav-bar{position:fixed;bottom:0;left:0;right:0;display:flex;background:var(--surface);border-top:1px solid var(--border);padding:8px 4px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;color:var(--text-muted);font-size:11px;text-decoration:none;border-radius:10px}.nav-item.active{color:var(--accent)}.nav-icon{display:block}.empty-state{text-align:center;color:var(--text-muted);padding:40px 16px;font-size:14px}.section-title{font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin:18px 0 8px}.admin-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;margin-bottom:12px}.admin-tab{white-space:nowrap;border:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);border-radius:999px;padding:8px 14px;font-size:13px;cursor:pointer}.admin-tab.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.row{display:flex;gap:8px}.row>*{flex:1}.spinner-wrap{display:flex;justify-content:center;padding:40px 0;color:var(--text-muted)}.chat-thread{display:flex;flex-direction:column;gap:8px;max-height:50vh;overflow-y:auto;padding:4px 2px 12px}.chat-bubble-row{display:flex}.chat-bubble-row.own{justify-content:flex-end}.chat-bubble{max-width:78%;padding:9px 13px;border-radius:14px;background:var(--surface-2);font-size:14px;line-height:1.4;white-space:pre-wrap;word-break:break-word}.chat-bubble-row.own .chat-bubble{background:var(--accent);color:#fff;border-bottom-right-radius:4px}.chat-bubble-row:not(.own) .chat-bubble{border-bottom-left-radius:4px}.chat-bubble-time{display:block;font-size:10.5px;margin-top:4px;opacity:.65}.chat-input-row{display:flex;gap:8px;align-items:flex-end}.chat-input-row textarea{margin-bottom:0;resize:none}.chat-input-row button{flex:none}
