:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#183248;background:#f6f8fa;font-size:17px;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh}
a{color:inherit;text-underline-offset:3px}button,input,select,textarea{font:inherit}button,select,input[type="date"]{min-height:44px}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #dfad18;outline-offset:3px}
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
.page{min-height:100vh;display:flex;flex-direction:column}
.header{background:#173954;color:#fff}.header-inner,.footer-inner{width:min(1200px,100%);margin:auto;padding:18px clamp(18px,4vw,40px);display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.brand,.tool-name{text-decoration:none;font-size:clamp(22px,2.8vw,30px);font-weight:750;letter-spacing:.01em;line-height:1.2}.brand img{display:block;height:38px;width:auto;max-width:100%}.header-divider{height:34px;width:2px;background:#ffffff70}.tool-name:hover,.footer a:hover{text-decoration:underline}
.main{width:min(1200px,100%);margin:0 auto;flex:1;padding:clamp(25px,4vw,52px) clamp(18px,4vw,40px) 70px}
h1{font-size:clamp(34px,4vw,48px);line-height:1.13;letter-spacing:-.02em;margin:0}h2{font-size:clamp(25px,3vw,32px);line-height:1.2;margin:0}h3{font-size:20px;margin:0 0 12px}.hint{color:#65788a;font-size:18px;margin:7px 0 0}
.main-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:26px}.heading-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
button{border-radius:12px;font-weight:650;line-height:1.2;transition:background .15s,border-color .15s,transform .15s}.button-quiet{border:1px solid #d6e0e9;color:#22465f;background:#fff;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.button-quiet:hover,.button-light:hover{background:#eef5fb;border-color:#a7c2d5}.music-button[aria-pressed="true"]{background:#fff4d3;border-color:#e5c770;color:#664e16}.button-primary{background:#173954;border:2px solid #173954;color:#fff;padding:11px 18px;white-space:nowrap;display:inline-flex;gap:7px;align-items:center;justify-content:center}.button-primary:hover{background:#285979;border-color:#285979}
.warning{background:#fff1e3;color:#7d391f;border:1px solid #edc7b0;padding:13px 18px;border-radius:12px;margin-bottom:18px}
.summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.summary-item{min-height:110px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:18px 24px;background:#fff;border:1px solid #e0e7ec;border-radius:16px;box-shadow:0 2px 11px #18324806}.summary-item:nth-child(1){border-top:4px solid #a9d8d0}.summary-item:nth-child(2){border-top:4px solid #f7beaa}.summary-item:nth-child(3){border-top:4px solid #efd48c}.summary-number{font-size:clamp(30px,4vw,40px);font-weight:750;line-height:1.05;letter-spacing:-.025em}.summary-title{font-size:16px;color:#516579;margin-top:6px}
.list-panel{background:#fff;border:1px solid #e0e7ec;border-radius:18px;box-shadow:0 4px 16px #18324808;overflow:hidden}.toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #e4ebf0;flex-wrap:wrap}.tabs,.toolbar-actions{display:flex;align-items:center;gap:8px}.tabs{gap:3px}.tab{border:0;border-radius:10px;background:transparent;color:#607385;padding:10px 12px;display:flex;align-items:center;gap:7px;white-space:nowrap}.tab:hover{background:#f2f6f9}.tab.active{color:#173954;background:#e9f2f6}.tab-count{font-size:13px;border-radius:10px;padding:2px 6px;background:#edf2f6;color:#536b7b}.tab.active .tab-count{background:#d4e8ef;color:#244b63}.search-wrap{display:flex;align-items:center;position:relative}.search-symbol{position:absolute;left:12px;font-size:27px;color:#728394;line-height:1}.search-wrap input{width:190px;max-width:100%;padding:10px 12px 10px 34px;background:#f9fbfc;border:1px solid #d7e0e8;border-radius:10px;color:#183248;min-height:45px}.search-wrap input::placeholder{color:#778a9b}
.package-list{padding:18px;display:flex;flex-direction:column;gap:13px}.package-card{border:1px solid #dfe7ed;border-left:5px solid #9fd7cf;border-radius:14px;background:#fff;padding:17px 18px 14px;box-shadow:0 1px 5px #12283e04}.package-card.action{border-left-color:#efad97}.package-card.completed{border-left-color:#e4cd8f;background:#fffefa}.card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.status-indicator{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:700;color:#53746e}.status-indicator::before{content:"";width:9px;height:9px;border-radius:50%;background:#8bc7bc}.package-card.action .status-indicator{color:#9f5340}.package-card.action .status-indicator::before{background:#edaa92}.package-card.completed .status-indicator{color:#8b723b}.package-card.completed .status-indicator::before{background:#d8b969}.card-top-right{display:flex;align-items:center;gap:9px}.date-badge{display:inline-flex;border-radius:20px;background:#fff1e9;color:#a65032;padding:4px 10px;font-size:13px;font-weight:750}.date-badge.today{background:#fff4d9;color:#92691c}.remove-button{background:transparent;border:1px solid transparent;color:#788b99;font-size:14px;padding:7px 10px;min-height:36px}.remove-button:hover{border-color:#edd6d0;background:#fff0ed;color:#9e4436}
.fields-grid{display:grid;grid-template-columns:minmax(160px,1.7fr) minmax(130px,1.3fr) minmax(140px,1fr) minmax(180px,1.45fr);gap:12px}.field{min-width:0;display:flex;flex-direction:column;gap:5px}.field-label{font-size:13px;color:#536b7f;font-weight:750;letter-spacing:.02em}.field input,.field select,.field textarea{width:100%;min-width:0;color:#183248;border:1px solid #d8e2e8;border-radius:9px;padding:9px 11px;background:#fcfdfe;min-height:44px;font-size:16px}.field input::placeholder,.field textarea::placeholder{color:#98a6b4}.field select{appearance:auto;padding-right:6px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#79a4bb;background:#fff}.field textarea{resize:vertical;min-height:70px}.custom-fields{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:12px 0 0}.custom-fields .field{flex:1 1 220px}.custom-fields .field.short{flex:0 1 190px}.extra-details{border-top:1px solid #edf1f4;margin-top:15px;padding-top:11px}.extra-details summary{cursor:pointer;display:inline-flex;align-items:center;color:#44647c;font-weight:650;font-size:14px;min-height:32px;user-select:none;list-style:none}.extra-details summary::-webkit-details-marker{display:none}.extra-details summary::before{content:"＋";margin-right:7px}.extra-details[open] summary::before{content:"−"}.extra-details .details-fields{display:grid;grid-template-columns:1fr 1.2fr 1.4fr;gap:12px;padding-top:10px}.tracking-link{font-size:14px;display:inline-block;margin-top:6px;font-weight:650;color:#286388;text-decoration:underline;text-underline-offset:3px}.empty-state{text-align:center;padding:55px 20px 65px;color:#647889;font-size:19px}.empty-icon{font-size:40px;display:block}.empty-state p{margin:9px 0 0}
.footer{border-top:1px solid #dbe2e8;background:#fff;color:#35516a;font-size:18px}.footer-inner{justify-content:space-between;gap:12px 24px}.footer-links{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center}.footer a{font-weight:650}.footer-links span{color:#64788b}
.settings-dialog{width:min(94vw,560px);max-height:min(88vh,850px);overscroll-behavior:contain;border:1px solid #d7e0e9;border-radius:18px;box-shadow:0 25px 80px #142c4440;color:#183248;padding:26px 28px;background:#fff}.settings-dialog::backdrop{background:#0e253b91}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-close{min-height:42px;min-width:42px;background:#f2f6f9;color:#38556d;border:0;border-radius:12px;font-size:28px;font-weight:400}.setting-group{padding:19px 0;border-top:1px solid #e7edf1}.setting-group label,.setting-label{font-weight:700}.setting-group select{width:100%;display:block;margin-top:9px;border:1px solid #ccd9e2;border-radius:10px;background:#fff;color:#183248;padding:9px 12px}.setting-hint{font-size:14px;line-height:1.5;color:#6a7d8f;margin:8px 0 0}.sound-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.switch-input{width:22px;height:22px;accent-color:#173954;cursor:pointer}.backup-actions{display:flex;gap:9px;flex-wrap:wrap}.button-light{border:1px solid #c9d8e1;color:#1b435d;background:#fff;padding:10px 14px;font-size:16px}.button-danger{background:transparent;color:#a34235;border:1px solid #d9bbb4;padding:10px 14px;font-size:15px}.button-danger:hover{background:#fff0ec}.setting-last{padding-bottom:0}
.toast{position:fixed;z-index:15000;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:min(90vw,500px);min-width:200px;padding:12px 20px;border-radius:12px;background:#183248;color:#fff;box-shadow:0 5px 28px #18324855;text-align:center;transition:transform .18s,opacity .18s;font-size:16px}.toast.visible{opacity:1;transform:translate(-50%,0)}
.privacy-main{max-width:850px;padding-top:40px;padding-bottom:70px}.privacy-main p{font-size:18px;margin:0 0 18px;max-width:75ch}.privacy-main h1{margin:10px 0 23px}.privacy-main h2{margin:30px 0 12px;font-size:27px}.privacy-main code{overflow-wrap:anywhere}#analyticsManageWrap{margin:22px 0}#analyticsManageWrap button{background:#173954;color:#fff;padding:11px 18px;border:2px solid #173954;border-radius:10px}
@media(max-width:1050px){.fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar-actions{flex:1;justify-content:flex-end}.search-wrap input{width:165px}}
@media(max-width:680px){.header-inner{gap:12px}.header-divider{height:28px}.brand,.tool-name{font-size:22px}.brand img{height:33px}.main-heading{align-items:flex-start}.heading-actions{width:100%}.summary{gap:8px}.summary-item{padding:14px 12px;min-height:93px}.summary-number{font-size:30px}.summary-title{font-size:13px}.toolbar{padding:13px}.tabs{width:100%;justify-content:space-between}.toolbar-actions{width:100%;justify-content:stretch}.search-wrap{flex:1;min-width:0}.search-wrap input{width:100%}.package-list{padding:12px}.package-card{padding:14px 12px 12px}.fields-grid{gap:10px}.extra-details .details-fields{grid-template-columns:1fr}.footer-inner{align-items:flex-start;flex-direction:column}.settings-dialog{padding:21px 20px}}
@media(max-width:420px){.fields-grid{grid-template-columns:1fr}.toolbar-actions{flex-wrap:wrap}.toolbar-actions .button-primary{flex:1}.heading-actions .button-quiet{flex:1}.tab{padding:10px 7px}.card-top{align-items:flex-start}.summary-title{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
