*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f0f4f0;color:#1a1a1a;min-height:100vh}.page{max-width:800px;margin:0 auto;padding:2rem 1rem 4rem}.header{text-align:center;margin-bottom:2rem}.logo{font-size:3rem;margin-bottom:.5rem}.header h1{font-size:1.8rem;color:#1a5c2a;margin-bottom:.25rem}.header p{color:#666;font-size:.95rem}.back{display:inline-block;color:#1a5c2a;text-decoration:none;font-size:.9rem;margin-bottom:1.5rem;font-weight:500}.back:hover{text-decoration:underline}.search-wrap{position:relative;max-width:360px;margin:1.25rem auto 0}.search{width:100%;padding:.65rem 2.5rem .65rem 1rem;border:1.5px solid #d0dbd0;border-radius:10px;font-size:.95rem;background:#fff;outline:none;transition:border-color .15s}.search:focus{border-color:#1a5c2a}.search-clear{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#999;font-size:.85rem;padding:0}.search-clear:hover{color:#333}.no-results{grid-column:1 / -1;text-align:center;color:#888;padding:2rem;font-size:.95rem}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.85rem}.card{background:#fff;border-radius:12px;padding:1.1rem 1.25rem;display:flex;align-items:center;gap:.9rem;text-decoration:none;color:inherit;box-shadow:0 1px 3px #00000012;transition:transform .15s,box-shadow .15s;border:1px solid #e8ede8}.card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.avatar{width:42px;height:42px;border-radius:50%;background:#1a5c2a;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;flex-shrink:0}.avatar.large{width:64px;height:64px;font-size:1.6rem;margin:0 auto .75rem}.card-info h2{font-size:.9rem;font-weight:600}.count{font-size:.78rem;color:#888}.links-section{margin-top:2rem}.links-toggle{width:100%;padding:.75rem;background:#fff;border:1.5px solid #d0dbd0;border-radius:10px;font-size:.9rem;font-weight:500;color:#1a5c2a;cursor:pointer;transition:background .15s}.links-toggle:hover{background:#f0f4f0}.links-list{margin-top:.75rem;background:#fff;border-radius:12px;border:1px solid #e8ede8;overflow:hidden}.links-hint{padding:.75rem 1.25rem;font-size:.82rem;color:#888;border-bottom:1px solid #f0f0f0;margin:0}.link-row{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.25rem;border-bottom:1px solid #f0f0f0;gap:1rem}.link-row:last-child{border-bottom:none}.link-info{display:flex;flex-direction:column;gap:.15rem;overflow:hidden}.link-name{font-size:.9rem;font-weight:600}.link-url{font-size:.75rem;color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.copy-btn{flex-shrink:0;padding:.4rem .9rem;border-radius:7px;border:1.5px solid #1a5c2a;background:#fff;color:#1a5c2a;font-size:.82rem;font-weight:500;cursor:pointer;transition:all .15s;min-width:72px}.copy-btn:hover{background:#1a5c2a;color:#fff}.copy-btn.copied{background:#1a5c2a;color:#fff;border-color:#1a5c2a}.usage-card{background:#fff;border-radius:12px;padding:1rem 1.25rem;margin-bottom:1.25rem;border:1px solid #e8ede8;box-shadow:0 1px 3px #00000012}.usage-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.6rem}.usage-title{font-size:.88rem;font-weight:600;color:#1a1a1a}.usage-limit{font-size:.78rem;color:#999}.usage-bar-track{width:100%;height:8px;background:#eee;border-radius:99px;overflow:hidden;margin-bottom:.55rem}.usage-bar-fill{height:100%;border-radius:99px;transition:width .4s ease}.month-select{width:100%;padding:.5rem .75rem;border:1.5px solid #d0dbd0;border-radius:8px;font-size:.88rem;color:#1a1a1a;background:#fff;margin-bottom:.75rem;cursor:pointer;outline:none;transition:border-color .15s}.month-select:focus{border-color:#1a5c2a}.usage-stats{display:flex;gap:.5rem;font-size:.85rem;color:#555;margin-top:.55rem}.usage-sep{color:#ccc}.sessions{display:flex;flex-direction:column;gap:.75rem}.day-card{background:#fff;border-radius:12px;padding:1rem 1.25rem;box-shadow:0 1px 3px #00000012;border:1px solid #e8ede8}.day-header{display:flex;flex-direction:column;gap:.2rem;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid #f0f4f0}.day-date{font-weight:700;font-size:1rem;color:#1a1a1a}.day-type{font-size:.8rem;color:#888}.day-clips{display:flex;flex-wrap:wrap;gap:.5rem}.watch-btn{background:#1a5c2a;color:#fff;padding:.5rem 1.1rem;border-radius:8px;text-decoration:none;font-size:.85rem;font-weight:500;white-space:nowrap}.watch-btn:hover{background:#154d23}.center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;height:60vh;font-size:1rem;color:#666}.error{color:#c0392b}.empty{text-align:center;color:#888;padding:3rem;background:#fff;border-radius:12px}.spinner{width:28px;height:28px;border:3px solid #ddd;border-top-color:#1a5c2a;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.metrics-section{background:#fff;border-radius:14px;padding:1.25rem;margin-bottom:1.5rem;border:1px solid #e8ede8;box-shadow:0 1px 3px #00000012}.metrics-header{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:1.25rem}.metrics-title{font-size:1rem;font-weight:700;color:#1a5c2a}.metrics-sessions{font-size:.78rem;color:#999}.progress-section{margin-bottom:1.25rem}.section-title{font-size:.82rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#999;margin-bottom:.75rem}.chart-card{background:#fafcfa;border-radius:10px;padding:1rem .75rem .5rem;margin-bottom:.75rem;border:1px solid #eef2ee}.chart-title{font-size:.82rem;font-weight:600;color:#555;margin-bottom:.5rem}.snapshot-title{font-size:.82rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#999;margin-bottom:.75rem}.snapshot-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.75rem}@media (max-width: 480px){.snapshot-grid{grid-template-columns:1fr}}.gauge-card{background:#fafcfa;border-radius:10px;padding:1rem;border:1px solid #eef2ee;text-align:center}.gauge-label{font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#999;margin-bottom:.4rem}.gauge-value{font-size:2.2rem;font-weight:800;line-height:1;margin-bottom:.6rem}.gauge-bar-track{height:7px;background:#eee;border-radius:99px;overflow:hidden;margin-bottom:.35rem}.gauge-bar-fill{height:100%;border-radius:99px;transition:width .5s ease}.gauge-sublabel{font-size:.75rem;color:#aaa}.breakdown-card{background:#fafcfa;border-radius:10px;padding:1rem;border:1px solid #eef2ee}.breakdown-title{font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#999;margin-bottom:.6rem}.breakdown-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.4rem}.breakdown-name{font-size:.78rem;color:#555;min-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.breakdown-track{flex:1;height:6px;background:#eee;border-radius:99px;overflow:hidden}.breakdown-fill{height:100%;border-radius:99px;transition:width .5s ease}.breakdown-pct{font-size:.75rem;color:#888;min-width:28px;text-align:right}.speed-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.6rem}.speed-card{background:#fafcfa;border-radius:10px;padding:.75rem .6rem;border:1px solid #eef2ee;text-align:center}.speed-stroke{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#999;margin-bottom:.3rem}.speed-value{font-size:1.3rem;font-weight:700;color:#1a5c2a}.speed-value span{font-size:.7rem;font-weight:400;color:#aaa}.serve-accuracy{font-size:.75rem;font-weight:600;color:#e67e22;margin-top:.2rem}.custom-tooltip{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:.5rem .75rem;box-shadow:0 2px 8px #0000001a;text-align:center}.custom-tooltip-label{font-size:.75rem;color:#888;margin-bottom:.2rem}.custom-tooltip-value{font-size:.85rem;font-weight:600;color:#1a1a1a}.custom-tooltip-pct{font-size:1rem;font-weight:700;color:#e67e22}.metrics-loading{display:flex;align-items:center;gap:.75rem;background:#fff;border-radius:14px;padding:1.25rem;margin-bottom:1.5rem;border:1px solid #e8ede8;color:#888;font-size:.9rem}.history-note{font-size:.78rem;color:#999;text-align:center;margin-bottom:1.25rem}.history-note a{color:#1a5c2a;text-decoration:none;font-weight:500}.history-note a:hover{text-decoration:underline}
