.create-dialog{width:min(520px,calc(100% - 28px));height:min(760px,calc(100dvh - 28px));max-height:none;border:0;border-radius:26px;padding:0;box-shadow:0 30px 80px #2a160633;overflow:hidden;grid-template-rows:auto auto minmax(0,1fr) auto}
.create-dialog[open]{display:grid}
.create-dialog::backdrop{background:#2114094d;backdrop-filter:blur(2px)}
.create-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px 14px}.create-head .icon-button{flex:none}
.create-steps{display:flex;align-items:center;gap:8px;min-width:0;overflow:auto;scrollbar-width:none;white-space:nowrap}
.cstep{display:inline-flex;align-items:center;gap:7px;font-size:.82rem;font-weight:600;color:#a89f97}
.cstep i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#efe7df;color:#8a817a;font-size:.75rem;font-style:normal;font-weight:700}
.cstep.active{color:#15100e}
.cstep.active i{background:#ffc52c;color:#15100e}
.cstep.done{color:#15100e}
.cstep.done i{background:#17120f;color:#fff}
.cstep-sep{width:14px;height:2px;background:#eadfd4;border-radius:2px}
.create-join{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:calc(100% - 44px);margin:0 22px 8px;padding:11px 12px;border:1px solid #cbe6e2;border-radius:15px;background:#f0faf8;color:#176f72;text-align:left;font:inherit;font-size:.82rem;cursor:pointer}.create-join:hover{background:#e3f6f2}.create-join-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#d6efea}.create-join span:nth-child(2){min-width:0}.create-join b{display:flex;align-items:center;gap:5px;margin-top:1px;font-size:.77rem}.create-join svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.create-join>b{width:16px;height:16px}
.create-body{min-height:0;padding:4px 22px 8px;overflow:auto;overscroll-behavior:contain}
.create-title{margin:6px 0 4px;font-size:1.45rem;font-weight:700;letter-spacing:-.03em;color:#15100e;display:flex;align-items:center;gap:9px}
.create-sub{margin:2px 0 14px;color:#756e68;font-size:.94rem}
.create-empty{color:#a89f97;text-align:center;padding:26px 0}
.create-search{width:100%;border:0;background:#f2ede8;border-radius:14px;padding:13px 15px;font:inherit;color:#15100e;margin:6px 0 12px}
.create-search:focus{outline:2px solid #ffc52c}
.country-list{display:grid;gap:4px;max-height:46vh;overflow:auto;margin:0 -6px;padding:0 6px}
.country-row{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border:0;background:none;border-radius:14px;padding:12px 12px;color:#15100e;font-weight:600;font-size:1rem}
.country-row:hover{background:#fff3cf}
.cflag{font-size:1.5rem;line-height:1;width:30px;text-align:center}
.cflag-lg{font-size:1.7rem}
.cname{flex:1;min-width:0}
.cgo{color:#c7bdb3;font-size:1.3rem}
.change-country{border:0;background:none;padding:6px 0;color:#756e68;font-weight:600;font-size:.9rem}
.change-country:hover{color:#e85c2b}
.city-chips{display:flex;flex-wrap:wrap;gap:9px;margin:4px 0 18px}
.city-chip{border:1.5px solid #e4ddd6;background:#fff;border-radius:999px;padding:9px 16px;font:inherit;font-weight:600;color:#39312b}
.city-chip:hover{border-color:#ffc52c;background:#fff8e8}
.city-chip.sel{border-color:#17120f;background:#17120f;color:#fff}
.city-custom{display:grid;gap:7px}
.city-custom label{font-size:.84rem;font-weight:600;color:#756e68}
.city-custom input,.invite-row input{width:100%;border:1.5px solid #e4ddd6;background:#fff;border-radius:13px;padding:12px 14px;font:inherit;color:#15100e}
.city-custom input:focus,.invite-row input:focus{outline:0;border-color:#ffc52c}
/* calendar */
.cal{background:#faf6f1;border-radius:20px;padding:16px 16px 10px;margin:6px 0 14px}
.cal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cal-nav strong{font-size:1.05rem;font-weight:700;color:#15100e}
.cal-arrow{width:36px;height:36px;border:0;border-radius:50%;background:#fff;color:#15100e;font-size:1.3rem;box-shadow:0 2px 6px #2816060f}
.cal-arrow:hover{background:#ffc52c}
.cal-dow{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:4px}
.cal-dow span{text-align:center;font-size:.76rem;font-weight:700;color:#a89f97;padding:4px 0}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.cal-cell{aspect-ratio:1;border:0;background:none;border-radius:11px;font:inherit;font-weight:600;font-size:.95rem;color:#39312b;display:grid;place-items:center}
.cal-cell.empty{pointer-events:none}
.cal-cell:not(.empty):not(.picked):hover{background:#fff3cf}
.cal-cell.inrange{background:#fff0c8;border-radius:0}
.cal-cell.picked{background:#17120f;color:#fff}
.cal-cell.start{border-radius:11px 0 0 11px}
.cal-cell.end{border-radius:0 11px 11px 0}
.cal-cell.start.end{border-radius:11px}
.cal-hint{text-align:center;color:#8a817a;font-size:.9rem;margin:4px 0 6px}
.cal-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#ffc52c;border-radius:18px;padding:14px 18px}
.cal-summary span{display:block;font-size:.74rem;font-weight:700;color:#7a5418;letter-spacing:.04em}
.cal-summary strong{font-size:1.02rem;color:#15100e}
.cal-end{text-align:right}
.cal-days{background:#17120f;color:#fff;font-weight:700;border-radius:999px;padding:7px 14px;font-size:.92rem;white-space:nowrap}
/* invite */
.invite-rows{display:grid;gap:9px;margin:4px 0 10px}
.invite-row{display:flex;align-items:center;gap:8px}
.invite-del{flex:none;width:38px;height:38px;border:0;border-radius:11px;background:#f2ede8;color:#8a817a;font-size:1.2rem}
.invite-del:hover{background:#ffe0e0;color:#c0392b}
.invite-add{border:1.5px dashed #d8cfc6;background:none;border-radius:13px;padding:11px;width:100%;color:#756e68;font-weight:600}
.invite-add:hover{border-color:#ffc52c;color:#15100e}
.invite-note{margin:10px 0 0;font-size:.86rem;min-height:1em}
.invite-note.err{color:#c0392b}
.create-foot{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px 20px;border-top:1px solid #efe7df;background:#fff}
.create-foot .ghost-button{border:1.5px solid #e4ddd6;background:#fff;border-radius:999px;padding:11px 20px;font-weight:600;color:#39312b}
.create-foot .primary-button{background:#17120f;border:0;border-radius:999px;padding:12px 26px;color:#fff;font-weight:700;margin-left:auto}
.create-foot .primary-button:disabled{background:#d8cfc6;cursor:not-allowed}
.cal-budget{display:grid;gap:7px;margin-top:14px}
.cal-budget label{font-size:.84rem;font-weight:600;color:#756e68}
.cal-budget input{width:100%;border:1.5px solid #e4ddd6;background:#fff;border-radius:13px;padding:12px 14px;font:inherit;color:#15100e}
.cal-budget input:focus{outline:0;border-color:#ffc52c}
/* confirm delete dialog */
.confirm-dialog{width:min(400px,calc(100% - 28px));border:0;border-radius:24px;padding:28px;box-shadow:0 30px 80px #2a160633;text-align:center}
.confirm-dialog::backdrop{background:#2114094d;backdrop-filter:blur(2px)}
.confirm-dialog h2{margin:4px 0 8px;font-size:1.35rem;font-weight:700;color:#15100e}
.confirm-dialog p{margin:0 0 22px;color:#756e68;font-size:.95rem;line-height:1.6}
.confirm-actions{display:flex;gap:10px;justify-content:center}
.confirm-actions .ghost-button{border:1.5px solid #e4ddd6;background:#fff;border-radius:999px;padding:11px 22px;font:inherit;font-weight:600;color:#39312b;cursor:pointer}
.confirm-actions .danger-button{border:0;border-radius:999px;padding:12px 24px;background:#c0392b;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.confirm-actions .danger-button:hover{background:#a52f22}
@media(max-width:560px){.create-dialog{width:calc(100% - 16px);height:calc(100dvh - 16px);border-radius:22px}.create-head{padding:16px 16px 12px}.create-join{width:calc(100% - 32px);margin:0 16px 8px;padding:10px}.create-body{padding:4px 16px 8px}.create-foot{padding:12px 16px 16px}.cstep{font-size:.76rem}.create-title{font-size:1.25rem}.country-list{max-height:none}.create-foot .ghost-button,.create-foot .primary-button{min-height:44px}}
.city-picked{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}.city-picked small{color:var(--muted,#756e68);font-size:.86rem}.city-picked span{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:#e5f5f5;color:#176d76;font-size:.84rem;font-weight:800}.city-picked button{display:grid;place-items:center;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:#c9e8e8;color:#176d76;font:inherit;font-weight:900;cursor:pointer}.cal-budget label small{display:block;margin-top:3px;color:var(--muted,#756e68);font-size:.72rem;font-weight:600}.cal-budget select{width:100%;min-height:46px;padding:0 12px;border:1px solid var(--line,#e4ddd6);border-radius:12px;background:#fff;color:var(--ink,#14100e);font:inherit;font-size:16px}
