:root{font-family:'IBM Plex Sans Thai',Tahoma,sans-serif;color:#342749;background:#f8f5ff;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 10% 0,#e9dfff 0,transparent 26%),radial-gradient(circle at 95% 30%,#f4e6ff 0,transparent 27%),#f8f5ff}button,input,select{font:inherit}button{cursor:pointer}.app{max-width:1400px;margin:auto;padding:26px 26px 70px}.hero{min-height:190px;display:flex;justify-content:space-between;align-items:center;gap:24px;position:relative;overflow:hidden;border-radius:30px;padding:34px 42px;background:linear-gradient(110deg,#eee5ff,#f4e9ff 59%,#ffeefa);border:1px solid #dfd0f7;box-shadow:0 18px 45px #7555a417}.hero:before{content:'';position:absolute;width:310px;height:310px;border-radius:50%;border:48px solid #ffffff55;right:-110px;top:-160px}.eyebrow,.section-kicker{font-size:11px;letter-spacing:.17em;font-weight:700;color:#8d60be}.hero h1{margin:8px 0 5px;font-size:clamp(32px,4.4vw,54px);letter-spacing:-.055em;line-height:1.15;color:#3b2859}.hero p{margin:0;color:#766488;font-size:15px}.hero-mark{position:relative;z-index:1;display:flex;align-items:center;gap:11px;color:#9d6dc9;font-size:50px;font-weight:700;line-height:1}.hero-mark span{font-size:17px;line-height:1.12;letter-spacing:.04em;text-transform:uppercase}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.stat{padding:20px 23px;border:1px solid #e8def4;border-radius:21px;background:#fff;box-shadow:0 9px 28px #6c4a920d}.stat span{display:block;font-size:12px;color:#806f91;font-weight:600}.stat strong{display:block;margin:5px 0;color:#513673;font-size:34px;line-height:1.15}.stat small{color:#a194ad;font-size:11px}.stat.accent{background:#7751ae;border-color:#7751ae}.stat.accent span,.stat.accent strong,.stat.accent small{color:#fff}.layout{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:18px}.sidebar,.main-column{display:grid;gap:18px;min-width:0}.panel{padding:23px;border:1px solid #e7def3;border-radius:23px;background:#fff;box-shadow:0 12px 34px #6c4a920e}.section-head,.calendar-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.panel h2{margin:3px 0 0;font-size:20px;letter-spacing:-.03em;color:#3f2c5b}.muted{color:#9789a4;font-size:13px;margin:10px 0 20px}.soft-button{border:1px solid #dccbf2;border-radius:9px;background:#f5eeff;color:#744ca7;padding:6px 11px;font-size:12px;font-weight:700}.soft-button:hover{background:#ebddfb}.clip-form{display:grid;gap:9px}.clip-form label{font-size:12px;color:#645273;font-weight:700;margin-top:5px}.clip-form input,.clip-form select,.decision-select{min-width:0;width:100%;padding:11px 12px;border:1px solid #ded1eb;border-radius:11px;background:#fdfbff;color:#3b2b52;outline:none}.clip-form input:focus,.clip-form select:focus,.decision-select:focus{border-color:#a178d0;box-shadow:0 0 0 3px #eee2fb}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.two-fields>div{min-width:0}.two-fields label{display:block;margin-bottom:8px}.primary{margin-top:9px;border:0;border-radius:11px;background:#7851ad;color:#fff;padding:12px 16px;font-weight:700;box-shadow:0 7px 17px #7851ad2c}.primary:hover{background:#654198}.notes-panel{background:#fbf8ff}.notes-panel p{font-size:13px;color:#83738f;line-height:1.7;margin:10px 0 0}.notes-panel .storage-note{padding-top:13px;margin-top:14px;border-top:1px solid #eee4f7;font-size:11px}.calendar-panel{padding:22px}.calendar-head{align-items:center;margin-bottom:18px}.calendar-head h2{font-size:26px}.month-actions{display:flex;gap:7px}.month-actions button{width:37px;height:37px;border:1px solid #e2d5f0;border-radius:10px;background:#f8f3ff;color:#6c489d;font-size:26px;line-height:1}.month-actions button:hover{background:#ebdefb}.calendar-scroll{overflow-x:auto}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:630px;border-top:1px solid #e7dcf2;border-left:1px solid #e7dcf2;border-radius:12px;overflow:hidden}.weekday{padding:10px 6px;text-align:center;background:#f4edfc;color:#6e5883;font-size:12px;font-weight:700;border-right:1px solid #e7dcf2;border-bottom:1px solid #e7dcf2}.day{min-height:116px;border:0;border-right:1px solid #e7dcf2;border-bottom:1px solid #e7dcf2;background:#fff;text-align:left;padding:9px;display:flex;flex-direction:column;gap:4px;min-width:0}.day:hover{background:#fcf9ff}.day.outside{background:#faf8fd;color:#baadc6}.day.selected{background:#f4ebff;box-shadow:inset 0 0 0 2px #aa84d3}.day.today .day-number{background:#7951af;color:#fff}.day-number{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;font-size:12px;font-weight:700;color:#69527c}.day-chip{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:3px 6px;border-radius:5px;font-size:10px;background:#e9dcfa;color:#69439a}.day-chip.plan{background:#f5ebd9;color:#8b682f}.more{font-size:10px;color:#9284a1}.legend{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin:14px 2px 0;font-size:11px;color:#8a7a9c}.legend span{display:flex;align-items:center;gap:6px}.dot{width:8px;height:8px;border-radius:50%;display:inline-block}.dot.posted{background:#9b71c9}.dot.planned{background:#dbb979}.list-count{padding:6px 10px;border-radius:999px;background:#f2eafb;color:#7650a7;font-size:12px;font-weight:700}.clip-list{display:grid;gap:10px;margin-top:18px}.empty{text-align:center;padding:30px 15px;border:1px dashed #ddceed;border-radius:14px;background:#fcfaff;color:#9889a8;font-size:13px}.clip-item{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(115px,145px) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #eae1f3;border-radius:14px;background:#fefcff}.clip-check{width:20px;height:20px;accent-color:#8057b5}.clip-info{min-width:0}.clip-name{display:block;font-size:14px;font-weight:700;color:#47335f;overflow-wrap:anywhere}.clip-item.is-planned .clip-name{color:#81718d}.clip-meta{display:block;margin-top:2px;font-size:11px;color:#9b8ca9}.decision-select{padding:8px 9px;font-size:12px;background:#fff}.delete{border:0;background:#fff0f6;color:#b26a91;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:700}.delete:hover{background:#fbe0ec}.clip-check:focus-visible,.day:focus-visible,button:focus-visible{outline:3px solid #ad85d7;outline-offset:2px}@media(max-width:1000px){.layout{grid-template-columns:260px minmax(0,1fr)}.panel{padding:18px}.day{min-height:105px}}@media(max-width:800px){.layout{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr 1fr}.calendar{min-width:630px}.day{min-height:100px}}@media(max-width:580px){.app{padding:14px 12px 45px}.hero{padding:27px 22px;min-height:0;border-radius:23px}.hero-mark{display:none}.hero h1{font-size:34px}.hero p{font-size:13px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0}.stat{padding:14px 16px;border-radius:16px}.stat strong{font-size:27px}.sidebar{grid-template-columns:1fr}.notes-panel{display:none}.panel{border-radius:18px}.calendar-head h2{font-size:22px}.clip-item{grid-template-columns:auto minmax(0,1fr) auto}.decision-select{grid-column:2/3;width:100%}}
.calendar .day{height:100%;min-height:116px}.calendar .day-chip{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4;width:100%;font-size:11px;padding:4px 6px}
.backup-panel p{margin:9px 0 13px;color:#83738f;font-size:13px;line-height:1.6}.backup-actions{display:grid;gap:8px}.backup-actions .soft-button{text-align:left;padding:10px 12px}.backup-panel .backup-message{margin:12px 0 0;color:#6d4c98;font-weight:600}.filter-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-3px 0 17px;padding:11px 13px;border:1px solid #e8dff3;border-radius:12px;background:#faf7ff}.filter-bar label{font-size:12px;font-weight:700;color:#725c87}.filter-bar select{min-width:160px;padding:7px 10px;border:1px solid #d9c8ec;border-radius:9px;background:#fff;color:#50396d;font:inherit;font-size:12px}.filter-bar select:focus{outline:3px solid #eadcf9}.filter-bar span{margin-left:auto;color:#8a78a0;font-size:11px}@media(max-width:580px){.filter-bar select{flex:1}.filter-bar span{width:100%;margin-left:0}}
[hidden]{display:none!important}.month-summary{margin:5px 0 0;color:#8c72a6;font-size:12px;font-weight:600}.view-switch{display:inline-flex;gap:4px;padding:4px;margin:0 0 16px;border:1px solid #e5d9f1;border-radius:12px;background:#f7f1fe}.view-switch button{border:0;border-radius:9px;padding:8px 14px;background:transparent;color:#806a96;font-size:12px;font-weight:700}.view-switch button[aria-pressed="true"]{background:#7952ae;color:#fff;box-shadow:0 4px 12px #7952ae35}.year-hint{margin:0 0 14px;color:#8b7a9c;font-size:12px}.year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.year-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:143px;padding:16px;border:1px solid #e8def3;border-radius:16px;background:#fdfbff;text-align:left;transition:transform .15s,border-color .15s,box-shadow .15s}.year-card:hover{transform:translateY(-2px);border-color:#bca0dd;box-shadow:0 10px 24px #7952ae18}.year-month{font-size:13px;font-weight:700;color:#6d5286}.year-card strong{margin:8px 0 2px;color:#6f48a5;font-size:25px;line-height:1.1}.year-note{font-size:11px;color:#9485a2}.year-bar{display:block;width:100%;height:6px;margin-top:auto;border-radius:99px;background:#eee5f7;overflow:hidden}.year-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#aa80d7,#7952ae)}@media(max-width:1000px){.year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:580px){.year-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.year-card{min-height:132px;padding:12px}.year-card strong{font-size:21px}.year-note{font-size:10px}}
.shopee-toggle{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;margin-top:7px;padding:4px 8px;border:1px solid #f0d8cb;border-radius:8px;background:#fff7f1;color:#a6572e;font-size:11px;font-weight:700;cursor:pointer}.shopee-toggle input{width:15px;height:15px;margin:0;accent-color:#df7440}.shopee-toggle:has(input:checked){background:#ffe9db;border-color:#eeb795}.shopee-toggle:focus-within{outline:3px solid #f4c5a9;outline-offset:2px}
.calendar .day-chip.shopee{background:#fff0e7;color:#9b4925;border-left:3px solid #e7733f;padding-left:4px}.dot.shopee{background:#e7733f}
.calendar .day-chip,.calendar .day-chip.plan{background:#eadbfb;color:#64418b;border-left:0;padding-left:6px}.calendar .day-chip.shopee{background:linear-gradient(110deg,#ffd0ac 0%,#f8c7ce 46%,#ddc9fb 100%);color:#693d69;border-left:3px solid #e7733f;padding-left:4px}.dot.pending-shopee{background:#a77ad2}.dot.shopee{background:linear-gradient(135deg,#ed7948 0%,#b580db 100%)}
.calendar .day-chip.plan:not(.shopee){background:#fff0cf;color:#845f20}.dot.planned{background:#e6be68}.bulk-shopee{width:100%;margin:-7px 0 17px;padding:10px 12px;border:1px solid #edc0a6;border-radius:10px;background:#fff0e7;color:#a14c25;font-weight:700;font-size:12px;text-align:center}.bulk-shopee:hover{background:#ffe1cf}.bulk-message{margin:-9px 0 15px;color:#a14c25;font-size:11px;line-height:1.5}
.bulk-box{margin:-7px 0 17px;padding:12px;border:1px solid #f0d8cb;border-radius:12px;background:#fffaf6}.bulk-box label{display:block;margin-bottom:7px;color:#8f5b43;font-size:11px;font-weight:700}.bulk-box input{width:100%;padding:9px 10px;border:1px solid #e8c9b8;border-radius:9px;background:#fff;color:#5a3d4d;font:inherit}.bulk-box input:focus{outline:3px solid #f7dfd1}.bulk-box .bulk-shopee{margin:9px 0 0}.bulk-box .bulk-message{margin:8px 0 0}
.year-platform-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 17px}.platform-stat{padding:17px 19px;border:1px solid #e6d9f2;border-radius:16px;background:#f8f2ff}.platform-stat.shopee{border-color:#f0c8b1;background:linear-gradient(120deg,#fff0e5,#f1e5ff)}.platform-stat span{display:block;color:#755591;font-size:12px;font-weight:700}.platform-stat.shopee span{color:#9d5838}.platform-stat strong{display:block;margin:4px 0;color:#7047a5;font-size:32px;line-height:1.15}.platform-stat.shopee strong{color:#a75331}.platform-stat small{color:#9686a3;font-size:10px;line-height:1.4}.year-platform-line{display:block;margin-top:6px;color:#775594;font-size:11px;font-weight:700}@media(max-width:580px){.year-platform-stats{gap:8px}.platform-stat{padding:12px}.platform-stat strong{font-size:26px}.platform-stat small{font-size:9px}}
.install-panel{background:linear-gradient(135deg,#faf6ff,#fff8fc)}.install-panel p{margin:10px 0 0;color:#7f6b91;font-size:12px;line-height:1.7}.install-panel strong{color:#6e4a9a}@media(max-width:800px){.install-panel{grid-column:1/-1}}
.sync-status{display:inline-flex;align-items:center;gap:7px;margin-top:14px;padding:5px 11px;border:1px solid #d7c5ee;border-radius:99px;background:#ffffffa8;color:#705294;font-size:11px;font-weight:700}.sync-status::before{content:'';width:7px;height:7px;border-radius:50%;background:#b394d5}.sync-status[data-state="ok"]::before{background:#55af78}.sync-status[data-state="error"]::before{background:#d98769}
.auth-gate{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:24px;overflow:auto;background:radial-gradient(circle at 15% 10%,#e1d0fa 0,transparent 32%),radial-gradient(circle at 85% 85%,#f7dfee 0,transparent 34%),#f7f1fe}.auth-card{width:min(100%,440px);padding:36px;border:1px solid #e7d6f5;border-radius:28px;background:#ffffffeb;box-shadow:0 24px 70px #67428a2b}.auth-card h1{margin:10px 0;font-size:clamp(26px,5vw,34px);line-height:1.22;color:#482e67}.auth-card p{color:#78688b;font-size:13px;line-height:1.65}.auth-form{display:grid;gap:9px;margin-top:24px}.auth-form label{color:#614b78;font-size:12px;font-weight:700}.auth-form input{width:100%;padding:12px 14px;border:1px solid #d9c8ea;border-radius:11px;background:#fff;color:#3b2b52}.auth-form .soft-button{padding:11px}.auth-message{min-height:21px;margin-bottom:0;color:#9b4679!important}.auth-notice{margin-top:16px;padding:12px;border-radius:10px;background:#fff1df;color:#8a5727;font-size:12px;line-height:1.5}.account-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;color:#725493;font-size:11px}.account-line button{padding:4px 9px;border:1px solid #d9c5ee;border-radius:8px;background:#ffffffaa;color:#6e4c97;font-size:11px;font-weight:700}
