/* RyukooLook request studio. All styling is scoped to the existing section. */
#tb-requests { --rq-paper:var(--paper,#f5f2ec); --rq-surface:var(--surface,#fffdf9); --rq-soft:var(--soft,#686a64); --rq-ink:var(--ink,#20211f); --rq-line:var(--line,#dfdbd2); --rq-accent:var(--accent,#c7654a); min-width:0; margin-top:24px; scroll-margin-top:140px; }
#tb-requests [hidden] { display:none!important; }
#tb-requests .tb-requests-summary { display:flex; justify-content:space-between; align-items:center; gap:20px; cursor:pointer; list-style:none; }
#tb-requests summary::-webkit-details-marker { display:none; }
#tb-requests summary::marker { content:""; }
#tb-requests .tb-eyebrow { display:block; margin-bottom:9px; font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--rq-accent); }
#tb-requests .tb-requests-title { display:block; font-size:clamp(23px,3vw,30px); font-weight:650; letter-spacing:-.035em; }
#tb-requests .tb-requests-chevron { display:grid; place-items:center; width:36px; height:36px; border:1px solid var(--rq-line); border-radius:50%; font-size:24px; transition:transform .2s; }
#tb-requests details[open] .tb-requests-chevron { transform:rotate(45deg); }
#tb-requests .tb-requests-intro { max-width:640px; margin:20px 0 26px; color:var(--rq-soft); font-size:13px; line-height:1.7; }
#tb-requests .tb-requests-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:0 0 20px; border-bottom:1px dashed var(--rq-line); }
#tb-requests [role="tablist"] { display:flex; gap:4px; padding:4px; background:var(--surface-soft,#f0ece4); border:1px solid var(--rq-line); border-radius:99px; }
#tb-requests [role="tab"] { border:0; border-radius:99px; background:transparent; padding:10px 22px; color:var(--rq-soft); font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
#tb-requests [role="tab"][aria-selected="true"] { background:var(--rq-surface); color:var(--rq-ink); box-shadow:0 2px 6px #20211f0d; }
#tb-requests .tb-request-filters { display:grid; grid-template-columns:minmax(160px,1fr) minmax(150px,.65fr); gap:12px; flex-basis:100%; }
#tb-requests .tb-request-filters input,#tb-requests .tb-request-filters select { width:100%; min-width:0; min-height:44px; border:1px solid var(--rq-line); border-radius:11px; background:var(--rq-surface); color:var(--rq-ink); font:inherit; font-size:12px; padding:10px 13px; }
#tb-requests .tb-requests-status { margin:18px 0; color:var(--rq-soft); font-size:12px; line-height:1.6; }
#tb-requests .tb-requests-status.error { color:#a34235; }
#tb-requests .tb-requests-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:22px; align-items:start; }
#tb-requests-list { list-style:none; margin:0; padding:0; }
#tb-requests .tb-request-row { padding:0; margin:0 0 11px; }
#tb-requests .tb-request-select { display:grid; grid-template-columns:38px minmax(0,1fr) 15px; align-items:start; gap:12px; width:100%; padding:18px 15px; text-align:left; background:var(--rq-surface); color:var(--rq-ink); border:1px solid var(--rq-line); border-radius:15px; cursor:pointer; font:inherit; transition:border-color .15s,box-shadow .15s; }
#tb-requests .tb-request-select:hover { border-color:#b5ada0; box-shadow:0 5px 18px #20211f08; }
#tb-requests .tb-request-select[aria-pressed="true"] { border-color:var(--rq-accent); box-shadow:inset 3px 0 var(--rq-accent); background:linear-gradient(110deg,#c7654a08,transparent),var(--rq-surface); }
#tb-requests .tb-request-mark { display:grid; place-items:center; width:36px; height:36px; border:1px dashed #cbb9a6; border-radius:12px; background:var(--rq-paper); color:var(--rq-accent); font-size:17px; }
#tb-requests .tb-request-card-copy { display:grid; justify-items:start; gap:7px; min-width:0; }
#tb-requests .tb-request-card-copy strong { font-size:15px; letter-spacing:-.02em; }
#tb-requests .tb-request-card-eyebrow { color:var(--rq-soft); font-size:9px; letter-spacing:.1em; text-transform:uppercase; }
#tb-requests .tb-request-card-copy small { color:var(--rq-soft); font-size:10px; line-height:1.5; }
#tb-requests .tb-request-card-arrow { color:var(--rq-soft); font-size:14px; }
#tb-requests .tb-request-badge { display:inline-block; padding:4px 8px; border-radius:99px; background:#eee8db; color:#74603e; font-size:10px; font-weight:600; }
#tb-requests .tb-request-badge[data-status="ACCEPTED"],#tb-requests .tb-request-badge[data-status="COMPLETED"] { background:var(--green-soft,#e7f1ec); color:var(--green,#2e7258); }
#tb-requests .tb-request-badge[data-status="DECLINED"],#tb-requests .tb-request-badge[data-status="CANCELLED"] { background:var(--surface-soft,#f0ece4); color:var(--rq-soft); }
#tb-requests-detail:not(:empty) { padding:26px; border:1px solid var(--rq-line); border-radius:18px; background:var(--rq-surface); overflow-wrap:anywhere; }
#tb-requests .tb-request-eyebrow { margin:0 0 12px; color:var(--rq-accent); font-size:9px; font-weight:600; letter-spacing:.12em; }
#tb-requests-detail h3 { margin:0 0 12px; font-size:25px; font-weight:650; letter-spacing:-.035em; }
#tb-requests .tb-request-description { margin:0 0 18px; color:var(--rq-soft); font-size:12px; line-height:1.7; }
#tb-requests .tb-request-detail-status { padding:11px 13px; border-radius:9px; background:var(--rq-paper); font-size:12px; line-height:1.6; }
#tb-requests .tb-request-detail-status[data-status="ACCEPTED"],#tb-requests .tb-request-detail-status[data-status="COMPLETED"] { color:var(--green,#2e7258); background:var(--green-soft,#e7f1ec); }
#tb-requests .tb-request-fields { display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px 20px; margin:22px 0; font-size:12px; }
#tb-requests dt { color:var(--rq-soft); }
#tb-requests dd { margin:0; text-align:right; }
#tb-requests .tb-request-look { display:flex; align-items:center; gap:13px; padding:16px 0; margin:12px 0; border-block:1px dashed var(--rq-line); color:inherit; text-decoration:none; }
#tb-requests .tb-request-look>span:nth-child(2) { flex:1; display:grid; gap:5px; }
#tb-requests .tb-request-look strong { font-size:13px; }
#tb-requests .tb-request-look small { color:var(--rq-soft); font-size:10px; line-height:1.5; }
#tb-requests .tb-request-look-symbol { display:grid; place-items:center; width:42px; height:48px; border-radius:8px; background:var(--surface-soft,#f0ece4); font-size:27px; }
#tb-requests .tb-request-actions { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0; }
#tb-requests .tb-request-actions p { flex-basis:100%; font-size:12px; line-height:1.7; }
#tb-requests .tb-action { min-height:44px; border:1px solid var(--rq-line); border-radius:10px; padding:10px 15px; background:transparent; color:var(--rq-ink); font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
#tb-requests [data-action="ACCEPTED"],#tb-requests [data-action="COMPLETED"] { background:var(--rq-ink); color:var(--rq-surface); border-color:var(--rq-ink); }
#tb-requests [data-action="DECLINED"],#tb-requests [data-action="CANCELLED"] { color:#a34235; }
#tb-requests .tb-request-timeline { list-style:none; padding:16px 0 0; margin:24px 0 16px; border-top:1px solid var(--rq-line); }
#tb-requests .tb-request-timeline li { display:grid; gap:5px; position:relative; padding:0 0 16px 20px; border-left:1px solid var(--rq-line); margin-left:3px; }
#tb-requests .tb-request-timeline li::before { content:""; position:absolute; top:3px; left:-4px; width:7px; height:7px; border-radius:50%; background:var(--rq-accent); }
#tb-requests .tb-request-timeline strong { font-size:11px; font-weight:600; }
#tb-requests .tb-request-timeline small { color:var(--rq-soft); font-size:10px; }
#tb-requests .tb-request-reference { font-size:9px; color:var(--faint,#989990); }
#tb-requests .tb-request-note,#tb-requests .tb-request-filter-empty { margin:18px 0 8px; color:var(--rq-soft); font-size:11px; line-height:1.7; }
#tb-requests .tb-request-empty { min-height:260px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; }
#tb-requests .tb-request-empty-mark { display:grid; place-items:center; width:60px; height:60px; border:1px dashed #cbb9a6; border-radius:50%; color:var(--rq-accent); margin-bottom:22px; font-size:25px; }
#tb-requests .tb-request-empty h3 { font-size:22px; max-width:260px; }
#tb-requests .tb-request-empty p { color:var(--rq-soft); font-size:12px; line-height:1.7; max-width:260px; }
#tb-requests button { min-height:44px; }
#tb-requests button:disabled { opacity:.55; cursor:wait; }
#tb-requests :is(button,a,input,select,summary):focus-visible { outline:2px solid var(--rq-accent); outline-offset:4px; }
@media(max-width:1000px) { #tb-requests .tb-requests-layout { grid-template-columns:minmax(0,1fr); } #tb-requests-detail:not(:empty) { scroll-margin-top:110px; } }
@media(max-width:540px) { #tb-requests-detail:not(:empty) { padding:20px; } #tb-requests .tb-request-filters { grid-template-columns:minmax(0,1fr); } #tb-requests .tb-request-select { padding:15px 12px; } }
@media(prefers-reduced-motion:reduce) { #tb-requests * { transition:none!important; } }
