:root {
  --ink: #1f201d;
  --muted: #7a7c74;
  --line: #e7e6df;
  --cream: #f7f6f1;
  --panel: #fff;
  --lime: #d9f76f;
  --lime-dark: #b9df38;
  --orange: #e97842;
  --radius: 18px;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", "Noto Sans SC", sans-serif; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 226px; padding: 28px 18px 20px; background: #22231f; color: #f6f5ee; display: flex; flex-direction: column; z-index: 10; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px; color: inherit; text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: .08em; }
.brand-mark { width: 36px; height: 36px; display: block; flex: none; border-radius: 11px; object-fit: cover; }
.primary-nav { margin-top: 44px; display: grid; gap: 8px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; color: #a9aaa3; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-item.active { color: #fff; background: #373832; }
.nav-item:hover { color: #fff; }
.nav-icon { width: 20px; text-align: center; font-size: 17px; }
.sidebar-bottom { margin-top: auto; }
.credit-card { background: #30312c; border: 1px solid #41423c; border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 28px 1fr; gap: 8px; }
.credit-icon { color: var(--lime); }
.credit-card strong, .credit-card span { display: block; }
.credit-card strong { font-size: 12px; }
.credit-card span { margin-top: 4px; font-size: 10px; color: #92938c; }
.credit-card button { grid-column: 1 / -1; margin-top: 7px; padding: 8px; border: 0; border-radius: 8px; background: var(--lime); color: #25261f; font-size: 11px; font-weight: 700; cursor: pointer; }
.profile { width: 100%; margin-top: 18px; display: flex; align-items: center; gap: 9px; background: none; border: 0; color: #fff; text-align: left; cursor: pointer; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #403520; background: #e9c47f; font-weight: 700; }
.profile strong, .profile small { display: block; }
.profile strong { font-size: 12px; }.profile small { color: #85867e; margin-top: 2px; font-size: 10px; }.more { margin-left: auto; color: #77786f; }
.main { flex: 1; margin-left: 226px; min-width: 0; }
.topbar { height: 102px; padding: 24px 32px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.76); backdrop-filter: blur(12px); }
.topbar h1 { margin: 0; font-size: 23px; letter-spacing: -.03em; }.topbar p { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.top-actions { display: flex; align-items: center; gap: 10px; }.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }.export-button { padding: 10px 16px; border: 0; border-radius: 10px; color: #fff; background: #22231f; font-size: 12px; font-weight: 600; cursor: pointer; }.export-button:disabled { opacity: .4; cursor: default; }
.account-button { min-height: 36px; padding: 5px 10px 5px 5px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 11px; font-weight: 600; cursor: pointer; }.mini-avatar { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #303221; background: var(--lime); font-size: 10px; font-weight: 700; }
.model-config-button { min-height: 36px; padding: 7px 11px; display: flex; align-items: center; gap: 7px; border: 1px solid #dce2c6; border-radius: 10px; color: #53631d; background: #f8fbeD; font-size: 10px; font-weight: 700; cursor: pointer; transition: .18s; }.model-config-button > span:first-child { font-size: 16px; line-height: 1; }.model-config-button:hover,.model-config-button.active { border-color: #aeca50; background: #edf6cD; box-shadow: 0 4px 14px rgba(95,114,33,.1); }
.publish-button { padding: 10px 14px; border: 1px solid #b6d54c; border-radius: 10px; color: #37420f; background: #f5fbdc; font-size: 11px; font-weight: 700; cursor: pointer; }.publish-button:disabled { border-color: #e4e4df; color: #aaa; background: #f0f0ed; cursor: default; }
.workspace { height: calc(100vh - 102px); min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr) 354px; }
.preview-panel { padding: 24px 30px 20px; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.panel-label { height: 26px; display: flex; justify-content: space-between; color: #666860; font-size: 11px; font-weight: 600; }.local-pill { color: #6e8150; font-weight: 500; }
.canvas-stage { position: relative; flex: 1; min-height: 380px; display: grid; place-items: center; overflow: hidden; border: 1px dashed #cccbc3; border-radius: var(--radius); background: #efeee8; background-image: radial-gradient(#dad9d1 1px, transparent 1px); background-size: 18px 18px; transition: .2s; }
.canvas-stage.dragover { border-color: #9fbd37; background-color: #f2f5e7; }
.empty-state { text-align: center; padding: 30px; }.upload-orbit { width: 64px; height: 64px; margin: 0 auto 18px; border: 1px solid #d3d2ca; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 24px rgba(30,31,26,.07); }.upload-orbit span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #53631e; background: var(--lime); font-size: 20px; }.empty-state h2 { margin: 0; font-size: 17px; }.empty-state p { margin: 8px 0 18px; color: var(--muted); font-size: 12px; }.empty-state small { display: block; margin-top: 12px; color: #9a9b94; font-size: 10px; }.upload-primary { padding: 10px 24px; border: 0; border-radius: 9px; color: #fff; background: #292a25; font-size: 12px; font-weight: 600; cursor: pointer; }
.canvas-wrap { position: absolute; inset: 13px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; min-height: 0; overflow: hidden; }.image-pane { min-width: 0; min-height: 0; margin: 0; padding: 8px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #deddd5; border-radius: 12px; background: rgba(255,255,255,.78); }.image-pane figcaption { height: 25px; flex: 0 0 25px; padding: 0 3px; display: flex; align-items: flex-start; justify-content: space-between; font-size: 10px; font-weight: 700; }.image-pane figcaption small { color: #94958e; font-size: 8px; font-weight: 500; }.image-pane > div { position: relative; flex: 1 1 0; width: 100%; min-width: 0; min-height: 0; overflow: hidden; border-radius: 7px; background: #e8e7e1; }.image-pane canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 5px; filter: drop-shadow(0 8px 13px rgba(37,37,31,.11)); }.result-pane { border-color: #cddd91; background: rgba(250,255,235,.82); }.result-pane figcaption span::before { content: "✦"; margin-right: 5px; color: #93b222; }.processing { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; color: #fff; background: rgba(29,30,26,.88); font-size: 11px; box-shadow: 0 5px 20px rgba(0,0,0,.15); white-space: nowrap; }.processing span { width: 12px; height: 12px; border: 2px solid #70716a; border-top-color: var(--lime); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }.hidden { display: none !important; }
.preview-toolbar { min-height: 42px; padding-top: 12px; display: flex; justify-content: space-between; color: #85867f; font-size: 10px; }.preview-toolbar div { display: flex; gap: 10px; }.text-button { padding: 0; border: 0; color: #5d5f57; background: none; font-size: 10px; cursor: pointer; }.text-button:disabled { color: #aaa; cursor: default; }
.controls-panel { padding: 22px 24px 18px; background: var(--panel); border-left: 1px solid var(--line); overflow-y: auto; }
.creation-mode { margin-bottom: 21px; padding: 4px; display: grid; grid-template-columns: repeat(2,1fr); border-radius: 11px; background: #f0efe9; }.creation-mode button { padding: 9px 6px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 8px; color: #84867e; background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; }.creation-mode button.active { color: #27291f; background: #fff; box-shadow: 0 2px 8px rgba(30,31,25,.08); }.creation-mode button span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 5px; background: #e6e5df; font-size: 8px; }.creation-mode button.active span { background: var(--lime); }
.control-section { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid #eeede8; }.section-title { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }.section-title h2 { margin: 0; font-size: 13px; }.section-title h2 span { margin-left: 4px; color: #9b9c95; font-size: 9px; font-weight: 500; }.section-title p { margin: 5px 0 0; color: #93948d; font-size: 10px; }.section-title button { padding: 0; border: 0; background: none; color: #8d8e87; font-size: 9px; cursor: pointer; }
.idea-input,.prompt-review textarea { width: 100%; padding: 11px 12px; resize: vertical; border: 1px solid #deddd6; border-radius: 10px; outline: none; color: #30312c; background: #faf9f6; font-size: 10px; line-height: 1.6; }.idea-input:focus,.prompt-review textarea:focus { border-color: #a9c746; box-shadow: 0 0 0 2px rgba(169,199,70,.12); background: #fff; }.secondary-action { width: 100%; margin-top: 9px; padding: 10px; border: 1px solid #2d2f28; border-radius: 9px; color: #fff; background: #2d2f28; font-size: 10px; font-weight: 600; cursor: pointer; }.secondary-action:disabled { border-color: #e3e2dc; color: #aaa; background: #edede9; cursor: default; }.prompt-review { margin-top: 13px; padding: 12px; border: 1px solid #d9e7a7; border-radius: 11px; background: #f8fbe9; }.review-head { margin-bottom: 9px; display: flex; justify-content: space-between; align-items: center; }.review-head strong { font-size: 10px; }.review-head span { padding: 3px 6px; border-radius: 999px; color: #65752c; background: #e9f3c7; font-size: 7px; }.prompt-review textarea { min-height: 116px; background: #fff; }.confirm-prompt-button { width: 100%; margin-top: 8px; padding: 9px; border: 0; border-radius: 8px; color: #2c2e24; background: var(--lime); font-size: 10px; font-weight: 700; cursor: pointer; }.confirm-prompt-button.confirmed { color: #fff; background: #59682c; }.prompt-review > p { margin: 7px 0 0; color: #8b8e80; text-align: center; font-size: 8px; }
.adjustments-collapse summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none; cursor: pointer; user-select: none; }.adjustments-collapse summary::-webkit-details-marker { display: none; }.adjustments-collapse summary span strong,.adjustments-collapse summary span small { display: block; }.adjustments-collapse summary span strong { font-size: 13px; }.adjustments-collapse summary span small { margin-top: 5px; color: #93948d; font-size: 9px; font-weight: 400; }.adjustments-collapse summary i { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; color: #777970; background: #f1f0eb; font-size: 15px; font-style: normal; transition: transform .2s ease, background .2s ease; }.adjustments-collapse[open] summary i { transform: rotate(180deg); background: #edf5d2; }.adjustments-collapse summary:focus-visible { outline: 2px solid #a7c53f; outline-offset: 5px; border-radius: 5px; }.adjustments-body { margin-top: 15px; padding-top: 13px; border-top: 1px solid #eeede8; }.adjustments-actions { display: flex; align-items: center; justify-content: space-between; color: #8c8e86; font-size: 9px; }.adjustments-actions button { padding: 0; border: 0; color: #7e806f; background: none; font-size: 9px; cursor: pointer; }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.style-card { position: relative; padding: 5px 5px 8px; border: 1px solid #e6e5df; border-radius: 10px; background: #fff; font-size: 10px; cursor: pointer; }.style-card.active { border-color: #a7c53f; box-shadow: 0 0 0 1px #a7c53f; }.style-card.active::after { content: "✓"; position: absolute; right: 6px; top: 6px; width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; color: #1f2510; background: var(--lime); font-size: 9px; font-weight: 700; }.style-art { height: 54px; margin-bottom: 7px; display: grid; place-items: center; overflow: hidden; border-radius: 7px; font-size: 25px; }.oil { color: #ecc67b; background: linear-gradient(145deg,#203a49,#a9482b 52%,#d0ad5b); }.sketch { color:#41413d;background: repeating-linear-gradient(135deg,#e8e7e1 0 2px,#bbb 3px,#f7f6f2 5px); }.pencil { color:#d95d40;background: linear-gradient(45deg,#eecf62,#65a49a,#e57c5d); }.anime { color:#fff;background: linear-gradient(135deg,#8567d8,#e08ba7 55%,#f8d583); }.watercolor { color:#fff;background: radial-gradient(circle at 30% 30%,#ef9f91,transparent 38%),radial-gradient(circle at 70% 60%,#7caab3,transparent 40%),#e8d6b8; }.vintage { color:#e9cc94;background: linear-gradient(135deg,#3c493e,#bd7a48,#493827); }
.slider-row { margin-top: 13px; }.slider-row > div { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 10px; }.slider-row output { color: #777971; font-variant-numeric: tabular-nums; }.slider-row input { width: 100%; height: 3px; appearance: none; border-radius: 3px; background: linear-gradient(to right, var(--lime-dark) var(--range-progress, 60%), #e7e6e1 var(--range-progress, 60%)); outline: none; }.slider-row input::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; border: 2px solid #9ebd35; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); cursor: pointer; }
.prompt-box { display: flex; gap: 7px; padding: 9px; border: 1px solid #deddd6; border-radius: 10px; background: #faf9f6; transition: .2s; }.prompt-box:focus-within { border-color: #a9c746; box-shadow: 0 0 0 2px rgba(169,199,70,.12); }.prompt-box textarea { flex: 1; min-width: 0; padding: 0; resize: none; border: 0; outline: 0; background: transparent; color: #30312c; font-size: 10px; line-height: 1.55; }.prompt-box textarea::placeholder { color: #a5a69f; }.prompt-box button { align-self: flex-end; width: 27px; height: 27px; border: 0; border-radius: 7px; color: #24251f; background: var(--lime); cursor: pointer; }.prompt-box button:disabled { color: #aaa; background: #e7e6e1; cursor: default; }.prompt-suggestions { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 5px; }.prompt-suggestions button { padding: 5px 7px; border: 1px solid #e4e3dc; border-radius: 999px; color: #73756d; background: #fff; font-size: 8px; cursor: pointer; }.prompt-suggestions button:hover { border-color: #b6cd61; color: #4f5e1c; }.prompt-result { margin-top: 9px; padding: 8px 9px; display: flex; gap: 7px; border-radius: 8px; color: #586426; background: #f2f7df; font-size: 9px; line-height: 1.5; }.prompt-result p { margin: 0; }.prompt-result span { color: #8fae21; }
.resolution-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }.resolution-options button { padding: 9px 4px 8px; border: 1px solid #e1e0d9; border-radius: 9px; background: #fff; cursor: pointer; }.resolution-options button.active { border-color: #a4c238; background: #f8fce9; box-shadow: 0 0 0 1px #a4c238; }.resolution-options strong,.resolution-options small { display: block; }.resolution-options strong { font-size: 10px; }.resolution-options small { margin-top: 3px; color: #999a93; font-size: 7px; }
.ai-insight { padding: 13px; border: 1px solid #dce8b1; border-radius: 11px; background: linear-gradient(145deg,#fbfdf3,#f1f7dc); }.ai-insight-head { display:flex;align-items:center;justify-content:space-between;color:#6e8128;font-size:9px;font-weight:700; }.ai-insight-head small { color:#939b78;font-weight:500; }.ai-insight h3 { margin:9px 0 4px;font-size:13px; }.ai-insight > p { margin:0;color:#777a6c;font-size:9px;line-height:1.55; }.ai-tags { margin-top:9px;display:flex;flex-wrap:wrap;gap:5px; }.ai-tags span { padding:4px 7px;border-radius:999px;color:#65702f;background:#fff;border:1px solid #dce6ba;font-size:8px; }.ai-colors { margin-top:10px;display:flex;gap:5px; }.ai-colors i { width:22px;height:22px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.08); }.create-button.loading { color:#fff;background:#292a25;pointer-events:none; }.create-button.loading span { display:inline-block;animation:spin .8s linear infinite; }.local-pill.ai-ready { color:#53631e; }.local-pill.ai-error { color:#a65338; }
.reference-upload { position: relative; width: 100%; min-height: 67px; padding: 10px 12px; display: flex; align-items: center; gap: 11px; overflow: hidden; border: 1px dashed #d4d3cc; border-radius: 10px; background: #faf9f6; text-align: left; cursor: pointer; }.ref-plus { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; color: #7e806f; background: #eeede7; font-size: 18px; }.reference-upload strong,.reference-upload small { display: block; }.reference-upload strong { font-size: 10px; }.reference-upload small { margin-top: 4px; color: #9b9c95; font-size: 8px; }.reference-upload img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.palette { margin-top: 9px; display: flex; align-items: center; gap: 8px; color:#92938c;font-size:9px; }.palette > div { display: flex; }.palette i { display:block;width:17px;height:17px;border:2px solid #fff;border-radius:50%;margin-left:-4px;box-shadow:0 0 0 1px #ddd; }.palette button { margin-left:auto;border:0;background:none;color:#96978f;font-size:9px;cursor:pointer; }
.create-button { width: 100%; padding: 12px; border: 0; border-radius: 10px; color: #292b21; background: var(--lime); font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 5px 13px rgba(153,185,43,.18); }.create-button:disabled { color:#999;background:#eee;box-shadow:none;cursor:default; }.privacy-note { margin: 9px 0 0; color:#a3a49d; text-align:center; font-size:8px; }.toast { position:fixed;left:50%;bottom:24px;z-index:30;transform:translate(-50%,20px);padding:10px 16px;border-radius:9px;color:#fff;background:#23241f;font-size:11px;opacity:0;pointer-events:none;transition:.2s; }.toast.show { opacity:1;transform:translate(-50%,0); }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 22px; }.modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(24,25,21,.58); backdrop-filter: blur(7px); cursor: default; }.modal-card { position: relative; z-index: 1; width: min(100%, 440px); max-height: calc(100vh - 44px); overflow-y: auto; padding: 26px; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; background: #fff; box-shadow: 0 30px 80px rgba(20,21,17,.24); }.modal-close { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border: 0; border-radius: 50%; color: #85877e; background: #f2f1ec; font-size: 20px; line-height: 1; cursor: pointer; }.auth-brand { display: flex; align-items: center; gap: 13px; padding-right: 36px; }.auth-brand h2 { margin: 0; font-size: 20px; letter-spacing: -.03em; }.auth-brand p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }.modal-tabs { margin: 23px 0 20px; padding: 4px; display: grid; border-radius: 11px; background: #f2f1ec; }.auth-tabs { grid-template-columns: repeat(2, 1fr); }.user-tabs { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }.modal-tabs button { padding: 9px 8px; border: 0; border-radius: 8px; color: #85877f; background: transparent; font-size: 11px; font-weight: 600; cursor: pointer; }.modal-tabs button.active { color: #252720; background: #fff; box-shadow: 0 2px 8px rgba(30,31,25,.08); }.auth-form, .identity-form { display: grid; gap: 14px; }.auth-form label, .identity-form label { display: grid; gap: 7px; }.auth-form label span, .identity-form label span { color: #5f615a; font-size: 10px; font-weight: 600; }.auth-form input, .identity-form input { width: 100%; padding: 11px 12px; border: 1px solid #deddd6; border-radius: 10px; outline: none; background: #faf9f6; font-size: 11px; transition: .2s; }.auth-form input:focus, .identity-form input:focus { border-color: #a8c743; box-shadow: 0 0 0 3px rgba(168,199,67,.13); background: #fff; }.verification-row { display: grid !important; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }.verification-row button { padding: 0 12px; border: 1px solid #c8d88d; border-radius: 10px; color: #52631d; background: #f4f8e4; font-size: 10px; font-weight: 700; white-space: nowrap; cursor: pointer; }.verification-row button:disabled { color: #999; border-color: #deddd6; background: #efefea; cursor: wait; }.primary-action { width: 100%; padding: 11px 16px; border: 0; border-radius: 10px; color: #292b21; background: var(--lime); font-size: 11px; font-weight: 700; cursor: pointer; }.primary-action:hover { background: #cdeb5c; }.primary-action:disabled { color: #999; background: #e9e9e4; cursor: default; }.primary-action.compact { width: auto; white-space: nowrap; }.form-error { margin: 12px 0 0; padding: 9px 10px; border-radius: 8px; color: #a64f35; background: #fff0ea; font-size: 10px; }.auth-note { margin: 14px 0 0; color: #979990; text-align: center; font-size: 9px; }

.user-card { width: min(100%, 620px); min-height: 520px; }.user-heading { display: flex; align-items: center; gap: 12px; padding-right: 38px; }.user-avatar { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #303221; background: linear-gradient(145deg,var(--lime),#c6e354); font-size: 17px; font-weight: 700; }.user-heading h2 { margin: 0; font-size: 16px; }.user-heading p { margin: 5px 0 0; display: flex; align-items: center; gap: 7px; font-size: 10px; }.user-heading p span { padding: 3px 6px; border-radius: 999px; color: #9b6044; background: #fff0e8; font-size: 8px; }.user-heading p span.verified { color: #5e7622; background: #edf7d2; }.heading-balance { margin-left: auto; text-align: right; }.heading-balance small, .heading-balance strong { display: block; }.heading-balance small { color: #979990; font-size: 8px; }.heading-balance strong { margin-top: 2px; font-size: 21px; letter-spacing: -.04em; }.daily-card { padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 14px; background: linear-gradient(135deg,#2a2c25,#3a3d31); color: #fff; }.daily-card small { color: #aaada2; font-size: 9px; }.daily-card strong { display: block; margin-top: 4px; font-size: 18px; }.daily-card p { margin: 4px 0 0; color: #aeb0a7; font-size: 9px; }.rules-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }.rules-grid article { padding: 13px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; }.rules-grid article > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 10px; color: #53631e; background: #eff7d4; font-size: 11px; font-weight: 700; }.rules-grid strong,.rules-grid small { display: block; }.rules-grid strong { font-size: 10px; }.rules-grid small { margin-top: 4px; color: #92948c; font-size: 8px; }.account-line { margin-top: 20px; padding: 12px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 10px; }.account-line span { color: #8b8d85; }.logout-button { margin-top: 15px; padding: 8px 0; border: 0; color: #a6533b; background: none; font-size: 10px; cursor: pointer; }.identity-status { margin-bottom: 18px; padding: 15px; display: flex; gap: 11px; align-items: center; border: 1px solid #eadfca; border-radius: 12px; background: #fffaf1; }.identity-status > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #9d744a; background: #f7e8cc; }.identity-status strong { font-size: 11px; }.identity-status p { margin: 4px 0 0; color: #958979; font-size: 9px; }.identity-status.verified { border-color: #d7e5aa; background: #f7fbe9; }.identity-status.verified > span { color: #5a7124; background: #e6f2bf; }.security-note { margin: 14px 0 0; color: #9a9c94; font-size: 8px; line-height: 1.6; }.recharge-intro { padding: 15px 17px; display: flex; align-items: flex-end; justify-content: space-between; border-radius: 13px; background: #f4f7e9; }.recharge-intro small { color: #78805f; font-size: 8px; }.recharge-intro strong { display: block; margin-top: 3px; font-size: 24px; }.recharge-intro em { font-size: 9px; font-style: normal; }.recharge-intro p { margin: 0; color: #899076; font-size: 9px; }.package-grid { margin-top: 13px; display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }.package-grid button { position: relative; padding: 16px 8px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: .18s; }.package-grid button:hover { transform: translateY(-2px); border-color: #a9c746; box-shadow: 0 8px 18px rgba(43,47,30,.08); }.package-grid button.recommended { border-color: #a9c746; background: #fbfdee; }.package-grid i { position: absolute; right: 7px; top: 6px; padding: 2px 5px; border-radius: 999px; color: #53631e; background: var(--lime); font-size: 7px; font-style: normal; }.package-grid small,.package-grid strong,.package-grid span { display: block; }.package-grid small { color: #7f8179; font-size: 8px; }.package-grid strong { margin-top: 6px; font-size: 12px; }.package-grid span { margin-top: 8px; color: #d26136; font-size: 11px; font-weight: 700; }.demo-payment-note { margin: 9px 0 0; color: #a0a198; font-size: 8px; }.transaction-section { margin-top: 19px; }.transaction-section h3 { margin: 0 0 8px; font-size: 11px; }.transaction-list { max-height: 148px; overflow-y: auto; border-top: 1px solid var(--line); }.transaction-item { padding: 10px 2px; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; border-bottom: 1px solid #efeee9; }.transaction-item strong { font-size: 9px; }.transaction-item span { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 10px; font-weight: 700; }.transaction-item span.positive { color: #698426; }.transaction-item small { color: #9a9b94; font-size: 7px; }.empty-transactions { padding: 22px 0; color: #9a9b94; text-align: center; font-size: 9px; }
.history-card { width: min(100%, 760px); }.history-heading { padding-right: 38px; display: flex; align-items: flex-start; justify-content: space-between; }.history-heading h2 { margin: 0; font-size: 18px; }.history-heading p { margin: 5px 0 0; color: #8f9189; font-size: 9px; }.history-heading > span { padding: 5px 8px; border-radius: 999px; color: #67742e; background: #edf5d1; font-size: 8px; }.history-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }.history-empty { grid-column: 1 / -1; min-height: 260px; display: grid; place-items: center; align-content: center; color: #92948c; text-align: center; }.history-empty > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #f0efe9; font-size: 20px; }.history-empty strong { margin-top: 12px; color: #55574f; font-size: 11px; }.history-empty p { margin: 5px 0 0; font-size: 9px; }.history-item { padding: 0; overflow: hidden; border: 1px solid #e4e3dc; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; transition: .18s; }.history-item:hover { transform: translateY(-2px); border-color: #a8c642; box-shadow: 0 8px 20px rgba(36,39,27,.09); }.history-thumb { aspect-ratio: 1; overflow: hidden; background: #ecebe6; }.history-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }.history-info { padding: 10px; }.history-info > span { display: inline-block; padding: 3px 5px; border-radius: 999px; color: #65732c; background: #edf4d4; font-size: 7px; }.history-info strong { display: block; margin-top: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; }.history-info small { display: block; margin-top: 4px; color: #999b93; font-size: 7px; }
.publish-card { width: min(100%, 560px); }.publish-heading { padding-right: 38px; display: flex; align-items: center; gap: 11px; }.publish-heading > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #35400f; background: var(--lime); }.publish-heading h2 { margin: 0; font-size: 17px; }.publish-heading p { margin: 4px 0 0; color: #8c8e86; font-size: 9px; }.watermark-preview { margin-top: 18px; height: 220px; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: #ecebe6; }.watermark-preview img { width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; display: block; object-fit: contain; }.publish-form { margin-top: 17px; display: grid; gap: 12px; }.publish-form label { display: grid; gap: 6px; }.publish-form label > span { font-size: 9px; font-weight: 600; }.publish-form label small { color: #9b9d95; font-weight: 400; }.publish-form input,.publish-form textarea { width: 100%; padding: 10px 11px; resize: none; border: 1px solid #deddd6; border-radius: 9px; outline: none; background: #faf9f6; font-size: 10px; }.publish-form input:focus,.publish-form textarea:focus { border-color: #a9c746; box-shadow: 0 0 0 2px rgba(169,199,70,.12); }.watermark-note { padding: 9px 10px; display: flex; align-items: center; gap: 8px; border-radius: 8px; color: #64722d; background: #f1f7dc; font-size: 9px; }.watermark-note p { margin: 0; }
.gallery-publish-card { width: min(100%,620px); }.gallery-publish-card form { margin-top: 18px; display: grid; gap: 14px; }.gallery-source-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.gallery-source-option { min-width: 0; padding: 14px; display: grid; grid-template-columns: 26px minmax(0,1fr); align-items: center; gap: 10px; border: 1px solid #deddd6; border-radius: 13px; background: #faf9f6; cursor: pointer; transition: .18s; }.gallery-source-option:has(input:checked) { border-color: #a8c743; background: #f7faeb; box-shadow: 0 0 0 2px rgba(168,199,67,.1); }.gallery-source-option:has(input:disabled) { cursor: not-allowed; opacity: .5; }.gallery-source-option input { position: absolute; opacity: 0; pointer-events: none; }.gallery-source-check { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #d4d4cc; border-radius: 7px; color: transparent; background: #fff; font-size: 11px; font-weight: 800; }.gallery-source-option input:checked + .gallery-source-check { border-color: #a8c743; color: #36420f; background: var(--lime); }.gallery-source-option strong,.gallery-source-option small { display: block; }.gallery-source-option strong { font-size: 10px; }.gallery-source-option small { margin-top: 4px; overflow: hidden; color: #92948b; font-size: 8px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }.gallery-publish-preview { position: relative; height: 270px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: repeating-conic-gradient(#e5e4de 0 25%,#eeede8 0 50%) 50% / 20px 20px; }.gallery-publish-preview img { width: auto; height: auto; max-width: 100%; max-height: 100%; display: block; object-fit: contain; }.gallery-publish-preview > span { position: absolute; left: 10px; bottom: 10px; padding: 5px 8px; border-radius: 999px; color: #fff; background: rgba(28,30,25,.78); font-size: 8px; backdrop-filter: blur(5px); }.gallery-source-note { margin: -2px 0 0; color: #7c806f; font-size: 8px; line-height: 1.6; }.gallery-source-label { margin-left: 5px; color: #74842f; }
.package-grid button:disabled { transform: none; opacity: .5; cursor: not-allowed; box-shadow: none; }
.credit-expiry-note { margin-top: 12px; padding: 10px 12px; border: 1px solid #dfe6c2; border-radius: 10px; color: #687344; background: #f8faef; font-size: 8px; line-height: 1.6; }
.library-view { min-height: 100vh; padding: 34px 38px 60px; background: var(--cream); }.library-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 27px; border-bottom: 1px solid var(--line); }.library-header .eyebrow { color: #83953c; font-size: 8px; font-weight: 700; letter-spacing: .16em; }.library-header h1 { margin: 7px 0 0; font-size: 28px; letter-spacing: -.04em; }.library-header p { margin: 6px 0 0; color: #7f8179; font-size: 10px; }.library-header-actions { display: flex; align-items: center; gap: 12px; }.library-header-actions > span { color: #8c8e86; font-size: 9px; }.library-header-actions button,.library-empty button { padding: 10px 14px; border: 0; border-radius: 9px; color: #2d2f25; background: var(--lime); font-size: 10px; font-weight: 700; cursor: pointer; }.library-toolbar { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; }.library-filters { display: flex; gap: 7px; }.library-filters button { padding: 7px 11px; border: 1px solid #dfded7; border-radius: 999px; color: #7f8179; background: #fff; font-size: 9px; cursor: pointer; }.library-filters button.active { border-color: #282a24; color: #fff; background: #282a24; }.works-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }.library-empty { grid-column: 1 / -1; min-height: 420px; display: grid; place-items: center; align-content: center; text-align: center; }.library-empty > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: #596627; background: #ecf4ce; font-size: 22px; }.library-empty h2 { margin: 14px 0 0; font-size: 15px; }.library-empty p { margin: 7px 0 17px; color: #8c8e86; font-size: 9px; }.work-card { overflow: hidden; border: 1px solid #e1e0d9; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px rgba(35,37,29,.04); }.work-image { position: relative; aspect-ratio: 1; overflow: hidden; background: #e8e7e1; }.work-image img { width: 100%; height: 100%; display: block; object-fit: cover; }.work-badge { position: absolute; left: 9px; top: 9px; padding: 4px 7px; border-radius: 999px; color: #fff; background: rgba(29,30,26,.75); backdrop-filter: blur(5px); font-size: 7px; }.work-card-body { padding: 12px; }.work-card-body h3 { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; }.work-card-body > p { height: 27px; margin: 5px 0 0; overflow: hidden; color: #85877e; font-size: 8px; line-height: 1.6; }.work-meta { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; color: #9b9c95; font-size: 7px; }.work-actions { margin-top: 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 6px; }.work-actions button { padding: 7px 8px; border: 1px solid #e1e0da; border-radius: 7px; color: #6f7169; background: #fff; font-size: 8px; cursor: pointer; }.work-actions button.primary { border-color: #c9df78; color: #4f5e1a; background: #f4f9df; }.work-actions button.danger { color: #a6533b; }.work-actions button.favorite { color: #ba7b21; background: #fff8e6; }.gallery-card-author { margin-top: 10px; display: flex; align-items: center; gap: 7px; color: #696b63; font-size: 8px; }.gallery-card-author span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #353821; background: #e7c67e; font-weight: 700; }
.work-image-button { width: 100%; padding: 0; display: block; border: 0; cursor: pointer; }.work-image-button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 60%,rgba(20,21,18,.42)); opacity: 0; transition: .2s; }.work-image-button:hover::after,.work-image-button:focus-visible::after { opacity: 1; }.breakdown-badge { position: absolute; right: 9px; bottom: 9px; z-index: 1; padding: 5px 8px; border-radius: 999px; color: #2e341b; background: rgba(218,246,112,.94); font-size: 7px; font-weight: 700; }.work-title-button { width: 100%; padding: 0; overflow: hidden; border: 0; color: #2d2f28; background: none; text-align: left; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 700; cursor: pointer; }.work-title-button:hover { color: #718522; }.work-actions { grid-template-columns: auto 1fr 1fr auto; }.work-actions button:disabled { opacity: .55; cursor: wait; }
.breakdown-view { min-height: 100vh; padding: 30px 38px 70px; background: #f5f3ed; }.breakdown-header { display: grid; grid-template-columns: 170px 1fr 170px; align-items: center; gap: 24px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }.breakdown-header > div { text-align: center; }.breakdown-header .eyebrow { color: #83953c; font-size: 8px; font-weight: 700; letter-spacing: .16em; }.breakdown-header h1 { margin: 6px 0 0; font-size: 25px; letter-spacing: -.035em; }.breakdown-header p { margin: 5px 0 0; color: #85877e; font-size: 9px; }.back-button,.breakdown-download { padding: 10px 12px; border: 1px solid #dbdad3; border-radius: 9px; color: #66685f; background: #fff; font-size: 9px; cursor: pointer; }.back-button { justify-self: start; }.breakdown-download { justify-self: end; color: #3e481b; border-color: #cbdc8b; background: #f3f8df; font-weight: 700; }.breakdown-layout { max-width: 1120px; margin: 28px auto 0; display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 30px; align-items: start; }.breakdown-reference { position: sticky; top: 24px; }.breakdown-image { min-height: 280px; max-height: 440px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: #dfded8; box-shadow: 0 16px 40px rgba(34,36,29,.12); }.breakdown-image img { width: 100%; height: 100%; max-height: 440px; display: block; object-fit: contain; }.breakdown-work-meta { padding: 17px 3px 0; }.breakdown-work-meta strong,.breakdown-work-meta span { display: block; }.breakdown-work-meta strong { font-size: 16px; }.breakdown-work-meta span { margin-top: 5px; color: #7d852f; font-size: 9px; font-weight: 600; }.breakdown-work-meta p { margin: 8px 0 0; color: #7f8179; font-size: 9px; line-height: 1.65; }.breakdown-progress-card,.material-card { margin-top: 16px; padding: 15px; border: 1px solid #dfded7; border-radius: 13px; background: #fff; }.breakdown-progress-card > div:first-child { display: flex; align-items: center; justify-content: space-between; font-size: 9px; }.breakdown-progress-card strong { color: #67772c; }.breakdown-progress-track { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: #eae9e3; }.breakdown-progress-track i { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#b7d443,var(--lime)); transition: width .28s ease; }.material-card h2 { margin: 0 0 10px; font-size: 11px; }.material-card > div { display: flex; flex-wrap: wrap; gap: 6px; }.material-card span { padding: 5px 7px; border-radius: 999px; color: #666a51; background: #f1f4e6; font-size: 8px; }.breakdown-content { min-width: 0; }.breakdown-intro { margin-bottom: 18px; }.breakdown-intro > span { color: #829338; font-size: 8px; font-weight: 700; letter-spacing: .12em; }.breakdown-intro h2 { margin: 6px 0 0; font-size: 20px; }.breakdown-intro p { margin: 6px 0 0; color: #888a82; font-size: 9px; }.breakdown-steps { display: grid; gap: 13px; }.breakdown-step { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 14px; padding: 18px; border: 1px solid #dfded7; border-radius: 16px; background: #fff; transition: .2s; }.breakdown-step.completed { border-color: #c8d991; background: #fbfdee; }.step-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #383b2b; background: #ecebe5; font-size: 11px; font-weight: 700; }.completed .step-number { color: #405014; background: var(--lime); }.step-body header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.step-body header span { color: #8b8d84; font-size: 7px; letter-spacing: .08em; }.step-body h3 { margin: 4px 0 0; font-size: 14px; }.step-body header button { padding: 7px 10px; border: 1px solid #d9d8d1; border-radius: 8px; color: #73756d; background: #fff; font-size: 8px; cursor: pointer; }.completed .step-body header button { color: #53631e; border-color: #c7d88d; background: #eef5d4; }.step-body > p { margin: 10px 0 0; color: #73766c; font-size: 9px; line-height: 1.6; }.step-body ol { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 7px; color: #4f514a; font-size: 9px; line-height: 1.5; }.step-tip { margin-top: 13px; padding: 10px 11px; display: grid; grid-template-columns: auto 1fr; gap: 9px; border-radius: 9px; color: #687147; background: #f4f6eb; font-size: 8px; line-height: 1.55; }.step-tip strong { white-space: nowrap; }.breakdown-loading { min-height: 340px; display: grid; place-items: center; border: 1px dashed #d5d4cd; border-radius: 16px; color: #85877e; background: rgba(255,255,255,.45); font-size: 10px; }.breakdown-loading.error { color: #a6533b; }
.step-visual { margin: 14px 0 0; overflow: hidden; border: 1px solid #e1e0da; border-radius: 12px; background: #f0efe9; }.step-visual-frame { position: relative; height: 265px; display: grid; place-items: center; overflow: hidden; background: repeating-conic-gradient(#e7e6e0 0 25%,#efeee9 0 50%) 50% / 18px 18px; }.step-visual-frame img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }.step-visual-frame > span { color: #8b8d85; font-size: 9px; }.step-visual-frame > i { position: absolute; left: 10px; top: 10px; padding: 5px 8px; border-radius: 999px; color: #fff; background: rgba(29,30,26,.72); backdrop-filter: blur(6px); font-size: 7px; font-style: normal; font-weight: 600; }.step-visual figcaption { padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #66722f; background: #fafbf5; font-size: 8px; }.step-visual figcaption small { color: #979990; font-size: 7px; }
.step-visual-zoom { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }.step-visual-zoom::after { content: ''; position: absolute; inset: 0; background: rgba(20,22,18,.14); opacity: 0; transition: opacity .2s; }.step-visual-zoom:hover::after,.step-visual-zoom:focus-visible::after { opacity: 1; }.step-visual-zoom:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }.step-visual-zoom i { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 5px 8px; border-radius: 999px; color: #fff; background: rgba(29,30,26,.72); backdrop-filter: blur(6px); font-size: 7px; font-style: normal; font-weight: 600; }.step-visual-zoom > span { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(29,30,26,.72); backdrop-filter: blur(6px); font-size: 7px; font-weight: 600; opacity: .78; transition: opacity .2s; }.step-visual-zoom:hover > span,.step-visual-zoom:focus-visible > span { opacity: 1; }.breakdown-original-zoom { position: relative; width: 100%; height: 100%; min-height: inherit; padding: 0; display: grid; place-items: center; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }.breakdown-original-zoom img { width: 100%; height: 100%; object-fit: contain; }.breakdown-original-zoom span { position: absolute; right: 12px; top: 12px; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(25,27,23,.68); backdrop-filter: blur(6px); font-size: 7px; opacity: 0; transition: opacity .2s; }.breakdown-original-zoom:hover span,.breakdown-original-zoom:focus-visible span { opacity: 1; }.breakdown-original-zoom:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.breakdown-zoom-modal { z-index: 80; padding: 18px; }.breakdown-zoom-modal .modal-backdrop { background: rgba(15,16,13,.86); backdrop-filter: blur(12px); }.breakdown-zoom-card { position: relative; z-index: 1; width: min(94vw,1400px); height: min(92vh,980px); min-height: 360px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: #171815; box-shadow: 0 34px 100px rgba(0,0,0,.48); }.breakdown-zoom-stage { position: absolute; inset: 0 0 52px; padding: 14px; display: grid; place-items: center; overflow: auto; box-sizing: border-box; background: repeating-conic-gradient(#22231f 0 25%,#292a25 0 50%) 50% / 22px 22px; }.breakdown-zoom-stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; display: block; object-fit: contain; object-position: center; }.breakdown-zoom-card footer { position: absolute; inset: auto 0 0; height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #fff; background: #1d1f1a; }.breakdown-zoom-card footer strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.breakdown-zoom-card footer span { flex: none; color: #a8aba0; font-size: 8px; }.breakdown-zoom-close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; background: rgba(22,23,20,.72); backdrop-filter: blur(7px); font-size: 24px; line-height: 1; cursor: pointer; }
.breakdown-generate-card { min-height: 430px; padding: 52px 44px; display: grid; justify-items: center; align-content: center; border: 1px solid #dfe3cf; border-radius: 20px; background: radial-gradient(circle at 50% 20%,rgba(218,246,112,.24),transparent 38%),#fff; text-align: center; }.breakdown-ai-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; color: #35400f; background: var(--lime); box-shadow: 0 16px 32px rgba(121,145,47,.18); font-size: 26px; }.breakdown-generate-card .eyebrow { margin: 22px 0 0; color: #83933c; font-size: 8px; font-weight: 700; letter-spacing: .17em; }.breakdown-generate-card h2 { margin: 8px 0 0; font-size: 24px; }.breakdown-generate-card > p:not(.eyebrow) { max-width: 520px; margin: 12px 0 0; color: #7e8177; font-size: 10px; line-height: 1.75; }.breakdown-cost { margin-top: 24px; padding: 12px 18px; display: flex; align-items: center; gap: 12px; border-radius: 12px; background: #f3f6e7; }.breakdown-cost strong { color: #52631d; font-size: 14px; }.breakdown-cost span { color: #858a74; font-size: 8px; }.breakdown-generate-card button { margin-top: 18px; padding: 12px 20px; border: 0; border-radius: 11px; color: #25291a; background: var(--lime); box-shadow: 0 10px 24px rgba(126,150,48,.18); font-size: 10px; font-weight: 700; cursor: pointer; }.breakdown-generate-card button:disabled { cursor: wait; opacity: .7; }
.practice-panel { margin-top: 22px; padding: 22px; border: 1px solid #dcdcd4; border-radius: 18px; background: #fff; }.practice-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }.practice-panel > header span { color: #829338; font-size: 8px; font-weight: 700; letter-spacing: .12em; }.practice-panel > header h2 { margin: 6px 0 0; font-size: 18px; }.practice-panel > header p { margin: 6px 0 0; color: #888a82; font-size: 9px; line-height: 1.6; }.practice-panel > header button { padding: 9px 12px; flex: none; border: 1px solid #cbd895; border-radius: 9px; color: #52631d; background: #f6f9e9; font-size: 9px; cursor: pointer; }.practice-comparison { margin-top: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.practice-comparison figure { margin: 0; overflow: hidden; border: 1px solid #e2e1da; border-radius: 13px; background: #f0efe9; }.practice-comparison figure > div { height: 310px; display: grid; place-items: center; overflow: hidden; background: repeating-conic-gradient(#e7e6e0 0 25%,#efeee9 0 50%) 50% / 18px 18px; }.practice-comparison img { width: 100%; height: 100%; display: block; object-fit: contain; }.practice-comparison figcaption { padding: 10px 11px; display: flex; justify-content: space-between; gap: 10px; background: #fff; }.practice-comparison figcaption strong { font-size: 9px; }.practice-comparison figcaption span { overflow: hidden; color: #979990; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.practice-empty { min-height: 352px; display: grid; place-items: center; align-content: center; gap: 7px; border: 1px dashed #cfd1c6; border-radius: 13px; color: #7d8174; background: #fafaf7; cursor: pointer; }.practice-empty span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #52631d; background: #eaf3c9; font-size: 18px; }.practice-empty strong { font-size: 10px; }.practice-empty small { color: #a0a198; font-size: 8px; }.practice-feedback-actions { margin-top: 14px; padding: 14px 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-radius: 12px; background: #272a22; color: #fff; }.practice-feedback-actions strong,.practice-feedback-actions span { display: block; }.practice-feedback-actions strong { font-size: 10px; }.practice-feedback-actions span { margin-top: 4px; color: #aeb1a6; font-size: 8px; }.practice-feedback-actions button { padding: 10px 12px; flex: none; border: 0; border-radius: 9px; color: #2d321d; background: var(--lime); font-size: 9px; font-weight: 700; cursor: pointer; }.practice-feedback-actions button:disabled { cursor: wait; opacity: .65; }.practice-feedback { margin-top: 14px; padding: 18px; border: 1px solid #dbe3bf; border-radius: 14px; background: #fafcf3; }.practice-feedback > header { display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: 18px; }.practice-feedback > header > div { padding: 14px; border-radius: 12px; color: #fff; background: #2d3127; text-align: center; }.practice-feedback > header span { display: block; color: #b8bbae; font-size: 8px; }.practice-feedback > header strong { display: block; margin-top: 4px; color: var(--lime); font-size: 30px; }.practice-feedback > header strong small { color: #b8bbae; font-size: 9px; }.practice-feedback > header p { margin: 0; color: #5f6258; font-size: 10px; line-height: 1.7; }.feedback-grid { margin-top: 15px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }.feedback-grid section { padding: 12px; border-radius: 11px; background: #fff; }.feedback-grid h3 { margin: 0; font-size: 9px; }.feedback-grid ul { margin: 9px 0 0; padding-left: 15px; display: grid; gap: 6px; color: #686b61; font-size: 8px; line-height: 1.55; }.feedback-strengths h3 { color: #587120; }.feedback-improvements h3 { color: #a15c37; }.feedback-next h3 { color: #526887; }.practice-feedback > small { display: block; margin-top: 12px; color: #9a9d91; font-size: 7px; text-align: right; }
.oil-generate-card { background: radial-gradient(circle at 50% 18%,rgba(184,128,66,.16),transparent 40%),#fff; }.oil-technique { margin-top: 13px; overflow: hidden; border: 1px solid #e4d8c8; border-radius: 12px; background: #fbf7f0; }.oil-technique > header { padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; background: linear-gradient(135deg,#564130,#786049); }.oil-technique > header span { color: #d9c9b5; font-size: 7px; letter-spacing: .13em; }.oil-technique > header strong { font-size: 9px; }.oil-technique dl { margin: 0; padding: 5px 12px 12px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }.oil-technique dl > div { padding: 10px 0; display: grid; grid-template-columns: 74px 1fr; gap: 9px; border-bottom: 1px solid #e9dfd2; }.oil-technique dt { color: #9a704b; font-size: 8px; font-weight: 700; }.oil-technique dd { margin: 0; color: #625a50; font-size: 8px; line-height: 1.55; }.oil-technique .oil-checkpoint { grid-column: 1 / -1; border-bottom: 0; border-radius: 8px; background: #f0eadf; padding-inline: 9px; }.oil-breakdown-step .step-tip { color: #715d49; background: #f6f0e7; }.breakdown-upgrade-card { padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #d8c8b6; border-radius: 15px; background: linear-gradient(135deg,#3f3329,#66513e); color: #fff; }.breakdown-upgrade-card span { color: #d9bd91; font-size: 8px; font-weight: 700; letter-spacing: .1em; }.breakdown-upgrade-card strong { display: block; margin-top: 5px; font-size: 13px; }.breakdown-upgrade-card p { max-width: 520px; margin: 6px 0 0; color: #d2c9c0; font-size: 8px; line-height: 1.6; }.breakdown-upgrade-card button { padding: 10px 12px; flex: none; border: 0; border-radius: 9px; color: #332b23; background: #e5c897; font-size: 9px; font-weight: 700; cursor: pointer; }
@media (max-width: 1100px) { .works-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 980px) { .sidebar { width: 74px; padding-inline: 12px; }.brand > span:last-child,.nav-item:not(.active) span + *,.nav-item { font-size:0; }.brand { padding:0;justify-content:center; }.nav-item { justify-content:center;padding:12px; }.nav-icon {font-size:17px}.credit-card,.profile span:not(.avatar) { display:none; }.profile { justify-content:center; }.main { margin-left:74px; }.workspace { grid-template-columns:minmax(0,1fr) 320px; }.topbar { padding-inline:22px; }.library-view { padding-inline:25px; } }
@media (max-width: 760px) { .sidebar { position:fixed;inset:auto 0 0;width:auto;height:62px;padding:8px 16px;flex-direction:row;align-items:center; }.brand,.sidebar-bottom {display:none}.primary-nav {margin:0;width:100%;display:flex;justify-content:space-around}.nav-item,.nav-item.active {width:54px;background:none}.main {margin:0 0 62px}.topbar{height:92px;padding:18px}.topbar h1{font-size:19px}.topbar p{font-size:10px}.top-actions{flex:none}.icon-button{display:none}.account-button > span:last-child{display:none}.account-button{width:36px;height:36px;padding:5px;flex:none}.publish-button,.export-button{width:36px;height:36px;padding:0;flex:none;font-size:0}.publish-button span,.export-button span{font-size:15px}.workspace{height:auto;min-height:calc(100vh - 154px);display:block}.preview-panel{height:58vh;min-height:460px;padding:16px}.controls-panel{border:0;border-top:1px solid var(--line);padding:22px 18px 28px}.style-grid{grid-template-columns:repeat(3,1fr)}.canvas-wrap{gap:8px}.image-pane{padding:6px}.image-pane figcaption{height:20px;flex-basis:20px}.processing{left:50%;bottom:15px}.preview-toolbar{min-height:34px}.modal{padding:10px}.modal-card{max-height:calc(100vh - 20px);padding:21px;border-radius:18px}.user-card{min-height:0}.user-tabs button{font-size:10px}.rules-grid{grid-template-columns:1fr}.package-grid{grid-template-columns:1fr}.package-grid button{padding:12px;display:grid;grid-template-columns:1fr 1fr;align-items:center;text-align:left}.package-grid small{grid-column:1}.package-grid strong{grid-column:1}.package-grid span{grid-column:2;grid-row:1 / span 2;text-align:right}.daily-card{align-items:flex-start}.heading-balance{padding-right:8px}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-card{padding:18px}.publish-card{grid-template-columns:1fr}.watermark-preview{max-height:36vh}.library-view{padding:25px 16px 80px}.library-header{align-items:flex-start;flex-direction:column}.library-header-actions{width:100%;justify-content:space-between}.works-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.work-actions{grid-template-columns:auto 1fr auto}.library-empty{min-height:330px} }
@media (max-width: 420px) { .topbar p { max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis }.panel-label .local-pill{display:none}.canvas-stage{min-height:320px}.preview-panel{min-height:395px}.style-art{height:48px}.works-grid{grid-template-columns:1fr}.library-toolbar{overflow-x:auto}.library-header h1{font-size:24px} }
@media (max-width: 980px) { .breakdown-view { padding-inline: 25px; }.breakdown-header { grid-template-columns: 145px 1fr 145px; }.breakdown-layout { grid-template-columns: 285px minmax(0,1fr); gap: 22px; } }
@media (max-width: 760px) { .work-actions { grid-template-columns: auto 1fr 1fr auto; }.breakdown-view { padding: 22px 16px 82px; }.breakdown-header { grid-template-columns: 1fr auto; align-items: start; gap: 14px; }.breakdown-header > div { grid-column: 1 / -1; grid-row: 2; text-align: left; }.breakdown-header h1 { font-size: 21px; }.breakdown-header p { line-height: 1.5; }.back-button { grid-column: 1; }.breakdown-download { grid-column: 2; }.breakdown-layout { margin-top: 20px; grid-template-columns: 1fr; }.breakdown-reference { position: static; }.breakdown-image { min-height: 250px; max-height: 58vh; }.breakdown-image img { max-height: 58vh; }.breakdown-content { margin-top: 8px; }.breakdown-step { grid-template-columns: 36px minmax(0,1fr); gap: 11px; padding: 15px; }.step-number { width: 34px; height: 34px; }.step-body header { gap: 9px; }.step-visual-frame { height: 230px; } }
@media (max-width: 420px) { .work-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }.step-body header { display: grid; }.step-body header button { justify-self: start; }.breakdown-step { grid-template-columns: 1fr; }.step-number { width: 30px; height: 30px; }.step-tip { grid-template-columns: 1fr; }.breakdown-download { padding-inline: 9px; }.step-visual-frame { height: 205px; }.step-visual figcaption { align-items: flex-start; flex-direction: column; gap: 3px; } }
@media (max-width: 760px) { .breakdown-generate-card { min-height: 360px; padding: 38px 24px; }.practice-panel { padding: 17px; }.practice-panel > header { flex-direction: column; }.practice-comparison { grid-template-columns: 1fr; }.practice-comparison figure > div { height: min(72vw,360px); }.practice-empty { min-height: 230px; }.practice-feedback-actions { align-items: stretch; flex-direction: column; }.practice-feedback-actions button { width: 100%; }.practice-feedback > header { grid-template-columns: 1fr; }.feedback-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .breakdown-generate-card { min-height: 330px; padding: 30px 18px; }.breakdown-ai-mark { width: 54px; height: 54px; border-radius: 17px; font-size: 22px; }.breakdown-generate-card h2 { font-size: 20px; }.breakdown-cost { width: 100%; align-items: flex-start; flex-direction: column; }.breakdown-generate-card button { width: 100%; }.practice-comparison figcaption { align-items: flex-start; flex-direction: column; }.practice-feedback { padding: 14px; } }
@media (max-width: 760px) { .oil-technique dl { grid-template-columns: 1fr; }.oil-technique .oil-checkpoint { grid-column: 1; }.breakdown-upgrade-card { align-items: stretch; flex-direction: column; }.breakdown-upgrade-card button { width: 100%; } }
@media (max-width: 420px) { .oil-technique dl > div { grid-template-columns: 1fr; gap: 4px; }.oil-technique > header { align-items: flex-start; flex-direction: column; gap: 4px; } }
@media (max-width: 760px) { .breakdown-zoom-modal { padding: 0; }.breakdown-zoom-card { width: 100vw; height: 100dvh; min-height: 100vh; border: 0; border-radius: 0; }.breakdown-zoom-stage { inset: 0 0 58px; padding: 8px; }.breakdown-zoom-card footer { height: 58px; padding-inline: 14px; }.breakdown-zoom-card footer span { display: none; }.breakdown-original-zoom span { opacity: .82; } }
@media (max-width: 560px) { .gallery-source-grid { grid-template-columns: 1fr; }.gallery-publish-preview { height: min(68vw,300px); }.gallery-source-option { padding: 12px; } }

.privacy-note button,.legal-consent button { padding: 0; border: 0; color: #60751f; background: none; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.legal-consent { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 8px !important; color: #777a70; font-size: 9px; line-height: 1.55; }
.auth-form .legal-consent > input { width: 14px; height: 14px; margin: 1px 0 0; padding: 0; flex: none; accent-color: #9fbd3b; }
.auth-form .legal-consent > span { font-size: 9px; font-weight: 400; }
.model-config-card { width: min(100%, 540px); }.model-config-heading { padding-right: 38px; display: flex; align-items: center; gap: 13px; }.model-config-heading > span { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 14px; color: #3f4b16; background: var(--lime); font-size: 23px; }.model-config-heading small { color: #7f9432; font-size: 7px; font-weight: 700; letter-spacing: .14em; }.model-config-heading h2 { margin: 3px 0 0; font-size: 18px; letter-spacing: -.02em; }.model-config-heading p { margin: 4px 0 0; color: #898b83; font-size: 9px; }
.model-config-status { margin-top: 20px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid #e2e1da; border-radius: 11px; background: #faf9f6; }.model-config-status > span { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #9c9e96; box-shadow: 0 0 0 4px rgba(156,158,150,.12); }.model-config-status.custom { border-color: #d3e49c; background: #f7fbe9; }.model-config-status.custom > span { background: #8eaa31; box-shadow: 0 0 0 4px rgba(142,170,49,.13); }.model-config-status strong,.model-config-status small { display: block; }.model-config-status strong { font-size: 10px; }.model-config-status small { margin-top: 3px; color: #90928a; font-size: 8px; }
.model-config-form { margin-top: 17px; display: grid; gap: 14px; }.model-config-form > label { display: grid; gap: 7px; }.model-config-form > label > span:first-child { color: #5f615a; font-size: 9px; font-weight: 700; }.model-config-form input { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #deddd6; border-radius: 10px; outline: none; color: #2c2e27; background: #faf9f6; font-size: 10px; transition: .2s; }.model-config-form input:focus { border-color: #a8c743; box-shadow: 0 0 0 3px rgba(168,199,67,.13); background: #fff; }.model-config-form label > small { color: #96988f; font-size: 8px; line-height: 1.55; }
.model-key-field { position: relative; display: flex; }.model-key-field input { padding-right: 54px; }.model-key-field button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 5px 7px; border: 0; border-radius: 6px; color: #647326; background: #edf4d6; font-size: 8px; cursor: pointer; }.model-security-note { margin: 0; padding: 11px 12px; display: grid; grid-template-columns: auto 1fr; gap: 8px; border-radius: 9px; color: #687057; background: #f3f6e9; font-size: 8px; line-height: 1.65; }.model-security-note span { color: #688020; font-weight: 700; }.model-config-actions { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 9px; }.model-config-actions > button:first-child { padding: 10px 13px; border: 1px solid #deddd6; border-radius: 10px; color: #74766e; background: #fff; font-size: 9px; font-weight: 600; cursor: pointer; }.model-config-actions .primary-action { font-size: 10px; }
.legal-status-card { padding: 16px; display: flex; align-items: center; gap: 12px; border: 1px solid #dbe6b9; border-radius: 13px; background: #f8fbeF; }
.legal-status-card > span { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 12px; color: #52631d; background: #e8f1c7; font: 700 19px Georgia,serif; }
.legal-status-card strong { display: block; font-size: 11px; }.legal-status-card p { margin: 5px 0 0; color: #7d8270; font-size: 9px; line-height: 1.55; }
.legal-entry-list { margin-top: 13px; display: grid; gap: 8px; }.legal-entry-list button { padding: 13px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; border: 1px solid #e4e3dc; border-radius: 11px; background: #fff; text-align: left; cursor: pointer; }.legal-entry-list button:hover { border-color: #b7ca70; background: #fbfdef; }.legal-entry-list span { font-size: 10px; font-weight: 700; }.legal-entry-list small { grid-row: 2; color: #92958b; font-size: 8px; }.legal-entry-list i { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #829633; font-size: 14px; font-style: normal; }
.legal-accept-button { margin-top: 13px; }
.legal-card { width: min(100%, 820px); padding: 0; overflow: hidden; }.legal-heading { padding: 27px 30px 20px; display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid #ecebe5; }.legal-heading > div > span { color: #78902d; font-size: 8px; font-weight: 700; letter-spacing: .12em; }.legal-heading h2 { margin: 7px 0 0; font-size: 22px; letter-spacing: -.03em; }.legal-heading p { max-width: 590px; margin: 7px 0 0; color: #7f8179; font-size: 9px; line-height: 1.6; }.legal-heading > small { padding: 7px 38px 0 0; flex: none; color: #979990; font-size: 8px; white-space: nowrap; }
.legal-draft-notice { margin: 16px 30px 0; padding: 10px 12px; border: 1px solid #efd9b5; border-radius: 9px; color: #85653d; background: #fff8eb; font-size: 8px; line-height: 1.6; }.legal-draft-notice.approved { border-color: #d5e4aa; color: #617424; background: #f7fbe9; }
.legal-document-tabs { margin: 14px 30px 0; display: flex; gap: 7px; }.legal-document-tabs button { padding: 7px 11px; border: 1px solid #dfded7; border-radius: 999px; color: #777970; background: #fff; font-size: 9px; cursor: pointer; }.legal-document-tabs button.active { border-color: #aabd66; color: #4d5f18; background: #f1f7d8; }
.legal-content { height: min(52vh,520px); margin-top: 14px; padding: 2px 30px 24px; overflow-y: auto; scroll-behavior: smooth; }.legal-content section { padding: 16px 0; border-top: 1px solid #efeee9; }.legal-content h3 { margin: 0; color: #303229; font-size: 12px; }.legal-content p { margin: 9px 0 0; color: #686b62; font-size: 9px; line-height: 1.85; }.legal-loading { padding: 30px 0; text-align: center; }
.legal-footer { padding: 14px 30px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #e9e8e1; background: #faf9f5; }.legal-footer span { color: #979990; font-size: 8px; }.legal-footer button { padding: 8px 15px; border: 0; border-radius: 8px; color: #2d311f; background: var(--lime); font-size: 9px; font-weight: 700; cursor: pointer; }
@media (max-width: 760px) { .legal-card { width: 100%; max-height: calc(100dvh - 20px); }.legal-heading { padding: 23px 20px 17px; flex-direction: column; gap: 8px; }.legal-heading > small { padding: 0; }.legal-draft-notice,.legal-document-tabs { margin-inline: 20px; }.legal-content { height: min(49vh,470px); padding-inline: 20px; }.legal-footer { padding-inline: 20px; }.legal-footer span { max-width: 60%; line-height: 1.4; } }
@media (max-width: 760px) { .model-config-button { width: 36px; height: 36px; padding: 0; flex: none; justify-content: center; }.model-config-button > span:last-child { display: none; }.model-config-card { width: 100%; }.model-config-actions { grid-template-columns: 1fr; }.model-config-actions > button:first-child { grid-row: 2; } }
.auth-tabs.registration-paused { grid-template-columns: 1fr; }
